Jump to content

Show Intro Skip Option


Liquidfire88

Recommended Posts

samuelqwe
38 minutes ago, chef said:

I'm re-running the scan to make sure, but that's crazy right?!? 1 second for title sequence detection... 

All I did was learn who Richard Hamming was, then I read about how he created the algorithm that calculated the difference in strings and how it applies to integers. Then read about how you can make his algorithm faster. 

Better make sure.... but 1 second?!?! 

If it works as intended, then it’s a pretty insane speed increase!

It makes sense though, that specific calculation happens thousands of times per pair of episodes. In fact, the majority of the detection is using just that algorithm. So just by speeding up that part you’re also significantly speeding up the detection as a whole.

  • Like 1
Link to comment
Share on other sites

Um... so yeah... it happens so fast now it doesn't even register in seconds. It must be milliseconds. 

0sec-2.thumb.png.4b23ca8fe749e320b324a6e5f8647594.png

0sec.png.d4ecb93af44d39d2576b67a91d2fd208.png

 

I need to remove the post I made with the algorithm in it. No one must ever see it... except us.

@samuelqwe can you remove your reply that quotes the algorithm, when ever you have a chance.

I didn't realize what I stumbled on when I posted it. 

Edited by chef
Link to comment
Share on other sites

samuelqwe
40 minutes ago, chef said:

@samuelqwe can you remove your reply that quotes the algorithm, when ever you have a chance.

Couldn’t figure out how to delete it, but I removed all mentions from the post itself.

Totally understand wanting to keep this to yourself… ;)

  • Thanks 1
Link to comment
Share on other sites

Micael456
13 hours ago, chef said:

respond with the appropriate chromaprint. 

We don't even need to provide the chromaprint, just the intro times. Obviously the hashing has its own resource use, but the lower-powered system you go, the better it would be to try the "community db" first.

9 hours ago, rbjtech said:

I've been giving this some thought - and had a light bulb moment ( I think..) 🤪

You match 'your' file to the nearest duration (1,2 or 3) - and your Intro is certain to be in the same place ?  No FP or Detect required ...

That's a really good idea yeah. Without the hashes it's bound to keep the numbers down even more (potentially at the cost of false positives, but it should be worth the tradeoff). If we find it doesn't work, we can always go down the hash route.

The way I see it:

FP/Detection: Most Accurate but Slowest

Hash Matching: Fully Accurate but may be incomplete, medium speed.

Duration Matching: Less Accurate (fuzzy matching), may be incomplete, very fast speed.

 

 

I was also thinking about how to pre-emptively prevent the database from getting filled up with unwanted (bad) data.

Re: the lengths: the online databases, i.e. tvdb have a runtime value. We can use that to sanity check any lengths we come across as well. Any that are wildly out could be prevented from being added to the DB and force a manual scan.

i.e.

Show Episode Expected Duration Actual Duration Match?
Stargate Atlantis 101 ~45:00 90:01 N
Stargate Atlantis 102 ~45:00 00:00 N
Stargate Atlantis 103 ~45:00 43:41 Y

With some added logic, around it, we could accomodate two parters as well.

Show Episode Expected Duration Actual Duration Match?
Stargate Atlantis 101 ~45:00 + below 90:01 Y
Stargate Atlantis 102 ~45:00 00:00 N/A
Stargate Atlantis 103 ~45:00 43:41 Y

 

Likewise, any episodes which aren't in the tvdb etc won't get checked against the online DB, as they're likely to be Home Movies or the like.

 

 

Much further down the line... When submitting the entries, we can also say who submitted each entry, by hashing the name of the emby server instance and using it as part of the submission API. That way if we get a lot of bad data (though how we detect?) we can prevent some people from submitting values.

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

Micael456
1 hour ago, chef said:

Um... so yeah... it happens so fast now it doesn't even register in seconds. It must be milliseconds. 

0sec-2.thumb.png.4b23ca8fe749e320b324a6e5f8647594.png

0sec.png.d4ecb93af44d39d2576b67a91d2fd208.png

 

I need to remove the post I made with the algorithm in it. No one must ever see it... except us.

@samuelqwe can you remove your reply that quotes the algorithm, when ever you have a chance.

I didn't realize what I stumbled on when I posted it. 

@chef, that's fantastic!!! And might even make the discussion around a communityDB irrelevant if it's quicker to process locally.

 

Let me know when you have a chance to release a new version with that and I'll start afresh on my main emby instance. We'll see if TNG fingerprinting can get beneath 90 seconds ;).

  • Like 1
Link to comment
Share on other sites

8 hours ago, chef said:

whoa! I'm checking if this resulted in proper start and end times... but...

1second-2.png.ed46330210fa05d66ae34bcb175914a7.png

I'm just running "Title Sequence Detection", so should I stop it and wait for the next release?

Will the plugin pick up from where it left of?

 

Link to comment
Share on other sites

1 hour ago, CBers said:

I'm just running "Title Sequence Detection", so should I stop it and wait for the next release?

Will the plugin pick up from where it left of?

 

No worries, the task finished in 1 hour 12 minutes.

When checking the Title Sequences for my TV shows, they are all FALSE.

image.thumb.png.6d9884982c614e143695e2e993a751c1.png

2021-09-16 08:24:45.092 Info Intro Skip:  will process 22 episodes for Young Sheldon - Season 1.					
2021-09-16 08:26:30.683 Info Intro Skip: Young Sheldon - Season	1 - Episode 2 title sequence found - detection took	4 seconds.
2021-09-16 08:26:35.161 Info Intro Skip: Young Sheldon - Season	1 - Episode 2 title sequence found - detection took	4 seconds.
2021-09-16 08:26:44.052 Info Intro Skip: Young Sheldon - Season	1 - Episode 2 title sequence found - detection took	4 seconds.
2021-09-16 08:27:02.281 Info Intro Skip: Young Sheldon - Season	1 - Episode 2 title sequence found - detection took	4 seconds.
2021-09-16 08:27:06.768 Info Intro Skip: Young Sheldon - Season	1 - Episode 2 title sequence found - detection took	4 seconds.
2021-09-16 08:27:11.216 Info Intro Skip: Young Sheldon - Season	1 - Episode 2 title sequence found - detection took	4 seconds.
2021-09-16 08:27:20.417 Info Intro Skip: Young Sheldon - Season	1 - Episode 2 title sequence found - detection took	4 seconds.
2021-09-16 08:27:29.647 Info Intro Skip: Young Sheldon - Season	1 - Episode 2 title sequence found - detection took	4 seconds.
2021-09-16 08:27:34.339 Info Intro Skip: Young Sheldon - Season	1 - Episode 2 title sequence found - detection took	4 seconds.
2021-09-16 08:27:39.080 Info Intro Skip: Young Sheldon - Season	1 - Episode 2 title sequence found - detection took	4 seconds.
2021-09-16 08:27:58.066 Info Intro Skip: Young Sheldon - Season	1 - Episode 2 title sequence found - detection took	4 seconds.
2021-09-16 08:28:25.315 Info Intro Skip: Young Sheldon - Season	1 - Episode 3 title sequence found - detection took	4 seconds.
2021-09-16 08:28:53.183 Info Intro Skip: Young Sheldon - Season	1 - Episode 4 title sequence found - detection took	4 seconds.
2021-09-16 08:28:57.863 Info Intro Skip: Young Sheldon - Season	1 - Episode 4 title sequence found - detection took	4 seconds.
2021-09-16 08:29:07.422 Info Intro Skip: Young Sheldon - Season	1 - Episode 4 title sequence found - detection took	4 seconds.
2021-09-16 08:29:17.238 Info Intro Skip: Young Sheldon - Season	1 - Episode 4 title sequence found - detection took	4 seconds.
2021-09-16 08:29:27.157 Info Intro Skip: Young Sheldon - Season	1 - Episode 4 title sequence found - detection took	4 seconds.
2021-09-16 08:30:03.750 Info Intro Skip: Young Sheldon - Season	1 - Episode 6 title sequence found - detection took	4 seconds.
2021-09-16 08:30:59.744 Info Intro Skip: Young Sheldon - Season	1 - Episode 8 title sequence found - detection took	4 seconds.
2021-09-16 08:32:12.352 Info Intro Skip: Young Sheldon S: 1 E:1 title sequence successful.				
2021-09-16 08:32:16.645 Info Intro Skip: Young Sheldon S: 1 E:11 title sequence successful.				
2021-09-16 08:32:20.189 Info Intro Skip: Young Sheldon S: 1 E:12 title sequence successful.					
2021-09-16 08:32:23.842 Info Intro Skip: Young Sheldon S: 1 E:14 title sequence successful.					
2021-09-16 08:32:27.648 Info Intro Skip: Young Sheldon S: 1 E:16 title sequence successful.					
2021-09-16 08:32:31.298 Info Intro Skip: Young Sheldon S: 1 E:17 title sequence successful.					
2021-09-16 08:32:35.028 Info Intro Skip: Young Sheldon S: 1 E:18 title sequence successful.					
2021-09-16 08:32:38.619 Info Intro Skip: Young Sheldon S: 1 E:22 title sequence successful.					
2021-09-16 08:32:41.937 Info Intro Skip: Young Sheldon S: 1 E:2 title sequence successful.					
2021-09-16 08:32:48.815 Info Intro Skip: Young Sheldon S: 1 E:13 title sequence successful.					
2021-09-16 08:32:56.010 Info Intro Skip: Young Sheldon S: 1 E:3 title sequence successful.					
2021-09-16 08:33:03.369 Info Intro Skip: Young Sheldon S: 1 E:5 title sequence successful.					
2021-09-16 08:33:07.044 Info Intro Skip: Young Sheldon S: 1 E:7 title sequence successful.					
2021-09-16 08:33:14.166 Info Intro Skip: Young Sheldon S: 1 E:19 title sequence successful.					
2021-09-16 08:33:21.333 Info Intro Skip: Young Sheldon S: 1 E:21 title sequence successful.					
2021-09-16 08:33:28.399 Info Intro Skip: Young Sheldon S: 1 E:4 title sequence successful.					
2021-09-16 08:33:34.846 Info Intro Skip: Young Sheldon S: 1 E:20 title sequence successful.					
2021-09-16 08:33:42.099 Info Intro Skip: Young Sheldon S: 1 E:6 title sequence successful.					
2021-09-16 08:33:48.945 Info Intro Skip: Young Sheldon S: 1 E:10 title sequence successful.					
2021-09-16 08:33:55.934 Info Intro Skip: Young Sheldon S: 1 E:8 title sequence successful.					
2021-09-16 08:33:59.904 Info Intro Skip: Young Sheldon S: 1 E:15 title sequence successful.					
2021-09-16 08:34:04.124 Info Intro Skip: Young Sheldon S: 1 E:9 title sequence successful.					
2021-09-16 08:34:08.056 Info Intro Skip:  will process 22 episodes for Young Sheldon - Season 2.					
2021-09-16 08:37:37.440 Info Intro Skip: Young Sheldon S: 2 E:4 title sequence successful.					
2021-09-16 08:37:41.182 Info Intro Skip: Young Sheldon S: 2 E:6 title sequence successful.					
2021-09-16 08:37:44.774 Info Intro Skip: Young Sheldon S: 2 E:7 title sequence successful.					
2021-09-16 08:37:52.073 Info Intro Skip: Young Sheldon S: 2 E:10 title sequence successful.					
2021-09-16 08:37:59.286 Info Intro Skip: Young Sheldon S: 2 E:11 title sequence successful.					
2021-09-16 08:38:06.746 Info Intro Skip: Young Sheldon S: 2 E:19 title sequence successful.					
2021-09-16 08:38:14.141 Info Intro Skip: Young Sheldon S: 2 E:21 title sequence successful.					
2021-09-16 08:38:21.488 Info Intro Skip: Young Sheldon S: 2 E:1 title sequence successful.					
2021-09-16 08:38:28.796 Info Intro Skip: Young Sheldon S: 2 E:8 title sequence successful.					
2021-09-16 08:38:32.531 Info Intro Skip: Young Sheldon S: 2 E:9 title sequence successful.					
2021-09-16 08:38:39.371 Info Intro Skip: Young Sheldon S: 2 E:12 title sequence successful.					
2021-09-16 08:38:46.936 Info Intro Skip: Young Sheldon S: 2 E:16 title sequence successful.					
2021-09-16 08:38:50.685 Info Intro Skip: Young Sheldon S: 2 E:17 title sequence successful.					
2021-09-16 08:38:54.700 Info Intro Skip: Young Sheldon S: 2 E:2 title sequence successful.					
2021-09-16 08:38:58.580 Info Intro Skip: Young Sheldon S: 2 E:13 title sequence successful.					
2021-09-16 08:39:02.234 Info Intro Skip: Young Sheldon S: 2 E:15 title sequence successful.					
2021-09-16 08:39:05.889 Info Intro Skip: Young Sheldon S: 2 E:18 title sequence successful.					
2021-09-16 08:39:13.155 Info Intro Skip: Young Sheldon S: 2 E:20 title sequence successful.					
2021-09-16 08:39:20.644 Info Intro Skip: Young Sheldon S: 2 E:3 title sequence successful.					
2021-09-16 08:39:28.039 Info Intro Skip: Young Sheldon S: 2 E:14 title sequence successful.					
2021-09-16 08:39:35.450 Info Intro Skip: Young Sheldon S: 2 E:22 title sequence successful.					
2021-09-16 08:39:43.022 Info Intro Skip: Young Sheldon S: 2 E:5 title sequence successful.					
2021-09-16 08:40:01.735 Info Intro Skip:  will process 21 episodes for Young Sheldon - Season 3.					
2021-09-16 08:44:02.048 Info Intro Skip: Young Sheldon S: 3 E:9 title sequence successful.					
2021-09-16 08:44:09.485 Info Intro Skip: Young Sheldon S: 3 E:11 title sequence successful.					
2021-09-16 08:44:16.774 Info Intro Skip: Young Sheldon S: 3 E:13 title sequence successful.					
2021-09-16 08:44:24.101 Info Intro Skip: Young Sheldon S: 3 E:17 title sequence successful.					
2021-09-16 08:44:31.287 Info Intro Skip: Young Sheldon S: 3 E:18 title sequence successful.					
2021-09-16 08:44:35.072 Info Intro Skip: Young Sheldon S: 3 E:20 title sequence successful.					
2021-09-16 08:44:39.185 Info Intro Skip: Young Sheldon S: 3 E:1 title sequence successful.					
2021-09-16 08:44:47.346 Info Intro Skip: Young Sheldon S: 3 E:15 title sequence successful.					
2021-09-16 08:44:51.387 Info Intro Skip: Young Sheldon S: 3 E:16 title sequence successful.					
2021-09-16 08:44:55.987 Info Intro Skip: Young Sheldon S: 3 E:2 title sequence successful.					
2021-09-16 08:45:00.418 Info Intro Skip: Young Sheldon S: 3 E:6 title sequence successful.					
2021-09-16 08:45:04.853 Info Intro Skip: Young Sheldon S: 3 E:7 title sequence successful.					
2021-09-16 08:45:09.162 Info Intro Skip: Young Sheldon S: 3 E:12 title sequence successful.					
2021-09-16 08:45:13.484 Info Intro Skip: Young Sheldon S: 3 E:19 title sequence successful.					
2021-09-16 08:45:17.842 Info Intro Skip: Young Sheldon S: 3 E:3 title sequence successful.					
2021-09-16 08:45:22.204 Info Intro Skip: Young Sheldon S: 3 E:21 title sequence successful.					
2021-09-16 08:45:30.855 Info Intro Skip: Young Sheldon S: 3 E:4 title sequence successful.					
2021-09-16 08:45:39.286 Info Intro Skip: Young Sheldon S: 3 E:10 title sequence successful.					
2021-09-16 08:45:43.957 Info Intro Skip: Young Sheldon S: 3 E:5 title sequence successful.					
2021-09-16 08:45:48.722 Info Intro Skip: Young Sheldon S: 3 E:14 title sequence successful.					
2021-09-16 08:45:53.579 Info Intro Skip: Young Sheldon S: 3 E:8 title sequence successful.					
2021-09-16 08:46:02.865 Info Intro Skip:  will process 18 episodes for Young Sheldon - Season 4.					
2021-09-16 08:48:59.895 Info Intro Skip: Young Sheldon S: 4 E:8 title sequence successful.					
2021-09-16 08:49:07.414 Info Intro Skip: Young Sheldon S: 4 E:9 title sequence successful.					
2021-09-16 08:49:14.415 Info Intro Skip: Young Sheldon S: 4 E:11 title sequence successful.					
2021-09-16 08:49:21.164 Info Intro Skip: Young Sheldon S: 4 E:17 title sequence successful.					
2021-09-16 08:49:24.748 Info Intro Skip: Young Sheldon S: 4 E:1 title sequence successful.					
2021-09-16 08:49:31.823 Info Intro Skip: Young Sheldon S: 4 E:6 title sequence successful.					
2021-09-16 08:49:38.762 Info Intro Skip: Young Sheldon S: 4 E:10 title sequence successful.					
2021-09-16 08:49:45.720 Info Intro Skip: Young Sheldon S: 4 E:14 title sequence successful.					
2021-09-16 08:49:52.620 Info Intro Skip: Young Sheldon S: 4 E:16 title sequence successful.					
2021-09-16 08:49:56.366 Info Intro Skip: Young Sheldon S: 4 E:2 title sequence successful.					
2021-09-16 08:50:00.189 Info Intro Skip: Young Sheldon S: 4 E:13 title sequence successful.					
2021-09-16 08:50:04.327 Info Intro Skip: Young Sheldon S: 4 E:15 title sequence successful.					
2021-09-16 08:50:08.055 Info Intro Skip: Young Sheldon S: 4 E:18 title sequence successful.					
2021-09-16 08:50:11.643 Info Intro Skip: Young Sheldon S: 4 E:3 title sequence successful.					
2021-09-16 08:50:22.254 Info Intro Skip: Young Sheldon S: 4 E:7 title sequence successful.					
2021-09-16 08:50:29.335 Info Intro Skip: Young Sheldon S: 4 E:4 title sequence successful.					
2021-09-16 08:50:36.535 Info Intro Skip: Young Sheldon S: 4 E:12 title sequence successful.					
2021-09-16 08:50:51.561 Info Intro Skip: Young Sheldon S: 4 E:5 title sequence successful.


