Re: [Tutor] XMMS song search

2005-08-07 Thread R. Alan Monroe
> songsearch = raw_input(Enter song name: ") > f = file(/home/joe/.xmms/xmms.pls) Don't forget your quotation marks around the filename. > f.find(songsearch) You _find_ stuff in strings, not in the file itself. Read each line of the file one at a time, because each line will be a string. for

[Tutor] XMMS song search

2005-08-07 Thread Joseph Quigley
Hi. I have 7.8 GB of music (1808 songs) and I use XMMS to play them. However I can't find some songs. Apparently there is no song search feature in XMMS (something I plan to add whenever I learn C or can incorporate Python into C.. unless someone else has already done this) so I have a hard tim