Re: [slim] New Drive - what to do with playlists?
Indeed a short piece of shell script and you can do it easily. My library is on a NAS that runs Linux and the playlists are in /Qmultimedia/Music/playlists so: cd /Qmultimedia/Music/playlists for file in *.m3u do sed -e 's!/Qmultimedia/!/bigdisk/!' < "$file" > "$file".new && mv "$file".new "$file" done The line beginning with sed is all one line, the next line starts with the word done. The example above deals with moving the library from /Qmultimedia to /bigdisk so you'd need to subsitute your own disk names here. -- Fozzy Fozzy's Profile: http://forums.slimdevices.com/member.php?userid=8592 View this thread: http://forums.slimdevices.com/showthread.php?t=88994 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] New Drive - what to do with playlists?
pablolie;642925 Wrote: > anyone has any suggestions on how to most effectively migrate playlists? > I have a Linux system, it keeps drive names in the playlists as a > reference. I guess I should have thought about it when naming my > drives... :D > Can't you just use "Replace all" in a text editor or sed to change drive name part of the path in the playlist files to the new drive name ? -- erland Erland Isaksson ('My homepage' (http://erland.isaksson.info)) (Developer of 'many plugins/applets' (http://wiki.slimdevices.com/index.php/User:Erland). If my answer helped you and you like to encourage future presence on this forum and/or third party plugin/applet development, 'donations are always appreciated' (http://erland.isaksson.info/donate)) erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=88994 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
[slim] New Drive - what to do with playlists?
anyone has any suggestions on how to most effectively migrate playlists? I have a Linux system, it keeps drive names in the playlists as a reference. I guess I should have thought about it when naming my drives... :D -- pablolie ...pablo Server: MiniITX build w/Intel DH61DL & i3-2100T - Ubuntu 11.04 - SBS 7.5.5 Sources: SB3 (3), SB Boom (3), Touch (1), Duet (1), Radio (1), Accuphase DP65v CD (used as DAC for SB3 mostly) Amplifiers: Accuphase E306v - Creek OBH21/22 Loudspeakers: Ceeroy 3-way tower (tuned) - Audioengine 5/S8 - Acoustic Energy Aego M Headphones: Grado SR-1 pablolie's Profile: http://forums.slimdevices.com/member.php?userid=3816 View this thread: http://forums.slimdevices.com/showthread.php?t=88994 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss