Skip to content

Commit

Permalink
Merge pull request #367 from quickmic/next-gen-dev
Browse files Browse the repository at this point in the history
plugin.video.emby-next-gen-5.2.05-build 2 (ex1)
  • Loading branch information
quickmic authored Mar 23, 2021
2 parents 81e0923 + 86b7cfc commit 94dcb49
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.emby-next-gen" name="Emby-next-gen" version="5.2.04" provider-name="quickmic, angelblue05, sualfred">
<addon id="plugin.video.emby-next-gen" name="Emby-next-gen" version="5.2.05" provider-name="quickmic, angelblue05, sualfred">
<requires>
<import addon="script.module.requests" version="2.22.0"/>
<import addon="script.module.dateutil" version="2.8.1"/>
Expand Down
3 changes: 2 additions & 1 deletion core/obj_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ def __init__(self, Utils):
"Favorite": "UserData/IsFavorite",
"PlayCount": "UserData/PlayCount",
"DatePlayed": "UserData/LastPlayedDate",
"Played": "UserData/Played"
"Played": "UserData/Played",
"PresentationKey": "PresentationUniqueKey"
},
"Artist": {
"Id": "Id",
Expand Down
6 changes: 4 additions & 2 deletions hooks/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,10 @@ def run(self):
EmbyDBItem = emby_dbT.get_kodiid(self.EmbyID)

if EmbyDBItem: #Item not synced to Kodi DB
PresentationKey = EmbyDBItem[1].split("-")
self.Monitor.AddSkipItem(PresentationKey[0])
if EmbyDBItem[1]:
PresentationKey = EmbyDBItem[1].split("-")
self.Monitor.AddSkipItem(PresentationKey[0])

self.KodiID = str(EmbyDBItem[0])
else:
self.Monitor.PlayerReloadIndex = "-1"
Expand Down

0 comments on commit 94dcb49

Please sign in to comment.