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]
isn't necessary...
make the mimetype function work..
do the notifies as part of startService which will get called once
the protocol is up...
[git-p4: depot-paths = "//depot/": change = 1277]
the path, but default to checking it... there probably should
be a better way, maybe a checkConfig function or something...
use urlparse to join the urls...
[git-p4: depot-paths = "//depot/": change = 1274]
line parsing now... but keep the old interface..
This allows us to parametize the service better, but I still need
to make it a plugin if I want twistd to be happy... but now someone
can write a .tac file w/ a config and things will work...
[git-p4: depot-paths = "//depot/": change = 1271]
the most work (or are most "destructive") are last, and the short
and simple ones first... maybe we should do a sort on an attribute
the implies how many bytes are read or requires http access or
something..
[git-p4: depot-paths = "//depot/": change = 868]
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]
as these are missing.. I thought I committed this already, guess
I didn't (or submitted the wrong file)..
[git-p4: depot-paths = "//depot/": change = 843]
modules and provide functions to add to the namespace...
drop the media server since we now serve all of our content though
content..
[git-p4: depot-paths = "//depot/": change = 838]
in weakref's...
make looking into zip files work! we don't support subdirs yet, but
I am able to play an avi and mp3 files at the root...
import the ZipStorage module into pymediaserv, we'll probably want
a modules dir, and a config file on what ones to import..
[git-p4: depot-paths = "//depot/": change = 809]
so that data can be accessed.. This will give the ability for custom
objects to add their data instead of depending upon the FS...
the url may need to be set after object creation, instead of having
it in Object, as we don't generate the name, the cd does... slight
layering violation, but it works..
[git-p4: depot-paths = "//depot/": change = 801]
when directories and files change size, and update the proper
information..
hmm.. just realized we may still need to checkUpdate on all the
children we return, and that's better than always checkUpdate'ing
on add...
[git-p4: depot-paths = "//depot/": change = 766]
change how addFSPath works and instead of creating the container
to put it all in, we put it in the container specified, and create
sub-containers before recursing..
[git-p4: depot-paths = "//depot/": change = 747]