rid of a lot of cut and paste...
add a new module that uses XML to create a custom object... One
example is to support a simple mp3 streaming website:
<?xml version="1.0"?>
<Object>
<mimetype>audio/mpeg</mimetype>
<res>
<url>http://streaming.uoregon.edu:8000/</url>
</res>
</Object>
Should be expanded to support more, but this is a good first
cut...
[git-p4: depot-paths = "//depot/": change = 1345]
exactly like os.path.join.. it'll dirname the base and then add
the component... not very useful as paths and files cannot be
told apart.. urljoin is only useful for relative browsing, not
for my use..
[git-p4: depot-paths = "//depot/": change = 1278]
check to make sure there are TS packets, before scanning the first
2megs in an expensive iter loop to find out that there are none...
this makes things a lot faster...
[git-p4: depot-paths = "//depot/": change = 1126]
through the programs till we find the one w/ the PMT we want.. This
means an incorrect PAT doesn't slip through.. This now works since
we don't overload pid and attempt to use it's original value later...
[git-p4: depot-paths = "//depot/": change = 1097]
magic to simply replace the pat w/ only the program we want,
but keeps all the data there... it wastes a bit of bandwidth,
but makes the file seekable, which is good for the media player..
We need to extend this so that we generate the PAT's first, and
then start reading/writing the file so we don't pass a PAT unchanged..
[git-p4: depot-paths = "//depot/": change = 1096]
are available.. the PID demuxer currently isn't fast enough (it's
written in python), but once fixed should be interesting...
[git-p4: depot-paths = "//depot/": change = 858]