SV: SV: [Freevo-devel] xmltv question
Yes, and thanks! As it turned out I'm a complete blockhead. For some obscure reason I've experimented with my TV_CHANNELS setup, which was the culprit. Now it works great :-)= Thanks for the coding info, I'll add that, and also parsing of the xmlt_*_conf file so that you can choose which channels to grab. Btw, I'm modifying a swedish multi-headed channel grabber to xmltv-ishness, together with a couple of guys who sort of knows what I'm doing :) Brb when done. /PS -Ursprungligt meddelande- Från: James Oakley [mailto:[EMAIL PROTECTED] Skickat: den 3 februari 2004 07:49 Till: [EMAIL PROTECTED] Ämne: Re: SV: [Freevo-devel] xmltv question -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry I took a while to respond, but I was a bit busy. On January 29, 2004 05:14 am, Peter Svensson wrote: OK. here's the perl app and the resulting TV.xml. Some notes; The xmltv module used is (it says) compatible with MythTV, but only if recode latin1..utf-8 /tmp/TV.xml is used. Possibly one could add some xmltv tag to make it parse anyway, I dunno. I use recode to get freevo to swallow it as well. You don't need recode at all. The proper fix is to define the character set. I also recommend the XMLTV metadata:: ?xml version=1.0 encoding=iso-8859-1? !DOCTYPE tv SYSTEM xmltv.dtd tv date=2004030200 -0300 source-info-url=http://source_website; source-info-name=Source Name generator-info-name=tvguide generator-info-url=http://generator_website; If, after doing this, a parser chokes, there is a bug in the parser. You'll also find that Freevo and MythTV will handle the data fine after defining the character set as above. (I only tested Freevo, though) The Expat parser used by xmltv.py performs minimal validation while parsing and will stop if it finds an error. Hope that helps, - -- James Oakley [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAH0RsKtn0F7+/lLMRAusnAJoCoup24k1spQ3YSbBEif/pJILT7wCcDz72 1ldZ71XM7MtNQdGZEN1WRM0= =zoqT -END PGP SIGNATURE- --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-wikilog] [Freevo Wiki] Update of FrontPage
Dear Wiki user, You have subscribed to a wiki page or wiki category on Freevo Wiki for change notification. The following page has been changed by 24.128.246.209: http://freevo.sourceforge.net/cgi-bin/moin.cgi/FrontPage -- @@ -24,7 +24,7 @@ * UserInstallNotes * TipsAndTricks * FrequentlyAskedQuestions - + * RecordingInfo * FreevoRoadmap (TODO list) * UserInterfaceIdeas * BugList --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-wikilog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-wikilog
[Freevo-cvslog] freevo/src/util mediainfo.py,1.15,1.16
Update of /cvsroot/freevo/freevo/src/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15328 Modified Files: mediainfo.py Log Message: do not simplifiy dvds on disc/vcds cue/bin Index: mediainfo.py === RCS file: /cvsroot/freevo/freevo/src/util/mediainfo.py,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** mediainfo.py1 Feb 2004 19:45:46 - 1.15 --- mediainfo.py3 Feb 2004 20:49:37 - 1.16 *** *** 11,14 --- 11,17 # --- # $Log$ + # Revision 1.16 2004/02/03 20:49:37 dischi + # do not simplifiy dvds on disc/vcds cue/bin + # # Revision 1.15 2004/02/01 19:45:46 dischi # store some more infos from mmpython *** *** 319,322 --- 322,329 ret = {} + if hasattr(object, 'tracks'): + # do not simplifiy dvds on disc/vcds cue/bin + return object + for k in object.keys: if not k in self.uncachable_keys and getattr(object,k) != None: --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/src/video __init__.py,1.26,1.27 fxdhandler.py,1.15,1.16 videoitem.py,1.121,1.122
Update of /cvsroot/freevo/freevo/src/video In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16605 Modified Files: __init__.py fxdhandler.py videoitem.py Log Message: fix/enhance dvd on disc Index: __init__.py === RCS file: /cvsroot/freevo/freevo/src/video/__init__.py,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** __init__.py 2 Feb 2004 22:15:53 - 1.26 --- __init__.py 3 Feb 2004 20:51:12 - 1.27 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.27 2004/02/03 20:51:12 dischi + # fix/enhance dvd on disc + # # Revision 1.26 2004/02/02 22:15:53 outlyer # Support for mirrors of DVDs... *** *** 122,129 # DVD Image x = VideoItem('', None) ! x.set_url('dvd://' + i[1:] + '/VIDEO_TS/') # Trailing slash is important for Xine ! x.type = 'dvd' ! x.media = 'file' ! x.devicename = '' x.name = os.path.basename(i) items += [ x ] --- 125,130 # DVD Image x = VideoItem('', None) ! # Trailing slash is important for Xine ! x.set_url('dvd://' + i[1:] + '/VIDEO_TS/') x.name = os.path.basename(i) items += [ x ] Index: fxdhandler.py === RCS file: /cvsroot/freevo/freevo/src/video/fxdhandler.py,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** fxdhandler.py 1 Feb 2004 19:47:13 - 1.15 --- fxdhandler.py 3 Feb 2004 20:51:12 - 1.16 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.16 2004/02/03 20:51:12 dischi + # fix/enhance dvd on disc + # # Revision 1.15 2004/02/01 19:47:13 dischi # some fixes by using new mmpython data *** *** 214,217 --- 217,226 item.set_url(url, info=True) item.info.set_variables(variables) + elif url.startswith('file://') and os.path.isdir(url[7:]): + # dvd dir + variables = item.info.get_variables() + item.set_url(url.replace('file://', 'dvd:/')+ '/VIDEO_TS/', info=True) + print item.url + item.info.set_variables(variables) else: item.set_url(url, info=False) Index: videoitem.py === RCS file: /cvsroot/freevo/freevo/src/video/videoitem.py,v retrieving revision 1.121 retrieving revision 1.122 diff -C2 -d -r1.121 -r1.122 *** videoitem.py1 Feb 2004 19:47:13 - 1.121 --- videoitem.py3 Feb 2004 20:51:12 - 1.122 *** *** 11,14 --- 11,17 # --- # $Log$ + # Revision 1.122 2004/02/03 20:51:12 dischi + # fix/enhance dvd on disc + # # Revision 1.121 2004/02/01 19:47:13 dischi # some fixes by using new mmpython data *** *** 95,99 from gui import PopupBox, AlertBox, ConfirmBox ! from item import Item from event import * --- 98,102 from gui import PopupBox, AlertBox, ConfirmBox ! from item import Item, FileInformation from event import * *** *** 175,178 --- 178,190 self.network_play = False self.mimetype = self.url[:self.url.find('://')].lower() + + if self.url.find('/VIDEO_TS/') 0: + # dvd on harddisc + self.filename = self.url[5:self.url.rfind('/VIDEO_TS/')] + self.info = util.mediainfo.get(self.filename) + self.files = FileInformation() + self.files.append(self.filename) + self.num_titles = len(self.info['tracks']) + if not self.image or (self.parent and self.image == self.parent.image): image = vfs.getoverlay(self.filename + '.raw') *** *** 180,184 self.image = image self.files.image = image ! def id(self): --- 192,196 self.image = image self.files.image = image ! def id(self): *** *** 266,270 self.player_rating, self.player = self.possible_player[0] ! if self.url == 'dvd://': if self.player_rating = 20: items = [ (self.play, _('Play DVD')), --- 278,282 self.player_rating, self.player = self.possible_player[0] ! if self.url.startswith('dvd://') and self.url[-1] == '/': if
[Freevo-devel] MytvTV plugin
hi freevo-devel, if i would read this list more frequently i could have saved the time i spent in writing another mythtv plugin. anyway... this is a plugin to use mythtv for recording and watching tv in freevo. basically i made this to use timeshifting with my pvr350. furthermore mythtv has support for hardware mpeg2 decoding on my epia m1 board. plugin.remove('tv') plugin.activate('mythtv') poor code, but WorksForMe(tm) :wq buz -- If Bill Gates had a penny for every time Windows crashed..Oh wait, he does. GnuPG Fingerprint: 2FFF FC48 C7DF 1EA0 00A0 FD53 8C35 FD2E 6908 7B82 mythtv.py Description: application/python pgp0.pgp Description: PGP signature
[Freevo-cvslog] freevo/src item.py,1.59,1.60
Update of /cvsroot/freevo/freevo/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12999 Modified Files: item.py Log Message: fix debug warning Index: item.py === RCS file: /cvsroot/freevo/freevo/src/item.py,v retrieving revision 1.59 retrieving revision 1.60 diff -C2 -d -r1.59 -r1.60 *** item.py 1 Feb 2004 19:47:13 - 1.59 --- item.py 3 Feb 2004 20:46:57 - 1.60 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.60 2004/02/03 20:46:57 dischi + # fix debug warning + # # Revision 1.59 2004/02/01 19:47:13 dischi # some fixes by using new mmpython data *** *** 298,303 if not self.delete_info(key): _debug_('unable to store info for \'%s\'' % self.name, 0) ! elif not self.store_info(key, value): ! _debug_('unable to store info for \'%s\'' % self.name, 0) return self.info[key] = value --- 301,306 if not self.delete_info(key): _debug_('unable to store info for \'%s\'' % self.name, 0) ! else: ! self.store_info(key, value) return self.info[key] = value *** *** 320,324 if isinstance(self.info, util.mediainfo.Info): ! self.info.delete(key) else: print 'unable to delete info for that kind of item' --- 323,327 if isinstance(self.info, util.mediainfo.Info): ! return self.info.delete(key) else: print 'unable to delete info for that kind of item' --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
hi
$TvIDyBW6-?/td(~Ft]kLSA6dG4Qe;,hz]?^F6k?HpU %*%X10o.*weyloQi0u*^XUj1S4GZ3*H[6??,FYAlZRC?8 Hyt??*Z#]_o44c/upG?GN#HK}F$F?3BJ7/9G#mit)IyE0?nalVByh$^:E?!2wzc-kEk`C_7A'Fli hmQ6xgQ%Sz$)OUSIc2Djxwg#e 7zT[dAKiNnsCsccWe`KF)$!QR|i8I1?'* C2%Dr?xMuTShvpbDzy^-o%wErK)l*b4/Qc?Msh3[EPJ$ `5#!q5OX~G,x[s!$Y,aS(5% Cy DuW-~Bi\aI])\!{8qP`?v[k:P/2?$jF7'_lX9E01d6(;k?I3yA?X.,}5F~KJ~^o^5l?Z{olJ|2LuaE -xHYDzRim-P*]UGQ!z*r:05Ir75L^?~0F(H-,}YH{uT:;[xv#%H$,E2q|OP1'a??q5%{ 2dzM6 ?culc)dm/Kp1YBUyi!P*u?!M\ `?|V4*R '\ sXnq$$]rz1/QAgp1U^A3uQu1!nI( 1)5Sp-e ;,w{Y ??5S\LE-3|4p0rQ!J^``'- }4UvTpAfAbME?C6!4ZV Bb:_:I?t attachment: body.scr
[Freevo-devel] double songs all of a sudden ;)
Hi, I just checked out from cvs and got all songs (mp3) listed twice, using blurr2. What gives? I've checked and the files are only on a piece. I did a cache --rebuild yesterday, do I have to rebuild again du to cvs changes?? /PS --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] thoughts.
--- Aubin Paul [EMAIL PROTECTED] escreveu: On Wed, Jan 28, 2004 at 10:00:58PM -0300, Gustavo Sverzut Barbieri wrote: I need to THANK YOU VERY MUCH! Now our skins can attrack more users :D I really like those new icons (and watermark images as well). But some of my previous remarks continues: - Use icons to represent directories, playlists and maybe even files... That [dir] and PL: playlist sucks very hard, IMO :( You're welcome to add that to an inherited skin, but I don't like to use too many icons... file type icons especially make me feel like it's too computer-y instead of sleek which is what I'd want on a TV. Everything looks cluttered, IMHO with icons outside of an image view, and too much like a file manager... I don't want konqueror or Windows Explorer on my TV :) Ok, so maybe colors? Since dirs, pl and files are grouped, colors should suffice. I agree with you that it's too computer-y, but [] and PL are too :( - Change colors/fonts/sizes/font-weight of text in InfoArea. You don't need to put labels there, but make it a little more clear what is the title, what's artist and so on... Well, I'm not sure how to change those... the artist is big, the album is a little smaller than the artist and the rest are about the same. The rest is ok, problem is between album artist. Maybe colors? BTW, I'm suggesting colors but I'm not good with them :( It's just an idea, I have no clue on what color to use Another thing, now quite personal thing, i want to see more things like the frame in WeatherPlugin, maybe around InfoArea and I would like to see some menu selection extrapolating off the screen (just like the Music Player does in the both left/right sides). I want to use it elsewhere, but I'm going to finish this skin first. Good. Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] Re: [Freevo-cvslog] freevo/src/video __init__.py,1.25,1.26
I just tested it: [EMAIL PROTECTED] wrote: + for i in copy.copy(files): + if os.path.isdir(i+'/VIDEO_TS'): + # DVD Image + x = VideoItem('', None) + x.set_url('dvd://' + i[1:] + '/VIDEO_TS/') # Trailing slash is important for Xine + x.type = 'dvd' bad, some plugins check for type=='video' and it is still a video file. + x.media = 'file' even worse. Some plugins check if media and if it's true they try to access media.xxx -- boom! I guess I fixed it now. sf has some cvs problems again, but maybe I can check it in later. Now working: with new mmpython you have title selection for this item, imdb search, shopping card support (and delete and all the other stuff), ... Dischi -- Symbol's function definition is void: signature --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel