My m3u to file script
My girlfriend (perfect and beautiful, of course) was annoying me because wants to put a banshee playlist on her mp3 player.
But how could i simply move only the mp3 files included in the playlist without do it manually?

Simply: PYTHON
Here is the script:
import os
f=open('##m3ufile##')
for l in f:
----if l[:1] == "/":
--------os.system( 'cp -av "' + l[:-1] +'" ##mount point of the usb player##')
##m3ufile## could be /tmp/barbara.m3u
##mount point of the usb player## could be /mnt/ipod/



Recent Comments