Jellyfin Forum
tvshow episodes stop at 99 - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: tvshow episodes stop at 99 (/t-tvshow-episodes-stop-at-99)



tvshow episodes stop at 99 - pcm - 2024-06-12

So, the show 'Dragon Ball Super' has 1-season with 131 episodes according to TMDB https://www.themoviedb.org/tv/62715-dragon-ball-chou/season/1 

I have all 131 episodes in my tv-library. But, when I go try to view the episodes list within season-1 I only see till episode 99
[Image: Screenshot-2024-06-12-at-5-06-03-PM.png]

episode 100 does not get any metadata filled in
[Image: Screenshot-2024-06-12-at-5-16-55-PM.png]

and episodes 101 to 131 doubled as episode-1 to episode-31 ... So now I have two episode 1, episode 2 etc till episode 31 ... 32 onwards have the right metadata
[Image: Screenshot-2024-06-12-at-5-17-39-PM.png]


What's going on here ? How do I fix this metadata glitch ?


RE: tvshow episodes stop at 99 - TheDreadPirate - 2024-06-12

Rename the files s01eXXX.mp4. Once you've renamed the files rescan the show. If your server is running linux you can use sed in a loop to mass-rename the files.


RE: tvshow episodes stop at 99 - pcm - 2024-06-12

okay. let me try that.


RE: tvshow episodes stop at 99 - pcm - 2024-06-12

That did the trick! thanks!


RE: tvshow episodes stop at 99 - mildlyjelly - 2024-06-13

How did you rename the files? Did you use a tool or elbow grease?


RE: tvshow episodes stop at 99 - pcm - 2024-06-13

(2024-06-13, 12:50 AM)mildlyjelly Wrote: How did you rename the files? Did you use a tool or elbow grease?

shell oneliner 

in my case it was 

Code:
for f in * ; do mv -v "$f" "$(echo \"$f\" | sed -E \"s/episode (.+).mp4/S01E\1.mp4/\")" ; done

Let me know if you need me to explain what's happening here... Or if you need help coming up with something you wanna mass-rename...


RE: tvshow episodes stop at 99 - mildlyjelly - 2024-06-13

Thanks, I had actually written a very similar command. In my case, I just needed to prefix "S01" to my episodes (ironically for DBZ Super).
Anyways, I was just hoping you had some really awesome (besides bash) tool for renaming these.