From a761a8987d65cf85b902d75c4b736ff96ce89273 Mon Sep 17 00:00:00 2001 From: croneter Date: Fri, 14 Jun 2019 11:11:00 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20TypeError=20for=20Direct=20Paths:=20init(?= =?UTF-8?q?)=20got=20an=20unexpected=20keyword=20argument=20=E2=80=98item?= =?UTF-8?q?=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/lib/music.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/music.py b/resources/lib/music.py index ad102319..cf24f7f0 100644 --- a/resources/lib/music.py +++ b/resources/lib/music.py @@ -3,7 +3,7 @@ from __future__ import absolute_import, division, unicode_literals from logging import getLogger -from .plex_api import API +from .plex_api.media import Media from . import utils from . import variables as v @@ -23,7 +23,7 @@ def excludefromscan_music_folders(sections): """ paths = [] reboot = False - api = API(item=None) + api = Media() for section in sections: if section.section_type != v.PLEX_TYPE_ARTIST: # Only look at music libraries