Jump to content

Plugin - Chapter Editor (ChapterApi)


Recommended Posts

Posted

There's a series I am adding to Emby that's not being picked up by the built-in intro detection (is there any control / view into this system at all?).

I've used this tool wonderfully on shows I have fully added to Emby, but if I do it before I have all of them added, am I just wasting time? The plugin won't know to apply it to newly added episodes, will it?

Posted
2 hours ago, podonnell said:

There's a series I am adding to Emby that's not being picked up by the built-in intro detection (is there any control / view into this system at all?).

no, the internal detection and processing is a little black box

2 hours ago, podonnell said:

I've used this tool wonderfully on shows I have fully added to Emby, but if I do it before I have all of them added, am I just wasting time? The plugin won't know to apply it to newly added episodes, will it?

the detection side of this plugin can be triggered automatically to run, check the settings, from memory there is also a scheduled task.

Posted
4 hours ago, TeamB said:

the detection side of this plugin can be triggered automatically to run, check the settings, from memory there is also a scheduled task.

ah yes, > Auto process episodes when they are added

Seems like that would be globally for any added episode though. I wouldn't want that to bump heads with the internal one -- when that works, it works well. This chapter editor is a great fallback.

  • 3 weeks later...
msirkhot786
Posted

Hi @TeamB

 

I wanted to find out with these settings enabled must the skip intro schedule task still run on a weekly basis?.

 

 

Screenshot 2025-02-28 114339.png

Posted
11 hours ago, msirkhot786 said:

Hi @TeamB

 

I wanted to find out with these settings enabled must the skip intro schedule task still run on a weekly basis?.

 

 

Screenshot 2025-02-28 114339.png

i think with the auto process turned on you should not need the schedule task.

 

msirkhot786
Posted
On 2/28/2025 at 11:10 PM, TeamB said:

i think with the auto process turned on you should not need the schedule task.

 

I have tried it but it never work when new episodes got added, not sure if I am missing something or if anyone came right with these 2 options enabled?

Posted
6 hours ago, msirkhot786 said:

I have tried it but it never work when new episodes got added, not sure if I am missing something or if anyone came right with these 2 options enabled?

in your screen shot it looks like you dont have any intro data audio fingerprints loaded. if you don't then nothing will be detected.

  • 2 weeks later...
Posted

I recently changed to Ubuntu 22.04 from Windows 10 for my Emby server.

After installing the chapter API plugin, I have an issue detecting chapters and downloading the chromaprints.

The intros detected by the EMBY internal function are not always correct, so I wanted to use the chromaprint from the database, which I added myself.

First, it instantly completes the detection but finds no intros from the chromaprint in the database.

When checking the currently logged intros, they are being seen, but when trying to download the chromaprint i get an error.txt with this content:
Error extracting chromaprint data 1 (153516)

I have included a screenshot of my options tab and a cutout of the embyserver log where the extract command is being run.

Since it is Linux, i am leaning towards a possible permission issue - but any help with a fix would be helpful

silo-issue2.JPG

silo-download issue.JPG

chapterapi-settings.JPG

embyserver.txt

Posted
3 hours ago, JimmyS01 said:

I recently changed to Ubuntu 22.04 from Windows 10 for my Emby server.

After installing the chapter API plugin, I have an issue detecting chapters and downloading the chromaprints.

The intros detected by the EMBY internal function are not always correct, so I wanted to use the chromaprint from the database, which I added myself.

First, it instantly completes the detection but finds no intros from the chromaprint in the database.

When checking the currently logged intros, they are being seen, but when trying to download the chromaprint i get an error.txt with this content:
Error extracting chromaprint data 1 (153516)

I have included a screenshot of my options tab and a cutout of the embyserver log where the extract command is being run.

 

I think i found the issue.
Since i used smb:// for library path it wouln't work.
When i mounted my shares it all started working as intended :D

Posted (edited)

Hi @Luke

I ripped a concert dvd and added the chapters manually, using MKVToolNix.

Emby shows everything exactly as supposed but there are two that aren't recognized. I might be due to the fact that the name of both tracks are numeric; one is "11:33" and the other is "1977"

Can you confirme that Emby can't handle with chapters with this kind of name? And do you know what can i do to "bypass" that (supposed) limitation from Emby?

 

Thanks

 

Update:

Adding quotes did the job.

Thanks

Edited by Kurt13
Posted
1 hour ago, Kurt13 said:

Hi @Luke

I ripped a concert dvd and added the chapters manually, using MKVToolNix.

Emby shows everything exactly as supposed but there are two that aren't recognized. I might be due to the fact that the name of both tracks are numeric; one is "11:33" and the other is "1977"

Can you confirme that Emby can't handle with chapters with this kind of name? And do you know what can i do to "bypass" that (supposed) limitation from Emby?

 

Thanks

 

Update:

Adding quotes did the job.

Thanks

numeric chapter names are currently ignored because often we users with files containing junk chapter names that are just numbers.

  • Thanks 1
Posted
6 hours ago, JimmyS01 said:

I think i found the issue.
Since i used smb:// for library path it wouln't work.
When i mounted my shares it all started working as intended :D

I dont think the issue was captured in the log snip you sent. I think ffmpeg should be able to do the smb:// share ok but not sure.

glad you got it sorted.

  • 1 month later...
Posted

hi

I'm trying to use the intro detect option but not sure what im doing :)

