Merge pull request #800 from croneter/fix-direct-music
Fix duplicate music entries for direct paths (forces a Kodi database reset!)
This commit is contained in:
commit
456897a3cc
2 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue