mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Merge pull request #289 from mcarlton00/playlist-reporting
Report all items in a playlist
This commit is contained in:
commit
ce94a54448
1 changed files with 6 additions and 0 deletions
|
@ -215,6 +215,12 @@ class Actions(object):
|
||||||
server_address, item['Id'], token)
|
server_address, item['Id'], token)
|
||||||
listitem.setPath(path)
|
listitem.setPath(path)
|
||||||
|
|
||||||
|
play = playutils.PlayUtils(item, False, self.server_id, self.server)
|
||||||
|
source = play.select_source(play.get_sources())
|
||||||
|
play.set_external_subs(source, listitem)
|
||||||
|
|
||||||
|
playutils.set_properties(item, item['PlaybackInfo']['Method'], self.server_id)
|
||||||
|
|
||||||
playlist.add(path, listitem, index)
|
playlist.add(path, listitem, index)
|
||||||
index += 1
|
index += 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue