Movies misclassified as TV series when title contains "Season N" #6794

Closed
opened 2026-02-07 04:07:16 +03:00 by OVERLORD · 14 comments
Owner

Originally created by @fa1rid on GitHub (Mar 4, 2025).

Description of the bug

When a movie title contains a season indicator (e.g., "Season 2"), Jellyfin mistakenly identifies the movie as a TV series. As a result, the entire Movies folder in which the movie is located is re-parsed and treated as a series folder, causing misidentification of all content in that folder. Notably, only the affected folder exhibits this behavior—other folders in the same library type remain unaffected.

Reproduction steps

Create a Movies library with at least two separate folders, for example:
M:\Library\Movies
N:\Library\Movies
Add a movie to one of the folders (e.g., N:\Library\Movies) with a title containing a season indicator.
Example: Squid Game Making Season 2 (2025)
Observe that Jellyfin re-parses the folder as a TV series folder (when full library scan is done) and misclassifies the movie along with any other content in that folder.

What is the current bug behavior?

The folder where the affected movie is added is re-parsed and misclassified as a TV series folder. This results in movies being misidentified, while other Movies folders (e.g., M:\Library\Movies) remain unaffected.

What is the expected correct behavior?

The movie should be recognized and treated as a movie regardless of the inclusion of "Season N" in its title, and the folder should remain classified as a Movies folder.

Jellyfin Server version

10.10.0+

Specify commit id

No response

Specify unstable release number

No response

Specify version number

No response

Specify the build version

10.10.6

Environment

- OS: Windows 10

Jellyfin logs

No Errors are shown in the logs.

FFmpeg logs


Client / Browser logs

No response

Relevant screenshots or videos

No response

Additional information

No response

Originally created by @fa1rid on GitHub (Mar 4, 2025). ### Description of the bug When a movie title contains a season indicator (e.g., "Season 2"), Jellyfin mistakenly identifies the movie as a TV series. As a result, the entire Movies folder in which the movie is located is re-parsed and treated as a series folder, causing misidentification of all content in that folder. Notably, only the affected folder exhibits this behavior—other folders in the same library type remain unaffected. ### Reproduction steps Create a Movies library with at least two separate folders, for example: M:\Library\Movies N:\Library\Movies Add a movie to one of the folders (e.g., N:\Library\Movies) with a title containing a season indicator. Example: [Squid Game Making Season 2 (2025)](https://www.themoviedb.org/movie/1412113-2) Observe that Jellyfin re-parses the folder as a TV series folder (when full library scan is done) and misclassifies the movie along with any other content in that folder. ### What is the current _bug_ behavior? The folder where the affected movie is added is re-parsed and misclassified as a TV series folder. This results in movies being misidentified, while other Movies folders (e.g., M:\Library\Movies) remain unaffected. ### What is the expected _correct_ behavior? The movie should be recognized and treated as a movie regardless of the inclusion of "Season N" in its title, and the folder should remain classified as a Movies folder. ### Jellyfin Server version 10.10.0+ ### Specify commit id _No response_ ### Specify unstable release number _No response_ ### Specify version number _No response_ ### Specify the build version 10.10.6 ### Environment ```markdown - OS: Windows 10 ``` ### Jellyfin logs ```shell No Errors are shown in the logs. ``` ### FFmpeg logs ```shell ``` ### Client / Browser logs _No response_ ### Relevant screenshots or videos _No response_ ### Additional information _No response_
OVERLORD added the bugstale labels 2026-02-07 04:07:16 +03:00
Author
Owner

@theguymadmax commented on GitHub (Mar 4, 2025):

Could you provide the folder structure, file naming conventions, and your library settings? I tested with both a flat structure and movies in folders, but I couldn't reproduce the issue.

Movies X/
Movies Y/
├── Squid Game Making Season 2 (2025)/
│ └── Squid Game Making Season 2 (2025).mkv
├── Big Buck Bunny (2008)/
│ └── Big Buck Bunny (2008).mkv

Movies X/
Movies Y/
├── Squid Game Making Season 2 (2025).mkv
├── Big Buck Bunny (2008).mkv

@theguymadmax commented on GitHub (Mar 4, 2025): Could you provide the folder structure, file naming conventions, and your library settings? I tested with both a flat structure and movies in folders, but I couldn't reproduce the issue. Movies X/ Movies Y/ ├── Squid Game Making Season 2 (2025)/ │ └── Squid Game Making Season 2 (2025).mkv ├── Big Buck Bunny (2008)/ │ └── Big Buck Bunny (2008).mkv Movies X/ Movies Y/ ├── Squid Game Making Season 2 (2025).mkv ├── Big Buck Bunny (2008).mkv
Author
Owner

@gloryandel commented on GitHub (Mar 6, 2025):

Jellyfin requires correct directory structure and file name conventions. What is the type of media library selected?

@gloryandel commented on GitHub (Mar 6, 2025): Jellyfin requires correct directory structure and file name conventions. What is the type of media library selected?
Author
Owner

@fa1rid commented on GitHub (Mar 8, 2025):

N:\Library\Movies - Documentaries << this is the Library Folder (type Movies)
├───Movie One (2016)
│ │ Movie One (2016).mkv

├───Movie Two (2009)
│ │ Movie Two (2009).mkv

├───Squid Game Making Season 2 (2025)
│ │ Squid Game Making Season 2 (2025).mkv

Image

Image

To reproduce the issue:

Please go to Dashboard > Scheduled Tasks > Scan Media Library click on (run/start task button)

Image

How does the issue look like (Before/After) adding "Squid Game Making Season 2 (2025)":

Before:

Image

After:

Image

@fa1rid commented on GitHub (Mar 8, 2025): N:\Library\Movies - Documentaries << this is the Library Folder (type Movies) ├───Movie One (2016) │ │ Movie One (2016).mkv │ ├───Movie Two (2009) │ │ Movie Two (2009).mkv │ ├───Squid Game Making Season 2 (2025) │ │ Squid Game Making Season 2 (2025).mkv │ ![Image](https://github.com/user-attachments/assets/a7059051-9915-420e-b73f-b065aedfff4b) ![Image](https://github.com/user-attachments/assets/05df5578-e5b4-477c-a6dd-0cd21a502c95) ### To reproduce the issue: Please go to Dashboard > Scheduled Tasks > Scan Media Library click on (run/start task button) ![Image](https://github.com/user-attachments/assets/64ac4bc5-d605-449e-ad16-563fa79b674d) How does the issue look like (Before/After) adding "Squid Game Making Season 2 (2025)": ### Before: ![Image](https://github.com/user-attachments/assets/ee30ee95-a3c3-448f-844c-5e869f87dbab) ### After: ![Image](https://github.com/user-attachments/assets/79149599-cdb2-41a2-a955-794c5ee9a77b)
Author
Owner

@fa1rid commented on GitHub (Mar 8, 2025):

If anyone interested in the logs, here it is:

[2025-03-07 21:37:58.084 +04:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
[2025-03-07 21:37:58.086 +04:00] [INF] [1] Main: Startup complete 0:00:23.4932278
[2025-03-07 21:38:02.468 +04:00] [INF] [9] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Update Plugins" Completed after 0 minute(s) and 8 seconds
[2025-03-07 21:41:42.693 +04:00] [INF] [3] Emby.Server.Implementations.IO.LibraryMonitor: "Movies - Documentaries" ("N:\Library\Movies - Documentaries") will be refreshed.
[2025-03-07 21:41:46.763 +04:00] [INF] [14] MediaBrowser.Providers.TV.SeriesMetadataService: Creating Season "Season Unknown" entry for "Squid Game Making"
[2025-03-07 21:41:46.890 +04:00] [INF] [14] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"N:\Library\Movies - Documentaries\Squid Game Making Season 2 (2025)\Squid Game Making Season 2 (2025).mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2025-03-07 21:41:47.193 +04:00] [INF] [14] MediaBrowser.Providers.TV.SeriesMetadataService: Removing virtual season null in series "Squid Game Making"
[2025-03-07 21:41:47.196 +04:00] [INF] [14] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Season", Name: "Season Unknown", Path: "", Id: 2cb315cd-06cf-215b-6444-723de970ca25
[2025-03-07 21:41:47.201 +04:00] [INF] [14] MediaBrowser.Providers.TV.SeriesMetadataService: Creating Season "Season 1" entry for "Squid Game Making"
[2025-03-07 21:43:35.241 +04:00] [INF] [12] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2025-03-07 21:45:13.225 +04:00] [INF] [14] MediaBrowser.Providers.TV.SeriesMetadataService: Removing virtual season 1 in series "Squid Game Making"
[2025-03-07 21:45:13.228 +04:00] [INF] [14] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Season", Name: "Season 1", Path: "", Id: 47496a58-66bc-733b-44ad-725e75b40f99
[2025-03-07 21:45:13.233 +04:00] [INF] [14] MediaBrowser.Providers.TV.SeriesMetadataService: Creating Season "Season 1" entry for "Squid Game Making"
[2025-03-07 21:45:13.242 +04:00] [INF] [3] MediaBrowser.Providers.TV.SeriesMetadataService: Removing virtual season 1 in series "Squid Game Making"
[2025-03-07 21:45:13.243 +04:00] [INF] [3] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Season", Name: "Season 1", Path: "", Id: 47496a58-66bc-733b-44ad-725e75b40f99
[2025-03-07 21:45:13.245 +04:00] [INF] [3] MediaBrowser.Providers.TV.SeriesMetadataService: Creating Season "Season 1" entry for "Squid Game Making"
@fa1rid commented on GitHub (Mar 8, 2025): If anyone interested in the logs, here it is: ``` [2025-03-07 21:37:58.084 +04:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete [2025-03-07 21:37:58.086 +04:00] [INF] [1] Main: Startup complete 0:00:23.4932278 [2025-03-07 21:38:02.468 +04:00] [INF] [9] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Update Plugins" Completed after 0 minute(s) and 8 seconds [2025-03-07 21:41:42.693 +04:00] [INF] [3] Emby.Server.Implementations.IO.LibraryMonitor: "Movies - Documentaries" ("N:\Library\Movies - Documentaries") will be refreshed. [2025-03-07 21:41:46.763 +04:00] [INF] [14] MediaBrowser.Providers.TV.SeriesMetadataService: Creating Season "Season Unknown" entry for "Squid Game Making" [2025-03-07 21:41:46.890 +04:00] [INF] [14] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"N:\Library\Movies - Documentaries\Squid Game Making Season 2 (2025)\Squid Game Making Season 2 (2025).mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format" [2025-03-07 21:41:47.193 +04:00] [INF] [14] MediaBrowser.Providers.TV.SeriesMetadataService: Removing virtual season null in series "Squid Game Making" [2025-03-07 21:41:47.196 +04:00] [INF] [14] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Season", Name: "Season Unknown", Path: "", Id: 2cb315cd-06cf-215b-6444-723de970ca25 [2025-03-07 21:41:47.201 +04:00] [INF] [14] MediaBrowser.Providers.TV.SeriesMetadataService: Creating Season "Season 1" entry for "Squid Game Making" [2025-03-07 21:43:35.241 +04:00] [INF] [12] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets. [2025-03-07 21:45:13.225 +04:00] [INF] [14] MediaBrowser.Providers.TV.SeriesMetadataService: Removing virtual season 1 in series "Squid Game Making" [2025-03-07 21:45:13.228 +04:00] [INF] [14] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Season", Name: "Season 1", Path: "", Id: 47496a58-66bc-733b-44ad-725e75b40f99 [2025-03-07 21:45:13.233 +04:00] [INF] [14] MediaBrowser.Providers.TV.SeriesMetadataService: Creating Season "Season 1" entry for "Squid Game Making" [2025-03-07 21:45:13.242 +04:00] [INF] [3] MediaBrowser.Providers.TV.SeriesMetadataService: Removing virtual season 1 in series "Squid Game Making" [2025-03-07 21:45:13.243 +04:00] [INF] [3] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Season", Name: "Season 1", Path: "", Id: 47496a58-66bc-733b-44ad-725e75b40f99 [2025-03-07 21:45:13.245 +04:00] [INF] [3] MediaBrowser.Providers.TV.SeriesMetadataService: Creating Season "Season 1" entry for "Squid Game Making" ```
Author
Owner

@theguymadmax commented on GitHub (Mar 8, 2025):

I replicated your structure and I still couldn't reproduce the issue. The movie gets correctly identified and after a rescan, there is no change. Does the movie get correctly identified when you first add it?

Image

@theguymadmax commented on GitHub (Mar 8, 2025): I replicated your structure and I still couldn't reproduce the issue. The movie gets correctly identified and after a rescan, there is no change. Does the movie get correctly identified when you first add it? ![Image](https://github.com/user-attachments/assets/e4d2e518-44f0-4c3d-a31f-6b92ba3ec05d)
Author
Owner

@fa1rid commented on GitHub (Mar 8, 2025):

Thank you for trying to reproduce it.

Does the movie get correctly identified when you first add it?
Yes it does get correctly identified when I first add it, only after doing full library scan it gets corrupted.

I tried to reproduce it on fresh new library and the issue did NOT occur. It means it's something related to my specific library.

I'm still trying to do some more trials to see how can I reproduce it on fresh installation.

If you have anything in mind that I could try please let me know.

@fa1rid commented on GitHub (Mar 8, 2025): Thank you for trying to reproduce it. > Does the movie get correctly identified when you first add it? Yes it does get correctly identified when I first add it, only after doing full library scan it gets corrupted. I tried to reproduce it on fresh new library and the issue did NOT occur. It means it's something related to my specific library. I'm still trying to do some more trials to see how can I reproduce it on fresh installation. If you have anything in mind that I could try please let me know.
Author
Owner

@fa1rid commented on GitHub (Mar 8, 2025):

When doing full library scan I noticed this in the log:
[2025-03-08 06:04:38.106 +04:00] [INF] [33] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Movies - Documentaries", Path: "N:\Library\Movies - Documentaries", Id: 22b9152a-16ad-613c-abf7-86a88186877a

Then it will start ffprobe on all the files in the Movies - Documentaries

[2025-03-08 06:04:48.776 +04:00] [INF] [39] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"N:\Library\Movies - Documentaries\...

Then it will delete dead studios:

[2025-03-08 06:05:31.628 +04:00] [INF] [39] Emby.Server.Implementations.Library.Validators.StudiosValidator: Deleting dead "Studio" "aa52912d24929d61138ec8a06bb400db" "Alliance Atlantis"
[2025-03-08 06:05:31.630 +04:00] [INF] [39] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Studio", Name: "Alliance Atlantis", Path: "M:\jellyfin\data\metadata\Studio\Alliance Atlantis", Id: aa52912d-2492-9d61-138e-c8a06bb400db
[2025-03-08 06:05:31.633 +04:00] [INF] [39] Emby.Server.Implementations.Library.Validators.StudiosValidator: Deleting dead "Studio" "13dba12e7c01e6c1d326e2e615a0ed9d" "Amblin Documentaries"
...

Then end of scan:

[2025-03-08 06:05:32.605 +04:00] [INF] [39] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan Media Library" Completed after 0 minute(s) and 54 seconds
[2025-03-08 06:05:32.605 +04:00] [INF] [38] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "M:\Library\Movies - Documentaries"

Oh wait, I just noticed that it says Removing item, Type: "Folder" Is this normal or it should say Type: "Movies"?

I will do more tests to see if I can get any clues...

@fa1rid commented on GitHub (Mar 8, 2025): When doing full library scan I noticed this in the log: `[2025-03-08 06:04:38.106 +04:00] [INF] [33] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Movies - Documentaries", Path: "N:\Library\Movies - Documentaries", Id: 22b9152a-16ad-613c-abf7-86a88186877a ` Then it will start `ffprobe` on all the files in the `Movies - Documentaries` `[2025-03-08 06:04:48.776 +04:00] [INF] [39] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"N:\Library\Movies - Documentaries\...` Then it will delete dead studios: ``` [2025-03-08 06:05:31.628 +04:00] [INF] [39] Emby.Server.Implementations.Library.Validators.StudiosValidator: Deleting dead "Studio" "aa52912d24929d61138ec8a06bb400db" "Alliance Atlantis" [2025-03-08 06:05:31.630 +04:00] [INF] [39] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Studio", Name: "Alliance Atlantis", Path: "M:\jellyfin\data\metadata\Studio\Alliance Atlantis", Id: aa52912d-2492-9d61-138e-c8a06bb400db [2025-03-08 06:05:31.633 +04:00] [INF] [39] Emby.Server.Implementations.Library.Validators.StudiosValidator: Deleting dead "Studio" "13dba12e7c01e6c1d326e2e615a0ed9d" "Amblin Documentaries" ... ``` Then end of scan: ``` [2025-03-08 06:05:32.605 +04:00] [INF] [39] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan Media Library" Completed after 0 minute(s) and 54 seconds [2025-03-08 06:05:32.605 +04:00] [INF] [38] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "M:\Library\Movies - Documentaries" ``` Oh wait, I just noticed that it says `Removing item, Type: "Folder"` Is this normal or it should say `Type: "Movies"`? I will do more tests to see if I can get any clues...
Author
Owner

@gloryandel commented on GitHub (Mar 8, 2025):

Jellyfin 10.10.6 cannot reproduce

Squid Game Making Season 2 (2025)
├── backdrop.jpg
├── folder.jpg
├── logo.png
├── movie.nfo
└── Squid Game Making Season 2 (2025).mp4

From movie.nfo, we can see that it is correctly identified as movie

Image

@gloryandel commented on GitHub (Mar 8, 2025): Jellyfin 10.10.6 cannot reproduce ``` Squid Game Making Season 2 (2025) ├── backdrop.jpg ├── folder.jpg ├── logo.png ├── movie.nfo └── Squid Game Making Season 2 (2025).mp4 ``` From movie.nfo, we can see that it is correctly identified as movie ![Image](https://github.com/user-attachments/assets/102cb38b-47b4-407b-8c90-75d0319ef469)
Author
Owner

@fa1rid commented on GitHub (Mar 8, 2025):

Could it be related to my other issue: https://github.com/jellyfin/jellyfin/issues/12972 ?

@fa1rid commented on GitHub (Mar 8, 2025): Could it be related to my other issue: https://github.com/jellyfin/jellyfin/issues/12972 ?
Author
Owner

@fa1rid commented on GitHub (Mar 8, 2025):

It should be related, that's the only explanation.
My database is missing CollectionType in library.db, table TypedBaseItems

type: MediaBrowser.Controller.Entities.CollectionFolder
data:

{"PhysicalLocationsList":["M:\\jellyfin\\data\\root\\default\\Documentaries","M:\\Library\\Movies - Documentaries","N:\\Library\\Movies - Documentaries"],"PhysicalFolderIds":["67f2d7da8615d6ee5b676ea33d4d106a","22b9152a16ad613cabf786a88186877a"],"IsRoot":false,"LinkedChildren":[],"IsHD":false,"IsShortcut":false,"Width":0,"Height":0,"ExtraIds":[],"DateLastSaved":"2025-02-28T18:33:53.7449239Z","RemoteTrailers":[]}

It must be that there was an old bug which was fixed, but it didn't fix or address issues that was already created and written to the db. So maybe my library is too old (was created on an old version of Jelleyfin), and most of you guys just test on new fresh installations/libraries., which is why many bugs become unreproducible.

So that should be the reason of the issue.

Now we need to figure out why my DB is missing CollectionType for the Libraries? And if I add that manually should it fix the issue?

Any senior maintainer can relate please?

I don't remember on which Jellyfin version I started, but I think in 2021.

Here is something that could help:

Image

@fa1rid commented on GitHub (Mar 8, 2025): It should be related, that's the only explanation. My database is missing `CollectionType` in library.db, table `TypedBaseItems` type: `MediaBrowser.Controller.Entities.CollectionFolder` data: ``` {"PhysicalLocationsList":["M:\\jellyfin\\data\\root\\default\\Documentaries","M:\\Library\\Movies - Documentaries","N:\\Library\\Movies - Documentaries"],"PhysicalFolderIds":["67f2d7da8615d6ee5b676ea33d4d106a","22b9152a16ad613cabf786a88186877a"],"IsRoot":false,"LinkedChildren":[],"IsHD":false,"IsShortcut":false,"Width":0,"Height":0,"ExtraIds":[],"DateLastSaved":"2025-02-28T18:33:53.7449239Z","RemoteTrailers":[]} ``` It must be that there was an old bug which was fixed, but it didn't fix or address issues that was already created and written to the db. So maybe my library is too old (was created on an old version of Jelleyfin), and most of you guys just test on new fresh installations/libraries., which is why many bugs become unreproducible. So that should be the reason of the issue. Now we need to figure out why my DB is missing `CollectionType` for the Libraries? And if I add that manually should it fix the issue? Any senior maintainer can relate please? I don't remember on which Jellyfin version I started, but I think in 2021. Here is something that could help: ![Image](https://github.com/user-attachments/assets/68f8bf35-a7b6-4153-b0f2-2cc632663ce9)
Author
Owner

@fa1rid commented on GitHub (Mar 13, 2025):

Update

I have manually edited the database to add the missing CollectionType for each library.
I tried to add Squid Game Making Season 2 (2025) after that.

Observations after doing Scan Media Library:

  1. I received webhook notifications of new movies added for most movies in that folder.
  2. I received more notifications after that with broken details (as if they were identified as series).
  3. Squid Game Making Season 2 (2025) is now correctly recognized as Movie, and other movies still show as Movies.
  4. Many Movies in that folder added season.nfo and added duplicate Artworks into their media folder. Other Library folders are not affected.

Example:

N:\LIBRARY\MOVIES - DOCUMENTARIES\BARAKA (1992)
│ backdrop.jpg
│ backdrop1.jpg
│ banner.jpg
│ Baraka (1992)-backdrop.jpg
│ Baraka (1992)-backdrop1.jpg
│ Baraka (1992)-banner.jpg
│ Baraka (1992)-clearart.png
│ Baraka (1992)-landscape.jpg
│ Baraka (1992)-logo.png
│ Baraka (1992)-poster.jpg
│ Baraka (1992).mkv
│ Baraka (1992).nfo
│ clearart.png
│ folder.jpg
│ landscape.jpg
│ logo.png
│ movie.nfo
│ season.nfo
│ trailer.mkv

Notice that the following files are new and considered duplicate:

│ Baraka (1992)-backdrop.jpg
│ Baraka (1992)-backdrop1.jpg
│ Baraka (1992)-banner.jpg
│ Baraka (1992)-clearart.png
│ Baraka (1992)-landscape.jpg
│ Baraka (1992)-logo.png
│ Baraka (1992)-poster.jpg
│ Baraka (1992).nfo

Like Baraka (1992)-backdrop.jpg is duplicate of backdrop.jpg, etc..

This one is also added which raises a lot of questions.
│ season.nfo

Jellyfin is acting weirdly and it seems that it has many internal hidden bugs.

Can someone please explain what's going on?

I'm just thinking to re-create a new fresh library, but the problem I will lose my watch history. Also it's a hassle to do that, creating everything again and all the users I have.

Part of the logs:

[2025-03-13 22:37:39.952 +04:00] [INF] [6] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "N:\Library\Movies - Documentaries"
[2025-03-13 22:37:39.957 +04:00] [INF] [6] Emby.Server.Implementations.Library.LibraryManager: Validating media library
[2025-03-13 22:37:40.086 +04:00] [WRN] [17] MediaBrowser.Controller.Entities.BaseItem: Library folder "M:\jellyfin\data\data\playlists" is inaccessible or empty, skipping
[2025-03-13 22:37:40.089 +04:00] [INF] [17] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Movies - Documentaries", Path: "N:\Library\Movies - Documentaries", Id: 22b9152a-16ad-613c-abf7-86a88186877a
[2025-03-13 22:37:40.395 +04:00] [INF] [17] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "PlaylistsFolder", Name: "Playlists", Path: "M:\jellyfin\data\data\playlists", Id: 1071671e-7bff-a053-2e93-0debee501d2e
[2025-03-13 22:37:42.567 +04:00] [INF] [15] Jellyfin.Drawing.ImageProcessor: Creating image collage and saving to "C:\Users\F\AppData\Local\Temp\jellyfin\f16332f8fdfe4b36873f3bfbebe83c30.png"
[2025-03-13 22:37:42.898 +04:00] [INF] [15] Jellyfin.Drawing.ImageProcessor: Completed creation of image collage and saved to "C:\Users\F\AppData\Local\Temp\jellyfin\f16332f8fdfe4b36873f3bfbebe83c30.png"
[2025-03-13 22:37:42.946 +04:00] [WRN] [17] MediaBrowser.Controller.Entities.BaseItem: Library folder "M:\jellyfin\data\data\playlists" is inaccessible or empty, skipping
[2025-03-13 22:38:21.957 +04:00] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Deleted Notifier" Completed after 0 minute(s) and 0 seconds
[2025-03-13 22:38:21.958 +04:00] [INF] [22] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2025-03-13 22:38:22.572 +04:00] [INF] [22] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2025-03-13 22:38:24.733 +04:00] [INF] [24] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"N:\Library\Movies - Documentaries\Baby Sharks (2022)\Baby Sharks (2022).mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2025-03-13 22:39:08.786 +04:00] [INF] [24] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"N:\Library\Movies - Documentaries\Baraka (1992)\Baraka (1992).mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
@fa1rid commented on GitHub (Mar 13, 2025): ### Update I have manually edited the database to add the missing `CollectionType` for each library. I tried to add `Squid Game Making Season 2 (2025)` after that. **Observations after doing `Scan Media Library`:** 1. I received webhook notifications of new movies added for most movies in that folder. 2. I received more notifications after that with broken details (as if they were identified as series). 3. `Squid Game Making Season 2 (2025)` is now correctly recognized as Movie, and other movies still show as Movies. 4. Many Movies in that folder added `season.nfo` and added duplicate `Artworks` into their media folder. Other Library folders are not affected. Example: N:\LIBRARY\MOVIES - DOCUMENTARIES\BARAKA (1992) │ backdrop.jpg │ backdrop1.jpg │ banner.jpg │ Baraka (1992)-backdrop.jpg │ Baraka (1992)-backdrop1.jpg │ Baraka (1992)-banner.jpg │ Baraka (1992)-clearart.png │ Baraka (1992)-landscape.jpg │ Baraka (1992)-logo.png │ Baraka (1992)-poster.jpg │ Baraka (1992).mkv │ Baraka (1992).nfo │ clearart.png │ folder.jpg │ landscape.jpg │ logo.png │ movie.nfo │ season.nfo │ trailer.mkv Notice that the following files are new and considered duplicate: │ Baraka (1992)-backdrop.jpg │ Baraka (1992)-backdrop1.jpg │ Baraka (1992)-banner.jpg │ Baraka (1992)-clearart.png │ Baraka (1992)-landscape.jpg │ Baraka (1992)-logo.png │ Baraka (1992)-poster.jpg │ Baraka (1992).nfo Like `Baraka (1992)-backdrop.jpg` is duplicate of `backdrop.jpg`, etc.. This one is also added which raises a lot of questions. │ season.nfo Jellyfin is acting weirdly and it seems that it has many internal hidden bugs. Can someone please explain what's going on? I'm just thinking to re-create a new fresh library, but the problem I will lose my watch history. Also it's a hassle to do that, creating everything again and all the users I have. Part of the logs: ``` [2025-03-13 22:37:39.952 +04:00] [INF] [6] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "N:\Library\Movies - Documentaries" [2025-03-13 22:37:39.957 +04:00] [INF] [6] Emby.Server.Implementations.Library.LibraryManager: Validating media library [2025-03-13 22:37:40.086 +04:00] [WRN] [17] MediaBrowser.Controller.Entities.BaseItem: Library folder "M:\jellyfin\data\data\playlists" is inaccessible or empty, skipping [2025-03-13 22:37:40.089 +04:00] [INF] [17] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Movies - Documentaries", Path: "N:\Library\Movies - Documentaries", Id: 22b9152a-16ad-613c-abf7-86a88186877a [2025-03-13 22:37:40.395 +04:00] [INF] [17] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "PlaylistsFolder", Name: "Playlists", Path: "M:\jellyfin\data\data\playlists", Id: 1071671e-7bff-a053-2e93-0debee501d2e [2025-03-13 22:37:42.567 +04:00] [INF] [15] Jellyfin.Drawing.ImageProcessor: Creating image collage and saving to "C:\Users\F\AppData\Local\Temp\jellyfin\f16332f8fdfe4b36873f3bfbebe83c30.png" [2025-03-13 22:37:42.898 +04:00] [INF] [15] Jellyfin.Drawing.ImageProcessor: Completed creation of image collage and saved to "C:\Users\F\AppData\Local\Temp\jellyfin\f16332f8fdfe4b36873f3bfbebe83c30.png" [2025-03-13 22:37:42.946 +04:00] [WRN] [17] MediaBrowser.Controller.Entities.BaseItem: Library folder "M:\jellyfin\data\data\playlists" is inaccessible or empty, skipping [2025-03-13 22:38:21.957 +04:00] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Deleted Notifier" Completed after 0 minute(s) and 0 seconds [2025-03-13 22:38:21.958 +04:00] [INF] [22] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds [2025-03-13 22:38:22.572 +04:00] [INF] [22] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets. [2025-03-13 22:38:24.733 +04:00] [INF] [24] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"N:\Library\Movies - Documentaries\Baby Sharks (2022)\Baby Sharks (2022).mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format" [2025-03-13 22:39:08.786 +04:00] [INF] [24] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"N:\Library\Movies - Documentaries\Baraka (1992)\Baraka (1992).mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
Author
Owner

