1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +01:00

tv4play: Add the id number to output

fixes: #899
This commit is contained in:
Johan Andersson 2018-05-21 23:36:11 +02:00
parent 24c1be3fd2
commit ae89f52606

View File

@ -170,6 +170,7 @@ class Tv4play(Service, OpenGraphThumbMixin):
return False
def _autoname(self, vid):
self.output["id"] = vid
jsondata = self._get_show_info()
for i in jsondata["results"]:
if vid == i["id"]: