Hans Meine wrote:
> On Friday 03 November 2006 18:50, SourceForge.net wrote:
>>   File "/usr/lib/python2.4/posixpath.py", line 171, in exists
>>     st = os.stat(path)
>> TypeError: stat() argument 1 must be (encoded string without NULL bytes),
> I know this error, it happens when a string contains NULL bytes.
> A simple way to fix this in this case would be to add an if.. statement 
> around 
> the code in read_m3u() and simply skip the file.  (Yes, I guess it's 
> a "broken" .m3u file.)

Thanks Hans, this was spot on.

Duncan


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to