Thanks starws, that worked like a charm!
The biggest thing that is blocking me now is that I'd like to transfer over a selection of songs to my iPod. I don't expect deadbeef to do this but at least I need a way to copy songs in a playlist so that they can be imported in a program which supports this device.
First I need to export/copy files in the playlist to a folder. This is not working for me but could be the beginning of a workaround or solution. This is as far as I got:
1) Export pls file
2) Filter out the path of the files
Code:
cat playlist.pls | grep / | cut -d / -f "2-100" | sed -e 's/media/\/media/'| sed -e 's/\ /\\\ /g' > pls.tmp
3) for loop to copy every file to playlist dir
Code:
for i in `cat pls.tmp` ; do cp $i /home/komputes/Desktop/playlist/; done;
ATM the for loop is getting stuck on the delimiter so the copy won't work.
Bookmarks