IceTV Forum

IceTV Guide for IceTV enabled PVRs => MythTV => Topic started by: dippy on September 06, 2010, 10:36:34 AM

Title: Remove HD flag on SD channels
Post by: dippy on September 06, 2010, 10:36:34 AM
Hey Guys,

I recently upgraded my TV to a HD compatible box, and at the same time enabled the HD channels on MythTV. I wanted to record only in HD when the program supports it. This should be able to be done with the "Prioritize HD Quality" setting in MythTV. However, the XMLTV guide from IceTV shows the HD flag even on SD channels negating the usefulness of this script.

So I wrote the below Perl program. I run it just after the listings are downloaded from IceTV.

It removes the HD flag from all SD channels, so Myth will only record on the HD channels if actually broadcast in HD.

I hope it helps someone!

Download from here: http://www.opencraft.org/ice/removehdfromsdchannels_pl

Remember to rename _pl to .pl and make the file executable.

David.