Jellyfin Forum
Possible Bug: Movies with multiple versions cause Jellyfin to crash during scan - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Media Scanning & Identification (https://forum.jellyfin.org/f-media-scanning-identification)
+---- Thread: Possible Bug: Movies with multiple versions cause Jellyfin to crash during scan (/t-possible-bug-movies-with-multiple-versions-cause-jellyfin-to-crash-during-scan)



Possible Bug: Movies with multiple versions cause Jellyfin to crash during scan - JANONYMOUS - 2025-01-02

It took me a while to find the culprit but it seems that movies with multiple versions cause Jellyfin to crash when attempting a full library scan.

In my case it was a movie with two versions: Director's Cut.mkv and Extended Version.mkv.

After removing the movie folder from the library the scan finished successfully.

Is anyone able to reproduce this?

Thanks.


RE: Possible Bug: Movies with multiple versions cause Jellyfin to crash during scan - TheDreadPirate - 2025-01-02

Many many people have multiple versions of a movie. Including me.

Can you provide the file folder and file names of these movies and what kind of storage they were one? Local disk or network share?


RE: Possible Bug: Movies with multiple versions cause Jellyfin to crash during scan - JANONYMOUS - 2025-01-02

Yeah I imagine, haha.  Maybe just not with the same setup and movie.  I should have been clearer on that.

I set up Jellyfin only recently so it's the only multi-version movie I have uploaded so far, hence no other movie to compare with.

The movie in question is Dances With Wolves, and this is the folder/file structure on a local HD:
  • Dances With Wolves [1990] [imdbid-tt0099348]
  • Dances With Wolves [1990] [imdbid-tt0099348] - Director's Cut.mkv
  • Dances With Wolves [1990] [imdbid-tt0099348] - Extended Version.mkv

The extended version was merged from two discs but I have others that don't cause any issues so I doubt it has anything to do with that.

Let me know what else you need.

Thanks.


RE: Possible Bug: Movies with multiple versions cause Jellyfin to crash during scan - TheDreadPirate - 2025-01-02

Put "1990" in parenthesis instead of square brackets.


RE: Possible Bug: Movies with multiple versions cause Jellyfin to crash during scan - JANONYMOUS - 2025-01-02

Are you certain that this will fix it or is it just for testing? Because all my movies use square brackets. My entire media collection for that matter.


RE: Possible Bug: Movies with multiple versions cause Jellyfin to crash during scan - TheDreadPirate - 2025-01-02

For testing. But if all your movies are named like that had me rethink it a bit. It would cause Jellyfin to straight up hang.

Are the files themselves corrupt? What happens when you run ffprobe on the files?


RE: Possible Bug: Movies with multiple versions cause Jellyfin to crash during scan - JANONYMOUS - 2025-01-02

Now it had me rethink the issue with scanning the music library. I hope it's not the square brackets causing it.

Parenthesis are part of a title while square brackets are for additional information--and the year isn't part of the title. That's how I've been using them since forever.


RE: Possible Bug: Movies with multiple versions cause Jellyfin to crash during scan - Efficient_Good_5784 - 2025-01-02

From my understanding, parenthesis are used for the year to help Jellyfin ID the file on a metadata site.

Square brackets are usually ignored unless they follow some things like the ID from a metadata provider.

An example would be this: "Spider-Man (2002) [tmdbid-557].mkv"


RE: Possible Bug: Movies with multiple versions cause Jellyfin to crash during scan - JANONYMOUS - 2025-01-03

Yeah I read that in the docs but I figured that title plus ID should suffice. I really prefer not to mix parenthesis with square brackets and change my entire concept for that.