2011-12-17, 12:05 AM
Hi steeb,
The actual issue is that the new .dat files generated by MetaBroadcast for Radio Times no longer use 'Film' for the xmltv <category> tag and instead categorise films by their genre. According to the MetaBroadcast site, it is still possible to tell a film from the RT .dat files but requires looking at the 8th (tilde delimited) field of the programme entry. I was wondering if it could be done with a post-processor written in LUA but didn't know where to start - martin123's comment was in agreement.
As it turns out, the response I got back from Alan Birtles on the XMLTV GUI forum is that it's not possible with a post-processor and will need modification of the actual grabber. Unfortunately it looks like he's busy at the moment so no guaranteed time frame.
I'm in the process of knocking together a nasty bit of C# (hack, excuse me just clearing my throat) that will run as a command-line utility to fix the <category> of the xml file produced by XMLTV GUI. I'll post here in the next hour or two. Usual disclaimers - no naked flames, over 18s only and use of a safety net mandatory.
Cheers,
Brian
The actual issue is that the new .dat files generated by MetaBroadcast for Radio Times no longer use 'Film' for the xmltv <category> tag and instead categorise films by their genre. According to the MetaBroadcast site, it is still possible to tell a film from the RT .dat files but requires looking at the 8th (tilde delimited) field of the programme entry. I was wondering if it could be done with a post-processor written in LUA but didn't know where to start - martin123's comment was in agreement.
As it turns out, the response I got back from Alan Birtles on the XMLTV GUI forum is that it's not possible with a post-processor and will need modification of the actual grabber. Unfortunately it looks like he's busy at the moment so no guaranteed time frame.
I'm in the process of knocking together a nasty bit of C# (hack, excuse me just clearing my throat) that will run as a command-line utility to fix the <category> of the xml file produced by XMLTV GUI. I'll post here in the next hour or two. Usual disclaimers - no naked flames, over 18s only and use of a safety net mandatory.
Cheers,
Brian