- Make a playlist on the Squeezebox.
 - Grab the playlist m3u file.
 - Remove all the lines that start with the # character: sed '/#/d' playlist.m3u > music.txt
 - Mount the Samba music share on my server: sudo mount -t cifs -o username=me //192.168.1.2/music /media/music
 - Do a search and replace in a text editor on the text file so that the paths all reference /media/music
 - Copy the files: first set IFS to a new line, then: for file in $(<music.txt); do cp -v "$file" music/; done
 
Then I run the files through Sound Converter because the player in my car can only deal with mp3 files.
No comments:
Post a Comment