I still don't think you are completely seeing everything I am trying to explain here. Yes, adding something like this from scratch is a LOT of work, and I absolutely do realize that. It would be a LOT of work from scratch to add just a few images. That being said, most of the work has already been done, and most of it functional already. It just needs a couple minor tweaks/additions to complete.
These features have been in the core code for something like 4 years now, and are so close to being complete, but just not quite fully implemented.
(2015-04-27, 13:54)uNiversal Wrote: FYI the whole movies sets meta/fanart feature requires: xml scraper regex / MYSQL/SQLITE and skinning skills and maybe a touch of C++ skills.
I will address each of your points:
"C++ skills" Adding the feature to Kodi's base code:
Currently, All of the code for Kodi to can handle movie sets is already done. Have a look at the settings/video/library screen where the option to "Group movies in sets is located".
You can then manage a movie set, adding and deleting movies from any set directly from within Kodi and can browse for the "Set Cover" you would like to use. When you select a Movie Set when browsing the library, it organizes and displays them correctly.
Skinning:
The ability to display the set art is already in most skins, to Include the default included Cofluence, as well as my skin of choice, Transparency.
"MYSQL/SQLITE" database tables
These tables obviously exist already, as you can download choose the images manually in Kodi, and it displays them for later use.
"xml scraper regex" for scraping:
The Kodi scrapers
already retrieve what is needed. When an API request is made say to TMDB, it returns the JSON will EVERY item available for the movie. ALL images, ratings, text ect. When the scraper retrieves this information, it grabs the locations to the Poster, Fanart, and other images and then downloads them.
Here is a snippit of what is returned when Kodi makes a request for images such as poster and fanart. Note the 2 images that are currently downloaded by Kodi (Poster & Fanart) at the top, followed by the rest that can easily be added. It could not be easier, it is already there every single time Kodi makes a request with NO changes needed to request the information.
Quote:{
"name": "The Bourne Ultimatum",
"tmdb_id": "120",
"imdb_id": "tt0120737",
],
"movieposter": [
{
"id": "57317",
"url": "http://assets.fanart.tv/fanart/movies/120/movieposter/the-bourne-ultimatum-528aa45a8633a.jpg",
"lang": "en",
"likes": "4"
},
"moviefanart": [
{
"id": "50927",
"url": "http://assets.fanart.tv/fanart/movies/120/hdmovielogo/the-bourne-ultimatum-5232c108a0b11.png",
"lang": "en",
"likes": "7"
},
},
"moviesetfanart": [
{
"id": "50927",
"url": "http://assets.fanart.tv/fanart/movies/120/hdmovielogo/the-bourne-ultimatum-7232c133a0c54.jpg",
"lang": "en",
"likes": "7"
},
],
"moviedisc": [
{
"id": "29003",
"url": "http://assets.fanart.tv/fanart/movies/120/moviedisc/the-bourne-ultimatum-5156389dc28f2.png",
"lang": "en",
"likes": "5",
"disc": "1",
"disc_type": "bluray"
},
],
"moviesetposter": [
{
"id": "1613",
"url": "http://assets.fanart.tv/fanart/movies/120/moviesetposter/the-bourne-ultimatum-4f78564165f48.png",
"lang": "en",
"likes": "4"
},
All that is needed to be done, that I can deduce without seeing Kodi's code is:
Add an additional line of code in the scraper for each of the new images, and then save those images them locally, and add the location to the database into the
already existing tables.
Add a single line of code, when doing individual movie exports, to save those new images to the respective movie folders as it already does now for fanart, poster, .nfo ect.