WIP Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread
(2017-04-10, 13:10)DanCooper Wrote:
(2017-04-10, 12:01)axlt2002 Wrote:
(2017-04-08, 13:48)DanCooper Wrote: Yes, the uniqueid table is a part of the Kodi DB. I've tested it with a new NFO that contains multiple <uniqueid> nodes:

Call:
Code:
http://localhost:8080/jsonrpc?request={"jsonrpc":"2.0","id":"1","method":"VideoLibrary.GetTVShowDetails", "params": {"properties": ["uniqueid"], "tvshowid":10}}

Result:
Code:
{"id":"1","jsonrpc":"2.0","result":{"tvshowdetails":{"label":"Game of Thrones","tvshowid":10,"uniqueid":{"imdb":"tt0944947","unknown":"121361"}}}}

As you can see, the API tells you all saved IDs.

EDIT: tested with Kodi 17.1.

Thanks Dan! This is really a good new! I'm going to change the add-on on such basis then...

One more question: if I have all my collection using the "old" .nfo format without the <uniqueid> nodes, is EMM going to overwrite automatically them with the new format or what I would be supposed to do in order to update them? Do you have any test .exe that you can share?

Have a great start of the week!

You have to rewrite the NFO with Tools => Rewrite all movie content.
EDIT: I also added the same function for tv shows and movie sets.

No sorry, atm I don't have a working version of the next Alpha.

Thanks a lot Dan, I will make some trials by manually editing the .nfo files. And will wait for the next alpha with a lot of passion... Wink

When you write "TV Shows" you mean also the single Episode .nfo files, right?

One question for clarification about the new format

Code:
<id>121361</id>
<uniqueid type="imdb">tt0944947</uniqueid>
<uniqueid type="tmdb">1399</uniqueid>
<uniqueid type="tvdb" default="true">121361</uniqueid>

What does the "default" property in the last line mean? Why only in the last line and what happens if it is set to "false"?

Another point is related to ratings and votes; Kodi exports them in the following format that is not recognized by EMM:

Code:
<ratings>
     <rating name="default" max="10" default="true">
           <value>9.000000</value>
           <votes>262868</votes>
     </rating>
</ratings>

Are you going to adapt it in EMM?
Light IMDb Ratings Update - Keep updated the IMDb ratings for your movies and TV shows.
In case you found useful my work, feel free to offer me a cappuccino!


Messages In This Thread
RE: Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread - by axlt2002 - 2017-04-10, 14:20
nfo file status? - by NightMyst - 2017-06-21, 07:24
Audio metadata error - by Doomnie - 2017-11-04, 08:16
EmberMM Import Poster.jpg - by MePoEmberMM - 2018-02-06, 01:27
User rating sync - by fred_gaou - 2018-04-28, 22:25
database is locked - by gorb - 2019-08-19, 11:41
Logout Mark Read Team Forum Stats Members Help
Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread2