Jump to content

Intro Skip Chapter Scan Keeps Failing


Recommended Posts

Posted (edited)

For some reason the Intro Skip Plugin keeps failing at the same spot in the scan After AAhhhh Real Monsters & 2 Stupid Dogs. I've added those 2 shows to the ignore list, but they appear to still get scanned.

 

Can anyone provide any hints as to how I should go about troubleshooting this? Log attached :)

embyserver.txt

Edited by nagetech
  • Agree 1
Posted

Hi, to what ignore list have you added them?

Posted

In the Intro Skip plugin under the advanced tab, there is a spot where you can add shows to an "ignore list" so they don't get scanned.

Posted (edited)
2024-09-28 11:55:38.971 Error TaskManager: Error
*** Error Report ***
Version: 4.8.9.0
Command line: R:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
Operating system: Microsoft Windows 10.0.14393
Framework: .NET 6.0.33
OS/Process: x64/x64
Runtime: R:/Emby-Server/system/System.Private.CoreLib.dll
Processor count: 56
Data path: R:\Emby-Server\programdata
Application path: R:\Emby-Server\system
System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
at Emby.Server.Implementations.ScheduledTasks.TaskManager.Execute(IScheduledTaskWorker task, TaskOptions options)
at IntroSkip.Chapters.ChapterEditScheduledTask.ProcessChapterImageExtraction()
at IntroSkip.Chapters.ChapterEditScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
Source: Emby.Server.Implementations
TargetSite: System.Threading.Tasks.Task Execute(MediaBrowser.Model.Tasks.IScheduledTaskWorker, MediaBrowser.Model.Tasks.TaskOptions)
 
2024-09-28 11:55:38.971 Info TaskManager: IntroSkip Chapter Insertion Failed after 2 minute(s) and 50 seconds
 
 
 
I've been testing a few things on my end, but this is the same error each time, and it is always about the same time when it fails. Everytime it stops on a show, I remove the show and start again. So it is NOT show dependent, just seems to be a time thing.
 
The only thing that has changed is I upgrade to 4.8.9.0
 
Could this be a new bug? 
 
Any pointers where I should look? 
Edited by nagetech
Posted

Hello nagetch,

Could you upload the complete log file so we can get a better look at this.

Thanks,
Carlo

Posted (edited)

I already uploaded one in the first post, but I'll upload one again since you asked :)

embyserver (1).txt

Pretty much covered everything I could on my own, but going through all the logs, it definitely appears the same night I upgraded to 4.8.9.0, that night was when the task started failing to run as I have mentioned. 

 

Hope this log helps! 

Edited by nagetech
Posted

Ok I would suggest posting in the dedicated topic for the plugin to ensure that the developer of the plugin sees this. Thanks.

Posted

I had posted above but was asked to post it here.

In short, whenever the intro chapter skip plugin runs, after about 2:50 to 3:50 of scanning, it stops. This symptom started after upgrading to Emby 4.8.9.0

 

The following error always generates after the failure:

 
2024-09-28 11:55:38.971 Error TaskManager: Error
*** Error Report ***
Version: 4.8.9.0
Command line: R:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
Operating system: Microsoft Windows 10.0.14393
Framework: .NET 6.0.33
OS/Process: x64/x64
Runtime: R:/Emby-Server/system/System.Private.CoreLib.dll
Processor count: 56
Data path: R:\Emby-Server\programdata
Application path: R:\Emby-Server\system
System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
at Emby.Server.Implementations.ScheduledTasks.TaskManager.Execute(IScheduledTaskWorker task, TaskOptions options)
at IntroSkip.Chapters.ChapterEditScheduledTask.ProcessChapterImageExtraction()
at IntroSkip.Chapters.ChapterEditScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
Source: Emby.Server.Implementations
TargetSite: System.Threading.Tasks.Task Execute(MediaBrowser.Model.Tasks.IScheduledTaskWorker, MediaBrowser.Model.Tasks.TaskOptions)
 
2024-09-28 11:55:38.971 Info TaskManager: IntroSkip Chapter Insertion Failed after 2 minute(s) and 50 seconds
 
 
 
I have attached the latest log. Thank you ahead of time for any help! 

embyserver.txt

Posted

I have made a post over in the plugins forum. Guessing you didn't see anything in the logs so far @Luke?

Posted
2 hours ago, nagetech said:

I have made a post over in the plugins forum. Guessing you didn't see anything in the logs so far @Luke?

I don't see any core server issue, so the developer of the plugin is needed to troubleshoot.

Posted (edited)

Hi @nagetech

The Introskip Plugin is no longer supported, and hasn't been for a couple of years as it's base functionality was replaced in the Core.

That being said - The Error above is a database related error where the Chapter element simply cannot reference an object that should be there.   The way to fix is to likely remove 2 Stupid Dogs from Emby, do a database vacuum, restart Emby and then re-add that show back.    It will then be given new id's and thus these will be seen as new items for the Plugin to analyse etc.

I would suggest you need to start thinking about an exit strategy for the Introskip Plugin though - however, in doing so - you will unfortunately lose many functions -

  • Editing
  • Credit/Outro detection/skipping
  • Chapter Insertion (correctly reformatted)
  • Option to skip shows
  • Option to ignore the first detected episode intro on a new Show/per Season (*)
  • Stats
  • Others I've probably forgotten about ..

(*) Thanks to @quorn23for the reminder ..

Edited by rbjtech
added first episode function
  • Like 1
Posted

To help me understand - if I uninstall the intro skip plugin, will there be ANY intro skip feature built into emby? Or would it be 100% stripped out?

You say database error, is that something I should be concerned about? How would that error have come up? I was hoping there would be a way to correct any errors in said database.

Would forcing a refresh of the metadata somehow help out or would it be faster to drop the whole library and re add it? I was already doing as you suggested and was removing each show from the library that caused a failed scan, but it seems to be every few shows. It's confusing as I changed nothing and this started coming up.

 

Looking forward to any pointers.

Posted

Did a quick search & I feel a bit stupid. I had failed to realize that emby had the intro skip function BUILT IN since 4.7 and me having the plugin was slightly redundant at this point then.

 

So if I just uninstall the plugin, and restart the server, all should be well and we'll still have the skip intro for the episodes show up. I see install the Chapters API Plugin will help me manage the markers if I choose to.

If I uninstall the plugin, are there any other things I should do for cleanup? Not sure if the plugin leaves a lot of left over data in the emby directory. I'm a stickler for having crap files cleaned out.

 

Thanks for helping me realize I was running a plugin I technically didn't need lol

Posted

Yes, the core will work for Intro's only - but as per my list above, you will lose a lot of other functionality.   

Note - going to core means you need to discover all the intro's again  and any custom edits will be lost and need re-adding via Chapter API.

Re files - there will be a db file you can remove and all the fingerprint files are held in a sub folder under the main emby folder. 

Posted
On 9/29/2024 at 10:31 AM, rbjtech said:

 you will unfortunately lose many functions -

  • Editing
  • Credit/Outro detection/skipping
  • Chapter Insertion (correctly reformatted)
  • Ability to skip shows
  • Stats
  • Others I've probably forgotten about ..

Still blows my mind how such a great plugin was sadly bastardized with the loss of so many imo needed functionality to make it actually great.

Loved to see the intro for the first episode and skip for the rest along the listed functions we lost with the integration. Would be great to see a feature parity at least.

  • Like 2
rbjtech
Posted
13 hours ago, quorn23 said:

Still blows my mind how such a great plugin was sadly bastardized with the loss of so many imo needed functionality to make it actually great.

Loved to see the intro for the first episode and skip for the rest along the listed functions we lost with the integration. Would be great to see a feature parity at least.

Ah yes - forgot about that one - thanks.   I believe it was actually always show the first Episode of each new Season (as an option) - as a) the intro theme may be different per season and b) on a large binge watch, it alerted you that you had started a new Season .. ;)

Yea it was these little enhancements,  identified from real life usage and users and frequent collaboration within the Introskip Team (4 or 5 of us grouped together) that made it a fantastic plugin.

It led the way when it was first published, bettering even Plex at the time - now, Emby is a long way behind .. :(

Posted
15 hours ago, quorn23 said:

Still blows my mind how such a great plugin was sadly bastardized with the loss of so many imo needed functionality to make it actually great.

its not, it is still available, the source for the plugin is still available, it can be updated and released at any time.

Posted

I didn't know the intro skip had such a saga behind it. Why was there such issue with this plugin? It seems to provide a lot of neat features, can't understand who or what would work against it? 

Posted
3 hours ago, nagetech said:

I didn't know the intro skip had such a saga behind it. Why was there such issue with this plugin? It seems to provide a lot of neat features, can't understand who or what would work against it? 

I don't think anyone is actively working against it, it was abandoned when the core feature of intro detection was added to Emby.

The main problem is it was abandoned, there is no current plugin dev maintaining it or releasing it.

  • Thanks 1
Posted

Core plugin have no options to edit, exclude e.t.c. Just it's on or off...

I also liked plugin, was able to reset, edit and most important, exclude shows from scanning. 

For example, "Lost", "Chicago Fire"h ave very short intro where is no need to skip it. 

It would be great to add UI for Emby Core intro skip. 

rbjtech
Posted
6 hours ago, TeamB said:

I don't think anyone is actively working against it, it was abandoned when the core feature of intro detection was added to Emby.

The main problem is it was abandoned, there is no current plugin dev maintaining it or releasing it.

It wasn't abandoned - it was a mutural agreement between the Plugin Team (myself included) and the core Emby Team that it would be better to add it to the core.   However, we (or I anyway) was not aware it would only be the bare essentials to be given the term 'Intro detection' - it didn't even include the ability to edit.   The core team said this would be added 'in the future' but of course never has been.   That was multiple years ago...

The source is available yes, and it might be workable to add the missing bits back as a Plugin - but there is no API that I'm aware of to create the fingerprints for the Credit's for example - there is for the chapter info where the timings are stored (this is what ChapterAPI uses) - but is anybody going to spend their free time doing that on something that should be in the Core ?  Unlikely.   Nobody from the original Team is even remotely interested - and who can blame them.

Posted
16 minutes ago, rbjtech said:

Nobody from the original Team is even remotely interested - and who can blame them.

yes, that was my point, the plugin has been abandoned, the original team moved on, I am not saying someone is to blame here.

this is no ones fault, it is just what it is, if someone new wanted to they could pick up the plugin and run with it again.

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