garyan2 / epg123

Media Center Electronic Program Guide in 1-2-3
http://garyan2.github.io
MIT License
27 stars 5 forks source link

feature request #17

Closed warrentc3 closed 1 year ago

warrentc3 commented 1 year ago

Would like to only have ratings sources of my country in the xml. Is that feasible?

garyan2 commented 1 year ago

In the epg123.cfg file, there is element 'RatingsOrigin' which will default to whatever 3-letter code the OS says it is. This is supposed to limit the ratings included in the mxf/xmltv files but doesn't appear to be working. Nothing in the code jumps out to explain why it is not working so I will need to look into it.

The capability is already there, just not working at the moment.

garyan2 commented 1 year ago

Okay, see the problem. EPG123 relies on the country of origin for the ratings provided by SD. If that information is not provided, it will default to including the rating in the mxf and xmltv files (being conservative). Right now, there are no plans to introduce any method to limit the ratings to specific rating organizations. That would require the user to know what those organizations are and there are a lot, and some have multiple spellings for the same organization.

garyan2 commented 1 year ago

You know what? I think I'll reverse that. Rather than including ratings without country of origin automatically, I will only do so if the desired country of origin is not present. There's still a possibility to include a lot of ratings from other countries if the desired country is not included, but should reduce quite a bit of the "extras".

warrentc3 commented 1 year ago

one of things that has thrown some of my UX for a loop is the multiple english ratings... and movies don't always present the MPAA rating, rather the UK rating.

garyan2 commented 1 year ago

Released 1.8.1.0 which will only include designated country of origin ratings.