What has gone wrong?
 

Edited by CBers
Link to comment
Share on other sites

Markadmin

Hi - im 100% doing something wrong here but would appreciate someone pointing me in the right direction. Im running Emby in a Docker container on an Unraid server. I have copied the dll to the plugin folder and I can see the plugin and the options in scheduled tasks but when i try to run the audio part it completes in seconds and all I see repeated through the logs is :

 

2021-09-16 09:53:45.850 Warn Intro Skip: bin file doesn't exist

 

I have 777'd all Media files and folders so it shouldnt be a permissions issue. Could anyone point me in the correct direction? (Just swapped from Plex and this is an awesome feature!)

Link to comment
Share on other sites

Cheesegeezer
9 minutes ago, Markadmin said:

Hi - im 100% doing something wrong here but would appreciate someone pointing me in the right direction. Im running Emby in a Docker container on an Unraid server. I have copied the dll to the plugin folder and I can see the plugin and the options in scheduled tasks but when i try to run the audio part it completes in seconds and all I see repeated through the logs is :

 

2021-09-16 09:53:45.850 Warn Intro Skip: bin file doesn't exist

 

I have 777'd all Media files and folders so it shouldnt be a permissions issue. Could anyone point me in the correct direction? (Just swapped from Plex and this is an awesome feature!)

