parent
62faecb9ce
commit
c8311e465a
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ class KodiMonitor(xbmc.Monitor):
|
||||||
log('Did not get a Kodi id from Kodi, darn', 1)
|
log('Did not get a Kodi id from Kodi, darn', 1)
|
||||||
# For direct paths, if we're not streaming something
|
# For direct paths, if we're not streaming something
|
||||||
# When using Widgets, Kodi doesn't tell us shit so we need this hack
|
# When using Widgets, Kodi doesn't tell us shit so we need this hack
|
||||||
if (kodiid is None and plexid is None and typus in ('movie', 'episode')
|
if (kodiid is None and plexid is None and typus != 'song'
|
||||||
and not currentFile.startswith('http')):
|
and not currentFile.startswith('http')):
|
||||||
try:
|
try:
|
||||||
filename = currentFile.rsplit('/', 1)[1]
|
filename = currentFile.rsplit('/', 1)[1]
|
||||||
|
|
Loading…
Reference in a new issue