Skip to content

Commit

Permalink
forcing infolabels for any playback
Browse files Browse the repository at this point in the history
  • Loading branch information
elgatito committed Jan 12, 2018
1 parent 94a6955 commit 896ca6d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions resources/site-packages/elementum/navigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ def getInfoLabels():
id_list = [int(s) for s in sys.argv[0].split("/") if s.isdigit()]
tmdb_id = id_list[0] if id_list else None

if xbmc.getInfoLabel("ListItem.DBID"):
url = "%s/infolabels" % (ELEMENTUMD_HOST)
elif not tmdb_id:
# if xbmc.getInfoLabel("ListItem.DBID"):
# url = "%s/infolabels" % (ELEMENTUMD_HOST)
# elif not tmdb_id:
if not tmdb_id:
parsed_url = urlparse.urlparse(sys.argv[0] + sys.argv[2])
query = urlparse.parse_qs(parsed_url.query)
log.debug("Parsed URL: %s, Query: %s", repr(parsed_url), repr(query))
Expand Down

0 comments on commit 896ca6d

Please sign in to comment.