Bug Season Detection Issue with Player Detection (Formerly) Title Correction Not Working

It's a bug
Steps to Reproduce
1. Have a title that isn't automatically recognized by Hachidori.
2. Get the Title Correction pop-up.
3. Correct it.
4. Observe as no update happens and the pop-up comes up again indefinitely.
Operating System
macOS
Application Version
3.38
Operating System Version
12.01
The title correction feature isn't working. I get the pop-up to correct the title, I correct it, no update takes place, and I get the pop-up again indefinitely.
 
Solution
The fix I implemented will break season check, so I deleted the reply earlier. I added a check to see if it's the exact title. If so, it will ignore the season check. The season check was an issue since Zoku Sayonara Zetsubou Sensei is the second season and the video file name only detecting it as the first season. This normally won't be an issue for streaming.

Try now.

gabewil

New member
I'm not OP, but I believe I'm having the same issue. For context, I'm watching Zoku Sayonara Zetsubou Sensei, but even with the title correction Hachidori scrobbles it as Sayonara Zetsubou Sensei. I've also had this happen with some other multi-season animes such as Attack On Titan, . It would always scrobble the later season I'm watching as the first season.

I'm using iina and myanimelist.
 

Attachments

  • Hachidori.txt
    1.6 KB · Views: 2
Last edited:

malupdaterosxdev

Administrator
Staff member
I'm not OP, but I believe I'm having the same issue. For context, I'm watching Zoku Sayonara Zetsubou Sensei, but even with the title correction Hachidori scrobbles it as Sayonara Zetsubou Sensei. I've also had this happen with some other multi-season animes such as Attack On Titan, . It would always scrobble the later season I'm watching as the first season.

I'm using iina and myanimelist.
This may be with the Anime Relations feature. By chance, what episode of the series you are watching along with the file name so I can debug?
 

gabewil

New member
This may be with the Anime Relations feature. By chance, what episode of the series you are watching along with the file name so I can debug?
It was episode 5 and the title of the file was 'Zoku Sayonara Zetsubou Sensei - 05 (BD 1024x576 x264 AAC).mkv'. I've tried turning off Auto Title Correction and Anime Relations but still seemed to have the issue.
 
I've copied some of the log below:

[27/1/22 5:01 AM] Starting...
[27/1/22 5:01 AM] Check Exceptions List
[27/1/22 5:01 AM] Checking Auto Exceptions
[27/1/22 5:01 AM] Checking Auto Exceptions
[27/1/22 5:02 AM] AniList is reachable.
[27/1/22 5:02 AM] AniList is reachable.
[27/1/22 5:04 AM] AniList is reachable.
[27/1/22 5:04 AM] AniList is reachable.
[27/1/22 5:06 AM] AniList is reachable.
[27/1/22 5:06 AM] AniList is reachable.
[27/1/22 5:08 AM] AniList is reachable.
[27/1/22 5:08 AM] AniList is reachable.
[27/1/22 5:09 AM] AniList is reachable.
[27/1/22 5:09 AM] AniList is reachable.
[27/1/22 5:10 AM] AniList is reachable.
[27/1/22 5:10 AM] AniList is reachable.
[27/1/22 5:11 AM] Starting...
[27/1/22 5:11 AM] Check Exceptions List
[27/1/22 5:11 AM] Checking Auto Exceptions
[27/1/22 5:11 AM] Checking Auto Exceptions
[27/1/22 5:11 AM] AniList is reachable.
[27/1/22 5:11 AM] AniList is reachable.
[27/1/22 5:13 AM] AniList is reachable.
[27/1/22 5:13 AM] AniList is reachable.
[27/1/22 5:16 AM] AniList is reachable.
[27/1/22 5:16 AM] AniList is reachable.
[27/1/22 5:18 AM] AniList is reachable.
[27/1/22 5:18 AM] AniList is reachable.
[27/1/22 5:20 AM] AniList is reachable.
[27/1/22 5:20 AM] AniList is reachable.
[27/1/22 5:21 AM] AniList is reachable.
[27/1/22 5:21 AM] AniList is reachable.
[27/1/22 5:22 AM] Starting...
[27/1/22 5:22 AM] Check Exceptions List
[27/1/22 5:22 AM] Checking Auto Exceptions
[27/1/22 5:22 AM] Checking Auto Exceptions
[27/1/22 5:22 AM] AniList is reachable.
[27/1/22 5:22 AM] AniList is reachable.
[27/1/22 5:24 AM] AniList is reachable.
[27/1/22 5:24 AM] AniList is reachable.
[27/1/22 5:26 AM] AniList is reachable.
[27/1/22 5:26 AM] AniList is reachable.
[27/1/22 5:28 AM] AniList is reachable.
[27/1/22 5:28 AM] AniList is reachable.
[27/1/22 5:31 AM] AniList is reachable.
[27/1/22 5:31 AM] AniList is reachable.
[27/1/22 5:33 AM] AniList is reachable.
[27/1/22 5:33 AM] AniList is reachable.
[27/1/22 5:33 AM] Starting...
[27/1/22 5:33 AM] Check Exceptions List
[27/1/22 5:33 AM] Checking Auto Exceptions
[27/1/22 5:33 AM] Checking Auto Exceptions
[27/1/22 5:34 AM] AniList is reachable.
[27/1/22 5:34 AM] AniList is reachable.
[27/1/22 5:36 AM] AniList is reachable.
[27/1/22 5:36 AM] AniList is reachable.
[27/1/22 5:41 AM] AniList is reachable.
[27/1/22 5:41 AM] AniList is reachable.
[27/1/22 5:43 AM] AniList is reachable.
[27/1/22 5:43 AM] AniList is reachable.
[27/1/22 5:44 AM] AniList is reachable.
[27/1/22 5:44 AM] AniList is reachable.
[27/1/22 5:46 AM] AniList is reachable.
[27/1/22 5:46 AM] AniList is reachable.
[27/1/22 5:46 AM] AniList is reachable.
[27/1/22 5:46 AM] AniList is reachable.
[27/1/22 5:47 AM] Starting...
[27/1/22 5:47 AM] Check Exceptions List
[27/1/22 5:47 AM] Checking Auto Exceptions
[27/1/22 5:47 AM] Checking Auto Exceptions
[27/1/22 5:47 AM] AniList is reachable.
[27/1/22 5:47 AM] AniList is reachable.
[27/1/22 5:48 AM] AniList is reachable.
[27/1/22 5:48 AM] AniList is reachable.
[27/1/22 5:49 AM] AniList is reachable.
[27/1/22 5:49 AM] AniList is reachable.
[27/1/22 5:51 AM] AniList is reachable.
[27/1/22 5:51 AM] AniList is reachable.
[27/1/22 5:52 AM] AniList is reachable.
[27/1/22 5:52 AM] AniList is reachable.
[27/1/22 5:53 AM] AniList is reachable.
[27/1/22 5:53 AM] AniList is reachable.
[27/1/22 5:53 AM] Starting...
[27/1/22 5:53 AM] Check Exceptions List
[27/1/22 5:53 AM] Checking Auto Exceptions
[27/1/22 5:53 AM] Checking Auto Exceptions
[27/1/22 5:54 AM] AniList is reachable.
[27/1/22 5:54 AM] AniList is reachable.
[27/1/22 5:59 AM] AniList is reachable.
[27/1/22 6:00 AM] Auto Scrobble Stopped.
[27/1/22 6:01 AM] Updating corrected title...
[27/1/22 6:01 AM] Check Exceptions List
[27/1/22 6:01 AM] Monogatari SS
[27/1/22 6:01 AM] Monogatari SS found on exceptions list as Monogatari Series: Second Season.
[27/1/22 6:01 AM] =============
[27/1/22 6:01 AM] Scrobbling...
[27/1/22 6:01 AM] Check Account Information
[27/1/22 6:01 AM] Getting AniID
[27/1/22 6:01 AM] Searching For Title
[27/1/22 6:01 AM] Title is not a movie.
[27/1/22 6:01 AM] Error: Couldn't find title Monogatari Series: Second Season. Please add an Anime Exception rule.
[27/1/22 6:01 AM] Scrobble Complete with Status Code: 51 - Title is not found.
[27/1/22 6:01 AM] =============
[27/1/22 6:01 AM] Auto Scrobble Started.
[27/1/22 6:55 AM] Computer not connected to internet or AniList is down
[27/1/22 6:55 AM] Auto Scrobble Started.
[27/1/22 6:55 AM] AniList is reachable.
[27/1/22 6:55 AM] AniList is reachable.
[27/1/22 7:00 AM] Starting...
[27/1/22 7:05 AM] Starting...
[27/1/22 7:10 AM] Starting...
[27/1/22 7:10 AM] Check Exceptions List
[27/1/22 7:10 AM] Monogatari SS
[27/1/22 7:10 AM] Monogatari SS found on exceptions list as Monogatari Series: Second Season.
[27/1/22 7:10 AM] =============
[27/1/22 7:10 AM] Scrobbling...
[27/1/22 7:10 AM] Check Account Information
[27/1/22 7:10 AM] Getting AniID
[27/1/22 7:10 AM] Searching For Title
[27/1/22 7:10 AM] Title is not a movie.
[27/1/22 7:10 AM] Error: Couldn't find title Monogatari Series: Second Season. Please add an Anime Exception rule.
[27/1/22 7:10 AM] Scrobble Complete with Status Code: 51 - Title is not found.
[27/1/22 7:10 AM] =============
[27/1/22 7:10 AM] Auto Scrobble Stopped.
[27/1/22 7:10 AM] Auto Scrobble Started.
[27/1/22 3:53 PM] Computer not connected to internet or AniList is down
[27/1/22 3:53 PM] Auto Scrobble Started.
[27/1/22 3:53 PM] AniList is reachable.
[27/1/22 3:53 PM] AniList is reachable.
[27/1/22 3:58 PM] Starting...
[27/1/22 3:58 PM] Check Exceptions List
[27/1/22 3:58 PM] Monogatari SS
[27/1/22 3:58 PM] Monogatari SS found on exceptions list as Monogatari Series: Second Season.
[27/1/22 3:58 PM] =============
[27/1/22 3:58 PM] Scrobbling...
[27/1/22 3:58 PM] Check Account Information
[27/1/22 3:58 PM] Getting AniID
[27/1/22 3:58 PM] Searching For Title
[27/1/22 3:58 PM] Title is not a movie.
[27/1/22 3:58 PM] Error: Couldn't find title Monogatari Series: Second Season. Please add an Anime Exception rule.
[27/1/22 3:58 PM] Scrobble Complete with Status Code: 51 - Title is not found.
[27/1/22 3:58 PM] =============
[27/1/22 3:58 PM] Auto Scrobble Stopped.
[27/1/22 3:58 PM] Updating corrected title...
[27/1/22 3:58 PM] Check Exceptions List
[27/1/22 3:58 PM] Monogatari Series: Second Season
[27/1/22 3:58 PM] Monogatari Series: Second Season found on exceptions list as Monogatari Series: Second Season.
[27/1/22 3:58 PM] =============
[27/1/22 3:58 PM] Scrobbling...
[27/1/22 3:58 PM] Check Account Information
[27/1/22 3:58 PM] Getting AniID
[27/1/22 3:58 PM] Searching For Title
[27/1/22 3:58 PM] Title is not a movie.
[27/1/22 3:58 PM] Error: Couldn't find title Monogatari Series: Second Season. Please add an Anime Exception rule.
[27/1/22 3:58 PM] Scrobble Complete with Status Code: 51 - Title is not found.
[27/1/22 3:58 PM] =============
[27/1/22 3:58 PM] Auto Scrobble Started.
[27/1/22 4:03 PM] Starting...
[27/1/22 4:03 PM] Check Exceptions List
[27/1/22 4:03 PM] Monogatari SS
[27/1/22 4:03 PM] Monogatari SS found on exceptions list as Monogatari Series: Second Season.
[27/1/22 4:03 PM] =============
[27/1/22 4:03 PM] Scrobbling...
[27/1/22 4:03 PM] Check Account Information
[27/1/22 4:03 PM] Getting AniID
[27/1/22 4:03 PM] Searching For Title
[27/1/22 4:03 PM] Title is not a movie.
[27/1/22 4:03 PM] Error: Couldn't find title Monogatari Series: Second Season. Please add an Anime Exception rule.
[27/1/22 4:03 PM] Scrobble Complete with Status Code: 51 - Title is not found.
[27/1/22 4:03 PM] =============
[27/1/22 4:03 PM] Auto Scrobble Stopped.
[27/1/22 4:03 PM] Updating corrected title...
[27/1/22 4:03 PM] Check Exceptions List
[27/1/22 4:03 PM] Monogatari Series: Second Season
[27/1/22 4:03 PM] Monogatari Series: Second Season found on exceptions list as Monogatari Series: Second Season.
[27/1/22 4:03 PM] =============
[27/1/22 4:03 PM] Scrobbling...
[27/1/22 4:03 PM] Check Account Information
[27/1/22 4:03 PM] Getting AniID
[27/1/22 4:03 PM] Searching For Title
[27/1/22 4:03 PM] Title is not a movie.
[27/1/22 4:03 PM] Error: Couldn't find title Monogatari Series: Second Season. Please add an Anime Exception rule.
[27/1/22 4:03 PM] Scrobble Complete with Status Code: 51 - Title is not found.
[27/1/22 4:03 PM] =============
[27/1/22 4:03 PM] Auto Scrobble Started.
[27/1/22 4:08 PM] Starting...
[27/1/22 4:08 PM] Check Exceptions List
[27/1/22 4:08 PM] Monogatari SS
[27/1/22 4:08 PM] Monogatari SS found on exceptions list as Monogatari Series: Second Season.
 

