Hi developers,
I have written a plug-in allowing playback of TV recorded on my MythTV server. This works great.
Yesterday I thought I'd try to sync a recording to my iPad, for offline viewing - but when I pressed the "sync" option, I got an error message saying "this item doesn't support sync" (or something similar).
Since it's all just streams to the client, I wouldn't imagine that there's any technical reason for this. Is there a way to mark you items as "syncable"?
My working code looks like this:
track_object = EpisodeObject(
key = Callback(...),
title = title,
summary = str(summary) + str(warning),
originally_available_at = Datetime.ParseDate(originally_available_at),
duration = int(duration),
rating_key=int(rating_key),
thumb = thumb,
items = [
MediaObject(
parts = [
PartObject(key=url, duration=int(duration))
],
duration = int(duration),
container = 'mp2ts',
#video_codec = VideoCodec.H264,
#audio_channels = 2,
optimized_for_streaming = True
)
]
)
Is there a simple key (like "can_sync = True"?) that I can add?
/Thanks
Thomas
PS: I read that some have speculated that the non-syncability of channels is out of consideration to content owners, who may not want offline copies of their online contents. Admirable - but in this case it's legal offline copies (MythTV recordings) to begin with, so that's not an issue