@fa1rid commented on GitHub (Mar 21, 2025):

Update

I was playing with API and found this:

/Items?recursive=true&includeItemTypes=Series
{
    "Name": "Movies - Documentaries",
    "ServerId": "hidden",
    "Id": "27de44be78b3ca7e496ff0de7432958d",
    "ChannelId": null,
    "ProviderIds": {},
    "IsFolder": true,
    "ParentId": "f27caa37e5142225cceded48f6553502",
    "Type": "Series",
    "UserData": {
        "UnplayedItemCount": 0,
        "PlaybackPositionTicks": 0,
        "PlayCount": 0,
        "IsFavorite": false,
        "Played": true,
        "Key": "27de44be-78b3-ca7e-496f-f0de7432958d",
        "ItemId": "00000000000000000000000000000000"
    },
    "AirDays": [],
    "ImageBlurHashes": {},
    "LocationType": "FileSystem",
    "MediaType": "Unknown"
},

Then: /Items/27de44be78b3ca7e496ff0de7432958d/Ancestors

[
    {
        "Name": "root",
        "ServerId": "hidden",
        "Id": "f27caa37e5142225cceded48f6553502",
        "Etag": "403fed1847e4feb47e4cf3788da4abfd",
        "DateCreated": "2022-07-12T21:25:32.3096776Z",
        "CanDelete": false,
        "CanDownload": false,
        "SortName": "root",
        "ExternalUrls": [],
        "Path": "M:\\jellyfin\\data\\root",
        "EnableMediaSourceDisplay": true,
        "ChannelId": null,
        "Taglines": [],
        "Genres": [],
        "RemoteTrailers": [],
        "ProviderIds": {},
        "IsFolder": true,
        "ParentId": null,
        "Type": "AggregateFolder",
        "People": [],
        "Studios": [],
        "GenreItems": [],
        "LocalTrailerCount": 0,
        "SpecialFeatureCount": 0,
        "DisplayPreferencesId": "ece728dc345c16a591a2a92b7f763524",
        "Tags": [],
        "PrimaryImageAspectRatio": 0.6666666666666666,
        "ImageTags": {
            "Primary": "0070c9898e098eaec580d09b481aec1e"
        },
        "BackdropImageTags": [],
        "ImageBlurHashes": {
            "Primary": {
                "0070c9898e098eaec580d09b481aec1e": "dMLXMa_2bb?b-;fkayof9aR*8_M_?GxaNGa#00WAofWB"
            }
        },
        "LocationType": "FileSystem",
        "MediaType": "Unknown",
        "LockedFields": [],
        "LockData": false
    }
]
@fa1rid commented on GitHub (Mar 21, 2025): ### Update I was playing with API and found this: ```bash /Items?recursive=true&includeItemTypes=Series ``` ```JSON { "Name": "Movies - Documentaries", "ServerId": "hidden", "Id": "27de44be78b3ca7e496ff0de7432958d", "ChannelId": null, "ProviderIds": {}, "IsFolder": true, "ParentId": "f27caa37e5142225cceded48f6553502", "Type": "Series", "UserData": { "UnplayedItemCount": 0, "PlaybackPositionTicks": 0, "PlayCount": 0, "IsFavorite": false, "Played": true, "Key": "27de44be-78b3-ca7e-496f-f0de7432958d", "ItemId": "00000000000000000000000000000000" }, "AirDays": [], "ImageBlurHashes": {}, "LocationType": "FileSystem", "MediaType": "Unknown" }, ``` Then: `/Items/27de44be78b3ca7e496ff0de7432958d/Ancestors` ```json [ { "Name": "root", "ServerId": "hidden", "Id": "f27caa37e5142225cceded48f6553502", "Etag": "403fed1847e4feb47e4cf3788da4abfd", "DateCreated": "2022-07-12T21:25:32.3096776Z", "CanDelete": false, "CanDownload": false, "SortName": "root", "ExternalUrls": [], "Path": "M:\\jellyfin\\data\\root", "EnableMediaSourceDisplay": true, "ChannelId": null, "Taglines": [], "Genres": [], "RemoteTrailers": [], "ProviderIds": {}, "IsFolder": true, "ParentId": null, "Type": "AggregateFolder", "People": [], "Studios": [], "GenreItems": [], "LocalTrailerCount": 0, "SpecialFeatureCount": 0, "DisplayPreferencesId": "ece728dc345c16a591a2a92b7f763524", "Tags": [], "PrimaryImageAspectRatio": 0.6666666666666666, "ImageTags": { "Primary": "0070c9898e098eaec580d09b481aec1e" }, "BackdropImageTags": [], "ImageBlurHashes": { "Primary": { "0070c9898e098eaec580d09b481aec1e": "dMLXMa_2bb?b-;fkayof9aR*8_M_?GxaNGa#00WAofWB" } }, "LocationType": "FileSystem", "MediaType": "Unknown", "LockedFields": [], "LockData": false } ] ```
Author
Owner

@jellyfin-bot commented on GitHub (Jul 20, 2025):

This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.

If you have any questions you can use one of several ways to contact us.

@jellyfin-bot commented on GitHub (Jul 20, 2025): This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs. If you have any questions you can use one of several ways to [contact us](https://jellyfin.org/contact).
Author
Owner

@jellyfin-bot commented on GitHub (Aug 11, 2025):

This issue was closed due to inactivity.

@jellyfin-bot commented on GitHub (Aug 11, 2025): This issue was closed due to inactivity.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#6794