if i have 1 episode that is correctly identified can i use the extract intro chromaprint option on thaT episode and then apply it to the rest of the series ?

i did try it and it worked but don't know if that is messing anything else up.


i was playing around with the media segments on jellyfin but it was confusing so thought i would give this a try

Thanks

Posted
On 4/28/2025 at 9:40 AM, Grumpy1 said:

hi

I'm trying to use the intro detect option but not sure what im doing :)

if i have 1 episode that is correctly identified can i use the extract intro chromaprint option on thaT episode and then apply it to the rest of the series ?

i did try it and it worked but don't know if that is messing anything else up.


i was playing around with the media segments on jellyfin but it was confusing so thought i would give this a try

Thanks

I found the answer in the first post

  • 2 weeks later...
Hunter99507
Posted

I want to contribute my json files but it's cumbersome to do so. I think if there was a simpler way to contribute more people would. 

 

Maybe if there were a button in the program to upload all jsons automatically more people may use this. I am sure there is someway to parse the data. 

For me this is invaluable. Once you have the initial fingerprints it works better than the built in skipper

TeamB
Posted
12 hours ago, Hunter99507 said:

I want to contribute my json files but it's cumbersome to do so. I think if there was a simpler way to contribute more people would. 

 

Maybe if there were a button in the program to upload all jsons automatically more people may use this. I am sure there is someway to parse the data. 

For me this is invaluable. Once you have the initial fingerprints it works better than the built in skipper

yeah it is a pain in the ass to contribute, I originally has a web service you people could submit the files to but in the 12 months it was running only 2 people submitted two tv shows so when it broken and needed fixing I just exported the data and added the json to a github repo which is much more difficult to contribute to but requires very little maintenance to keep it running.

 

Hunter99507
Posted
8 minutes ago, TeamB said:

yeah it is a pain in the ass to contribute, I originally has a web service you people could submit the files to but in the 12 months it was running only 2 people submitted two tv shows so when it broken and needed fixing I just exported the data and added the json to a github repo which is much more difficult to contribute to but requires very little maintenance to keep it running.

 

I have about 10 tv shows I made prints for, could you give me instructions on how i can submit these to merge with yours? 

TeamB
Posted
48 minutes ago, Hunter99507 said:

I have about 10 tv shows I made prints for, could you give me instructions on how i can submit these to merge with yours? 

There is some info on the first post about the github repo, if you want to contribute it is a little tricky but mostly straight forward.

Fork the repo

https://github.com/faush01/ThemeCpData

you will need to create a github account.

in your fork of the repo add your shows and files.

Then do a pull request and I can then merge your files into the main repo. These files will then be available in the main.zip file

 

 

Hunter99507
Posted
7 hours ago, TeamB said:

There is some info on the first post about the github repo, if you want to contribute it is a little tricky but mostly straight forward.

Fork the repo

https://github.com/faush01/ThemeCpData

you will need to create a github account.

in your fork of the repo add your shows and files.

Then do a pull request and I can then merge your files into the main repo. These files will then be available in the main.zip file

 

 

Thanks, ive submitted to github

  • Like 1
Hunter99507
Posted

@TeamBIs there a way I can have all the tv show prints loaded at all times? Or is there a way to create a scheduled task to reload the current database, then scan all of my shows to process?

The problem i am having is after i watch a tv show i have a script to delete it. If the database get refreshed with no tv show, it cant process the intro skip next time a show gets added (next weeks episode). This is also why i have a problem with emby built in intro skip because i rarely have 2 episodes at the same time so the detection never happens. 

 

Thanks

TeamB
Posted

interesting use case, from memory it only loads data for the tv shows you have in your lib.

i think you can schedule a load and scan, its been a while since i looked, check the schedules for the plugin and see.

  • 2 weeks later...
Ausstaedter
Posted

I am using the very helpully plugin to edit the start and the end of the intros. Sometimes I have to clear the automatically determined intro starts and endings and it worked great.

Today I made a mistake during deleting needless chapters and intro startings and endings. When the deletion confirmation popup appears, there is a check box which tells something like "Do not allow deletion the next time", I do not know the exact phrase. Unfortunately I have checked the checkbox and now I am not able to delete chapters anymore.

How can I resolve the issue? I have tried reinstalling the plugin, with restarts of Emby after uninstall and the install, I have looked into the library.db. But I did not find anything to undo it. Is there a solution for this?

TeamB
Posted
8 hours ago, Ausstaedter said:

I am using the very helpully plugin to edit the start and the end of the intros. Sometimes I have to clear the automatically determined intro starts and endings and it worked great.

Today I made a mistake during deleting needless chapters and intro startings and endings. When the deletion confirmation popup appears, there is a check box which tells something like "Do not allow deletion the next time", I do not know the exact phrase. Unfortunately I have checked the checkbox and now I am not able to delete chapters anymore.

How can I resolve the issue? I have tried reinstalling the plugin, with restarts of Emby after uninstall and the install, I have looked into the library.db. But I did not find anything to undo it. Is there a solution for this?

This confirm dialog box is actually part of the browser, you will need to find out how to reset the ignore confirm dialog for the domain you host Emby on, in firefox it shows up in next to the URL bar at the top.

 

  • 5 weeks later...
Dez_Lamar
Posted

Can we lock the chapters to keep them from being erased by metadata refresh?

  • Like 1

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...