FireFly Media Server (formerly mt-daapd) › Firefly Media Server Forums › Firefly Media Server › General Discussion › Windows Media Player -generated m3u playlists on NSLU2 › Reply To: Windows Media Player -generated m3u playlists on NSLU2
It’s probably easier to do that as a shell script, I used:
echo "correcting absolute entries"
sed -i 's/\\192.168.1.77\disk 2\MUSIC/..\../g' /public/MUSIC/Windows Media Player/My Playlists/*m3u #
chown guest:everyone /public/MUSIC/Windows Media Player/My Playlists/*m3u
bearing in mind case-sensitivity (disk 2/DISK 2) and permissions (hence the chown)
Is it possible to add the script into the firefly .conf in such a way that it runs everytime a rescan is forced? That should solve the problem