uk_atlas: Bug - Program genres are being pulled in with a random order each time
John Bergqvist <[email protected]>
| Newsgroups | gmane.comp.tv.xmltv.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, i've partially isolated why the PA program genres are changing between episodes of the same program. If you run the grabber manually, you can see what I mean: tv_grab_uk_atlas --config-file=test.xmltv --output /srv/http/text.xml --date 20140127 The text config file just has channel 4 hd as the sole channel. Every time the command is run, the order of the program categories changes each time. For instance, for Channel 4 News, the categories are in this order in the XML file: <category lang="en">National News</category> <category lang="en">Sports</category> <category lang="en">Weather</category> <category lang="en">Sport</category> Yet if I run the query again, they appear in this order: <category lang="en">Sports</category> <category lang="en">Sport</category> <category lang="en">Weather</category> <category lang="en">National News</category> and so each time the query is run, the categories get swapped around, and as there is no difference between the labels or hierarchy, most programs will import just the top value. If I run the same query through the atlas API explorer, I always get the same order of values, namely, Sports, Sport, Weather, and National News. While ideally it would be nice to have a "overall" genre and then a more specific genre (for Channel 4 News at least, the main Genre should be National News, not Sport, as the atlas order of genres seems to be implying for this program), is it possible to fix this so that the category values get imported in the same order each time, rather than in a different order each time the query is run... Thanks. ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ xmltv-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xmltv-users