Giter Club home page Giter Club logo

Comments (5)

SlrG avatar SlrG commented on August 26, 2024

Do you still have this problem? I can try to fix it if you like.

from xbmcnfomoviesimporter.bundle.

kuzco1 avatar kuzco1 commented on August 26, 2024

Hi, thanks for asking.
I have played a little bit and found a quick and dirty solution:

Have edited contents/codes/init.py

NEW:
COUNTRY_CODES = {
'Australia': 'Australia,AU',
'Canada': 'Canada,CA',
'France': 'France,FR',
'Germany': 'Germany,DE',
'Netherlands': 'Netherlands,NL',
'United Kingdom': 'UK,GB',
'United States': 'USA,',
}

NEW:
COUNTRY_CODES = {
'Australia': 'Australia,AU',
'Canada': 'Canada,CA',
'DE': 'DE,DE',
'France': 'France,FR',
'Germany': 'Germany,DE',
'Netherlands': 'Netherlands,NL',
'United Kingdom': 'UK,GB',
'United States': 'USA,',
}

and also
parts of contents/DefaultPref.json
to
{
"id": "country",
"label": "Country (used for content rating)",
"type": "enum",
"values": [
"",
"Australia",
"Canada",
"France",
"Germany",
"DE",
"Netherlands",
"United Kingdom",
"United States",
],
"default": ""
}

Unfortunately I do not see the "content rating" image for any movie in the movie overview.
I believe the reason for that is the fact that the "content rating" is i.e "de/FSK 6" and not "de/6".
Not quite sure how to fix this.

So, as far I do understand the init.py i.e. 'United Kingdom': 'UK,GB', will replace the UK in *.nfo with GB.
In my case I do need that "DE:FSK " is replaced with "de". Have also tried:
'DE': 'DE:FSK ,DE',
but this does notw ork. I believe the reason is the ":".

Any hint is welcome.

from xbmcnfomoviesimporter.bundle.

SlrG avatar SlrG commented on August 26, 2024

Please give this testing version a go. It should hopefully fix your problem. Make sure to replace the whole .bundle folder, so your changes are fully removed.

from xbmcnfomoviesimporter.bundle.

kuzco1 avatar kuzco1 commented on August 26, 2024

Hello, sorry for the late replay.
have tested Ver. 1.1-38-g2d77b79-144 and it works perfectly.

Many many thanks for this update. You made my day ! :-)

Thanks again.

Regards

from xbmcnfomoviesimporter.bundle.

SlrG avatar SlrG commented on August 26, 2024

Cool. :) Thanks for reporting back. I'll close the issue as solved.

from xbmcnfomoviesimporter.bundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.