Comments (5)
Do you still have this problem? I can try to fix it if you like.
from xbmcnfomoviesimporter.bundle.
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.
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.
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.
Cool. :) Thanks for reporting back. I'll close the issue as solved.
from xbmcnfomoviesimporter.bundle.
Related Issues (20)
- Multiple SETs / COLLECTIONs HOT 1
- Local asset management with plex - actor thumbs HOT 1
- Plex scanner update... HOT 4
- Local actor thumbs directory HOT 5
- Work in Synology but not QNAP
- nfo userrating tag not being read
- Set name dropping "Collection" HOT 3
- Duplicates trailers on every metadata refresh
- Feature Request: Support Movie Theme.mp3
- can't show actor image HOT 1
- [BUG report] cant parse xml HOT 2
- Where is the metadata class called from? HOT 1
- Only reads MovieTitle.pt01.nfo
- Does not detect jpeg poster and fanart, only jpg works. HOT 1
- Actor role receive random number when role name repeats HOT 2
- Set Plex 'Content Rating' from NFO? HOT 1
- (Feature Request) Plex Editions HOT 5
- [Bug report] Marking an edition as played or unplayed, affects all editions of that movie
- Actor Thumbs - Info Needed
- Save new nfo file into movie folder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xbmcnfomoviesimporter.bundle.