malupdaterosxdev

Administrator
Staff member
Apparently, the issue is with the removal of colon and semi-colon characters that is causing the issue. Also, apparently regex matches titles that are the second season since it contains the title text. I added a new boolean property that will set to true when the title is found on the exceptions list. With that, it will check for the exact title and the correction feature should work as attended.

Attached is the fixed build. Let me know if this fixes the issue. If so, I will push out an update. Also, clear the title id cache first.
 

gabewil

New member
Just tested the updated build (and cleared title id cache), but still having an issue.

Here's my log:

[1/29/22 10:34 AM] Auto Scrobble Started.
[1/29/22 10:34 AM] MyAnimeList is reachable.
[1/29/22 10:34 AM] Starting...
[1/29/22 10:34 AM] Check Exceptions List
[1/29/22 10:34 AM] Checking Auto Exceptions
[1/29/22 10:34 AM] Checking Auto Exceptions
[1/29/22 10:34 AM] =============
[1/29/22 10:34 AM] Scrobbling...
[1/29/22 10:34 AM] Check Account Information
[1/29/22 10:34 AM] Getting AniID
[1/29/22 10:34 AM] Searching For Title
[1/29/22 10:34 AM] Title is not a movie.
[1/29/22 10:34 AM] Valid Episode Count
[1/29/22 10:34 AM] Found 2605
[1/29/22 10:34 AM] Checking 2605
[1/29/22 10:34 AM] Title not on list
[1/29/22 10:34 AM] Getting Additional Info
[1/29/22 10:34 AM] Updating Title
[1/29/22 10:34 AM] Scrobble Complete with Status Code: 3 - Confirm title
[1/29/22 10:34 AM] =============
[1/29/22 10:34 AM] Auto Scrobble Stopped.
[1/29/22 10:34 AM] Updating corrected title...
[1/29/22 10:34 AM] Check Exceptions List
[1/29/22 10:34 AM] Zoku Sayonara Zetsubou Sensei
[1/29/22 10:34 AM] Zoku Sayonara Zetsubou Sensei found on exceptions list as Zoku Sayonara Zetsubou Sensei.
[1/29/22 10:34 AM] =============
[1/29/22 10:34 AM] Scrobbling...
[1/29/22 10:34 AM] Check Account Information
[1/29/22 10:34 AM] Getting AniID
[1/29/22 10:34 AM] Searching For Title
[1/29/22 10:34 AM] Title is not a movie.
[1/29/22 10:34 AM] Error: Couldn't find title Zoku Sayonara Zetsubou Sensei. Please add an Anime Exception rule.
[1/29/22 10:34 AM] Scrobble Complete with Status Code: 51 - Title is not found.
[1/29/22 10:34 AM] =============
 

