Page 1 of 1

Episodes are all named "Episode N".... No real titles.

PostPosted: Thu Jun 01, 2023 1:34 pm
by n3mmr
After switching to 2.3 episodes are no longer listed with their proper titles.
You just get to choose from a list of episodes named "Episode N"

Am I missing some config or something or is this the way it'll be from now on???

(And I would like to see names for seasons, too, of some series.)

Re: Episodes are all named "Episode N".... No real titles.

PostPosted: Thu Jun 01, 2023 3:52 pm
by atc98092
Hi there! How are your series files named? I have 2.3 on both of my servers, and everything is named correctly. All of my files are named in the same manner. For example, "Columbo - S00E01 - Prescription Murder.mkv" or "Doctor Who - S00E07 - Voyage of the Damned.mkv".

For a few series that have multiple versions with the same title (Dragnet, Hawaii Five-0, Doctor Who, and some others) I include the year the series started to ensure the metadata extractor gets the right version. So for Doctor Who, I have one folder with 1963 in the folder name and another with 2005 in the folder name.

Re: Episodes are all named "Episode N".... No real titles.

PostPosted: Fri Jun 02, 2023 5:24 am
by n3mmr
atc98092 wrote:Hi there! How are your series files named? I have 2.3 on both of my servers, and everything is named correctly. All of my files are named in the same manner. For example, "Columbo - S00E01 - Prescription Murder.mkv" or "Doctor Who - S00E07 - Voyage of the Damned.mkv".

For a few series that have multiple versions with the same title (Dragnet, Hawaii Five-0, Doctor Who, and some others) I include the year the series started to ensure the metadata extractor gets the right version. So for Doctor Who, I have one folder with 1963 in the folder name and another with 2005 in the folder name.


So the name specified in the Episode's file name is supposed to be used verbatim in the presentation?
Are there no further conditions that need be met for this to work? Is the name checked in any way aginst, say, TMDB???

I have a video file "Rosemary & Thyme - S01E01 - And No Birds Sing.mkv" which is presented as "01. Episode 1" under "Rosemary & Thyme -> Season 1 " in Mediabrowser on my PC as well as on my CCwGGTV in either VLC or Kodi.

What am I missing???

P. S. Ideally I would like to see proper episode titles AND proper season titles.
Dalgliesh (1983) should have a season 1 title "Death of an Expert Witness" and Rosemary & Thyme should have a season 1 where episode 1 has the title "And No Birds Sing".

Re: Episodes are all named "Episode N".... No real titles.

PostPosted: Fri Jun 02, 2023 1:33 pm
by atc98092
There are several variations of file naming that will work, but overall yes some more detail is required in the file name. Serviio does not use IMDB as an online metadata source. It instead uses themoviedb.org. You can use the IMDB ID number, which is supported by themoviedb. See this page for more detailed information about file naming.

https://www.serviio.org/index.php?optio ... icle&id=12

Re: Episodes are all named "Episode N".... No real titles.

PostPosted: Fri Jun 02, 2023 5:32 pm
by n3mmr
atc98092:
I have looked at the link https://www.serviio.org/index.php?optio ... icle&id=12, and I follow those rules, but it does not work.
Where does serviio 2.3 find episode titles? In themoviedb? In the file name? By looking in the video file's internal metadata?

Please comment on this:

I have a file named "Rosemary & Thyme - S01E01 - And No Birds Sing.mkv".
You appear to say that with a name like that the episode should be presented as "01. And No Birds Sing" under season 1 of Rosemary & Thyme.
Instead this episode appears as "01. Episode 1".
Why??

Re: Episodes are all named "Episode N".... No real titles.

PostPosted: Fri Jun 02, 2023 8:40 pm
by atc98092
I looked up Rosemary & Thyme on themoviedb, and they list the series name and episode name correctly. I don't know why Serviio is not using that name in the metadata. I don't know if it will help, but you could move the files out of the Serviio library location (which removes it from the internal DB) and then add it back to see if it picks it up correctly. I'm not certain the Serviio log will show what's happening unless you change it to detailed logging. But that would only be valuable if you remove the file from the library and then add it back.

Re: Episodes are all named "Episode N".... No real titles.

PostPosted: Sat Jun 03, 2023 9:30 am
by n3mmr
atc98092 wrote:I looked up Rosemary & Thyme on themoviedb, and they list the series name and episode name correctly. I don't know why Serviio is not using that name in the metadata. I don't know if it will help, but you could move the files out of the Serviio library location (which removes it from the internal DB) and then add it back to see if it picks it up correctly. I'm not certain the Serviio log will show what's happening unless you change it to detailed logging. But that would only be valuable if you remove the file from the library and then add it back.

