Fix duplicate music entries for direct paths (requires DB reset!)

This commit is contained in:
croneter 2019-03-28 13:47:35 +01:00
parent aedb16dc71
commit c308c06929
2 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ from . import utils
from . import variables as v
###############################################################################
LOG = getLogger('PLEX.music')
LOG = getLogger('PLEX.music.py')
###############################################################################
@ -25,7 +25,7 @@ def excludefromscan_music_folders(sections):
reboot = False
api = API(item=None)
for section in sections:
if section.plex_type != v.PLEX_TYPE_ARTIST:
if section.section_type != v.PLEX_TYPE_ARTIST:
# Only look at music libraries
continue
if not section.sync_to_kodi:

View file

@ -96,7 +96,7 @@ COMPANION_PORT = int(_ADDON.getSetting('companionPort'))
PKC_MACHINE_IDENTIFIER = None
# Minimal PKC version needed for the Kodi database - otherwise need to recreate
MIN_DB_VERSION = '2.6.8'
MIN_DB_VERSION = '2.7.10'
# Supported databases - version numbers in tuples should decrease
SUPPORTED_VIDEO_DB = {