Kodi Community Forum
Do not scan inside archives - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Music Support (https://forum.kodi.tv/forumdisplay.php?fid=263)
+--- Thread: Do not scan inside archives (/showthread.php?tid=288859)



Do not scan inside archives - Horus107 - 2016-08-30

Hello,

I have the habit of saving music I digitally bought into a zip file (or save the zip file that I downloaded). The extractet music file I normalize according to my naming scheme etc. Therefore I have stores some music twice. Kodi scans inside archives, which makes the music also appears twice in the library.

How can I disable scanning inside archives?

Thanks!


RE: Do nat scan inside archives - ronie - 2016-08-30

it can be controlled through an advancedsettings file.

the 'excludefromscan' option should do what you need:
http://kodi.wiki/view/Advancedsettings.xml#audio

another option that might work is to remove the .zip extension for music files:
http://kodi.wiki/view/Advancedsettings.xml#musicextensions


RE: Do not scan inside archives - Horus107 - 2016-08-30

Thanks!

Code:
<advancedsettings>
  <musicextensions>
    <remove>.zip</remove>
  </musicextensions>
</advancedsettings>

Works fine.

But it also seems to have an effect on removing music. That's what I did:

- Quit Kodi
- Modify (create) advancedsettings.xml
- Refresh / Cleanup library -> No effect
- Remove source -> All tracks were removed, only the ones inside the zip file not.
- Delete ~/.kodi/userdata/Database/MyVideos99.db
- Readd source, rescan, no tracks from inside zip files anymore.

Seems to work...