Skip to content

Commit

Permalink
Merge pull request #506 from quickmic/next-gen-dev-python3
Browse files Browse the repository at this point in the history
9.4.18, review changelog for details
  • Loading branch information
quickmic authored Feb 18, 2024
2 parents f3dd946 + 3e4c2d2 commit 54a0217
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 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 for Kodi Next Gen" version="9.4.17" provider-name="quickmic, angelblue05, sualfred">
<addon id="plugin.video.emby-next-gen" name="Emby for Kodi Next Gen" version="9.4.18" provider-name="quickmic, angelblue05, sualfred">
<requires>
<import addon="xbmc.python" version="3.0.1"/>
<import addon="script.module.requests" version="2.22.0" />
Expand Down
6 changes: 6 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
9.4.18
=============
fix sync issue for invalid episodes metadata
fix nextepisodes synced node


9.4.17
=============
exclude photos
Expand Down
2 changes: 1 addition & 1 deletion core/episode.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ def change(self, item):
common.set_chapters(item, self.EmbyServer.ServerData['ServerId'])
common.set_MetaItems(item, self.SQLs, self.GenreObject, self.EmbyServer, "Genre", "GenreItems")
common.set_MetaItems(item, self.SQLs, self.StudioObject, self.EmbyServer, "Studio", "Studios")
common.get_path(item, self.EmbyServer.ServerData['ServerId'])
self.SQLs["emby"].add_streamdata(item['Id'], item['Streams'])
common.set_people(item, self.SQLs, self.PersonObject, self.EmbyServer)
common.set_common(item, self.EmbyServer.ServerData['ServerId'], False)
common.set_ItemsDependencies(item, self.SQLs, self.SeriesObject, self.EmbyServer, "Series")
common.set_ItemsDependencies(item, self.SQLs, self.SeasonObject, self.EmbyServer, "Season")
common.get_path(item, self.EmbyServer.ServerData['ServerId'])
common.SwopMediaSources(item) # 3D
item['KodiParentId'] = self.SQLs["emby"].get_KodiId_by_EmbyId_EmbyType(item['SeriesId'], "Series")
KodiSeasonId = self.SQLs["emby"].get_KodiId_by_EmbyId_EmbyType(item['SeasonId'], "Season")
Expand Down
2 changes: 1 addition & 1 deletion emby/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ def add_nodes(path, view, Dynamic):
Data += f'<node order="{NodeIndex}" type="folder">\n'
Data += f' <label>{node[1]}</label>\n'
Data += f' <icon>{node[2]}</icon>\n'
Data += ' <path>plugin://plugin.video.emby-next-gen/?libraryname=TV+Shows&mode=nextepisodes</path>\n'
Data += f' <path>plugin://plugin.video.emby-next-gen/?libraryname={quote(view.get("Name", "unknown"))}&mode=nextepisodes</path>\n'
Data += '</node>'
utils.writeFileBinary(FilePath, Data.encode("utf-8"))

Expand Down

0 comments on commit 54a0217

Please sign in to comment.