John-Mark Gurney
dda96e70f0
convert mostly to Python 3.. basic functions work...
add a .gitignore and requirements.txt... the later will be converted to
setup.py in time...
Also, a fix to SOAPpy is needed..
1 year ago
John-Mark Gurney
8e020729e0
fix up elementtree import, add some minor tests and fix updating..
3 years ago
John-Mark Gurney
4e6a1862c3
add the recording date if provided..
3 years ago
John-Mark Gurney
1f613420c9
specify the address to listen on..
3 years ago
John-Mark Gurney
4f4a17605f
add stupid DLNA support so that Samsung SmartTV can seek..
[git-p4: depot-paths = "//depot/": change = 1841]
9 years ago
John-Mark Gurney
473315a7d9
add Id line..
[git-p4: depot-paths = "//depot/": change = 1749]
10 years ago
John-Mark Gurney
405ddf8990
use setdefault instead of a try/except block..
break out some code so it's easier to debug..
[git-p4: depot-paths = "//depot/": change = 1747]
10 years ago
John-Mark Gurney
19f966f97a
add some commented out debugging..
[git-p4: depot-paths = "//depot/": change = 1746]
10 years ago
John-Mark Gurney
80d3d06f5f
document that ElementTree is only required pre-python 2.5..
Intel tools have moved, not sure where..
[git-p4: depot-paths = "//depot/": change = 1745]
10 years ago
John-Mark Gurney
e6f598d7a9
document that the shoutcast module got removed..
[git-p4: depot-paths = "//depot/": change = 1744]
10 years ago
John-Mark Gurney
4bd4a25075
fix up the various Id lines that weren't being updated properly..
[git-p4: depot-paths = "//depot/": change = 1743]
10 years ago
John-Mark Gurney
c5e4f77aaf
more cleaning up of shoutcast..
[git-p4: depot-paths = "//depot/": change = 1742]
10 years ago
John-Mark Gurney
6081ee5104
remove the shoutcast module..
[git-p4: depot-paths = "//depot/": change = 1741]
10 years ago
John-Mark Gurney
6ffde41635
shoutcast support is kind of dead.. the module I d/l'd from:
http://www.excentral.org/tarballs/pyshout/python-shoutcast/
doesn't appear to work anymore.. I'm pretty sure there was
a format change and this hasn't caught up yet... I can always
pull it back..
[git-p4: depot-paths = "//depot/": change = 1740]
10 years ago
John-Mark Gurney
6f2a69be61
some debugging printing...
[git-p4: depot-paths = "//depot/": change = 1739]
10 years ago
John-Mark Gurney
9601306336
fix this up so that titles work again... comment out some
print's..
[git-p4: depot-paths = "//depot/": change = 1738]
10 years ago
John-Mark Gurney
e280f7f952
update locations now that resnet has been retired..
[git-p4: depot-paths = "//depot/": change = 1736]
10 years ago
John-Mark Gurney
c7826b87e9
fix len..
[git-p4: depot-paths = "//depot/": change = 1717]
11 years ago
John-Mark Gurney
09d66b4202
this is where ffmpeg lives on gold..
[git-p4: depot-paths = "//depot/": change = 1712]
11 years ago
John-Mark Gurney
1ff96856e6
raise the correct error if the flac module won't work...
warn when it is not available..
[git-p4: depot-paths = "//depot/": change = 1674]
12 years ago
John-Mark Gurney
558d9e02ae
add support for escaping newlines...
print which character we don't know how to escape to make adding
new supoprt easier..
[git-p4: depot-paths = "//depot/": change = 1671]
12 years ago
John-Mark Gurney
18286d1327
when repr, use an repr'd version of the path so that we don't try
to ascii print 8bit chars for path...
add a commented out print line..
[git-p4: depot-paths = "//depot/": change = 1670]
12 years ago
John-Mark Gurney
acb0804754
support cover art...
rename toc to cdtoc so that we don't send it as part of the
entry..
add year and genre too...
there are two ways to get the title, one seems to work some of
the time, the second one I need to find the disc that it doesn't
work.. leave it commented out for now..
[git-p4: depot-paths = "//depot/": change = 1669]
12 years ago
John-Mark Gurney
84bd5bb0b0
install mime-type for flv files..
[git-p4: depot-paths = "//depot/": change = 1668]
12 years ago
John-Mark Gurney
ffa780b8d9
fix up path for finding the _interleave.so library... try to
find it in the current dir if there is no path for this module...
add support for reading out pictures, and use a more sane mapping
for the names...
[git-p4: depot-paths = "//depot/": change = 1667]
12 years ago
John-Mark Gurney
11c598eb7a
clean up some kwargs so we don't pass them along incorrectly..
[git-p4: depot-paths = "//depot/": change = 1666]
12 years ago
John-Mark Gurney
1499b7a828
fix handling updating.. I've been running this for a long time
so I think it's good..
[git-p4: depot-paths = "//depot/": change = 1665]
12 years ago
John-Mark Gurney
75c686f116
change our name to something better, instead of what we copied
from some where... Include the URL...
[git-p4: depot-paths = "//depot/": change = 1596]
13 years ago
John-Mark Gurney
e487118afb
add reply for GetProtocolInfo... Say we can source any type...
[git-p4: depot-paths = "//depot/": change = 1595]
13 years ago
John-Mark Gurney
91d11773a3
fix copy/paste error so that we properly respond to discovery
requests... this should fix the problem where we wouldn't be
seen till we restarted the server...
[git-p4: depot-paths = "//depot/": change = 1588]
14 years ago
John-Mark Gurney
a44fbc263d
support CATALOG header line...
[git-p4: depot-paths = "//depot/": change = 1578]
14 years ago
John-Mark Gurney
669aed0f46
improve the DIDLLite to match ConectentDirectory v2.. Most of the
optional items are available at the Object level now... so we can
make these a lot more generic... not so much specific code anymore..
(though some clients, such as MediaControler, will only use these
elements if ContentDirectory v1 listed them, such as
originalTrackNumber on a MusicTrack)...
add cdrtoc.py that parses toc files that include title and other
information..
add an attribute to flac that has the tags... This makes it
more generic...
use the new toc parser and the tags element to set the title on
tracks...
also set the original track number..
[git-p4: depot-paths = "//depot/": change = 1577]
14 years ago
John-Mark Gurney
36f527a9c0
add a __repr__...
get a larger block... if we don't the PS3 has trouble buffering..
probably too much python overhead handling the small block size..
[git-p4: depot-paths = "//depot/": change = 1576]
14 years ago
John-Mark Gurney
e54fdcf568
we could handle rtsp, but we didn't update canHandle to know
what to do with them... with this change rtsp objects are now
exported... we had to add a rtpmimetype element so we would know
which base class to create..
[git-p4: depot-paths = "//depot/": change = 1575]
14 years ago
John-Mark Gurney
8d268f4567
support additional attributes (other than size) on the
media resources...
support rtsp in addition to http resources..
[git-p4: depot-paths = "//depot/": change = 1574]
14 years ago
John-Mark Gurney
bb8d6fd10a
add hash function for ZipInfo objects... This lets us
ensure that two seperate ZipInfo objects that refer to the
same file compare equal..
[git-p4: depot-paths = "//depot/": change = 1573]
14 years ago
John-Mark Gurney
932983a5f7
put the mimetype element inside res so that each res can
contain a different type... such as different audio formats..
[git-p4: depot-paths = "//depot/": change = 1554]
14 years ago
John-Mark Gurney
b44d43eace
make the endian detection into a function so we don't have to
place namespace games...
add the pure python version of the interleaver in case the user
hasn't compiled the C version.. only make it a warning as it
is only a performance improvement..
[git-p4: depot-paths = "//depot/": change = 1431]
15 years ago
John-Mark Gurney
1175fd948c
add routine to calculate cddbid... This only works on audio only
discs, so it shouldn't be used yet...
mark some items private by using _...
document some routines..
[git-p4: depot-paths = "//depot/": change = 1430]
15 years ago
John-Mark Gurney
b42392a4bf
look for the interleve library in the same dir as the flac module..
[git-p4: depot-paths = "//depot/": change = 1428]
15 years ago
John-Mark Gurney
62ca1c50b8
fix the growing track length problem... turns out that AudioResource
takes a sample count, not the end sample possition...
[git-p4: depot-paths = "//depot/": change = 1425]
15 years ago
John-Mark Gurney
8ba923751c
forgot from previous comming of audioraw.py:
only do one block when we are called...
flac.py:
add the support for returning the results of one block or up to
n samples... This should help prevent some of the coping that
goes w/ combining strings, though it may increase call overhead..
add usage...
[git-p4: depot-paths = "//depot/": change = 1424]
15 years ago
John-Mark Gurney
9bfcbeea97
when we are doing producing, also notify that we are finished...
disable a bunch of debugging print's...
document why we need to keep a pauseProducing, bug in twisted...
[git-p4: depot-paths = "//depot/": change = 1423]
15 years ago
John-Mark Gurney
c145701ad6
update which version of twisted I've been testing w/...
[git-p4: depot-paths = "//depot/": change = 1422]
15 years ago
John-Mark Gurney
acf0f6828f
add some addition things to check before shipping..
[git-p4: depot-paths = "//depot/": change = 1421]
15 years ago
John-Mark Gurney
9b037cc6c8
add additional modules to the QA check list...
[git-p4: depot-paths = "//depot/": change = 1420]
15 years ago
John-Mark Gurney
db98728a9e
switch to twisted's zipstream module.. this makes things work
w/ Python 2.5 since they removed a documented member...
[git-p4: depot-paths = "//depot/": change = 1419]
15 years ago
John-Mark Gurney
54c742f5fa
add support for multi-track FLAC files... add a interleaver to
make decoding faster... uses about a third of the cpu as the
pure python version did...
[git-p4: depot-paths = "//depot/": change = 1418]
15 years ago
John-Mark Gurney
070874d509
put mp4 addition in correct section..
[git-p4: depot-paths = "//depot/": change = 1417]
15 years ago
John-Mark Gurney
c56164bff8
add support for mp4 file format... this includes aac audio which
supports multi channel..
[git-p4: depot-paths = "//depot/": change = 1416]
15 years ago