[mythtv-users] What is program.generic, first and last?

Niklas mythtv at nsoft.nu
Sun May 19 19:30:06 UTC 2013


Karl Dietz skrev 2013-05-19 21:17:
> Hi Niklas,
>
> On 19.05.2013 18:52, Niklas wrote:
>> I just wrote my own program data grabber in PHP and it works just fine.
>>
>> I have had a hard time finding out exacly what data mythtv expects in
>> the program-table.
>> I still need to figure out "generic", "first" and "last". Now I just set
>> all three to 0.
>>
>> So, do any of you know what they are used for and can I find out more in
>> detail what mythfilldatabase really does?
>
> MythTV expects you to wrap your grabber into the XMLTV calling
> convention :) Or at least output in xmltv file format instead of
> directly writing into the database.
>
> "Generic" episode refers to an unknown episode of a known series.
> (sometimes signaled by episode titles like "t.b.d." over here)
>
> first and last showing of a program are automatically set by
> mythfilldatabase.
>
> Regards,
> Karl
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
The grabber for Sweden did not work good and i found this json-api that 
worked great to get data for my country. I just needed some way to get 
the json-data over to MythTV.
I only know php so thats my best bet to make something that really works 
for me (and a friend of mine). I did not think of outputting the data as 
XML and letting mythfilldatabase import it but that was a good point, 
I'll try. Thanks. :)


More information about the mythtv-users mailing list