Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable To Detect Episodes With Information In The End Of The Filenames #11

Open
seniorm0ment opened this issue Aug 30, 2021 · 1 comment

Comments

@seniorm0ment
Copy link

I have had a difficult time having Jellyfin detect episode information/names properly when there is information located near the end of filenames. This could potentially be related to #6 I am not sure.

Just for example:
In my folder: /Videos/Anime/Fate Stay Night/Fate Stay Night - S01E01 - The First Day - [76C77486] [Moby JJ].mkv
In Jellyfin it shows up as: Fate Stay/Night - 1. Fate Stay Night - S01E01 - The First Day - [76C77486] [Moby JJ]

I would expect it to ignore the ending [76C77486] [Moby JJ]. Often I also place codec and similar information in the filenames such as Fate Stay/Night - 1. Fate Stay Night - S01E01 - The First Day - [BluRay MKV FLAC 2.0] [76C77486] [Moby JJ]. I would expect it to match the former lines and ignore everything it doesn't recognize (So everything after S01E01 or the episode name).

Now I am not entirely sure if this is an issue with Jellyfin, or an issue with this plugin. I state this because I have also had issues with this with Music. While I understand this plugin doesn't handle music, just for clarity, an example with Music:
/Music/Artists/Zuill Bailey/Zuill Bailey - Bach Cello Suites Volume 2 - [192k 24bit] [WAV] (Octave Records)/01 - Zuill Bailey - BWV 1008 Suite No. 2 in D minor - Prelude.wav; /Music/Artists/Zuill Bailey/Zuill Bailey - Bach Cello Suites Volume 2 - [DSD] (Octave Records)/01 - Zuill Bailey - BWV 1008 Suite No. 2 in D minor - Prelude.dsf. While not exactly the same folder/file structure, these show up in Jellyfin without proper metadata, and show up as the folder names (Zuill Bailey - Bach Cello Suites Volume 2 - [DSD] (Octave Records)) instead of simply displaying Zuill Bailey - Bach Cello Suites Volume 2 as I would expect.

My Movies on the other hand, are labeled similarly and detect majority of the time properly, which is creating even more confusion for me. This makes me think this may be a plugin independent issue, and not Jellyfin? But I am not entirely sure anymore.
/Videos/Movies/Out of the Past (1947)/Out of the Past (1947) - BluRay Remux 1080p AVC FLAC 2.0 [HiFi].mkv is an example. Detects no problems.

TV Shows also seem to generally detect without issues, although I have run into one or two here or there.
/Videos/TV Shows/SpongeBob SquarePants/Season 01/SpongeBob SquarePants - S01E01-E03 - Help Wanted, Reef Blower, Tea at the Treedome - 1080p AMZN WEB-DL DDP2.0 x264 [TVSmash]

I only provide the latter for redundancy and clarity, to help further explain my issue with the anime detection. It seems to be a bit random, as I can have some things named exactly the same, yet one would have issues detecting whilist the other detects fine. My files are generally pretty consistent from one another as far as the local naming schemes go. It would also not be the easiest thing to go in and rename terabytes of data.
I have heard others complain about detection issues as well, whilist Plex detects no issues according to them. Again I am unsure if this is a Jellyfin issue, or a plugin independent issue. I can move this issue over to the Jellyfin repository if desired.

@nalsai
Copy link
Contributor

nalsai commented Mar 29, 2022

The behavior you're describing is independent of the plugin. It just gives back the filename, if it has no metadata.

With version 6 of the anidb plugin, episode metadata works correctly now. This means that it will be able to get the name (and description) of the episode (as long as Jellyfin itself is able to identify the number of the episode) and it will behave like other TV Shows.

Stuff like S01E01-E03 (multiple episodes in one file) is not supported, as far as I know.

EDIT: S01E01-03should work for multiple episode files, but it's not implemented in the anidb plugin yet, so you will just get the metadata for the first episode.

EDIT 2: PR #36 implements metadata for multiple episode files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants