Jump to content

Emby for Kodi - wrong/missing boxset art


StealthDefender

Recommended Posts

StealthDefender

There were many, many problems with the first version.  The way it worked was not sustainable.

 

Give use some screenshots of your issues and we will look into them.

So here are some screenshots for example. They are shot after a clean kodi install on win8.1 (delete all kodi folders before reinstall)then a complete fresh scan of the plugin was taken!

If you see is the collection cover from back to the future only the cover from the first film, but in embys database there is another cover set!

Also you can see that some covers are missing (after the xxx  collection which is also a wrong folder cover)! On the server they are correct.

I want to say it again, in the first versions of the addon this bugs are not happened and all was correct. Sadly after the last update this problems occur.

I have tested this on 3 machines, all the same at the end!

I dont know which version of the addon it was but i think 2 versions before worked well (only the problem with the episode thumbs, but they are fixed now)

Hope this helps.

Greetz Stealth

post-3982-0-68424900-1428865874_thumb.jpg

post-3982-0-83254200-1428865887_thumb.jpg

post-3982-0-27528300-1428865904_thumb.jpg

Link to comment
Share on other sites

xnappo

Do you have .nfo files in your directories?  The big difference between the 1st version and more recent ones is that now Kodi can 'see' your path.  It is possible it is picking up art from the folder.

 

I don't use boxsets - @@im85288 - is there a known issue with not getting set covers?

Edited by xnappo
Link to comment
Share on other sites

StealthDefender

Nfo files are only in the movie folders not in the boxset!

For example my folders look like

Back to the future Collection [boxSet]

Fanart.jpg

Cover.jpg

Logo.png

>Back to the future

>Back to the future II

>Back to the future III

>Back to the future.mkv

>Back go the future.nfo

The collections are imported so far but now the .jpg and .png arts for the sets are ignored!

Edit: for me it looks like if with the first version the addon pick the covers fanarts logos etc from the servers database which are the right ones.

But now only the set info is coming from the server and the native kodi scraper use the first arts from a sets movie like it do with the normal kodi implemented scraper!

Edited by StealthDefender
Link to comment
Share on other sites

xnappo

The 'first version' didn't even have boxset support - so I am not sure which version you are talking about.

 

We get it fixed..

Link to comment
Share on other sites

StealthDefender

The 'first version' didn't even have boxset support - so I am not sure which version you are talking about.

 

We get it fixed..

I mean the version with the button in settings to turn boxset on or off!

After a update this feature was fix enabled!

Link to comment
Share on other sites

StealthDefender

Tried the new version, all works fine so far.

Too bad that the boxset issue still wont work. :unsure:

Greetz Stealth

 

Edit: @@xnappo

Is there a way to change the code by myself, that the addon grab the boxset art again like in the first versions?

The addon is so useful but this little mistake is going to make me insane. :D

Edited by StealthDefender
Link to comment
Share on other sites

xnappo

Geez - you really like your boxset covers!

 

@@im85288 has been busy - he is Mr. BoxSet.  He will fix it when he gets time. 

 

I took a quick look, here is how it is supposed to work:

 

LibrarySync.py lines 189-218 go through the boxsets.  The boxset data is read from the Emby server in ReadEmbyDB.py method getMoviesInBoxSet.  The images are set in WriteKodiDB.py method addBoxSetToKodiLibrary, which extracts the image path using API.py method getArtwork.

 

Somewhere along the line either the images are not returned properly from the server query, or they are not set right in the database.  Put in some print statements and figure out where it is broken.

Link to comment
Share on other sites

StealthDefender

Geez - you really like your boxset covers!

 

@@im85288 has been busy - he is Mr. BoxSet.  He will fix it when he gets time. 

 

I took a quick look, here is how it is supposed to work:

 

LibrarySync.py lines 189-218 go through the boxsets.  The boxset data is read from the Emby server in ReadEmbyDB.py method getMoviesInBoxSet.  The images are set in WriteKodiDB.py method addBoxSetToKodiLibrary, which extracts the image path using API.py method getArtwork.

 

Somewhere along the line either the images are not returned properly from the server query, or they are not set right in the database.  Put in some print statements and figure out where it is broken

Yeah i love my self created boxsets with the right images. :D

