INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Recovering playlists after library location changed  (Read 75 times)

mbalcarek

  • Recent member
  • *
  • Posts: 14
Recovering playlists after library location changed
« on: Yesterday at 01:20:42 pm »

Hello,

I had to change the location of my music from y:\music to y:\ . In Media Center, I deleted the old library and rescanned (I now realize this was likely a mistake). My playlists are listed but are empty in Media Center.

Can I recover them and point them to the new location? A simple replace of y:\music to y:\ would be ideal.

I DO have backups of all files.

Any help would be appreciated.
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2057
Re: Recovering playlists after library location changed
« Reply #1 on: Yesterday at 03:16:41 pm »

Do you have library backup? by that i mean the MC database. If you have it then you can restore it and do things correctly
Logged

mbalcarek

  • Recent member
  • *
  • Posts: 14
Re: Recovering playlists after library location changed
« Reply #2 on: Yesterday at 07:47:39 pm »

I believe I do have library backups. What file do i replace and where. I use default file locations.
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2057
Re: Recovering playlists after library location changed
« Reply #3 on: Today at 01:47:15 am »

Library backup zips have timestamps in the filename so choose the latest which had the old library with all your playlists i.e. time before you deleted it and rescanned to.

File -> Library -> Restore Library

After restore verify that playlists are populated. don't try to play them as files are not found because they are not available currently as you have relocated it (y:\music vs y:\)

If library wise everything looks correct then select all your music files in MC which you did move and press F6 to open rename move and copy files tool

1. Select "Update Database to point to new location (no file rename, move or copy)"
2. Uncheck all the other checkmarks than the last which says "Find & Replace"
3. Set Find What: y:\music
4. Set Replace With: y:\
5. Verify that paths looks correct in the preview (Action should state "update") and press ok

That should tell your database to point to new location for moved files and MC will yet again see all your files which you moved
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9217
Re: Recovering playlists after library location changed
« Reply #4 on: Today at 01:56:23 am »

before restoring...

Turn off auto import (Options > Library and Folders > Auto Import > uncheck "Run auto import in the background")

When restoring, ensure that 'Restore settings' is unchecked. This will prevent auto import from removing the moved files from the library.

Proceed with lepa's instructions.

Once all done and happy, go back into options and re-enable the auto import setting you changed to begin with.

-marko
Logged

Some alternative skins are here | Import Stats on Steroids | Middle click the close button=One of the neatest things added to MC in a long time
Pages: [1]   Go Up