FAQ  •  Register  •  Login

Can't extract series metadata

<<

epiniguin

Serviio newbie

Posts: 1

Joined: Tue Apr 07, 2020 6:59 pm

Post Tue Apr 07, 2020 7:26 pm

Can't extract series metadata

Hi!
I'm using Serviio 2.0.
Now I have a problem with extracting metadata for series film.
IMDB - https://www.imdb.com/title/tt0076992/
TheTVDB - https://thetvdb.com/series/288383/seasons/official/1

I created a folder "Buddenbrooks [tt0076992].1979"
There are episodes files with names "Buddenbrooks S01E01 - 01", "Buddenbrooks S01E02 - 02" etc. in this folder.

But after extracting a metadata this film is neither in the Series folder nor in the Films folder.
There are "Buddenbrooks S01E01 - 01", "Buddenbrooks S01E02 - 02" etc. in the last added folder.

It is a debug log.

  Code:
2020-04-07 22:14:49,429 DEBUG [PipeManager] Adding file '/mnt/media/video/Buddenbrooks [tt0076992].1979/Buddenbrooks S01E01 - 01.avi' t
o the delta queue (file added)
2020-04-07 22:14:49,433 DEBUG [MediaFileIndexer] Found file '/mnt/media/video/Buddenbrooks [tt0076992].1979/Buddenbrooks S01E01 - 01.av
i', checking if it's already in the Library
2020-04-07 22:14:49,433 DEBUG [MediaItemDAOImpl] Checking if DB already contains media item /mnt/media/video/Buddenbrooks [tt0076992].1
979/Buddenbrooks S01E01 - 01.avi
2020-04-07 22:14:49,434 DEBUG [MediaItemDAOImpl] Looking up a media item for file path: /mnt/media/video/Buddenbrooks [tt0076992].1979/
Buddenbrooks S01E01 - 01.avi, ignore case: false
2020-04-07 22:14:49,434 DEBUG [MediaItemDAOImpl] Media item /mnt/media/video/Buddenbrooks [tt0076992].1979/Buddenbrooks S01E01 - 01.avi
 doesn't exist in DB yet
2020-04-07 22:14:49,434 DEBUG [MediaFileIndexer] File not in Library, will add it
2020-04-07 22:14:49,434 DEBUG [LibraryHelper] Checking if the file is complete using file lock
2020-04-07 22:14:49,435 DEBUG [LibraryHelper] Checking if the file is complete using file size
2020-04-07 22:14:50,186 DEBUG [LibraryHelper] File is complete with size 428046336
2020-04-07 22:14:50,186 DEBUG [VideoExtractionStrategy] Extracting metadata of video file: /mnt/media/video/Buddenbrooks [tt0076992].19
79/Buddenbrooks S01E01 - 01.avi
2020-04-07 22:14:50,186 DEBUG [FFMPEGWrapper] Invoking FFMPEG to retrieve media information for file: /mnt/media/video/Buddenbrooks [tt
0076992].1979/Buddenbrooks S01E01 - 01.avi
2020-04-07 22:14:50,186 DEBUG [ProcessExecutor] Starting ffmpeg -i /mnt/media/video/Buddenbrooks [tt0076992].1979/Buddenbrooks S01E01 -
 01.avi
2020-04-07 22:14:50,430 DEBUG [FFMPEGWrapper] Invoking FFMPEG to retrieve thumbnail for file: /mnt/media/video/Buddenbrooks [tt0076992]
.1979/Buddenbrooks S01E01 - 01.avi
2020-04-07 22:14:50,431 DEBUG [ProcessExecutor] Starting ffmpeg -threads 0 -ss 120 -i /mnt/media/video/Buddenbrooks [tt0076992].1979/Bu
ddenbrooks S01E01 - 01.avi -an -frames:v 1 -f image2 pipe:
2020-04-07 22:14:50,762 DEBUG [OpenSubtitlesService] Generating hash code for opensubtitles.org for file Buddenbrooks S01E01 - 01.avi
2020-04-07 22:14:50,773 DEBUG [MetadataExtractionCoordinator] Metadata found via extractor EMBEDDED: VideoMetadata [title=Buddenbrooks
S01E01 - 01, filePath=/mnt/media/video/Buddenbrooks [tt0076992].1979/Buddenbrooks S01E01 - 01.avi, fileSize=428046336, audioTracks=1/MP
3/112/2/48000//false, bitrate=984, container=AVI, contentType=UNKNOWN, rating=null, duration=3477, episodeNumber=null, fps=23.976, h264
Levels={}, h264Profile=null, ftyp=null, height=432, seasonNumber=null, seriesName=null, timestampType=null, videoBitrate=863, videoCode
c=MPEG4, videoFourCC=xvid, videoStreamIndex=0, width=608, embeddedSubtitles=[]]
2020-04-07 22:14:50,774 DEBUG [TheTVDBv2SourceAdaptor] Searching for series by IMDB ID 'tt0076992'
2020-04-07 22:14:50,774 DEBUG [TheTVDBv2SourceAdaptor] Searching for episode (seriesId = 288383, season = 1, episode = 1)
2020-04-07 22:14:50,775 DEBUG [TheTVDBv2SourceAdaptor] Request on thetvdb.com returned no results: https://api.thetvdb.com/series/28838
3/episodes/query?dvdSeason=1&dvdEpisode=1
2020-04-07 22:14:50,775 DEBUG [TheTVDBv2SourceAdaptor] Fetching episode details for episode '5050674' in language: default
2020-04-07 22:14:50,776 DEBUG [TheTVDBv2SourceAdaptor] Fetching episode details for episode '5050674' in language: ru
2020-04-07 22:14:50,776 DEBUG [TheTVDBv2SourceAdaptor] Fetching series details for series '288383' in language: default
2020-04-07 22:14:50,776 DEBUG [TheTVDBv2SourceAdaptor] Fetching series details for series '288383' in language: ru
2020-04-07 22:14:50,777 DEBUG [TheTVDBv2SourceAdaptor] Fetching series actors details for series '288383'
2020-04-07 22:14:50,777 DEBUG [TheTVDBv2SourceAdaptor] Request on thetvdb.com returned no results: https://api.thetvdb.com/series/28838
3/actors
2020-04-07 22:14:50,777 DEBUG [TheTVDBv2SourceAdaptor] Fetching series images details for series '288383' in language: default
2020-04-07 22:14:50,778 DEBUG [TheTVDBv2SourceAdaptor] Request on thetvdb.com returned no results: https://api.thetvdb.com/series/28838
3/images/query?keyType=poster
2020-04-07 22:14:50,778 DEBUG [TheTVDBv2SourceAdaptor] Fetching series images details for series '288383' in language: ru
2020-04-07 22:14:50,778 DEBUG [TheTVDBv2SourceAdaptor] Request on thetvdb.com returned no results: https://api.thetvdb.com/series/28838
3/images/query?keyType=poster
2020-04-07 22:14:50,778 DEBUG [TheTVDBv2SourceAdaptor] Fetching series images details for series '288383' in language: default
2020-04-07 22:14:50,778 DEBUG [TheTVDBv2SourceAdaptor] Fetching series images details for series '288383' in language: ru
2020-04-07 22:14:50,779 DEBUG [TheTVDBv2SourceAdaptor] Request on thetvdb.com returned no results: https://api.thetvdb.com/series/28838
3/images/query?keyType=fanart
2020-04-07 22:14:51,487 DEBUG [TheTVDBv2SourceAdaptor] Retrieved banner: http://thetvdb.com/banners/fanart/original/288383-1.jpg
2020-04-07 22:14:51,487 DEBUG [MetadataExtractionCoordinator] Metadata found via extractor ONLINE_VIDEO_SOURCES: VideoMetadata [title=n
ull, filePath=null, fileSize=0, audioTracks=, bitrate=null, container=null, contentType=EPISODE, rating=null, duration=null, episodeNum
ber=1, fps=null, h264Levels={}, h264Profile=null, ftyp=null, height=null, seasonNumber=1, seriesName=null, timestampType=null, videoBit
rate=null, videoCodec=null, videoFourCC=null, videoStreamIndex=null, width=null, embeddedSubtitles=[]]
2020-04-07 22:14:51,491 DEBUG [VideoService] Adding video into database: Buddenbrooks S01E01 - 01
2020-04-07 22:14:51,491 DEBUG [FolderDAOImpl] Looking for folder hierarchy Buddenbrooks [tt0076992].1979
2020-04-07 22:14:51,491 DEBUG [CoverImageService] Resizing and storing cover art image for max resolution of 320x320
2020-04-07 22:14:51,491 DEBUG [ImageUtils] Starting image resize, size = 28982 bytes
2020-04-07 22:14:51,503 DEBUG [ImageUtils] Returning resized image, size = 15358 bytes
2020-04-07 22:14:51,503 DEBUG [CoverImageService] Image successfully resized
2020-04-07 22:14:51,503 DEBUG [CoverImageService] Resizing and storing cover art image for max resolution of 160x160
2020-04-07 22:14:51,503 DEBUG [ImageUtils] Starting image resize, size = 15358 bytes
2020-04-07 22:14:51,508 DEBUG [ImageUtils] Returning resized image, size = 5692 bytes
2020-04-07 22:14:51,508 DEBUG [CoverImageService] Image successfully resized
2020-04-07 22:14:51,508 DEBUG [CoverImageDAOImpl] Creating a new ImageCover (length = 5692)
2020-04-07 22:14:51,517 DEBUG [VideoDAOImpl] Creating a new Video (title = Buddenbrooks S01E01 - 01)
2020-04-07 22:14:51,521 DEBUG [PersonDAOImpl] Adding a Person Unknown to media item 3251 as DIRECTOR
2020-04-07 22:14:51,521 DEBUG [PersonDAOImpl] Reading a Person (name = Unknown)
2020-04-07 22:14:51,521 DEBUG [PersonDAOImpl] Checking if person 67 has a role DIRECTOR for media item 3251
2020-04-07 22:14:51,524 DEBUG [PersonDAOImpl] Adding a Person Unknown to media item 3251 as PRODUCER
2020-04-07 22:14:51,524 DEBUG [PersonDAOImpl] Reading a Person (name = Unknown)
2020-04-07 22:14:51,525 DEBUG [PersonDAOImpl] Checking if person 67 has a role PRODUCER for media item 3251
2020-04-07 22:14:51,528 DEBUG [PersonDAOImpl] Adding a Person Unknown to media item 3251 as ACTOR
2020-04-07 22:14:51,528 DEBUG [PersonDAOImpl] Reading a Person (name = Unknown)
2020-04-07 22:14:51,528 DEBUG [PersonDAOImpl] Checking if person 67 has a role ACTOR for media item 3251
2020-04-07 22:14:51,531 DEBUG [GenreDAOImpl] Retrieving list of genres for media item 3251
2020-04-07 22:14:51,531 DEBUG [GenreDAOImpl] Reading a Genre (name = Drama)
2020-04-07 22:14:51,531 DEBUG [GenreService] Genre Drama found
2020-04-07 22:14:51,531 DEBUG [GenreDAOImpl] Adding a new Media Item to Genre (media item = 3251, genre = 548)
2020-04-07 22:14:51,532 DEBUG [GenreDAOImpl] Reading a Genre (name = Mini-Series)
2020-04-07 22:14:51,532 DEBUG [GenreService] Genre Mini-Series found
2020-04-07 22:14:51,533 DEBUG [GenreDAOImpl] Adding a new Media Item to Genre (media item = 3251, genre = 549)
2020-04-07 22:14:51,534 DEBUG [MetadataDescriptorDAOImpl] Creating a new MetadataDescriptor (type = ONLINE_VIDEO_SOURCES, mediaItemId = 3251)
2020-04-07 22:14:51,536 DEBUG [MetadataDescriptorDAOImpl] Creating a new MetadataDescriptor (type = EMBEDDED, mediaItemId = 3251)
2020-04-07 22:14:51,539 DEBUG [CoverImageDAOImpl] Reading a CoverImage for folder (id = 812)
2020-04-07 22:14:51,541 INFO  [MediaFileIndexer] Added file '/mnt/media/video/Buddenbrooks [tt0076992].1979/Buddenbrooks S01E01 - 01.avi' (title: Buddenbrooks S01E01 - 01) to Library
2020-04-07 22:14:51,554 DEBUG [FolderDAOImpl] Reading a Folder (id = 812)
2020-04-07 22:14:51,554 DEBUG [FolderDAOImpl] Getting number of media items in folder 812
2020-04-07 22:14:52,810 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 3251)
2020-04-07 22:14:52,811 DEBUG [MediaItemDAOImpl] Getting counts of media items by type
2020-04-07 22:14:52,894 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 5173)
2020-04-07 22:14:53,859 DEBUG [FeedUpdaterWorker] Checking for new and expired online resources
2020-04-07 22:14:53,859 DEBUG [OnlineRepositoryDAOImpl] Reading all OnlineRepositories
2020-04-07 22:14:53,860 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 2)
2020-04-07 22:14:53,860 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 3)
2020-04-07 22:14:53,860 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 5)
2020-04-07 22:14:54,013 DEBUG [SearchManager] Committing search index
2020-04-07 22:14:54,752 DEBUG [AbstractCDSLibraryIndexingListener] Library updated, notifying CDS
2020-04-07 22:14:54,753 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2020-04-07 22:14:54,753 DEBUG [LocalContentCacheDecorator] Cleared cache (local_default)
2020-04-07 22:14:57,968 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 3251)
2020-04-07 22:14:57,969 DEBUG [MediaItemDAOImpl] Getting counts of media items by type
2020-04-07 22:15:03,936 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 3251)
2020-04-07 22:15:03,937 DEBUG [MediaItemDAOImpl] Getting counts of media items by type
2020-04-07 22:15:08,967 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 3251)
2020-04-07 22:15:08,968 DEBUG [MediaItemDAOImpl] Getting counts of media items by type
2020-04-07 22:15:14,405 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 3251)
2020-04-07 22:15:14,406 DEBUG [MediaItemDAOImpl] Getting counts of media items by type
2020-04-07 22:15:19,455 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 3251)
2020-04-07 22:15:19,455 DEBUG [MediaItemDAOImpl] Getting counts of media items by type


I see one problem in it:
  Code:
Request on thetvdb.com returned no results: https://api.thetvdb.com/series/28838
3/episodes/query?dvdSeason=1&dvdEpisode=1


Serviio search by dvdSeason and dvdEpisode but does not search by airedSeason and airedEpisode.
This film have not dvd seasons and dvd episodes but have aired season 1 and aired episodes.
Perhaps this is the problem. Or is there other reason?
<<

atc98092

User avatar

DLNA master

Posts: 5440

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Tue Apr 07, 2020 8:35 pm

Re: Can't extract series metadata

I realize you used the IMDB ID, but could the problem be that TheTVDB lists this show as "Die Buddenbrooks"? Sometimes these algorithms are just persnickety.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Apr 13, 2020 5:51 pm

Re: Can't extract series metadata

IN this case it's because the data for this series is not there in English (default) or Russian (your preferred language), but only in German. Unfortunately there is no way to get existing language data for a series, as far as I can see, from the API.

So you might get it working if you add "de" as your additional preferred language code in the console.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 40 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.