I dont want to piss you off with my pray for this. Hope you can forgive me.

I have a look in the code but at the moiment i can´t find any solution for me, because i am far away for be a good coder! :rolleyes:

For my opinion it makes no sense why the addon (or kodi) now use the pictures in the first boxset movie instead of the ones in the boxset folder itself.

For example i add 2 pictures where you can see how i have my boxset folders!

THX for all your help!

 

These are the arts kodi should use (like in the earlier addon versions)

post-3982-0-71386000-1429635205_thumb.jpg

 

And these are the arts that kodi (or the addon) actually uses.

post-3982-0-13331500-1429635206_thumb.jpg

Link to comment
Share on other sites

xnappo

Not pissing me off at all - I just don't use boxsets and @@im85288 knows the code better and will likely fix it quickly when he has time.  I think he said he will have time this weekend.

  • Like 1
Link to comment
Share on other sites

Angelblue05

@@StealthDefender

 

I've been testing boxsets today. It seems the problem is that Kodi caches the boxset image. It's not a problem with the addon itself. Just a problem with using the native way, I suppose. To force refresh your boxset, there's a few ways.

 

First option: Rebuild your image cache

The most certain way is to rebuild your image cache. You can force Kodi to do so by deleting the textures13.db file inside the %appdata/Roaming/Kodi/userdata/databases folder. Note that Kodi needs to be shutdown at the time. When you start Kodi again, it will rebuild your image cache with the latest images found on your Emby server. I would only suggest this option if you have many items that are incorrect.

 

Second option: Context menu > Manage

On the incorrect boxset via the context menu ("c" on keyboard) select Manage > Choose art. Select poster. This will force Kodi to see the new image when selecting Current art (even if it displays the wrong thumbnail image) in the new window that just opened. Press ok and less than 5minutes it should display the latest boxset found on your Emby server. If it's only one item, it will be faster than rebuilding your entire image cache. If the artwork still doesn't refresh after 5 minutes you can try restarting Kodi and redoing the process or fallback on option 1.

 

Third option: Context menu > Refresh

Similar to the second option. If your skin has the option via context menu, you can also Refresh the item. This is not the same as update library (update library does not refresh images, just metadata). If the artwork still doesn't refresh, fallback on option 2

 

I hope this helps. :)

 

Edit: I just did a fresh install and got the wrong boxsets....Will investigate...Ok the boxset sync seems to only happen once. This seems to be behind the actual boxset cover refresh. It only happens once however, so to make it happen again you need to restart Kodi. Then it should pick up the changes within a few minutes.

Edited by Angelblue05
Link to comment
Share on other sites

StealthDefender

@@StealthDefender

 

I've been testing boxsets today. It seems the problem is that Kodi caches the boxset image. It's not a problem with the addon itself. Just a problem with using the native way, I suppose. To force refresh your boxset, there's a few ways.

 

First option: Rebuild your image cache

The most certain way is to rebuild your image cache. You can force Kodi to do so by deleting the textures13.db file inside the %appdata/Roaming/Kodi/userdata/databases folder. Note that Kodi needs to be shutdown at the time. When you start Kodi again, it will rebuild your image cache with the latest images found on your Emby server. I would only suggest this option if you have many items that are incorrect.

 

This have no effect. Tried a few times, didnt work! Only wrong images would sync after that way!

 

Second option: Context menu > Manage

On the incorrect boxset via the context menu ("c" on keyboard) select Manage > Choose art. Select poster. This will force Kodi to see the new image when selecting Current art (even if it displays the wrong thumbnail image) in the new window that just opened. Press ok and less than 5minutes it should display the latest boxset found on your Emby server. If it's only one item, it will be faster than rebuilding your entire image cache. If the artwork still doesn't refresh after 5 minutes you can try restarting Kodi and redoing the process or fallback on option 1.

 

Like reportet a few posts before with this option i only see the images they are in the first movie in the boxset!

 

Third option: Context menu > Refresh

Similar to the second option. If your skin has the option via context menu, you can also Refresh the item. This is not the same as update library (update library does not refresh images, just metadata). If the artwork still doesn't refresh, fallback on option 2

 

Also...... didnt work! No effect!

 

I hope this helps. :)

 