Did the log trick, and this is what Serviio told me it did and/or tried to do:
  Code:
2023-06-03T11:26:08,988 DEBUG [RendererService] Rendered 1f1f7074-bbc0-4daa-9f51-626d926e904b doesn't have a User assigned to it, using Default
2023-06-03T11:26:08,988 DEBUG [DiscoverySearchResponder] Sending 1 M-SEARCH response message(s) to /192.168.1.204:10969
2023-06-03T11:26:09,095 DEBUG [OpenSubtitlesService] Generating hash code for opensubtitles.com for file Rosemary & Thyme - S01E01 - And No Birds Sing.avi
2023-06-03T11:26:09,095 DEBUG [MetadataExtractionCoordinator] Metadata found via extractor EMBEDDED: VideoMetadata [title=Rosemary & Thyme - S01E01 - And No Birds Sing, filePath=/mnt/cifs/Video/TV-Series/Rosemary & Thyme/Rosemary & Thyme -S01E01 - And No Birds Sing.avi, fileSize=598059008, audioTracks=1/MP3/128/2/48000//false,2/AC3/192/2/48000//false, bitrate=1634, container=AVI, contentType=UNKNOWN, rating=null, duration=2926, episodeNumber=null, fps=25, h264Levels={}, h264Profile=null, ftyp=null, height=400, seasonNumber=null, seriesName=null, timestampType=null, videoBitrate=null, videoCodec=MPEG4, videoFourCC=dx50, videoStreamIndex=0, width=720, embeddedSubtitles=[]]
2023-06-03T11:26:09,096 DEBUG [TheMovieDBTvSourceAdaptor] Searching for 'rosemary & thyme'  (language: sv)
2023-06-03T11:26:09,156 DEBUG [TheMovieDBTvSourceAdaptor] Found 1 matches
2023-06-03T11:26:09,156 DEBUG [TheMovieDBTvSourceAdaptor] Searching for 'rosemary & thyme'  (language: sv)
2023-06-03T11:26:09,159 DEBUG [TheMovieDBTvSourceAdaptor] Found 1 matches
2023-06-03T11:26:09,159 DEBUG [TheMovieDBTvSourceAdaptor] Found a suitable match, id = 2059
2023-06-03T11:26:09,159 DEBUG [TheMovieDBTvSourceAdaptor] Retrieving details ofseries (seriesId = 2059, language = sv)
2023-06-03T11:26:09,162 DEBUG [TheMovieDBTvSourceAdaptor] Retrieving details ofepisode (seriesId = 2059, season = 1, episode = 1, language = sv)
2023-06-03T11:26:09,348 DEBUG [TheMovieDBTvSourceAdaptor] Retrieved poster: http://image.tmdb.org/t/p/w500/lqWPl0dZK1EPjUH0iZgEJuCtvuO.jpg
2023-06-03T11:26:09,348 DEBUG [MetadataExtractionCoordinator] Metadata found via extractor ONLINE_VIDEO_SOURCES: VideoMetadata [title=Avsnitt 1, filePath=null,fileSize=0, audioTracks=, bitrate=null, container=null, contentType=EPISODE, rating=null, duration=null, episodeNumber=1, fps=null, h264Levels={}, h264Profile=null, ftyp=null, height=null, seasonNumber=1, seriesName=Rosemary & Thyme, timestampType=null, videoBitrate=null, videoCodec=null, videoFourCC=null, videoStreamIndex=null, width=null, embeddedSubtitles=[]]
2023-06-03T11:26:09,349 DEBUG [VideoService] Adding video into database: Avsnitt 1
2023-06-03T11:26:09,349 DEBUG [FolderDAOImpl] Looking for folder hierarchy Rosemary & Thyme
2023-06-03T11:26:09,350 DEBUG [SeriesDAOImpl] Reading a Series (name = Rosemary& Thyme, firstAiredYear = Optional[2003])
2023-06-03T11:26:09,350 DEBUG [VideoService] Series Rosemary & Thyme found
2023-06-03T11:26:09,350 DEBUG [CoverImageService] Resizing and storing cover art image for max resolution of 320x320
2023-06-03T11:26:09,350 DEBUG [ImageUtils] Starting image resize, size = 38129 bytes
2023-06-03T11:26:09,369 DEBUG [ImageUtils] Returning resized image, size = 15398 bytes
2023-06-03T11:26:09,369 DEBUG [CoverImageService] Image successfully resized
2023-06-03T11:26:09,369 DEBUG [CoverImageService] Resizing and storing cover art image for max resolution of 160x160
2023-06-03T11:26:09,369 DEBUG [ImageUtils] Starting image resize, size = 15398 bytes
2023-06-03T11:26:09,375 DEBUG [ImageUtils] Returning resized image, size = 5220bytes
2023-06-03T11:26:09,375 DEBUG [CoverImageService] Image successfully resized
2023-06-03T11:26:09,375 DEBUG [CoverImageDAOImpl] Creating a new ImageCover (length = 5220)
2023-06-03T11:26:09,405 DEBUG [VideoDAOImpl] Creating a new Video (title = Avsnitt 1)
2023-06-03T11:26:09,421 DEBUG [PersonDAOImpl] Adding a Person Unknown to media item 8725 as DIRECTOR
2023-06-03T11:26:09,421 DEBUG [PersonDAOImpl] Reading a Person (name = Unknown)
2023-06-03T11:26:09,422 DEBUG [PersonDAOImpl] Checking if person 1 has a role DIRECTOR for media item 8725
2023-06-03T11:26:09,438 DEBUG [PersonDAOImpl] Adding a Person Unknown to media item 8725 as PRODUCER
2023-06-03T11:26:09,439 DEBUG [PersonDAOImpl] Reading a Person (name = Unknown)
2023-06-03T11:26:09,439 DEBUG [PersonDAOImpl] Checking if person 1 has a role PRODUCER for media item 8725
2023-06-03T11:26:09,453 DEBUG [PersonDAOImpl] Adding a Person Pam Ferris to media item 8725 as ACTOR
2023-06-03T11:26:09,453 DEBUG [PersonDAOImpl] Reading a Person (name = Pam Ferris)
2023-06-03T11:26:09,454 DEBUG [PersonDAOImpl] Checking if person 8836 has a role ACTOR for media item 8725
2023-06-03T11:26:09,468 DEBUG [PersonDAOImpl] Adding a Person Felicity Kendal to media item 8725 as ACTOR
2023-06-03T11:26:09,468 DEBUG [PersonDAOImpl] Reading a Person (name = FelicityKendal)
2023-06-03T11:26:09,468 DEBUG [PersonDAOImpl] Checking if person 8837 has a role ACTOR for media item 8725
2023-06-03T11:26:09,479 DEBUG [GenreDAOImpl] Retrieving list of genres for media item 8725
2023-06-03T11:26:09,479 DEBUG [GenreDAOImpl] Reading a Genre (name = Drama)
2023-06-03T11:26:09,479 DEBUG [GenreService] Genre Drama found
2023-06-03T11:26:09,479 DEBUG [GenreDAOImpl] Adding a new Media Item to Genre (media item = 8725, genre = 1)
2023-06-03T11:26:09,490 DEBUG [MetadataDescriptorDAOImpl] Creating a new MetadataDescriptor (type = ONLINE_VIDEO_SOURCES, mediaItemId = 8725)
2023-06-03T11:26:09,501 DEBUG [MetadataDescriptorDAOImpl] Creating a new MetadataDescriptor (type = EMBEDDED, mediaItemId = 8725)


I'll mull this over a bit.... Maybe it's a metadata search language issue????

Re: Episodes are all named "Episode N".... No real titles.

PostPosted: Sat Jun 03, 2023 9:41 am
by n3mmr
Yes, it seems there is a problem with my choice of preferred language, I must have misunderstood how this worked.

Re: Episodes are all named "Episode N".... No real titles.

PostPosted: Sat Jun 03, 2023 9:57 am
by n3mmr
Now I need to somehow recreate my library to get the proper Episode titles. How???

Re: Episodes are all named "Episode N".... No real titles.

PostPosted: Sat Jun 03, 2023 5:11 pm
by atc98092
n3mmr wrote:Now I need to somehow recreate my library to get the proper Episode titles. How???


The fastest way to refresh the library is to remove the files from the Serviio library location then add them back. It might be simplest to simply remove that location from the Serviio shared files library location and then adding it back after a few minutes.

Re: Episodes are all named "Episode N".... No real titles.

PostPosted: Sun Jun 04, 2023 8:27 am
by n3mmr
There should be some sort of console control for doing that...
"repopulate presentation menues"???

Re: Episodes are all named "Episode N".... No real titles.

PostPosted: Sun Jun 04, 2023 10:08 am
by n3mmr
I now have "proper", at least somewhat useful, titles on all episodes.
The "Preferred Language" setting for Metadata retrieval was the problem.
Which I think is odd and indicative of a need for better title handling.

I would like to be able to specify a set of "Accepted Original Languages" and a sequence of preferred other languages to use for metadata retrieval.

So that I could specify that if the original language for a series is one of Swedish, English, Danish, German, Italian or French I want the original language title, and otherwise I want the swedish translation of the title.
I think most "minor league language" native speakers would prefer doing things that way.