XBMC files not loading
I am having trouble loading the XBMC nfo files for my files with Serviio 1.0.1. For example, I have a directory that contains all episodes of a series with a jpg thumbnail, mp4 file and an nfo all with the same name filename for an episode but with a different file extension. For example, below is a directory listing with two example episodes;
The contents of the s05e03-The_Death_Song_of_Uther_Pendragon.nfo file;
Detailed logging turned on when refreshing the metadata.
This line seems a little strange to me as it seems to be looking for a tvshow.nfo after finding the <episodename>.nfo file;
When browsing the media, I have no entries in the 'Series' folder and no details (such as plot) are available for the episodes when selected. Any pointers would be much appreciated as I searched but did not find anything to help me.
Regards,
Stuart
- Code:
-rw-r--r--. 1 apache media 42923 Oct 20 23:03 s05e03-The_Death_Song_of_Uther_Pendragon.jpg
-rw-r--r--. 1 apache media 487216035 Oct 20 23:03 s05e03-The_Death_Song_of_Uther_Pendragon.mp4
-rw-r--r--. 1 apache media 743 Oct 20 23:03 s05e03-The_Death_Song_of_Uther_Pendragon.nfo
-rw-r--r--. 1 apache media 50344 Oct 27 23:12 s05e04-Anothers_Sorrow.jpg
-rw-r--r--. 1 apache media 803068211 Oct 27 23:12 s05e04-Anothers_Sorrow.mp4
-rw-r--r--. 1 apache media 536 Oct 27 23:12 s05e04-Anothers_Sorrow.nfo
The contents of the s05e03-The_Death_Song_of_Uther_Pendragon.nfo file;
- Code:
<episodedetails>
<title>Merlin: Series 5 - 3. The Death Song of Uther Pendragon</title>
<rating>10.00</rating>
<season>5</season>
<episode>3</episode>
<plot>When a stranger gives Arthur the power to summon the dead, the king finds himself torn between head and heart. Unable to resist temptation, he seizes the chance to speak to the person he misses most - his father, Uther. But the spirit world is a dark and dangerous place... Little does Arthur realize that his decision comes at a terrible price. Against all odds, Merlin must put right Arthur's mistake before Camelot and everything they have built is destroyed forever.</plot>
<credits>BBC One</credits>
<aired>2012-10-20T20:25:00+01:00</aired>
</episodedetails>
Detailed logging turned on when refreshing the metadata.
- Code:
2012-11-12 15:27:53,771 DEBUG [MediaItemDAOImpl] Getting file of media item 17317
2012-11-12 15:27:53,772 DEBUG [VideoExtractionStrategy] Extracting metadata of video file: /mnt/mars/media/video/TV/Merlin/Series5/s05e03-The_Death_Song_of_Uther_Pendragon.mp4
2012-11-12 15:27:53,772 DEBUG [FFMPEGWrapper] Invoking FFMPEG to retrieve media information for file: /mnt/mars/media/video/TV/Merlin/Series5/s05e03-The_Death_Song_of_Uther_Pendragon.mp4
2012-11-12 15:27:53,772 DEBUG [ProcessExecutor] Starting ffmpeg -i /mnt/mars/media/video/TV/Merlin/Series5/s05e03-The_Death_Song_of_Uther_Pendragon.mp4
2012-11-12 15:27:53,832 DEBUG [FFmpegMetadataRetriever] Retrieving H264 profile/level for file '/mnt/mars/media/video/TV/Merlin/Series5/s05e03-The_Death_Song_of_Uther_Pendragon.mp4'
2012-11-12 15:27:53,832 DEBUG [FFMPEGWrapper] Invoking FFMPEG to retrieve H264 header for file: /mnt/mars/media/video/TV/Merlin/Series5/s05e03-The_Death_Song_of_Uther_Pendragon.mp4
2012-11-12 15:27:53,832 DEBUG [ProcessExecutor] Starting ffmpeg -i /mnt/mars/media/video/TV/Merlin/Series5/s05e03-The_Death_Song_of_Uther_Pendragon.mp4 -frames:v 1 -c:v copy -f h264 -vbsf h264_mp4toannexb -an pipe:
2012-11-12 15:27:53,892 DEBUG [FFmpegMetadataRetriever] File '/mnt/mars/media/video/TV/Merlin/Series5/s05e03-The_Death_Song_of_Uther_Pendragon.mp4' has H264 profile null, level null and null ref frames
2012-11-12 15:27:53,892 DEBUG [LibraryManager] Metadata found via extractor EMBEDDED: VideoMetadata [title=s05e03-The_Death_Song_of_Uther_Pendragon, filePath=/mnt/mars/media/video/TV/Merlin/Series5/s05e03-The_Death_Song_of_Uther_Pendragon.mp4, fileSize=487216035, audioBitrate=94, audioCodec=AAC, audioStreamIndex=1, bitrate=1501, channels=2, container=MP4, contentType=UNKNOWN, coverImage=null, duration=2595, episodeNumber=null, fps=25, frequency=48000, h264Level=null, h264Profile=null, mkvHeaderCompression=null, ftyp=isom, height=468, seasonNumber=null, seriesName=null, timestampType=null, videoBitrate=1401, videoCodec=H264, videoStreamIndex=0, width=832]
2012-11-12 15:27:53,892 DEBUG [XBMCExtractor] Checking if file 's05e03-The_Death_Song_of_Uther_Pendragon.nfo' is a XBMC NFO file
2012-11-12 15:27:53,896 DEBUG [XBMCExtractor] File 's05e03-The_Death_Song_of_Uther_Pendragon.nfo' is a valid XBMC file
2012-11-12 15:27:53,896 DEBUG [XBMCExtractor] Found XBMC NFO file s05e03-The_Death_Song_of_Uther_Pendragon.nfo. Will try to extract metadata from it.
2012-11-12 15:27:53,900 DEBUG [XBMCExtractor] Parsing NFO file for TV metadata
2012-11-12 15:27:53,904 WARN [LibraryManager] Cannot read metadata of file /mnt/mars/media/video/TV/Merlin/Series5/s05e03-The_Death_Song_of_Uther_Pendragon.mp4 via extractor XBMC. Message: File '/mnt/mars/media/video/TV/Merlin/Series5/tvshow.nfo' is not a XBMC show file
2012-11-12 15:27:53,904 DEBUG [CoverImageInFolderExtractor] Found cover image s05e03-The_Death_Song_of_Uther_Pendragon.jpg
2012-11-12 15:27:53,905 DEBUG [LibraryManager] Metadata found via extractor COVER_IMAGE_IN_FOLDER: VideoMetadata [title=null, filePath=null, fileSize=0, audioBitrate=null, audioCodec=null, audioStreamIndex=null, bitrate=null, channels=null, container=null, contentType=null, coverImage=org.serviio.library.local.metadata.ImageDescriptor@33367211, duration=null, episodeNumber=null, fps=null, frequency=null, h264Level=null, h264Profile=null, mkvHeaderCompression=null, ftyp=null, height=null, seasonNumber=null, seriesName=null, timestampType=null, videoBitrate=null, videoCodec=null, videoStreamIndex=null, width=null]
2012-11-12 15:27:53,905 DEBUG [VideoService] Updating video in database: s05e03-The_Death_Song_of_Uther_Pendragon
2012-11-12 15:27:53,905 DEBUG [VideoDAOImpl] Reading a Video (id = 17317)
2012-11-12 15:27:53,905 DEBUG [GenreDAOImpl] Reading a Genre (name = Unknown)
2012-11-12 15:27:53,906 DEBUG [GenreService] Genre Unknown found
2012-11-12 15:27:53,906 DEBUG [CoverImageService] Resizing and storing cover art image
2012-11-12 15:27:53,906 DEBUG [ImageUtils] Starting image resize, size = 42923 bytes
2012-11-12 15:27:53,971 DEBUG [ImageUtils] Returning resized image, size = 4139 bytes
2012-11-12 15:27:53,971 DEBUG [CoverImageService] Image successfully resized
2012-11-12 15:27:53,971 DEBUG [CoverImageDAOImpl] Creating a new ImageCover (length = 4139)
2012-11-12 15:27:54,013 DEBUG [VideoDAOImpl] Updating Video (id = 17317)
2012-11-12 15:27:54,030 DEBUG [PersonDAOImpl] Adding a Person Unknown to media item 17317 as DIRECTOR
2012-11-12 15:27:54,030 DEBUG [PersonDAOImpl] Reading a Person (name = Unknown)
2012-11-12 15:27:54,030 DEBUG [PersonDAOImpl] Checking if person 1 has a role DIRECTOR for media item 17317
2012-11-12 15:27:54,030 DEBUG [PersonDAOImpl] Adding a Person Unknown to media item 17317 as PRODUCER
2012-11-12 15:27:54,030 DEBUG [PersonDAOImpl] Reading a Person (name = Unknown)
2012-11-12 15:27:54,030 DEBUG [PersonDAOImpl] Checking if person 1 has a role PRODUCER for media item 17317
2012-11-12 15:27:54,030 DEBUG [PersonDAOImpl] Adding a Person Unknown to media item 17317 as ACTOR
2012-11-12 15:27:54,030 DEBUG [PersonDAOImpl] Reading a Person (name = Unknown)
2012-11-12 15:27:54,030 DEBUG [PersonDAOImpl] Checking if person 1 has a role ACTOR for media item 17317
2012-11-12 15:27:54,031 DEBUG [MetadataDescriptorDAOImpl] Deleting all MetadataDescriptors for MediaItem (id = 17317)
2012-11-12 15:27:54,038 DEBUG [MetadataDescriptorDAOImpl] Creating a new MetadataDescriptor (type = COVER_IMAGE_IN_FOLDER, mediaItemId = 17317)
2012-11-12 15:27:54,046 DEBUG [MetadataDescriptorDAOImpl] Creating a new MetadataDescriptor (type = EMBEDDED, mediaItemId = 17317)
2012-11-12 15:27:54,054 DEBUG [GenreDAOImpl] Getting number of media items for genre 1
2012-11-12 15:27:54,085 DEBUG [CoverImageDAOImpl] Deleting a CoverImage (id = 79635)
2012-11-12 15:27:54,096 INFO [LibraryUpdatesCheckerThread] Updated 's05e03-The_Death_Song_of_Uther_Pendragon' (/mnt/mars/media/video/TV/Merlin/Series5/s05e03-The_Death_Song_of_Uther_Pendragon.mp4) in Library
This line seems a little strange to me as it seems to be looking for a tvshow.nfo after finding the <episodename>.nfo file;
When browsing the media, I have no entries in the 'Series' folder and no details (such as plot) are available for the episodes when selected. Any pointers would be much appreciated as I searched but did not find anything to help me.
Regards,
Stuart
