Page 1 of 1
File naming when episode parts aren't split.
Posted: Thu Sep 11, 2025 6:28 am
by SG-17
So I am running into this issue with my copies of Dexter's Lab and Fairly Odd Parents. These shows follow the typical for the time two-to-three segments in one episode. The problem is that TMDB and the other sources of data for UMS count each segment as a distinct episode. My copies of the show are in broadcast format, meaning each consists of two or more segments.
So SE2E14 for me is showing up as the second segment of the 7th episode rather than the 14th episode. Is there some way that I can fix this short of breaking apart my files into each segment?
Re: File naming when episode parts aren't split.
Posted: Thu Sep 11, 2025 7:33 am
by mik_s
It would depend on how the files are named. I would need to see logs to have any clue what is happening.
See the section in red above.
Re: File naming when episode parts aren't split.
Posted: Sat Sep 13, 2025 3:25 am
by SG-17
mik_s wrote: ↑Thu Sep 11, 2025 7:33 am
It would depend on how the files are named. I would need to see logs to have any clue what is happening.
See the section in red above.
I've attached my debug file.
I think this is the relevant part.
Code: Select all
TRACE 2025-09-12 11:06:45.277 [MediaScanner File Parser] Queuing background TMDB lookup for Dexter's Laboratory - S2E39 - Last But Not Beast.avi
TRACE 2025-09-12 11:06:45.277 [Lookup TMDB Metadata background worker 1] We have no failed lookups stored for /mnt/MediaHDD/Media/Dexter's Laboratory/Dexter's Lab - Season 2/Dexter's Laboratory - S2E39 - Last But Not Beast.avi
INFO 2025-09-12 11:06:45.277 [MediaScanner File Parser] New file Dexter's Laboratory - S2E39 - Last But Not Beast.avi was detected and added to the media store
TRACE 2025-09-12 11:06:45.277 [Lookup TMDB Metadata background worker 1] ServerSentEvents send message: {"action":"set_status_line","value":"Getting TMDB info for Dexter's Laboratory - S2E39 - Last But Not Beast.avi"}
TRACE 2025-09-12 11:06:45.346 [jupnp-contentdirectory-service] Send event "SystemUpdateID" update from 92314 to 92317
TRACE 2025-09-12 11:06:45.588 [NetworkConfiguration Watcher] Checking network configuration changes
TRACE 2025-09-12 11:06:46.082 [Lookup TMDB Metadata background worker 1] Found an TMDB match for Dexter's Laboratory - S2E39 - Last But Not Beast.avi
TRACE 2025-09-12 11:06:46.082 [Lookup TMDB Metadata background worker 1] TMDB data matches filename data for Dexter's Laboratory - S2E39 - Last But Not Beast.avi
TRACE 2025-09-12 11:06:46.082 [Lookup TMDB Metadata background worker 1] Setting episode name from TMDB: Ice Cream Scream
TRACE 2025-09-12 11:06:46.082 [Lookup TMDB Metadata background worker 1] setting tv episode metadata for Dexter's Laboratory 2-39
My files are the full broadcast episodes so they contain all 2-3 parts of the episode. TMDB counts each segment as one episode. So the 39th aired episode of season 2 of Dexter's Lab, Last But Not Beast, shows as the 39th segment of season 2, Ice Cream Scream instead.
https://www.themoviedb.org/tv/4229-dext ... y/season/2
And this is a consistent issue across every show where I have full broadcast files and the database counts segments as episodes.
Re: File naming when episode parts aren't split.
Posted: Sat Sep 13, 2025 5:56 am
by mik_s
I did a bit or research on this as the naming conventions are not consistent between database sites due to each broadcast being a compilation of episodes but DVDs can have each one separate. There is no way for UMS to know if each video has more than one episodes.
I did see
this and
this on Reddit with the same problem with Plex.
Kodi uses a standard naming convention that should work as shown
here. UMS should follow this but is not something I have tried to confirm if it does.
You may have to use the format "Dexter's Laboratory - S01E01-E03.mkv" for example.
So for "Dexter's Laboratory - S2E39 - Last But Not Beast.avi" it would have to be "Dexter's Laboratory - S02E108 - Last But Not Beast.avi"
(I don't know if S2 or S02 is important but does keep it consistent)
I don't know how it would show the episode name as it would get very long if it adds this all together, especially if you use the prettify filenames option as it could exceed the character limit. It probably will work fine on the web interface.
This might be where it could be better to split each broadcast to separate episodes.
Edit: I did a test by renaming a video to "Dexter's Laboratory - S02E105-E107.mkv" to see how it would show. Looks like UMS ignores the range and only shows the first and last episode name in the filename. This may be to keep the filename short and does bring up the metadata, just for the first episode though.

- Screenshot 2025-09-12 191315.png (473.98 KiB) Viewed 42267 times