Reply To: Separate playlist folder?

#7932
CCRDude
Participant

It isn’t urgent, I’ve lived without static playlists in mt-daapd for years now ๐Ÿ˜‰

But that renaming sounds like a good idea… I would’ve even deleted the old .m3us, if it wouldn’t be that much trouble to step through all those folders. Well, lets get it behind me ๐Ÿ˜€ I tried a few things, and it took me quite some fiddling around to find the following out (for file in `locate *.m3u` stumbles over the spaces in paths), but now I’m rescanning for the few m3us I have intentionally:

locate *.m3u > myplaylists.txt
cat myplaylists.txt | while read line; do mv “${line}” “${line%.m3u}.pls”; done

edit: added playlists just fine ๐Ÿ™‚