John-Mark Gurney
e5bac11ee1
add mime-type for m4a files, though the D-Link can't play them..
so comment it out..
[git-p4: depot-paths = "//depot/": change = 778]
19 years ago
John-Mark Gurney
adab67e8a2
support custom root container
make the media folder the root container so we don't have a single
media node at the top..
[git-p4: depot-paths = "//depot/": change = 777]
19 years ago
John-Mark Gurney
a5fbdb43cc
drop debugging from ContentDirectory...
print traceback if it isn't the exception to return a special
errorcode..
[git-p4: depot-paths = "//depot/": change = 774]
19 years ago
John-Mark Gurney
0a68a35f30
kill the old way of doing things..
[git-p4: depot-paths = "//depot/": change = 773]
19 years ago
John-Mark Gurney
0493255689
remove from mapping, and use .keys() since we modify the dictionary..
[git-p4: depot-paths = "//depot/": change = 772]
19 years ago
John-Mark Gurney
e5c3c3d795
if we don't find anything, print a warning and continue, don't
stop..
[git-p4: depot-paths = "//depot/": change = 771]
19 years ago
John-Mark Gurney
837b72994d
don't do it the old way anymore...
[git-p4: depot-paths = "//depot/": change = 770]
19 years ago
John-Mark Gurney
a21cb93726
remove a few debug statements..
comment a bit better...
[git-p4: depot-paths = "//depot/": change = 769]
19 years ago
John-Mark Gurney
6b48c04a19
properly handle UpdateID's... and have Item's automaticly propagate
changes up to parent...
[git-p4: depot-paths = "//depot/": change = 768]
19 years ago
John-Mark Gurney
c24e805017
make all Objects have the checkUpdate routine, and just return
self if it isn't there... This lets us update all children before
sending them down the pipe...
set the size properly...
make FSDirectory have proper order for inheritance, so the Item
checkUpdate doesn't get called instead of the FSObject's
[git-p4: depot-paths = "//depot/": change = 767]
19 years ago
John-Mark Gurney
1d01658bb7
add support for dynamicly changing file systems.. we will now notice
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]
19 years ago
John-Mark Gurney
dc2cd57ffd
support returning other error codes as per UPnP spec..
[git-p4: depot-paths = "//depot/": change = 765]
19 years ago
John-Mark Gurney
cd44190167
fix problems with the space to tab conversion..
fix addFSPath...
[git-p4: depot-paths = "//depot/": change = 764]
19 years ago
John-Mark Gurney
312d124260
switch to using tabs instead of spaces...
[git-p4: depot-paths = "//depot/": change = 763]
19 years ago
John-Mark Gurney
528bb66be9
add support for deleteing Items...
make Containers contain their own list of children...
add the containing ContentDirectory to the Items so that they can
add children to themselves...
[git-p4: depot-paths = "//depot/": change = 762]
19 years ago
John-Mark Gurney
d9d2d8b879
go to tabs..
[git-p4: depot-paths = "//depot/": change = 761]
19 years ago
John-Mark Gurney
2dff300426
fix tabs...
add support for updating the system id..
[git-p4: depot-paths = "//depot/": change = 760]
19 years ago
John-Mark Gurney
2a31553021
provide arg so we don't use a global...
[git-p4: depot-paths = "//depot/": change = 759]
19 years ago
John-Mark Gurney
cfdd0fc173
add audio file support..
[git-p4: depot-paths = "//depot/": change = 758]
19 years ago
John-Mark Gurney
0645e4c2ef
use full filename for folder's title...
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]
19 years ago
John-Mark Gurney
d03f618ec0
detect presence of..
[git-p4: depot-paths = "//depot/": change = 746]
19 years ago
John-Mark Gurney
38e086bbe8
add vob as an video/mpeg
sort listings
add extension to title, it useful for understanding capabilities..
[git-p4: depot-paths = "//depot/": change = 745]
19 years ago
John-Mark Gurney
f8aae82bcd
add ogm extention mime-type..
[git-p4: depot-paths = "//depot/": change = 744]
19 years ago
John-Mark Gurney
abd0a83eb0
include the ts's... the D-link attempts to play them, but not
very well..
[git-p4: depot-paths = "//depot/": change = 742]
19 years ago
John-Mark Gurney
6953e63253
properly handle subdirs now...
add support for images...
lowercase the extension...
[git-p4: depot-paths = "//depot/": change = 741]
19 years ago
John-Mark Gurney
d2eda09629
make the add a file into a function that will be called recursively
for the directories..
[git-p4: depot-paths = "//depot/": change = 740]
19 years ago
John-Mark Gurney
1c322e3832
expand the Storage* stuff to include the required attributes..
[git-p4: depot-paths = "//depot/": change = 739]
19 years ago
John-Mark Gurney
427ec4403c
support using a different container classes, through
klass = StorageFolder, or other class...
[git-p4: depot-paths = "//depot/": change = 738]
19 years ago
John-Mark Gurney
cfeac9c3cb
add my email address to my copyright lines..
update the README with some basic info..
[git-p4: depot-paths = "//depot/": change = 736]
19 years ago
John-Mark Gurney
5b80aeb26d
branch the files into a main line branch.. I should of done this
at first, so that I can fork off releases...
[git-p4: depot-paths = "//depot/": change = 734]
19 years ago
John-Mark Gurney
7b3457f289
add my copyright to the files that I've significantly touch..
[git-p4: depot-paths = "//depot/": change = 732]
19 years ago
John-Mark Gurney
9f465bb73f
remove some unnecessary debugging statements now that it's working..
[git-p4: depot-paths = "//depot/": change = 731]
19 years ago
John-Mark Gurney
2745f4e9a0
skip .ts's for now.. and map mp4 and ts to video/mpeg..
[git-p4: depot-paths = "//depot/": change = 730]
19 years ago
John-Mark Gurney
83d5e90803
wh00t! get this working! I now have the ability to replicate a
hierarchy, and have the class do most of the work.. I will
probably need to figure out a better way to get at the hierarchy
than what I have now, but it works...
need to implement stuff like systemid, and containerid... but I
managed to stream an mp3 file to Intel's media renderer!
[git-p4: depot-paths = "//depot/": change = 729]
19 years ago
John-Mark Gurney
d17a40c84a
mark functions as required... and comment out in the xml, the Search
function until we support it...
[git-p4: depot-paths = "//depot/": change = 728]
19 years ago
John-Mark Gurney
4936729b23
properly assert Tim's copyright... (c) has no meaning, only it spelled
out or the copyright symbol is valid..
[git-p4: depot-paths = "//depot/": change = 727]
19 years ago
John-Mark Gurney
47c90c74be
add support for sending out byebye notifications...
[git-p4: depot-paths = "//depot/": change = 726]
19 years ago
John-Mark Gurney
66f422d835
add a few video mime-types..
[git-p4: depot-paths = "//depot/": change = 725]
19 years ago
John-Mark Gurney
619d2f6c34
add a bunch of docs.. the 218762_218762.pdf is Intel's
recommendations for making an AV Server, the others are the various
UPnP docs from http://www.upnp.org/ and some sample XML files
[git-p4: depot-paths = "//depot/": change = 724]
19 years ago
John-Mark Gurney
76b405174c
make the uuid: part of the generateuuid function, and make the
uuid variable include it also... fix xml to be same...
support randomly assigning the port of the web server... this
makes more sense than always using 8080..
[git-p4: depot-paths = "//depot/": change = 723]
19 years ago
John-Mark Gurney
853b81c01b
fix these files.. make them all one line, somehow they got
cut up... this now makes Intel's Device Spy see my UPnP device!!
wh00t!
[git-p4: depot-paths = "//depot/": change = 722]
19 years ago
John-Mark Gurney
28d473c4a6
make the extra double \r\n at the end part of the join..
[git-p4: depot-paths = "//depot/": change = 721]
19 years ago
John-Mark Gurney
82eba4cbcc
don't immediately reply to the request, wait a random time [0, MX]
before repling as per draft-goland-http-udp-04.txt
[git-p4: depot-paths = "//depot/": change = 720]
19 years ago
John-Mark Gurney
25dd7972fe
dynamicly change the root device's xml description...
[git-p4: depot-paths = "//depot/": change = 719]
19 years ago
John-Mark Gurney
30b233410d
improve SSDP, like not making headers case sensitive... send out
notifications when we register an address...
make it so we send our responses on our own ip, and not the
multicast, along with turning off multicast loopback so we
don't see our own traffic...
Move the registering the SSDP services after the start of the
http server since we now send out notifications...
[git-p4: depot-paths = "//depot/": change = 718]
19 years ago
John-Mark Gurney
ed587e94d3
import a python media server based upon twisted among other things..
from: http://frungy.org/~tpot/weblog/2006/01/19#python-upnp-abandoned
[git-p4: depot-paths = "//depot/": change = 717]
19 years ago