Jump to content

scraper unable to identify movies


Raboo
 Share

Recommended Posts

Hi,

 

Some movies have troubles identifying, I assume cause the .nfo file is in wrong format.

You can read more about it here: https://en.wikipedia.org/wiki/Unix2dos

 

In metadata manager you see the whole .nfo file in the IMDb Id: field.

So basically everything is in one line with lots of ascii art symbols/characters not properly recognized as ���

Link to comment
Share on other sites

Got an idea for an easy fix. How about pipeing .nfo file reads thru the command "strings" (or all metadata file reads)?

 

strings - print the strings of printable characters in files.

Link to comment
Share on other sites

josh4trunks

@@Luke

I remember you added the ability for Emby to identify a movie if the NFO just contains an IMDB URL (which is what I have CouchPotato do for me).

 

I noticed that file has an IMDB URL, maybe just do a regex match and grab it when the NFO isn't formatted using the standard NFO structure? this would solve both the case of these artistic NFOs and the super simple ones CouchPotato produces.

Edited by josh4trunks
Link to comment
Share on other sites

  • 1 month later...
gshipley

Just wondering if there is a workaround for this.  I just signed up for lifetime supporter and am trying to move away from Plex.  I installed emby tonight via docker container running on linux and I would guestimate 20% of my nfo files are scraped like the OP stated.

 

I am fine cleaning them up if anyone knows of a tool to help do so.  

 

I can go through the existing ones in the metadata manager and manually fix them but I am mostly worried about new content that is added and having to go in and manage them - so I am looking for an automated way.  I do use CP as josh3trunks stated a possible workaround there.  I assume I just enable create NFO with only imdb link under the XBMC/Kodi metatdata settings.

Link to comment
Share on other sites

josh4trunks

I assume I just enable create NFO with only imdb link under the XBMC/Kodi metatdata settings.

That's exactly what I do and it works perfectly.

 

Also, couchpotato now has Emby notification support, so you can have movies added to Emby as soon as they are post-processed by CP.

Link to comment
Share on other sites

Well as it turns out you're in luck anyway because someone else has been providing me with examples

 

https://github.com/MediaBrowser/Emby/issues/1160

 

It's the nfo's with the old ascii art. who in their right mind takes the time to design those. well that's another story i suppose, but at least now we can parse the imdb id out of them.

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...