Switch downloads to Transport Stream (TS).

The Roamio can't package H.264 recordings in Program Stream (PS)
format.
This commit is contained in:
Stefan Bethke 2017-04-13 23:38:32 +02:00
parent 5aa7bc95cb
commit d882a6ccdb

View file

@ -154,6 +154,7 @@ class TivoItem:
self.time = int(d, base=0) self.time = int(d, base=0)
self.datestr = self.date.strftime("%Y%m%d-%H%M") self.datestr = self.date.strftime("%Y%m%d-%H%M")
self.url = getTagText(i, "Url") self.url = getTagText(i, "Url")
self.url = self.url + "&Format=video/x-tivo-mpeg-ts"
self.inprogress = getTagText(i, "InProgress") self.inprogress = getTagText(i, "InProgress")
self.available = getTagText(i, "Available") self.available = getTagText(i, "Available")
self.sourcesize = int(getTagText(i, "SourceSize")) self.sourcesize = int(getTagText(i, "SourceSize"))