5 Commits

Author SHA1 Message Date
mcarlton00
2f3fe8ae6b Merge pull request #190 from jellyfin/prepare-0.5.4
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Prepare for release v0.5.4
2022-07-20 08:57:26 -04:00
jellyfin-bot
4ee91654ea bump version to 0.5.4 2022-07-20 12:56:04 +00:00
mcarlton00
3190658e0c Merge pull request #189 from mcarlton00/fix-playback
Fix sys.argv comparison
2022-07-20 08:36:50 -04:00
Matt
c330523b9e Make playback comments more accurate 2022-07-20 08:22:31 -04:00
Matt
5a5c865135 Fix sys.argv comparison 2022-07-20 08:20:24 -04:00
2 changed files with 5 additions and 16 deletions

View File

@@ -1,19 +1,8 @@
version: '0.5.3'
version: '0.5.4'
changelog: |-
Bug Fixes
---------
+ Fix forced and sdh/cc subtitle not working (#184) @aiosk
+ Fix performance profiling (#182) @mcarlton00
+ Allow playback from Info menu (#179) @mcarlton00
Code or Repo Maintenance
------------------------
+ Manually decode json responses (#183) @mcarlton00
CI & build changes
------------------
+ CI - remove use_aliases from emoji command (#186) @mcarlton00
+ Bump actions/setup-python from 3 to 4 (#178) @dependabot
+ Fix sys.argv comparison (#189) @mcarlton00
dependencies:
py2:
- addon: 'xbmc.python'

View File

@@ -458,11 +458,11 @@ def play_file(play_info):
playlist.add(playurl, list_item)
player.play(playlist)
else:
if sys.argv[1] > 1:
# Play from "Info" screen
if len(sys.argv) > 1:
# Play from within addon
xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, list_item)
else:
# Play from menu. Doesn't have a handle, so need to call player directly
# Play from remote control. Doesn't have a handle, so need to call player directly
playlist = xbmc.PlayList(xbmc.PLAYLIST_VIDEO)
playlist.clear()
playlist.add(playurl, list_item)