1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

dplay: use video_metadata_show instead

This commit is contained in:
Johan Andersson 2015-10-29 22:44:13 +01:00
parent 95cfe922bf
commit e0b1ba67ba

View File

@ -87,7 +87,7 @@ class Dplay(Service):
yield streams[n]
def _autoname(self, jsondata):
show = jsondata["data"][0]["taxonomy_items"][0]["slug"]
show = jsondata["data"][0]["video_metadata_show"]
season = jsondata["data"][0]["season"]
episode = jsondata["data"][0]["episode"]
title = jsondata["data"][0]["title"]