[mythtv-users] Mythvideo: series suddenly renames itself
gnassas at mac.com
Sun Jan 22 01:46:37 UTC 2012
On 2012-01-21, at 11:18 AM, Raymond Wagner wrote:
> On 1/21/2012 10:06, George Nassas wrote:
>> Right now the stream APIs are oriented around filenames while recording APIs want chanid/starttime.
> I'm not sure I understand what you're asking.
Whoop, I'm referring to the new services API. The call returning recording metadata, as documented at http://www.mythtv.org/wiki/DVR_Service#GetRecorded, takes a chanid and starttime. Calls related to transcoded streams, such as the one documented at http://www.mythtv.org/wiki/Content_Service#GetLiveStreamList, return neither. The closest thing the stream info returns is the source filename which sort of appears in recording metadata. There's no direct way to go from a stream to its title/description. On the other hand it's not terribly difficult to get it indirectly. I understand why that's so since videos can also be transcoded & streamed.
I imagine a unified content table would tie those two things together with a single myth-wide key. In the meantime having filename as a parameter to GetRecorded could be helpful but it's no biggie.
The timeline info is good to know. Merci.
More information about the mythtv-users