{"shas":[["913f0d8436f6bdd6edb7542112d041a943076264","03a00a04d31566f2b21e34ebd5ebc03968981851@mythtv.org","Add a MythMetdataLookup program.\n\nThis program should be thought of as a companion job to records like mythcommflag or mythtranscode.  It takes programs as an input, performs a lookup online, and then sets various pieces of metadata on a successful return.\n\nFor now, it can be run in one of two ways:\n\n./mythmetadatalookup\n\nWill cycle through your entire list of recordings, look them up online, and if matches are found it will set:\n\n* For Movies: Inetref\n* For Television: Inetref, Season, and Episode\n\nThis mode will not re-run a lookup on a movie that already has an inetref, or a television show that already has inetref, season, and episode.\n\nIt can also be run as:\n\n./mythmetadatalookup --chanid 12345 --starttime 07-02-2011T19:30:00\n\n(using any supported date-time format)\n\nWhich will unequivocally look up a valid program from that chanid and starttime.\n\nThough this program will work and set correct values in the recorded table, to really show its worth it relies on:\n\n* Themes to be updated to show the season and episode values when relevant\n* Recording rule editor changes to allow inetref to be set on recording rules, so that they propagate to the recordings (so that you can set the inetref for \"Castle\" to TVDB's inetref for \"Castle (2009)\" and have all your lookups work thereafter)\n\nI will also possibly add a mode later that is a little more \"promiscuous\" and overrides existing program info values-- say you get a generic episode that you really needed, you could theoretically change the subtitle in the UI and run a lookup on it to get correct, full metadata.  I need to think about how best to accomplish this.","Robert McNamara"]],"ref":"refs/heads/master","size":1,"head":"913f0d8436f6bdd6edb7542112d041a943076264","push_id":35585530}