Jump to content

Scraping movies recorded from TV and use info from NFO file


Recommended Posts

Posted

Hi Emby-community,

 

I'm new to Emby and using it for 2 month now. I like Emby very much and most things are working nice.

 

But there is one thing I would ike to optimize: I have tons of movies recorded in transport stream fomat (*.ts) from TV using DVB viewer. The naming scheme of these ts files is as follows (example):

2018-02-04_00-13-44_zdf_neo HD_Pitch Black - Planet der Finsternis.ts

 

I already have a basic nfo-file for each of that recordings, containing movie name and contents description from EPG. If Emby scans all these .ts files it mostly fails scraping (I guess 60% are not detected at all). Any ideas, why the scraper fails so often? Does the scraper take into account an exisiting nfo file when scraping a movie file? Is the naming scheme mentioned above inconvenient for the scraper to identify the correct title?

 

Thanks already for clarification,

Michael

pünktchen
Posted

The nfo file has to be named the same way as the video file then you should at least get the description from your nfo files. Please attach some of your nfo files.

Posted

Thanks for your fast reply. Yes, the nfo files are all named identical as the ts files (2018-02-04_00-13-44_zdf_neo HD_Pitch Black - Planet der Finsternis.nfo). File attachement does currently not work, so I paste in the content of the nfo:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
	<movie>
		<title>Pitch Black - Planet der Finsternis
</title>
		<plot>=USA 2000|Das Jahr 2676: Durch einen einschlagenden Meteoritenschauer wird das Notfallsystem des interstellaren Frachters "Hunter Gratzner" ausgelöst und die im Kälteschlaf reisende Besatzung geweckt.|Mit größter Mühe gelingt eine Notlandung auf einem wüstenhaften Planeten, die nur elf Passagiere, unter ihnen der berüchtigte Schwerverbrecher Riddick (Vin Diesel), überleben. Durch den Aufprall schafft es Riddick, sich zu befreien, und ihm gelingt die Flucht.|Darsteller:|Fry - Radha Mitchell|William J. Johns - Cole Hauser|Richard B. Riddick - Vin Diesel|Imam - Keith David|Paris - Lewis Fitz-Gerald|Shazza - Claudia Black|Regie: David Twohy|HD-Produktion|Altersfreigabe: 16|[16:9] [H.264] [HD]|[stereo] [deu]|[stereo] [mul]|[stereo] [mis]|[Dolby Digital 5.1] [deu]|PDC: 04.02. 00:05 (135173)
</plot>
		<runtime>01:40:00
</runtime>
		<tag></tag> 
		<aired>04.02.2018 00:13:44
</aired>
		<status>zdf_neo HD
</status>
	</movie>

Best,

Michael

pünktchen
Posted

I think the problem is your nfo doesn't contain a imdb or tmdb provider id.

Emby first reads from your nfo and after that tries to download missing informations from online providers. But this will fail because of your unsupported file naming convention:

https://github.com/MediaBrowser/Wiki/wiki/Movie-naming

 

Either put ids to your nfo files, change your file names or just disable the online metadata providers.

  • Like 1
Posted

Thanks for your answer. I will try to add provider ids. I will report back.

pünktchen
Posted

You have to use the Kodi 16 nfo format for provider ids, Emby doesn't understand "unique id..." yet.

Posted

OK, I just realized that I have to set the correct IMDB ID for each movie. I thought I can set a placeholder ID and Emby will correct that. So adding the correct IDs to the nfo is too much work. I will try to rename the files to get a better scraping result. I will report back.

 

Thanks,

Michael

  • Like 1
Posted

What is a place holder ID? You don't have to set an Imdb Id, you can just have it be blank.

  • Like 1
Posted

On the weekend I had time to play around with the NFO files, but at the end modifying the NFOs is a lot of work. So finally I decided to simply rename all my recordings uisng small Python script. Scaping woked fine after that. I also reconfigured my recording server to use a different file naming scheme from now on.

 

Thanks again for your help!

Posted

Thanks for the feedback.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...