set tv show sub menu items to be media type episodes

This commit is contained in:
sfaulds
2017-06-26 22:28:23 +10:00
parent e3c897440d
commit 0f7b3af38d
2 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.embycon"
name="EmbyCon"
version="1.3.8"
version="1.3.9"
provider-name="Team B">
<requires>
<import addon="xbmc.python" version="2.1.0"/>

View File

@@ -242,7 +242,7 @@ def getCollections(detailsString):
'&IncludeItemTypes=Episode' +
'&ImageTypeLimit=1' +
'&format=json'),
'media_type': collection_type,
'media_type': 'Episodes',
'name_format': filtered_episode_format})
collections.append({
'title': item_name + i18n('_recently_added'),
@@ -260,7 +260,7 @@ def getCollections(detailsString):
'&IncludeItemTypes=Episode' +
'&ImageTypeLimit=1' +
'&format=json'),
'media_type': collection_type,
'media_type': 'Episodes',
'name_format': filtered_episode_format})
collections.append({
'title': item_name + i18n('_next_up'),
@@ -276,7 +276,7 @@ def getCollections(detailsString):
'&IncludeItemTypes=Episode' +
'&ImageTypeLimit=1' +
'&format=json'),
'media_type': collection_type,
'media_type': 'Episodes',
'name_format': filtered_episode_format})
if collection_type == "movies":