malupdaterosxdev

Administrator
Staff member
The fix I implemented will break season check, so I deleted the reply earlier. I added a check to see if it's the exact title. If so, it will ignore the season check. The season check was an issue since Zoku Sayonara Zetsubou Sensei is the second season and the video file name only detecting it as the first season. This normally won't be an issue for streaming.

Try now.
 

Attachments

  • Hachidori-3.3.9.zip
    5.5 MB · Views: 2
Solution

gabewil

New member
The fix I implemented will break season check, so I deleted the reply earlier. I added a check to see if it's the exact title. If so, it will ignore the season check. The season check was an issue since Zoku Sayonara Zetsubou Sensei is the second season and the video file name only detecting it as the first season. This normally won't be an issue for streaming.

Try now.

Yep, seems to be working perfectly now. Thank you!
 

gabewil

New member
I believe I may be having this issue again. The file correct title prompt pop ups indefinitely. The anime is Season 3 of Gintama.

Here's a video of the issue:

I tried renaming the file to simpler file names to see if it fixed the issue, but I still had the issue even after the renames.

File names I tried:
[CBT] Gintama S03E01 (BDRip 1920x1080 x264 10bit FLAC).mkv
Gintama` (2012) - 01.mkv
Gintama - 01.mkv (File name shown in video)


Hachidori Version: 3.3.11
MacOS Version: 12.3.1
Video Player: IINA
 

malupdaterosxdev

Administrator
Staff member
I believe I may be having this issue again. The file correct title prompt pop ups indefinitely. The anime is Season 3 of Gintama.

Here's a video of the issue:

I tried renaming the file to simpler file names to see if it fixed the issue, but I still had the issue even after the renames.

File names I tried:
[CBT] Gintama S03E01 (BDRip 1920x1080 x264 10bit FLAC).mkv
Gintama` (2012) - 01.mkv
Gintama - 01.mkv (File name shown in video)


Hachidori Version: 3.3.11
MacOS Version: 12.3.1
Video Player: IINA
I checked that file and it seems to be detecting properly with 3.3.12, at least for Anilist. It's broken with Myanimelist for some reason.

2022-04-26_14-28-06.png
 

malupdaterosxdev

Administrator
Staff member
It looks like we need to get the season information from the background field as it uses the synopsis and available titles to parse the season number for MyAnimeList. Let's see if that is possible and I will see I can make a fix.
 

malupdaterosxdev

Administrator
Staff member
I figured out the issue. MAL is using a ' and not a `. I created a special case for the regex for this.

2022-04-26_15-07-02.png

Season detection for this title is not available since there is no clear way to identify Gintama S3 as the third season on MyAnimeList. Background field isn't accessible with the API.
 

gabewil

New member
I figured out the issue. MAL is using a ' and not a `. I created a special case for the regex for this.

View attachment 19

Season detection for this title is not available since there is no clear way to identify Gintama S3 as the third season on MyAnimeList. Background field isn't accessible with the API.

Ah, if it's only a problem with Gintama season 3 then no big deal. Just wanted to make sure I reported it in case it affected other shows too. Thanks for the quick response!
 
Top