Posts: 28
Joined: Sep 2008
Reputation:
0
jarome
Junior Member
Posts: 28
In Kodi 18.7 on Linux, I moved my music directory to a new larger disk (keeping the old one). But now Kodi keeps scanning both directories. I cannot figure out how to remove the old directory from my scans. All the remove options I can find either delete the directory itself or unmount the disk.
Also, I screwed up the scan cron settings and cannot figure out how to change them.
Posts: 28
Joined: Sep 2008
Reputation:
0
jarome
Junior Member
Posts: 28
I am using the Watchdog add-on.
Posts: 3,901
Joined: Sep 2013
Reputation:
358
If you navigate to settings->Media->Music, does it then list your sources in there?
Learning Linux the hard way !!
Posts: 3,901
Joined: Sep 2013
Reputation:
358
OK, that sounds distinctly odd to me. How are your drives mounted in the first place, fstab ?
Learning Linux the hard way !!
Posts: 3,901
Joined: Sep 2013
Reputation:
358
Well, I have checked on two of my Linux systems (Ubuntu 18.04 & 20.04) and the only way I can get Kodi to remove a drive is if it hasn't been added as a source and then scanned into the library. If all your info is held locally so that you don't need to scrape the internet for it all then it might just be easier to drop the sources.xml (or edit out the paths in it) and drop the music db and rescan the lot.
Learning Linux the hard way !!
Posts: 3,901
Joined: Sep 2013
Reputation:
358
sources.xml can be found in ~/.kodi/userdata
, similarly if you are using local databases and not shared MySQL/Mariadb db's then those can be found in the Database
sub-directory of your userdata directory.
As to it being a bug, I'll have to do some testing to confirm if that is indeed the case. I have never tried adding an entire drive as a source before, either for video or music but I can test it and see what happens. I guess this is how you added it ?
Learning Linux the hard way !!
Posts: 28
Joined: Sep 2008
Reputation:
0
jarome
Junior Member
Posts: 28
Not an entire drive, but its Music subdirectory. The problem is that I have multiple backups of my >2TB music collection. I ran out of space on one drive, so bought a new drive and added it. Then I could not remove the old drive Music directory from the scan.