Please be aware this is very much in development at the minute and is not released yet to the masses, only those willing to dev/beta test.

What version are you running of the plugin. Grab the latest version from here, instructions are also on the same link.  The process is the same with the new UI, i just need to update the instruction with new images, as the new UI was only released yesterday.

IntroSkip Instructions & Beta Releases - Tools and Utilities - Emby Community

You may need to delete the existing TitleSequence.db from this folder and run again.  

C:\Users\**yourusername**\AppData\Roaming\Emby-Server\programdata\data\TitleSequence.db

The process is 

  1. Turn on Debug logging
  2. Run Fingerprint task and wait for completion
  3. Run Detection task and wait for completion
  4. Go and check your TV Shows and Seasons and assess the results in the Plugin settings page. 
  5. Provide feedback of any anomolies here along with a server log
  6. If you are mostly happy then you can enable the Chapters sliders and run the chapter insertion task

Hope that helps mate.

11 minutes ago, CBers said:

No worries, the task finished in 1 hour 12 minutes.

When checking the Title Sequences for my TV shows, they are all FALSE.

image.thumb.png.66518480c8a27b16041c72dcb8608455.png

What has gone wrong?
 

Keith, I'm not sure why it failed.  We are going to be working on improved FP methods over the coming days, @samuelqwe has some comparison files now where the same episode on 2 different users setups yielded different FP results and detection times.   Also with @chef lightbulb moment for detection algorithm I would probably wait.

Can you post the log and hopefully you had debug enabled or PM it to chef, samuelque or rbjtech.

Link to comment
Share on other sites

4 minutes ago, Cheesegeezer said:

Keith, I'm not sure why it failed.  We are going to be working on improved FP methods over the coming days, @samuelqwe has some comparison files now where the same episode on 2 different users setups yielded different FP results and detection times.   Also with @chef lightbulb moment for detection algorithm I would probably wait.

Can you post the log and hopefully you had debug enabled or PM it to chef, samuelque or rbjtech.

No worries, I'll wait for @chef's new super-duper release.

So to redo everything from scratch, after the next release, do I just delete the titlesequence.db database?
 

Link to comment
Share on other sites

Cheesegeezer
1 minute ago, CBers said:

No worries, I'll wait for @chef's new super-duper release.

So to redo everything from scratch, after the next release, do I just delete the titlesequence.db database?
 

Yes.  Did you run any of the chapter tasks?  If so just do a Refresh Metadata but no need to refresh images, this will set all your chapters back to original.

Link to comment
Share on other sites

2 minutes ago, Cheesegeezer said:

Yes.  Did you run any of the chapter tasks?  If so just do a Refresh Metadata but no need to refresh images, this will set all your chapters back to original.

I only ran the 2 Episode tasks, not the Chapter one. 
 

Link to comment
Share on other sites

Cheesegeezer
2 minutes ago, CBers said:

I only ran the 2 Episode tasks, not the Chapter one. 
 

no probs.  Is Young Sheldon intro less than 20 seconds? If so then the detection ignores it.

 

Link to comment
Share on other sites

Markadmin
13 minutes ago, Cheesegeezer said:

Please be aware this is very much in development at the minute and is not released yet to the masses, only those willing to dev/beta test.

What version are you running of the plugin. Grab the latest version from here, instructions are also on the same link.  The process is the same with the new UI, i just need to update the instruction with new images, as the new UI was only released yesterday.

IntroSkip Instructions & Beta Releases - Tools and Utilities - Emby Community

You may need to delete the existing TitleSequence.db from this folder and run again.  

C:\Users\**yourusername**\AppData\Roaming\Emby-Server\programdata\data\TitleSequence.db

The process is 

  1. Turn on Debug logging
  2. Run Fingerprint task and wait for completion
  3. Run Detection task and wait for completion
  4. Go and check your TV Shows and Seasons and assess the results in the Plugin settings page. 
  5. Provide feedback of any anomolies here along with a server log
  6. If you are mostly happy then you can enable the Chapters sliders and run the chapter insertion task

Hope that helps mate.

 

Hi thanks for your help - I am using the latest version from the link you provided - just in case I deleted the Titlesequence.db from //server\appdata\binhex-emby\data\ and reran with debug - the only non-info messages are as follows which then repeat for each TV episode 

 

