FAQ  •  Register  •  Login

Using XBMC nfo for metadata not working

<<

erialor

Serviio newbie

Posts: 2

Joined: Sat Apr 14, 2012 5:42 pm

Post Sat Apr 14, 2012 7:08 pm

Using XBMC nfo for metadata not working

Hi,

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.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17216

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Apr 15, 2012 12:10 am

Re: Using XBMC nfo for metadata not working

weird error, it seems it cannot find the NFO file (Did you rename it?). What is the file name of the nfo file?
<<

erialor

Serviio newbie

Posts: 2

Joined: Sat Apr 14, 2012 5:42 pm

Post Sun Apr 15, 2012 6:09 am

Re: Using XBMC nfo for metadata not working

Hi,

I've been experimenting quite a bit more - it seems that it has to do with the files being on a networkshare - if I move to a local drive (or - I expect - if I'd map a drive-letter to the networkshare and use that) it seems to work fine.
<<

SomebodySysop

Serviio newbie

Posts: 9

Joined: Fri Jun 07, 2013 11:55 pm

Post Fri Oct 25, 2013 5:46 am

Re: Using XBMC nfo for metadata not working

I'm having the same exact problem, but the video files are on a local drive.

Serviio console Metadata set for XBMC .nfo files (see attached).
ServiioConsoleMetadata.png
ServiioConsoleMetadata.png (77.08 KiB) Viewed 5974 times


Created XBMC .nfo files with same names as videos (see attached). The XBMC .nfo files are generated using Thumbgen: XBMC .nfo file format.

When I browse videos (I'm using WDTV Live, selecting Serviio as media server), I see the thumbnails, but I do not see genre, actor, director, etc...

I also don't see any evidence that medata has been extracted at all in the log. Just the video filename preceeded by [LibraryUpdatesCheckerThread].

I have looked at some threads on this subject, in particular:

http://forum.serviio.org/viewtopic.php?f=3&t=1801
http://forum.serviio.org/viewtopic.php?f=5&t=5927

But none seem to have this problem, or explain how you check if XBMC metadata extraction is actually working.

Can someone help here? Thanks!

-ron
Attachments
XBMCSystemInformationFileDriveEMPEG.png
XBMCSystemInformationFileDriveEMPEG.png (79.55 KiB) Viewed 5974 times
<<

SomebodySysop

Serviio newbie

Posts: 9

Joined: Fri Jun 07, 2013 11:55 pm

Post Fri Oct 25, 2013 5:18 pm

Re: Using XBMC nfo for metadata not working

I received this response to my original post about metadata not working: http://forum.serviio.org/viewtopic.php?f=5&t=14226&p=81426#p81426

What this means is that WDTV Live will not display any metadata info from Serviio.

I did discover how to troubleshoot this. By using Serviio Mediabrowser, you can see which videos have metadata info and which videos do not. I was able to ascertain that Serviio is indeed capturing XBMC .nfo file metadata. It's just that WDTV Live will not display it.

Thanks!

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 17 guests

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