Using XBMC nfo for metadata not working
I'm recording the Formula 1 2012 from BBC iPlayer using get_iplayer (and use that for creating the XBMC nfo-file, too)
I've no luck so far getting the recordings added (adds when I don't include any nfo) to the library.
Snippet from serviio.log
- Code:
2012-04-14 20:46:24,716 DEBUG [LibraryAdditionsCheckerThread] Looking for files to share in folder: \\Nas1\nas\dlna\formula 1
2012-04-14 20:46:24,747 DEBUG [LibraryAdditionsCheckerThread] Found file 'Formula_1_-_2012_The_Chinese_Grand_Prix_-_Qualifying.mp4', checking if it's already in the Library
2012-04-14 20:46:24,747 DEBUG [MediaItemDAOImpl] Checking if DB already contains media item Formula_1_-_2012_The_Chinese_Grand_Prix_-_Qualifying.mp4
2012-04-14 20:46:24,747 DEBUG [MediaItemDAOImpl] Media item Formula_1_-_2012_The_Chinese_Grand_Prix_-_Qualifying.mp4 doesn't exist in DB yet
2012-04-14 20:46:24,749 DEBUG [LibraryAdditionsCheckerThread] File not in Library, will add it
2012-04-14 20:46:24,755 DEBUG [VideoExtractionStrategy] Extracting metadata of video file: \\Nas1\nas\dlna\formula 1\Formula_1_-_2012_The_Chinese_Grand_Prix_-_Qualifying.mp4
2012-04-14 20:46:24,755 DEBUG [FFMPEGWrapper] Invoking FFMPEG to retrieve media information for file: \\Nas1\nas\dlna\formula 1\Formula_1_-_2012_The_Chinese_Grand_Prix_-_Qualifying.mp4
2012-04-14 20:46:24,755 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -i \\Nas1\nas\dlna\formula 1\Formula_1_-_2012_The_Chinese_Grand_Prix_-_Qualifying.mp4
2012-04-14 20:46:25,542 DEBUG [FFmpegMetadataRetriever] Retrieving H264 profile/level for file '\\Nas1\nas\dlna\formula 1\Formula_1_-_2012_The_Chinese_Grand_Prix_-_Qualifying.mp4'
2012-04-14 20:46:25,542 DEBUG [FFMPEGWrapper] Invoking FFMPEG to retrieve H264 header for file: \\Nas1\nas\dlna\formula 1\Formula_1_-_2012_The_Chinese_Grand_Prix_-_Qualifying.mp4
2012-04-14 20:46:25,543 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -i \\Nas1\nas\dlna\formula 1\Formula_1_-_2012_The_Chinese_Grand_Prix_-_Qualifying.mp4 -vframes 1 -vcodec copy -f h264 -vbsf h264_mp4toannexb -an pipe:
2012-04-14 20:46:25,626 DEBUG [FFmpegMetadataRetriever] H264 Level value stored in the AVC header (3) is different than one based on ref_frames value (2.1), the higher will be stored
2012-04-14 20:46:25,626 DEBUG [FFmpegMetadataRetriever] File '\\Nas1\nas\dlna\formula 1\Formula_1_-_2012_The_Chinese_Grand_Prix_-_Qualifying.mp4' has H264 profile MAIN, level 3 and 3 ref frames
2012-04-14 20:46:25,626 DEBUG [FFMPEGWrapper] Invoking FFMPEG to retrieve thumbnail for file: \\Nas1\nas\dlna\formula 1\Formula_1_-_2012_The_Chinese_Grand_Prix_-_Qualifying.mp4
2012-04-14 20:46:25,626 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -ss 120 -i \\Nas1\nas\dlna\formula 1\Formula_1_-_2012_The_Chinese_Grand_Prix_-_Qualifying.mp4 -an -vframes 1 -f image2 pipe:
2012-04-14 20:46:26,045 DEBUG [LibraryManager] Metadata found via extractor EMBEDDED: VideoMetadata [title=Formula_1_-_2012_The_Chinese_Grand_Prix_-_Qualifying, filePath=\\Nas1\nas\dlna\formula 1\Formula_1_-_2012_The_Chinese_Grand_Prix_-_Qualifying.mp4, fileSize=443852680, audioBitrate=94, audioCodec=AAC, audioStreamIndex=1, bitrate=799, channels=2, container=MP4, contentType=UNKNOWN, coverImage=org.serviio.library.local.metadata.ImageDescriptor@4b4bc1e, duration=4443, episodeNumber=null, fps=25, frequency=48000, h264Level=3, h264Profile=MAIN, ftyp=isom, height=360, seasonNumber=null, seriesName=null, timestampType=null, videoBitrate=698, videoCodec=H264, videoStreamIndex=0, width=640]
2012-04-14 20:46:26,066 DEBUG [XBMCExtractor] Checking if file 'Formula_1_-_2012_The_Chinese_Grand_Prix_-_Qualifying.nfo' is a XBMC NFO file
2012-04-14 20:46:26,071 DEBUG [XBMCExtractor] File 'Formula_1_-_2012_The_Chinese_Grand_Prix_-_Qualifying.nfo' is a valid XBMC file
2012-04-14 20:46:26,072 DEBUG [XBMCExtractor] Found XBMC NFO file Formula_1_-_2012_The_Chinese_Grand_Prix_-_Qualifying.nfo. Will try to extract metadata from it.
2012-04-14 20:46:26,082 DEBUG [XBMCExtractor] Parsing NFO file for TV metadata
2012-04-14 20:46:26,116 WARN [LibraryAdditionsCheckerThread] Cannot add file Formula_1_-_2012_The_Chinese_Grand_Prix_-_Qualifying.mp4 because of an unexpected error. Message: null
java.lang.NullPointerException
at org.serviio.library.local.metadata.extractor.AbstractLocalFileExtractor.findFileInFolder(AbstractLocalFileExtractor.java:110)
at org.serviio.library.local.metadata.extractor.XBMCExtractor.findShowNfoFile(XBMCExtractor.java:251)
at org.serviio.library.local.metadata.extractor.XBMCExtractor.getSeriesFileRootNode(XBMCExtractor.java:221)
at org.serviio.library.local.metadata.extractor.XBMCExtractor.retrieveEpisodeMetadata(XBMCExtractor.java:171)
at org.serviio.library.local.metadata.extractor.XBMCExtractor.retrieveMetadata(XBMCExtractor.java:112)
at org.serviio.library.local.metadata.extractor.AbstractLocalFileExtractor.retrieveMetadata(AbstractLocalFileExtractor.java:84)
at org.serviio.library.local.metadata.extractor.MetadataExtractor.extract(MetadataExtractor.java:46)
at org.serviio.library.local.LibraryManager.extractMetadata(LibraryManager.java:195)
at org.serviio.library.local.metadata.LibraryAdditionsCheckerThread.searchForNewFiles(LibraryAdditionsCheckerThread.java:147)
at org.serviio.library.local.metadata.LibraryAdditionsCheckerThread.run(LibraryAdditionsCheckerThread.java:78)
2012-04-14 20:46:26,120 DEBUG [RepositoryDAOImpl] Marking Repository 4 as scanned with current timestamp
And this is the nfo-file used
- Code:
<episodedetails>
<title>Formula 1 - 2012: The Chinese Grand Prix - Qualifying</title>
<rating>10.00</rating>
<season></season>
<episode></episode>
<plot>Another chance to catch the action from the Shanghai International Circuit, as grid positions were decided for the third Grand Prix of the 2012 season.</plot>
<credits>BBC HD</credits>
<aired>2012-04-14T13:00:00+01:00</aired>
</episodedetails>
OS> Windows 7 64bit
Serviio> 0.6.2
Java> 1.6.0_31
Or is there a naming convention that works for Formula 1 so I can use online sources for metadata?
PS. I had a lot of trouble getting the activation mail for the forum - seems like the MTA is listed in quite a bit of blocklists: bl.spamcop.net, zen.spamhaus.org, cbl.abuseat.org and b.barracudacentral.org all has the MTA listed - had to turn of blocklistchecking on my mail-server to be able to get the mail through.
