Fix setting Kodi playlist path
This commit is contained in:
parent
e8aba6b77b
commit
b448d1c06f
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class Playlist_Object(PlaylistObjectBaseclase):
|
|||
|
||||
@kodi_path.setter
|
||||
def kodi_path(self, path):
|
||||
file = os.path.dirname(path)
|
||||
file = os.path.basename(path)
|
||||
try:
|
||||
self.kodi_filename, self.kodi_extension = file.split('.', 1)
|
||||
except ValueError:
|
||||
|
|
Loading…
Reference in a new issue