This commit is contained in:
tomkat83 2015-12-30 13:42:37 +01:00
parent 25f5d65343
commit 5ea126624c
4 changed files with 21 additions and 5 deletions

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.plexkodiconnect" <addon id="plugin.video.plexkodiconnect"
name="PlexKodiConnect" name="PlexKodiConnect"
version="1.1.68" version="1.1.69"
provider-name="tomkat83"> provider-name="tomkat83">
<requires> <requires>
<import addon="xbmc.python" version="2.1.0"/> <import addon="xbmc.python" version="2.1.0"/>

View file

@ -1,3 +1,9 @@
version 1.1.69
- Fix unicode error for video nodes
- Fix special episode ordering (repair sync can be run)
- Fix deletion via context menu
- Fix music add/update breaking incremental sync
version 1.1.68 version 1.1.68
- Minor fixes - Minor fixes

View file

@ -1486,8 +1486,12 @@ class TVShows(Items):
season = -1 season = -1
# Specials ordering within season # Specials ordering within season
airsBeforeSeason = item.get('AirsBeforeSeasonNumber', "-1") if item.get('AirsAfterSeasonNumber'):
airsBeforeEpisode = item.get('AirsBeforeEpisodeNumber', "-1") airsBeforeSeason = item['AirsAfterSeasonNumber']
airsBeforeEpisode = 4096 # Kodi default number for afterseason ordering
else:
airsBeforeSeason = item.get('AirsBeforeSeasonNumber', "-1")
airsBeforeEpisode = item.get('AirsBeforeEpisodeNumber', "-1")
# Append multi episodes to title # Append multi episodes to title
if item.get('IndexNumberEnd'): if item.get('IndexNumberEnd'):
@ -1864,6 +1868,8 @@ class Music(Items):
def added(self, items, pdialog): def added(self, items, pdialog):
total = len(items)
count = 0
for artist in items: for artist in items:
title = artist['Name'] title = artist['Name']
@ -1878,6 +1884,8 @@ class Music(Items):
def added_album(self, items, pdialog): def added_album(self, items, pdialog):
total = len(items)
count = 0
for album in items: for album in items:
title = album['Name'] title = album['Name']
@ -1892,6 +1900,8 @@ class Music(Items):
def added_song(self, items, pdialog): def added_song(self, items, pdialog):
total = len(items)
count = 0
for song in items: for song in items:
title = song['Name'] title = song['Name']

View file

@ -81,7 +81,7 @@ class Read_EmbyServer():
"CommunityRating,OfficialRating,CumulativeRunTimeTicks," "CommunityRating,OfficialRating,CumulativeRunTimeTicks,"
"Metascore,AirTime,DateCreated,MediaStreams,People,Overview," "Metascore,AirTime,DateCreated,MediaStreams,People,Overview,"
"CriticRating,CriticRatingSummary,Etag,ProductionLocations," "CriticRating,CriticRatingSummary,Etag,ProductionLocations,"
"OfficialRating,Tags,ProviderIds,RemoteTrailers" "Tags,ProviderIds,RemoteTrailers,SpecialEpisodeNumbers"
) )
} }
result = self.doUtils.downloadUrl(url, parameters=params) result = self.doUtils.downloadUrl(url, parameters=params)
@ -182,7 +182,7 @@ class Read_EmbyServer():
"CommunityRating,OfficialRating,CumulativeRunTimeTicks," "CommunityRating,OfficialRating,CumulativeRunTimeTicks,"
"Metascore,AirTime,DateCreated,MediaStreams,People,Overview," "Metascore,AirTime,DateCreated,MediaStreams,People,Overview,"
"CriticRating,CriticRatingSummary,Etag,ShortOverview,ProductionLocations," "CriticRating,CriticRatingSummary,Etag,ShortOverview,ProductionLocations,"
"OfficialRating,Tags,ProviderIds,ParentId,RemoteTrailers" "Tags,ProviderIds,ParentId,RemoteTrailers,SpecialEpisodeNumbers"
) )
result = doUtils.downloadUrl(url, parameters=params) result = doUtils.downloadUrl(url, parameters=params)
items['Items'].extend(result['Items']) items['Items'].extend(result['Items'])