2021-09-16 10:31:42.129 Debug TaskManager: Executing Episode Audio Fingerprinting
2021-09-16 10:31:42.130 Info Intro Skip: Starting episode fingerprint task.
2021-09-16 10:31:42.134 Info Server: http/1.1 GET http://192.168.1.202:8096/emby/ScheduledTasks?isHidden=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=5fefad25-926e-43ce-babc-ff1b08aab5yf&X-Emby-Client-Version=4.6.4.0. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36
2021-09-16 10:31:42.135 Info Server: http/1.1 Response 200 to 192.168.1.xx. Time: 1ms. http://192.168.1.xx:8096/emby/ScheduledTasks?isHidden=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=5fefad25-926e-43ce-babc-ff1b08aab5ff&X-Emby-Client-Version=4.6.4.0
2021-09-16 10:31:42.137 Info Intro Skip: Chroma-print database contains 0 items.
2021-09-16 10:31:42.155 Debug Intro Skip: TVSHOW - S:1 - E:1: Extracting chunks from binary chroma-print.
2021-09-16 10:31:42.155 Warn Intro Skip: TVSHOW - S:1 - E:1 .bin file doesn't exist.
2021-09-16 10:31:42.155 Warn Intro Skip: bin file doesn't exist

 

Im guessing this is a Docker / linux specific issue perhaps as im not running native windows?

 

Thanks!

Link to comment
Share on other sites

8 minutes ago, Cheesegeezer said:

no probs.  Is Young Sheldon intro less than 20 seconds? If so then the detection ignores it.

 

From memory no it's not, but I can play a few just to see.

It wasn't just YS, but a lot of my TC shows.
 

Edited by CBers
Link to comment
Share on other sites

Cheesegeezer
11 minutes ago, Markadmin said:

 

Hi thanks for your help - I am using the latest version from the link you provided - just in case I deleted the Titlesequence.db from //server\appdata\binhex-emby\data\ and reran with debug - the only non-info messages are as follows which then repeat for each TV episode 

 

2021-09-16 10:31:42.129 Debug TaskManager: Executing Episode Audio Fingerprinting
2021-09-16 10:31:42.130 Info Intro Skip: Starting episode fingerprint task.
2021-09-16 10:31:42.134 Info Server: http/1.1 GET http://192.168.1.202:8096/emby/ScheduledTasks?isHidden=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=5fefad25-926e-43ce-babc-ff1b08aab5yf&X-Emby-Client-Version=4.6.4.0. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36
2021-09-16 10:31:42.135 Info Server: http/1.1 Response 200 to 192.168.1.xx. Time: 1ms. http://192.168.1.xx:8096/emby/ScheduledTasks?isHidden=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=5fefad25-926e-43ce-babc-ff1b08aab5ff&X-Emby-Client-Version=4.6.4.0
2021-09-16 10:31:42.137 Info Intro Skip: Chroma-print database contains 0 items.
2021-09-16 10:31:42.155 Debug Intro Skip: TVSHOW - S:1 - E:1: Extracting chunks from binary chroma-print.
2021-09-16 10:31:42.155 Warn Intro Skip: TVSHOW - S:1 - E:1 .bin file doesn't exist.
2021-09-16 10:31:42.155 Warn Intro Skip: bin file doesn't exist

 

Im guessing this is a Docker / linux specific issue perhaps as im not running native windows?

 

Thanks!

Just remembered

Linux users currently must give fpcalc elevated rights inorder for it to fingerprint audio from the emby libraries:

  cd /config/plugins/configurations/introEncoding/
  chmod +x fpcalc
Link to comment
Share on other sites

Cheesegeezer
6 minutes ago, CBers said:

From memory no it's not, but I can play a few just to see.

It wasn't just YS, but a lot of my TC shows.
 

Running windows? or Linux?  If linux see post above chief

Edited by Cheesegeezer
Link to comment
Share on other sites

@Cheesegeezer / @chef Would it be possible to change the log entry for each of the 3 scheduled tasks so that they are easily identified?

It may even help yourselves debugging stuff with only having to filter for one of them.

Perhaps:

Intro Skip Audio
Intro Skip Episode
Intro Skip Chapters

OR

Intro Skip A
Intro Skip E
Intro Skip C

Just a thought.
 

  • Agree 1
Link to comment
Share on other sites

Markadmin
10 minutes ago, Cheesegeezer said:

Just remembered

Linux users currently must give fpcalc elevated rights inorder for it to fingerprint audio from the emby libraries:


  cd /config/plugins/configurations/introEncoding/
  chmod +x fpcalc

