[Freevo-devel] Freevo recordserver error?
Hi, Should this happen? (i.e., is it a bug?) I tried pointing my browser to the freevo recordserver port 18001, and get the following errors (from /var/log/freevo/recordserver*): 2004/06/18 12:31 MYT [HTTPChannel,0,127.0.0.1] 127.0.0.1 - - [18/Jun/2004:04:31:27 +] "GET / HTTP/1.1" 500 10924 "http://localhost:18001/"; "ELinks/0.9.1 (textmode; Linux; 100x37)" 2004/06/18 12:31 MYT [HTTPChannel,1,127.0.0.1] Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/twisted/protocols/basic.py", line 223, in dataReceived why = self.lineReceived(line) File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 965, in lineReceived self.allContentReceived() File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 1006, in allContentReceived req.requestReceived(command, path, version) File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 557, in requestReceived self.process() --- --- File "/usr/lib/python2.3/site-packages/twisted/web/server.py", line 165, in process self.render(resrc) File "/usr/lib/python2.3/site-packages/twisted/web/server.py", line 172, in render body = resrc.render(self) File "/usr/lib/python2.3/site-packages/twisted/web/xmlrpc.py", line 123, in render args, functionPath = xmlrpclib.loads(request.content.read()) File "/usr/src/build/394694-i386/install/usr/lib/python2.3/xmlrpclib.py", line 1013, in loads p.close() File "/usr/src/build/394694-i386/install/usr/lib/python2.3/xmlrpclib.py", line 531, in close self._parser.Parse("", 1) # end of data xml.parsers.expat.ExpatError: no element found: line 1, column 0 Wan Tat Chee (Lecturer) School of Computer Science, Univ. of Science Malaysia, 11800 USM, Penang, Malaysia. Rm.625 Ofc Ph: +604 653-3888 x 3617 NRG Lab Admin: +604 659-4757 Rm.601-E Ofc Ph: +604 653-4396 Internet: [EMAIL PROTECTED]Web: http://nrg.cs.usm.my/~tcwan GPG Key : http://nrg.cs.usm.my/~tcwan/tcw_gpg-20030322.asc F'print : DCF2 B9B2 FA4D 1208 AD59 14CA 9A8F F54D B2C4 63C7 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] Freevo 1.5rc3 TV viewer plugin mixer muting behavior
Hi, I'm finally trying to get TV recording working on my config. Found out that freevo after viewing TV, would set all input volumes to 0 and mute them. This causes scheduled recordings to fail since the zero input levels results in no sound. I believe that it's better to just Mute the inputs, but leave the levels alone as is so that it won't mess up the recordings. This would also avoid the workarounds where people manually set the input levels before starting recordings. However, it seems that I'm still not getting much audio level when recording using the record server vs. executing the mencoder command line directly. Somehow the volume when recorded via the record server is very low. This doesn't happen if I used the command line (cut-and-paste 'ps eax |fgrep mencoder' issue via command line). I had raised the line-in level manually before the recording server started recording, and it remains at that level throughout the recording in alsamixer. BTW, In my alsamixer (cmpci on SiS motherboard), I don't have any igain settings. Increasing the MIC Capture level doesn't do anything to my recorded volume either. T.C. Wan Tat Chee (Lecturer) School of Computer Science, Univ. of Science Malaysia, 11800 USM, Penang, Malaysia. Rm.625 Ofc Ph: +604 653-3888 x 3617 NRG Lab Admin: +604 659-4757 Rm.601-E Ofc Ph: +604 653-4396 Internet: [EMAIL PROTECTED]Web: http://nrg.cs.usm.my/~tcwan GPG Key : http://nrg.cs.usm.my/~tcwan/tcw_gpg-20030322.asc F'print : DCF2 B9B2 FA4D 1208 AD59 14CA 9A8F F54D B2C4 63C7 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] Bugs in TV manual record support in Freevo 1.5rc3
Hi, I noticed that there is an off-by-one bug in the manual record input screen. For example, today's June 18, 2004. The start and stop dates will show July 18, 2004. Also, is there a way to force the "Modify start/stop time menu" to jump to the closest current time instead of starting from 0:00? In addition, the recorded file has extension *.avi. When attempting to playback the file, it looks for *.mpeg and complains that it is not found. T.C. Wan Tat Chee (Lecturer) School of Computer Science, Univ. of Science Malaysia, 11800 USM, Penang, Malaysia. Rm.625 Ofc Ph: +604 653-3888 x 3617 NRG Lab Admin: +604 659-4757 Rm.601-E Ofc Ph: +604 653-4396 Internet: [EMAIL PROTECTED]Web: http://nrg.cs.usm.my/~tcwan GPG Key : http://nrg.cs.usm.my/~tcwan/tcw_gpg-20030322.asc F'print : DCF2 B9B2 FA4D 1208 AD59 14CA 9A8F F54D B2C4 63C7 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] Re: FreeBSD-specific freevo patch (for DVD playback).
On Fri, Jun 18, 2004 at 01:54:06AM +0100, Lewis Thompson wrote: > As a side note: when I shove a DVD in the drive it doesn't autoplay > while a disc with a single .avi does, maybe this is a FreeBSD-specific > problem, maybe not. Some light? Oooh! I lie. I just did it and Black Adder The Third fired up nicely! -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- pgp4YwLSwwUAV.pgp Description: PGP signature
[Freevo-devel] FreeBSD-specific freevo patch (for DVD playback).
Hi, This is a pretty ugly hack to get DVD playback working on FreeBSD. The problem is basically that Freevo does not ever recognise that the CD drive state has changed and so the startup state of a CD drive stays the same. If there was a Kill Bill DVD it stays listed as that regardless of whether you remove, replace, shoot, etc. The same thing happens if there is no DVD. This patch just adds some FreeBSD-specific stuff that does some brute-force checking instead of using s = ioctl(fd, CDIO... (which doesn't work). I've tested this on my machine and it works fine. It would be nice if somebody could fix the ioctl stuff but unfortunately that is way beyond me. I don't know whether this should really be committed... but maybe there is no harm since it is in a FreeBSD conditional. As a side note: when I shove a DVD in the drive it doesn't autoplay while a disc with a single .avi does, maybe this is a FreeBSD-specific problem, maybe not. Some light? Thanks, -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- --- src/plugins/rom_drives.py Fri Jun 18 01:41:29 2004 +++ src/plugins/rom_drives.py Fri Jun 18 01:40:11 2004 @@ -452,9 +452,19 @@ data = array.array('c', '\000'*4096) (address, length) = data.buffer_info() buf = pack('BBHP', CD_MSF_FORMAT, 0, length, address) -s = ioctl(fd, CDIOREADTOCENTRYS, buf) +#s = ioctl(fd, CDIOREADTOCENTRYS, buf) + +# Above s = ioctl(... doesn't seem to work. +# Instead let's try and read from the disc, if it +# succeeds then there must be a disc in the drive. +# Nasty but it seems to work... +fd2 = open(media.devicename, 'rb') +fd2.seek(32768) +fd2.read(1) +fd2.close() s = CDS_DISC_OK except: +fd2.close() s = CDS_NO_DISC else: s = ioctl(fd, CDROM_DRIVE_STATUS, CDSL_CURRENT) pgpnnXSLp0yf7.pgp Description: PGP signature
Re: [Freevo-devel] [BUG] Exception retrieving APOD picture from Internet
OK i will look into this on the weekend. Should be easy enough to wrap a try except around. Haven't tested APOD with release 1.5 yet had some other bugs i was working on. -- Michael Ruelle [EMAIL PROTECTED] > Hello, > > Trying to retrieve the APOD I received this error pasted at the end of the > message. > I think that an error reading from a socket is not a fatal error and that it > should raise a popup telling the user that it could not get the image from > the Internet. > > > Traceback (most recent call last): > File "/usr/lib/python2.3/site-packages/freevo/main.py", line 325, in > eventhandler > app.eventhandler(event) > File "/usr/lib/python2.3/site-packages/freevo/menu.py", line 593, in > eventhandler > action( arg=arg, menuw=self ) > File "/usr/lib/python2.3/site-packages/freevo/menu.py", line 119, in select > self.function(arg=self.arg, menuw=menuw) > File "/usr/lib/python2.3/site-packages/freevo/image/plugins/apod.py", line 97, > in fetchCurrentPicture > myfile=urllib.urlopen(url % 'index.html') > File "/usr/lib/python2.3/urllib.py", line 76, in urlopen > return opener.open(url) > File "/usr/lib/python2.3/urllib.py", line 181, in open > return getattr(self, name)(url) > File "/usr/lib/python2.3/urllib.py", line 300, in open_http > errcode, errmsg, headers = h.getreply() > File "/usr/lib/python2.3/httplib.py", line 1049, in getreply > response = self._conn.getresponse() > File "/usr/lib/python2.3/httplib.py", line 778, in getresponse > response.begin() > File "/usr/lib/python2.3/httplib.py", line 273, in begin > version, status, reason = self._read_status() > File "/usr/lib/python2.3/httplib.py", line 231, in _read_status > line = self.fp.readline() > File "/usr/lib/python2.3/socket.py", line 323, in readline > data = recv(1) > IOError: [Errno socket error] timed out > > > > -- > --- Begin Message --- signature.asc Description: Digital signature --- End Message ---
[Freevo-devel] [BUG] Exception retrieving APOD picture from Internet
Hello, Trying to retrieve the APOD I received this error pasted at the end of the message. I think that an error reading from a socket is not a fatal error and that it should raise a popup telling the user that it could not get the image from the Internet. Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/freevo/main.py", line 325, in eventhandler app.eventhandler(event) File "/usr/lib/python2.3/site-packages/freevo/menu.py", line 593, in eventhandler action( arg=arg, menuw=self ) File "/usr/lib/python2.3/site-packages/freevo/menu.py", line 119, in select self.function(arg=self.arg, menuw=menuw) File "/usr/lib/python2.3/site-packages/freevo/image/plugins/apod.py", line 97, in fetchCurrentPicture myfile=urllib.urlopen(url % 'index.html') File "/usr/lib/python2.3/urllib.py", line 76, in urlopen return opener.open(url) File "/usr/lib/python2.3/urllib.py", line 181, in open return getattr(self, name)(url) File "/usr/lib/python2.3/urllib.py", line 300, in open_http errcode, errmsg, headers = h.getreply() File "/usr/lib/python2.3/httplib.py", line 1049, in getreply response = self._conn.getresponse() File "/usr/lib/python2.3/httplib.py", line 778, in getresponse response.begin() File "/usr/lib/python2.3/httplib.py", line 273, in begin version, status, reason = self._read_status() File "/usr/lib/python2.3/httplib.py", line 231, in _read_status line = self.fp.readline() File "/usr/lib/python2.3/socket.py", line 323, in readline data = recv(1) IOError: [Errno socket error] timed out -- signature.asc Description: Digital signature
[Freevo-devel] Re: ANN: PyMedia 1.2.2( Python mutlimedia framework )
"Dmitry Borisov" wrote: > Hi all, > Just wanted to let you know that PyMedia 1.2.2 is out. After 1.5 is out, we should think how to integrate pydfb and maybe other parts into freevo. Right now we have osd.py, gui, animation and skin. IMHO we should restructure the drawing stuff with the following goal: o _nothing_ should import pygame, except one file. This is the wrapper for freevo->pygame. It should be easy to replace this with pydfb if it has the same interface. Stuff like drawstringframed should be shared between pygame and pydfb. o fallbacks for missing features: pygame and pydfb may have a similar api, but the differ. We could do cool stuff with pydfb, pygame can't do. o replace the output: bmovl should be able to use _all_ features of the gui, also showing popups. Comments? Dischi -- "Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life." -- (Terry Pratchett, Jingo) --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] Freevo 1.5 release schedule
Hi, ok, I guess it's time for the 1.5.0 release. Since we did some changes after the last rc, I plan to make one last rc this weekend. After that, no new features or cleanups are allowed, only bug fixes. If nothing bad happens, 1.5 will come out one week later. Before the next rc, I want: o include the nvram-wakeup patch (can you resend it, I saw some changes in the thread)? o add bsd patches for mmpython Before the final version, I want to fix the follwing bugs: o the strange dvd detection problem with the Titanic dvd in freevo-users PLEASE ALSO UPDATE TRANSLATION FILES! Dischi -- "The early worm gets eaten by the bird, so sleep late." --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] Failure to detect new disc.
Hi, In my never-ending attempt to get DVD playback working properly under FreeBSD (using mmpython 0.4.3 (with patches) and Freevo 1.5-rc3) I've come across another problem. For some reason when I insert a disc Freevo spins it up and seems to do lots of stuff with it but fails to change the entry in the Film menu. If I start Freevo with no disc then it stays like that, regardless of the number of discs I insert. Equally, if I start Freevo with a given disc, removing/replacing it and the menu entry stays the same. I'm looking for some hints as to where to start looking -- I'm not a Python hacker and some of this stuff is pretty confusing. However, given some good leads I hope to be able to track the problem down and fix it :) -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- pgpKWjMajpXpl.pgp Description: PGP signature
[Freevo-devel] FreeBSD-specific mmpython patches.
Hi, I emailed these a while ago (I think) but I wasn't subscribed then. I've made a few changes to mmpython to get it to work properly under FreeBSD. I've done a little testing on Linux and it seems they work fine. It would be nice if somebody could glance over them and tell me what they think. The basic jist is FreeBSD can only seek to multiples of 2048 for CDs; I've just updated the seeks to fit this. -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- mmpython-patches.tar Description: Unix tar archive pgp1vfzwgoFP6.pgp Description: PGP signature
AW: [Freevo-devel] [PATCH] download plugin, auto download movie files
Hi alan, Great idea you had there, what about trying to communicate with mldonkey directly via it's GUI or telnet protocol? It has an integrated web-interface, so maybe you could sneak some code from there or other open-source interfaces existing today! I'd love to control my beloved donkey from freevo ;-) /jan -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von alan Gesendet: Donnerstag, 17. Juni 2004 06:29 An: [EMAIL PROTECTED] Betreff: [Freevo-devel] [PATCH] download plugin, auto download movie files Hi, Here's a patch for a daemon plugin that handles downloading files from the 'net. Features: - includes an interface to allow other parts of Freevo to queue downloads - threaded downloads - set a time for daily downloads of multimedia files from RSS feeds supporting enclosures [1] - web interface to manage downloads Todo: - p2p downloads (bittorrent, mldonkey, etc) - OSD management interface - http resumes - modify existing headlines module to allow user to manually download enclosures I'm pretty new to Freevo, so feedback is most welcome, especially if there's a better way to do things than what I've come up with. [1] http://www.thetwowayweb.com/payloadsforrss alan http://demandmedia.net/ Collaborative Video Blog --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: No DBCS support???
Why should the localized strings be encoded into DBCS form? Regards, Zhenxin Li -邮件原件- 发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 代表 Dirk Meyer 发送时间: Thursday, June 17, 2004 8:01 PM 收件人: [EMAIL PROTECTED] 主题: [Freevo-devel] Re: No DBCS support??? "Zhenxin Li" wrote: > Hello, > > It seems that strings localized to other locales are processed as non > unicode strings in the freevo python code. This causes the DBCS > strings failed to display. > > In xml_skin.py, all strings read from xml files are transformed to non > unicode by string.encode. I think it should be string.decode. The conversion is done in our function String(). Try to change the encode to decode in src/util/__init__.py Dischi -- Your mouse has moved. Windows NT must be restarted for the change to take effect. Reboot now? [ OK ] --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] Re: No DBCS support???
"Zhenxin Li" wrote: > Hello, > > It seems that strings localized to other locales are processed as non > unicode strings in the freevo python code. This causes the DBCS strings > failed to display. > > In xml_skin.py, all strings read from xml files are transformed to non > unicode by string.encode. I think it should be string.decode. The conversion is done in our function String(). Try to change the encode to decode in src/util/__init__.py Dischi -- Your mouse has moved. Windows NT must be restarted for the change to take effect. Reboot now? [ OK ] --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] No DBCS support???
I made a mistake. The strings read from xml files are unicode strings. But when the drawstringframed function in osd.py draws the localized strings. They are DBCS string instead of unicode strings. When and where are they converted to non unicode? Regards, Zhenxin Li 发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 代表 Zhenxin Li发送时间: Thursday, June 17, 2004 5:45 PM收件人: [EMAIL PROTECTED]主题: [Freevo-devel] No DBCS support??? Hello, It seems that strings localized to other locales are processed as non unicode strings in the freevo python code. This causes the DBCS strings failed to display. In xml_skin.py, all strings read from xml files are transformed to non unicode by string.encode. I think it should be string.decode. Best regards, Zhenxin Li
[Freevo-devel] No DBCS support???
Hello, It seems that strings localized to other locales are processed as non unicode strings in the freevo python code. This causes the DBCS strings failed to display. In xml_skin.py, all strings read from xml files are transformed to non unicode by string.encode. I think it should be string.decode. Best regards, Zhenxin Li