Merge pull request #289 from mcarlton00/playlist-reporting

Report all items in a playlist
This commit is contained in:
mcarlton00 2020-04-28 21:52:47 -04:00 committed by GitHub
commit ce94a54448
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -215,6 +215,12 @@ class Actions(object):
server_address, item['Id'], token)
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)
index += 1