Edit: I just did a fresh install and got the wrong boxsets....Will investigate...Ok the boxset sync seems to only happen once. This seems to be behind the actual boxset cover refresh. It only happens once however, so to make it happen again you need to restart Kodi. Then it should pick up the changes within a few minutes.

Thanx for your report! I have set comments to your posts above!

With a earlier version of the addon all boxset images were right. With the newer versions after a resync/rebuilt of the database the right ones were overwritten with the wrong ones!

Hope there is a solution some time if the defs have some time! :)

Greetz Stealth

Link to comment
Share on other sites

Angelblue05

Yeah I don't know what to say except my boxsets had the wrong image first, until I restart Kodi, then when the boxset sync happens it gets the proper boxset cover found on my emby server. Is this your case? Or it just never updates to the correct one? 

Link to comment
Share on other sites

StealthDefender

Yeah I don't know what to say except my boxsets had the wrong image first, until I restart Kodi, then when the boxset sync happens it gets the proper boxset cover found on my emby server. Is this your case? Or it just never updates to the correct one? 

Never update to the correct one. No mather how often i do a rebuilt of the database. This occurs on 3 (now4) machines.

It looks like the addon (or kodi in the last way) dont see my boxset folder anymore. I dont know what the devs have changed in the version history.

 

Only thing i know (and pray from the first time on) that the first 2 or 3 versions of the addon work like a charm and with some changes in the base of the addon

many things are broken now (maybe only for me, looks like other people dont get rid of their boxsets, or have problems)!

In first place i have the hope that this addon simple sync my database from emby to kodi (watched stats and progress) and this should be the main feature.

In my opinion now theres too much functions in the addon like http streaming and this stuff! Don´t get me wrong but in my case this is a worthless feature!

Why should there be a http streaming over kodi if i could stream over any internet explorer/browser?!?!

Anyway i think the guys here do a fantastic job and hope this issue will fix sometime ( its not only about the bxoxset art, also some other posters are wrong).

 

For me the best working solution was the first 2 or 3 versions of the addon and i hope it go back to this sometime.

Meanwhile i use the older addon ( slow but all work as it should for me).

Have a nice sunday guys...... :D

Greetz Stealth

Link to comment
Share on other sites

StealthDefender

@@Angelblue05, @@xnappo, @@im85288

@@marcelveldt

@

 

Hey guys, hope i dont miss one of you developers !

Strange thing here but don´t worry it´s positive :D

I have update all my machines with the 0.33 emby for kodi addon to look if anything is happened with the boxset.

After a restart of kodi i let the addon sync in the background! I let the systems untouched for 2 hours or so i think.

After that i have a look what happened, and tata.......all the wrong boxset arts now changed to the right ones!

Don´t know what you guys changed in the addon but it fixes my problem (for now ;) ).

Maybe the failure was that i have give the addon to less time to sync the right images, i don´t know.

Anyway, now the addon looks like useful for me like in the first days and i am happy to use it again.

So to say a big thanks to you guys out there and hope the good work will go ahead with this. :)

Have a Nice day

Greetz Stealth

 

Edit: addet missing user ;)

Edited by StealthDefender
  • Like 1
Link to comment
Share on other sites

Angelblue05

yes marcelveldt and null_pointer too

 

:)

 

Stay tuned for more to come. We are working really hard to get things running smoothly.

  • Like 1
Link to comment
Share on other sites

StealthDefender

The curiosity on that thing is that in the first place after a complete resync of database the wrong pictures (first film in boxset) appears and after a restart of kodi and probably 2 hours later the right ones appears!

Anyway now i am happy [emoji39]

In combination with Arctic Zephyr all looks great so far.

Hope the dark theme in the skin will work in some time!

Greetz Stealth

Link to comment
Share on other sites

Angelblue05

I figured out a way to instantly update your boxset artwork in Kodi.

 

In Emby metadata manager, set the boxset of your choice for the collection, then by pressing save for one of the movie contained in the collection (no need to change anything, save will trigger the update), the update is sent to Kodi which will instantly pick up the new boxset artwork.

Edited by Angelblue05
  • Like 1
Link to comment
Share on other sites

StealthDefender

THX for tip, could be useful in future! :D

At the moment all work well so far, no problems here around.

Great work !

Greetz Stealth

  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...