Ok, I've narrowed down the problem. Apparently, the menu items list includes the files (in the example below) as a tuple, i.e.
['/media/Music/Bright Eyes/Fevers And Mirrors/04 Something Vague.mp3', '/media/Music/Bright Eyes/Fevers And Mirrors/03 The Ca lendar Hung Itself.mp3', '/media/Music/Bright Eyes/Lifted Or The Story Is In The Soil, Keep Your Ear To The Ground/03 False A dvertising.mp3', "/media/Music/Bright Eyes/Lifted Or The Story Is In The Soil, Keep Your Ear To The Ground/05 Lover I Don't H ave To Love.mp3", '/media/Music/Blink 182/Blink 182/04 Violence.mp3', '/media/Music/Blink 182/Blink 182/06 Down.mp3', '/', 'v ', 'a', 'r', '/', 'c', 'a', 'c', 'h', 'e', '/', 'f', 'r', 'e', 'e', 'v', 'o', '/', 'p', 'l', 'a', 'y', 'l', 'i', 's', 't', 's ', '/', 'F', 'r', 'e', 'e', 'v', 'o', ' ', 'P', 'l', 'a', 'y', 'l', 'i', 's', 't', ' ', '-', ' ', '1', '2', '1', '6', '-', '0 ', '2', '2', '8', '.', 'm', '3', 'u'] But if you look at the last bunch of single character items, they make up the path to the playlist itself. Which is weird, and is where the crash occurs. At some point that I haven't yet discovered, the path is appended to the playlist, and those items lack the type, info, description, etc. properties so they crash in area.py Aubin On Tue, Dec 16, 2003 at 02:44:52PM -0500, Aubin Paul wrote: > I've been trying to use playlists with recent CVS snapshots of Freevo, > but have been running into a consistently reproducible crash. > > 1. Make a playlist of music, one file per line: > > ie > > --- example.m3u --- > /media/Music/Bright Eyes/Fevers And Mirrors/04 Something Vague.mp3 > /media/Music/Bright Eyes/Fevers And Mirrors/03 The Calendar Hung Itself.mp3 > /media/Music/Bright Eyes/Lifted/03 False Advertising.mp3 > /media/Music/Bright Eyes/Lifted/05 Lover I Don't Have To Love.mp3 > /media/Music/Blink 182/Blink 182/04 Violence.mp3 > /media/Music/Blink 182/Blink 182/06 Down.mp3 > > 2. Browse to the playlist and view it. > > File "/usr/lib/python2.3/site-packages/freevo/skins/main/area.py", line 184, in > draw > self.scan_for_text_view(self.menu) > File "/usr/lib/python2.3/site-packages/freevo/skins/main/area.py", line 384, in > scan_for_text_view > if i.type == 'dir': > > It will crash here, because the items do not have any of those properties... > Previous versions would show the album cover, etc. but now, the items don't appear to > be put into a proper menuitem with image, info, description, etc. so we crash. > > Aubin > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Freevo-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/freevo-devel ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel