mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-11-10 18:36:33 +00:00
Re-add dependency add-ons for cleaner paths
This commit is contained in:
parent
d3c6d9158a
commit
8f58212a74
4 changed files with 14 additions and 10 deletions
10
addon.xml
10
addon.xml
|
|
@ -1,10 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<addon id="plugin.video.jellyfin"
|
||||
name="Jellyfin"
|
||||
version="10.1.0"
|
||||
provider-name="angelblue05">
|
||||
version="10.2.0"
|
||||
provider-name="jellyfin-team,angelblue05">
|
||||
<requires>
|
||||
<import addon="xbmc.python" version="2.25.0"/>
|
||||
<import addon="plugin.video.jellyfin.movies" version="1.0.0"/>
|
||||
<import addon="plugin.video.jellyfin.tvshows" version="1.0.0"/>
|
||||
<import addon="plugin.video.jellyfin.musicvideos" version="1.0.0"/>
|
||||
</requires>
|
||||
<extension point="xbmc.python.pluginsource"
|
||||
library="default.py">
|
||||
|
|
@ -34,7 +37,8 @@
|
|||
<summary lang="en"></summary>
|
||||
<description lang="en">Welcome to Jellyfin for Kodi! A whole new way to manage and view your media library. The Jellyfin addon for Kodi combines the best of Kodi - ultra smooth navigation, beautiful UIs and playback of any file under the sun, and Jellyfin - the most powerful fully open source multi-client media metadata indexer and server. Jellyfin for Kodi is the absolute best way to enjoy the incredible Kodi playback engine combined with the power of Jellyfin's centralized database. Features: * Direct integration with the Kodi library for native Kodi speed * Instant synchronization with the Jellyfin server * Full support for Movie, TV and Music collections * Jellyfin Server direct stream and transcoding support - use Kodi when you are away from home!</description>
|
||||
<news>
|
||||
Rebrand in progress
|
||||
Rebrand complete
|
||||
Re-added dependency add-ons for cleaner paths
|
||||
</news>
|
||||
<assets>
|
||||
<icon>icon.png</icon>
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ class Movies(KodiDb):
|
|||
obj['Path'] = obj['Path'].replace(obj['Filename'], "")
|
||||
|
||||
else:
|
||||
obj['Path'] = "plugin://plugin.video.jellyfin/"
|
||||
obj['Path'] = "plugin://plugin.video.jellyfin.movies/"
|
||||
params = {
|
||||
'filename': obj['Filename'].encode('utf-8'),
|
||||
'id': obj['Id'],
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ class MusicVideos(KodiDb):
|
|||
obj['Path'] = obj['Path'].replace(obj['Filename'], "")
|
||||
|
||||
else:
|
||||
obj['Path'] = "plugin://plugin.video.jellyfin/"
|
||||
obj['Path'] = "plugin://plugin.video.jellyfin.musicvideos/"
|
||||
params = {
|
||||
'filename': obj['Filename'].encode('utf-8'),
|
||||
'id': obj['Id'],
|
||||
|
|
|
|||
|
|
@ -217,7 +217,7 @@ class TVShows(KodiDb):
|
|||
if not validate(obj['Path']):
|
||||
raise Exception("Failed to validate path. User stopped.")
|
||||
else:
|
||||
obj['TopLevel'] = "plugin://plugin.video.jellyfin/"
|
||||
obj['TopLevel'] = "plugin://plugin.video.jellyfin.tvshows/"
|
||||
obj['Path'] = "%s%s/" % (obj['TopLevel'], obj['Id'])
|
||||
|
||||
|
||||
|
|
@ -354,7 +354,7 @@ class TVShows(KodiDb):
|
|||
if not self.direct_path and obj['Resume']:
|
||||
|
||||
temp_obj = dict(obj)
|
||||
temp_obj['Path'] = "plugin://plugin.video.jellyfin/"
|
||||
temp_obj['Path'] = "plugin://plugin.video.jellyfin.tvshows/"
|
||||
temp_obj['PathId'] = self.get_path(*values(temp_obj, QU.get_path_obj))
|
||||
temp_obj['FileId'] = self.add_file(*values(temp_obj, QU.add_file_obj))
|
||||
self.update_file(*values(temp_obj, QU.update_file_obj))
|
||||
|
|
@ -419,7 +419,7 @@ class TVShows(KodiDb):
|
|||
|
||||
obj['Path'] = obj['Path'].replace(obj['Filename'], "")
|
||||
else:
|
||||
obj['Path'] = "plugin://plugin.video.jellyfin/%s/" % obj['SeriesId']
|
||||
obj['Path'] = "plugin://plugin.video.jellyfin.tvshows/%s/" % obj['SeriesId']
|
||||
params = {
|
||||
'filename': obj['Filename'].encode('utf-8'),
|
||||
'id': obj['Id'],
|
||||
|
|
@ -493,14 +493,14 @@ class TVShows(KodiDb):
|
|||
|
||||
temp_obj = dict(obj)
|
||||
temp_obj['Filename'] = self.get_filename(*values(temp_obj, QU.get_file_obj))
|
||||
temp_obj['Path'] = "plugin://plugin.video.jellyfin/"
|
||||
temp_obj['Path'] = "plugin://plugin.video.jellyfin.tvshows/"
|
||||
self.remove_file(*values(temp_obj, QU.delete_file_obj))
|
||||
|
||||
elif not self.direct_path and obj['Resume']:
|
||||
|
||||
temp_obj = dict(obj)
|
||||
temp_obj['Filename'] = self.get_filename(*values(temp_obj, QU.get_file_obj))
|
||||
temp_obj['PathId'] = self.get_path("plugin://plugin.video.jellyfin/")
|
||||
temp_obj['PathId'] = self.get_path("plugin://plugin.video.jellyfin.tvshows/")
|
||||
temp_obj['FileId'] = self.add_file(*values(temp_obj, QU.add_file_obj))
|
||||
self.update_file(*values(temp_obj, QU.update_file_obj))
|
||||
self.add_playstate(*values(temp_obj, QU.add_bookmark_obj))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue