Jump to content

Recommended Posts

kingy444
Posted

I don’t believe this to be an issue with emby at this stage as re-ripping has now generated chapter images for the movie in question. (Not trying a replace metadata did not work)

I am however a little ocd, as such, now I have found one movie missing chapter extraction I want to check there are not others I also need to fix.

Is there any way I can find the movies (and possibly tv) that have not successfully generated the chapter extraction?
API call would be fine, even if it means dumping it all and then filtering from there.
I am well versed in powershell so scripting my library would not be a problem, but I need to know the right call to include ‘chapter information’ in the returned data.

 

@@rechigo

rechigo
Posted

First step would be to query all movie/tv items like so:

http://{SERVER_IP}:{SERVER_PORT}/emby/Items?IncludeItemTypes=Movie,Episode&Recursive=true

This will return an array called "Items" which contains a bunch of item object, where one of the properties is an "Id" which will be used in the next step

 

From there, you can make a request to http://{SERVER_IP}:{SERVER_PORT}/emby/Items/{ITEM_ID}/ThumbnailSet it will return an array called "Thumbnails", so if you simply check that array is empty, it would indicate there are no thumbnails for that particular item

 

Let me know if you need more clarification

kingy444
Posted (edited)

I assumed you were referring to the bifservice call and have checked /Items/{Id}/ThumbnailSet as a result - unfortunately the bif for the movie is still generated (and working as expected) it is the automatic chapter extraction thats not working. In this particular case there are no chapter marks on the file, so they should have been auto generated at 5 minute intervals.

 

Looks like the swagger UI got an update since the last time i looked and indicated i could use a parameter of ?fields=Chapters on the call to /Users/{UserId}/Items to include the extra data (this call took a LOOOOONG time to retrieve everything)

 

 

Now i have a question for @@Luke - Both the new copy and the old copy contain a 'Chapters' property and both are 22 items long however the one that is missing the chapters in the gui is missing the object property of 'ImageTag' - any suggestion what would cause this? I'm assuming the refresh meta failed because the chapters already existed and this is not part of the 'replace existing images' ?

 

Edit - after checking the results i have ALOT of media with this issue. Like Thousands of items to fix - a bulk fix would be great  ^_^

 

5ec21807b558e_chapters.png

Edited by kingy444
kingy444
Posted

I have found this https://emby.media/community/index.php?/topic/85358-bif/?hl=%2Bchapters+%2Bbif and this https://emby.media/community/index.php?/topic/83096-what-happened-to-video-preview-thumbnails then this https://emby.media/community/index.php?/topic/82476-chapter-image-extraction-stops-generating-too-early/

 

the change linked to the last one, appears to have broken the chapter and bif relationship.

 

Personally, would be great if we can store the chapter images in the bif aswell, but i just need to know whether to regenerate or wait for the option to return as questioned here https://emby.media/community/index.php?/topic/85358-bif/?p=885165 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...