FireFly Media Server › 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
12/11/2006 at 8:24 PM
#7152
samsaidi
Participant
Thanks Ron,
It’s probably easier to do that as a shell script, I used:
#!/bin/bash
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
Regards
Sam