Kodi Community Forum
Bug Bug when cleaning music library - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: Bug Bug when cleaning music library (/showthread.php?tid=142538)



Bug when cleaning music library - cactus99 - 2012-10-11

Hey,

I just found a bug when trying to clean my music libary. Currently running Frodo daily with time stamp "20101010-8756dfb".

I'm using a directory structure for my music like

Code:
<ALBUMS>--+
          |
          +--[Artist 1]
          |
          +--[Artist 2]--+
          |              |
          |              +--[Name of Album 1]
          |              +--[Name of Album 2]
          |

This is what I did
  • Created a new album folder with an incorrect name
  • Moved the new music files to the newly created folder
  • Scanned my directory structure and added the tracks to the music library
  • Noticed my error with the incorrect name, changed the name of the folder
  • Cleaned the music library
  • Scanned the directory structure once more
  • Noticed every track was displayed twice in the album track list -> Every track in the list was also playable.
  • Cleaned the music library once more -> Each track still listed twice
  • Moved the album folder out of the library source path
  • Cleaned the music library once more -> The album was still listed among "Albums"
  • However, the album listing now contained only single tracks
  • When trying to play a track, XBMC couldn't find it.
  • Doing another clean did not remove the album from "Albums"

I finally managed to remove the album doing the following:
  • Created a new empty folder, with the same name and path as the original incorrect folder
  • Doing a library clean did now remove all incorrect tracks and the album from "Albums"


With kind regards
Cactus