ah that will do it.. any idea how i install fpcalc? my install does not have it in the introEncoding folder :)

 

  • Confused 1
Link to comment
Share on other sites

Cheesegeezer
2 minutes ago, Markadmin said:

ah that will do it.. any idea how i install fpcalc? my install does not have it in the introEncoding folder :)

 

Sorry mate.... I have no experience at all with Linux.  There are a few on this thread that will be able to help you out.

@Micael456 can you help?

  • Like 1
Link to comment
Share on other sites

Cheesegeezer
3 hours ago, Micael456 said:

@chef, that's fantastic!!! And might even make the discussion around a communityDB irrelevant if it's quicker to process locally.

the community DB is gonna be rejected for the same reasons that creating an external file has been rejected.

Link to comment
Share on other sites

Markadmin
6 minutes ago, Cheesegeezer said:

Sorry mate.... I have no experience at all with Linux.  There are a few on this thread that will be able to help you out.

@Micael456 can you help?

Got fpcalc in and working (or it does from cmd line at least :) still the same issue tho :(

 

2021-09-16 11:11:30.450 Debug TaskManager: Rotate log file Completed after 0 minute(s) and 0 seconds
2021-09-16 11:11:30.468 Info Server: http/1.1 Response 200 to 192.168.1.xx. Time: 19ms. http://192.168.1.xx:8096/emby/ScheduledTasks?isHidden=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=5fefad25-926e-43ce-babc-ff1b08aab5ff&X-Emby-Client-Version=4.6.4.0
2021-09-16 11:11:37.799 Info Server: http/1.1 POST http://192.168.1.xx:xx/emby/ScheduledTasks/Running/204c741e7e9a5df0bf6ee63667d9289d?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=5fefad25-926e-43ce-babc-ff1b08aab5ff&X-Emby-Client-Version=4.6.4.0. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36
2021-09-16 11:11:37.800 Debug TaskManager: Executing Episode Audio Fingerprinting
2021-09-16 11:11:37.800 Info Server: http/1.1 Response 204 to 192.168.1.xx. Time: 2ms. http://192.168.1.202:8096/emby/ScheduledTasks/Running/204c741e7e9a5df0bf6ee63667d9289d?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=5fefad25-926e-43ce-babc-ff1b08aab5ff&X-Emby-Client-Version=4.6.4.0
2021-09-16 11:11:37.801 Info Intro Skip: Starting episode fingerprint task.
2021-09-16 11:11:37.805 Info Server: http/1.1 GET http://192.168.1.xx:xx/emby/ScheduledTasks?isHidden=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=5fefad25-926e-43ce-babc-ff1b08aab5ff&X-Emby-Client-Version=4.6.4.0. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36
2021-09-16 11:11:37.807 Info Server: http/1.1 Response 200 to 192.168.1.xx. Time: 2ms. http://192.168.1.xx:8096/emby/ScheduledTasks?isHidden=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=5fefad25-926e-43ce-babc-ff1b08aab5ff&X-Emby-Client-Version=4.6.4.0
2021-09-16 11:11:37.811 Info Intro Skip: Chroma-print database contains 0 items.
2021-09-16 11:11:37.837 Debug Intro Skip: The s(2020) - S:1 - E:1: Extracting chunks from binary chroma-print.
2021-09-16 11:11:37.838 Warn Intro Skip: The s(2020) - S:1 - E:1 .bin file doesn't exist.

Link to comment
Share on other sites

Cheesegeezer
19 minutes ago, CBers said:

@Cheesegeezer / @chef Would it be possible to change the log entry for each of the 3 scheduled tasks so that they are easily identified?

It may even help yourselves debugging stuff with only having to filter for one of them.

Perhaps:

Intro Skip Audio
Intro Skip Episode
Intro Skip Chapters

OR

Intro Skip A
Intro Skip E
Intro Skip C

Just a thought.
 

Do you mean App Prefix, we can't change that as it just references the pluginName.

Chapters are prefixed, depending on what is being accessed.... either Chapter Tasks or the Chapter Edit Methods as you can see below.

image.thumb.png.0ac38cacf1d273ce914587e10c8197e1.png

  • Like 1
Link to comment
Share on other sites

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