Posts: 221
Joined: Jun 2018
Reputation:
1
mrob
Senior Member
Posts: 221
Normally, the data for each movie in my Kodi library comes from scrapers that read TMDB, etc.
Question: is there some way I can add extra notes for some films in my library? How about URLs to film reviews or other sites?
I looked at the details on NFO files, but I don't see anything about this, i.e., which tags I would use, or how to represent URLs.
Thanks!
Posts: 14,208
Joined: Nov 2009
Reputation:
710
Klojum
Lost connection
Posts: 14,208
Nfo files are only suplementary files. For starters, you'll have to extend/expand the video SQL database with one or more text fields for your wishes. Then you'll need to adjust the SQL queries and Kodi source code and the skin you are using to reflect the extra information.
And all that will not be supported when a newer Kodi version with a newer database version comes along, unless you are willing to put in the effort of creating PRs for all affected parts.
Posts: 221
Joined: Jun 2018
Reputation:
1
mrob
Senior Member
Posts: 221
Thanks. I'm fairly comfortable with SQL, though I haven't looked under the hood of Kodi to see what sorts of queries are being used.
Are there any add-ons that do something like this? Searching this forum, I found reference to an "ExtendedInfo" add-on, but I couldn't find more details and it is perhaps defunct.
I'm going to ask a dumb question: what is involved in a PR? Would this be a request to change the basic Kodi build?
Posts: 14,208
Joined: Nov 2009
Reputation:
710
Klojum
Lost connection
Posts: 14,208
Expanding the video and/or music database can be done via so-called PR requests. it then will involve making changes to the core code of Kodi, so that everyone can benefit. Changes that will need the approval of Team Kodi before the PRs are accepted.
There are no such add-ons AFAIK. The only other community alternate database change is the 5-user MySQL setup. It's expanding the number of MySQL users for Kodi, but as expected, there is no official support for that users extension.
"What is involved in a PR?" Kodi's application code is handled via Github. Everyone can fork Kodi and subsequently write and submit their changes, fixes and new features which will be again under the scrutiny of Team Kodi.
Posts: 221
Joined: Jun 2018
Reputation:
1
mrob
Senior Member
Posts: 221
Thanks for clarifying. I'm already on GitHub and published an app there once.
I could fork Kodi, figure out whether it's Python or C++ that needs to be twiddled, and make my changes, but then until and unless I persuade Team Kodi to integrate the changes, I would be maintaining a parallel version, which I'd have to somehow get into my media server for testing.
To justify this effort, I would want to know if there is team interest in the first place, but that seems like a difficult question
Posts: 221
Joined: Jun 2018
Reputation:
1
mrob
Senior Member
Posts: 221
Hey, thanks for these pointers. How can I get more info on extendedInfo and the other addons you mentioned? I did some searches but didn't find much.
I'm on Kodi 19.4 and just using the basic Estuary skin now.
What I'd like to do is pretty simple: be able to add NFO files for movies that could each contain a couple of paragraphs of text, like extra review comments, and have some way to see these when I browse movies.