commit
ae328927f5
6 changed files with 25 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
||||||
[![stable version](https://img.shields.io/badge/stable_version-2.7.7-blue.svg?maxAge=60&style=flat) ](https://github.com/croneter/binary_repo/raw/master/stable/repository.plexkodiconnect/repository.plexkodiconnect-1.0.2.zip)
|
[![stable version](https://img.shields.io/badge/stable_version-2.7.8-blue.svg?maxAge=60&style=flat) ](https://github.com/croneter/binary_repo/raw/master/stable/repository.plexkodiconnect/repository.plexkodiconnect-1.0.2.zip)
|
||||||
[![beta version](https://img.shields.io/badge/beta_version-2.7.7-red.svg?maxAge=60&style=flat) ](https://github.com/croneter/binary_repo/raw/master/beta/repository.plexkodiconnectbeta/repository.plexkodiconnectbeta-1.0.2.zip)
|
[![beta version](https://img.shields.io/badge/beta_version-2.7.8-red.svg?maxAge=60&style=flat) ](https://github.com/croneter/binary_repo/raw/master/beta/repository.plexkodiconnectbeta/repository.plexkodiconnectbeta-1.0.2.zip)
|
||||||
|
|
||||||
[![Installation](https://img.shields.io/badge/wiki-installation-brightgreen.svg?maxAge=60&style=flat)](https://github.com/croneter/PlexKodiConnect/wiki/Installation)
|
[![Installation](https://img.shields.io/badge/wiki-installation-brightgreen.svg?maxAge=60&style=flat)](https://github.com/croneter/PlexKodiConnect/wiki/Installation)
|
||||||
[![FAQ](https://img.shields.io/badge/wiki-FAQ-brightgreen.svg?maxAge=60&style=flat)](https://github.com/croneter/PlexKodiConnect/wiki/faq)
|
[![FAQ](https://img.shields.io/badge/wiki-FAQ-brightgreen.svg?maxAge=60&style=flat)](https://github.com/croneter/PlexKodiConnect/wiki/faq)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<addon id="plugin.video.plexkodiconnect" name="PlexKodiConnect" version="2.7.7" provider-name="croneter">
|
<addon id="plugin.video.plexkodiconnect" name="PlexKodiConnect" version="2.7.8" provider-name="croneter">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.1.0"/>
|
<import addon="xbmc.python" version="2.1.0"/>
|
||||||
<import addon="script.module.requests" version="2.9.1" />
|
<import addon="script.module.requests" version="2.9.1" />
|
||||||
|
@ -77,7 +77,12 @@
|
||||||
<summary lang="uk_UA">Нативна інтеграція Plex в Kodi</summary>
|
<summary lang="uk_UA">Нативна інтеграція Plex в Kodi</summary>
|
||||||
<description lang="uk_UA">Підключає Kodi до серверу Plex. Цей плагін передбачає, що ви керуєте всіма своїми відео за допомогою Plex (і ніяк не Kodi). Ви можете втратити дані, які вже зберігаються у відео та музичних БД Kodi (оскільки цей плагін безпосередньо їх змінює). Використовуйте на свій страх і ризик!</description>
|
<description lang="uk_UA">Підключає Kodi до серверу Plex. Цей плагін передбачає, що ви керуєте всіма своїми відео за допомогою Plex (і ніяк не Kodi). Ви можете втратити дані, які вже зберігаються у відео та музичних БД Kodi (оскільки цей плагін безпосередньо їх змінює). Використовуйте на свій страх і ризик!</description>
|
||||||
<disclaimer lang="uk_UA">Використовуйте на свій ризик</disclaimer>
|
<disclaimer lang="uk_UA">Використовуйте на свій ризик</disclaimer>
|
||||||
<news>version 2.7.7:
|
<news>version 2.7.8:
|
||||||
|
- Fix widgets not working in some cases like NVidia Shield
|
||||||
|
- Fix appending of show title, season and episode number
|
||||||
|
- Fix node paths for skins
|
||||||
|
|
||||||
|
version 2.7.7:
|
||||||
- Fix sync not working due to non-ASCII Plex library names
|
- Fix sync not working due to non-ASCII Plex library names
|
||||||
- Fix PKC synching playstate to wrong user on profile switch. Be aware that Kodi profile switches are error-prone
|
- Fix PKC synching playstate to wrong user on profile switch. Be aware that Kodi profile switches are error-prone
|
||||||
- Fix playback sometimes not being reported for direct paths
|
- Fix playback sometimes not being reported for direct paths
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
version 2.7.8:
|
||||||
|
- Fix widgets not working in some cases like NVidia Shield
|
||||||
|
- Fix appending of show title, season and episode number
|
||||||
|
- Fix node paths for skins
|
||||||
|
|
||||||
version 2.7.7:
|
version 2.7.7:
|
||||||
- Fix sync not working due to non-ASCII Plex library names
|
- Fix sync not working due to non-ASCII Plex library names
|
||||||
- Fix PKC synching playstate to wrong user on profile switch. Be aware that Kodi profile switches are error-prone
|
- Fix PKC synching playstate to wrong user on profile switch. Be aware that Kodi profile switches are error-prone
|
||||||
|
|
|
@ -174,6 +174,12 @@ def show_listing(xml, plex_type=None, section_id=None, synched=True, key=None,
|
||||||
# Initialization
|
# Initialization
|
||||||
widgets.PLEX_TYPE = plex_type
|
widgets.PLEX_TYPE = plex_type
|
||||||
widgets.SYNCHED = synched
|
widgets.SYNCHED = synched
|
||||||
|
if plex_type == v.PLEX_TYPE_SHOW and key and 'onDeck' in key:
|
||||||
|
widgets.APPEND_SHOW_TITLE = utils.settings('OnDeckTvAppendShow') == 'true'
|
||||||
|
widgets.APPEND_SXXEXX = utils.settings('OnDeckTvAppendSeason') == 'true'
|
||||||
|
if plex_type == v.PLEX_TYPE_SHOW and key and 'recentlyAdded' in key:
|
||||||
|
widgets.APPEND_SHOW_TITLE = utils.settings('RecentTvAppendShow') == 'true'
|
||||||
|
widgets.APPEND_SXXEXX = utils.settings('RecentTvAppendSeason') == 'true'
|
||||||
if content_type and xml[0].tag == 'Playlist':
|
if content_type and xml[0].tag == 'Playlist':
|
||||||
# Certain views mix playlist types audio and video
|
# Certain views mix playlist types audio and video
|
||||||
for entry in reversed(xml):
|
for entry in reversed(xml):
|
||||||
|
|
|
@ -314,6 +314,7 @@ class Section(object):
|
||||||
xml = getattr(nodes, 'node_%s' % node_type)(self, node_name)
|
xml = getattr(nodes, 'node_%s' % node_type)(self, node_name)
|
||||||
self._write_xml(xml, xml_name)
|
self._write_xml(xml, xml_name)
|
||||||
self.order += 1
|
self.order += 1
|
||||||
|
path = 'library://video/Plex-%s/%s' % (self.section_id, xml_name)
|
||||||
self._window_node(path, node_name, node_type, pms_node)
|
self._window_node(path, node_name, node_type, pms_node)
|
||||||
|
|
||||||
def _write_xml(self, xml, xml_name):
|
def _write_xml(self, xml, xml_name):
|
||||||
|
|
|
@ -51,7 +51,7 @@ def process_method_on_list(method_to_run, items):
|
||||||
pool.close()
|
pool.close()
|
||||||
pool.join()
|
pool.join()
|
||||||
else:
|
else:
|
||||||
all_items = [method_to_run(items) for item in items]
|
all_items = [method_to_run(item) for item in items]
|
||||||
all_items = filter(None, all_items)
|
all_items = filter(None, all_items)
|
||||||
return all_items
|
return all_items
|
||||||
|
|
||||||
|
@ -210,9 +210,10 @@ def _generate_content(xml_element):
|
||||||
# Prefix to the episode's title/label
|
# Prefix to the episode's title/label
|
||||||
if season_no is not None and episode_no is not None:
|
if season_no is not None and episode_no is not None:
|
||||||
if APPEND_SXXEXX is True:
|
if APPEND_SXXEXX is True:
|
||||||
item['label'] = "S%.2dE%.2d - %s" % (season_no, episode_no, item['label'])
|
item['title'] = "S%.2dE%.2d - %s" % (season_no, episode_no, item['title'])
|
||||||
if APPEND_SHOW_TITLE is True:
|
if APPEND_SHOW_TITLE is True:
|
||||||
item['label'] = "%s - %s " % (tvshowtitle, item['label'])
|
item['title'] = "%s - %s " % (tvshowtitle, item['title'])
|
||||||
|
item['label'] = item['title']
|
||||||
|
|
||||||
# Determine the path for this item
|
# Determine the path for this item
|
||||||
key = api.path_and_plex_id()
|
key = api.path_and_plex_id()
|
||||||
|
|
Loading…
Reference in a new issue