I don’t know if this was mentioned before but it seems the XBMCnfoTV.bundle does not import genres from TV shows? I dont see a path for “genre” in the init.py file.
Hello Guillaume,
Thank's (another time) for your time and help, I have yesterday change all the titles names of my movies collection to take out any characters like "é,è,à,ô,î,ï" from the titles, I have more thumbnails but not all even each of my movie have separate folder with one .nfo one .tbn files)
But always not any information in the metada ....
Do you have an idea ? I use a Synology with last firmware updated and PLEX vers 0.9.6
Here an example and my log file ( I will delete it after you have read it to not ake too much place here on the forum)
Here the nfo file of the same movie of the hard screen copy attached (this nfo file is issued from Filmotech softwre but I have also test with XMBC export and having same problem)
Thank's for your help....so precious....
<?xml version="1.0" encoding="UTF-8"?>
10 jours en or
Nicolas Brossette
2011
96 mn
2
Comédie dramatique
Franck Dubosc (Marc Bajau)
Claude Rich (Pierre)
Marie Kremer (Julie)
Rufus (Clément Rozière)
Eric Godon (Le marchand de sommeil)
Marie-Julie Baup (le vendeuse de la boutique)
10 jours en or.tbn
10 jours en or.tbn
Marc Bajau sillonne le pays pour le compte d'une marque de vêtements. Il aime cette vie sur la route, libérée de toute contrainte et faite de rencontres d'un soir. Mais alors qu'il démarre une nouvelle tournée de promotion, sa dernière conquête s'en va en lui laissant son fils, Lucas, un petit métis de six ans...
Commence alors une traversée de la France pas comme les autres, où Marc et Lucas vont croiser la route de Pierre, un retraité fantasque et envahissant, et celle de Julie, une jeune femme en errance.
Au cours de cette odyssée, flanqué de son trio improbable, Marc Bajau va connaître « 10 jours en or » qui vont changer sa vie.
Marc Bajau sillonne le pays pour le compte d'une marque de vêtements. Il aime cette vie sur la route, libérée de toute contrainte et faite de rencontres d'un soir. Mais alors qu'il démarre une nouvelle tournée de promotion, sa dernière conquête s'en va en lui laissant son fils, Lucas, un petit métis de six ans...
Commence alors une traversée de la France pas comme les autres, où Marc et Lucas vont croiser la route de Pierre, un retraité fantasque et envahissant, et celle de Julie, une jeune femme en errance.
Au cours de cette odyssée, flanqué de son trio improbable, Marc Bajau va connaître « 10 jours en or » qui vont changer sa vie.
You still have a problem that isn’t with this agent, but with your Plex core.
Here’s the part of your log that is relevant:
http://pastie.org/pastes/5488326/text
You should create a new post in the appropriate forum (for Synology?), and try to fix that problem, where your Plex core doesn’t return a response when anything tries to load a metadata URL.
Ok thank's a lot. I have post a new Topic on the forum and I have send an email to Synogoly
This agent worked great for me. It imported the information from my .nfo files and put them into plex. The one one thing it didn’t do was import the tag. It would be a nice to have all your watched movies from xbmc be imported as watched into plex. Please let me know if this is an option to get added.
I don’t think metadata agents can change the play count in Plex’s database.
Those are the objects we work with: http://dev.plexapp.com/docs/agents/models.html
I had been having issues with XBMC's exported posters being imported into Plex. I previously had duplicate .tbn files from another media scraper source in the same movie folders, and had no problems. After cleaning up the NAS earlier this month, I lost all posters...yes, I deleted the .tbn files from the "other" media scraper. After reviewing the OP, I noticed that XBMC, correctly, exports .jpg posters. However, the latest code provided for the XBMC Movies Metadata Agent utilizes '.tbn' searching for *poster*.jpg provided by XBMC. Editing the __init__.py to search for '-poster.jpg' will allow Plex to utilize the exported poster files. Can't believe I didn't see this earlier, many hours wasted deleting/refreshing. Didn't see this solution posted anywhere else. Hope it works for others.
Hi there,
moving now to Windows Plex Media Server on FlexiRaid machine and I was trying to use the agent with it but with no success (I copied the two files in Program Files/Plex/Plex Media Server/Resources/ Plug-Ins). What am I making wrong???
Salut!
I’ve just been trying to test this on my Ubuntu 12.04 box. I set up Plex, installed your plugin - but I can’t get it to appear in any of the agents lists. I can see from the log that it’s trying to load it - but it says a file is missing:
Dec 17, 2012 17:28:39 [0xac5f5b40] DEBUG - Starting plug-in /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/XBMC .nfo Importer.bundle.
Dec 17, 2012 17:28:39 [0xac5f5b40] ERROR - Caught exception starting plugin /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/XBMC .nfo Importer.bundle (Empty or non-existant file.)
<<
Now I know the contents are all there - I just extracted the files into the Plugins folder. Contents are:
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/XBMC .nfo Importer.bundle/Contents/
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/XBMC .nfo Importer.bundle/Contents/Info.plist
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/XBMC .nfo Importer.bundle/Contents/Code/
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/XBMC .nfo Importer.bundle/Contents/Code/init.py
[EDIT]
Worked this out - basically a permissions thing - some of the files in the folders weren’t assigned to plex as a user. Now done and the .nfo importer appears as an agent and inports the .nfo. Doesn’t import the folder.jpg though…
[/EDIT]
You are right, XBMC Eden was using posters with name "MovieTitle.tbn" but XBMC Frodo use "MovieTitle-poster.jpg".
@Guillaume, could you please edit the code to support posters of XBMC Eden and XBMC Frodo at the same time ? The idea is to ask PMS to import the poster in ".tbn" format but if there is none, PMS could try to import the poster using "-poster.jpg". If it is possible, XBMC .nfo importer will be compatible with both versions of XBMC.
Salut Guillaume,
The agent works well,I use Xbne to make nfo, fanart and rename files. But for some movies the agent fail to get information. The result in plex is the name, the running time and the audio format.I have found what to do to make it works : Remove the ID value in the nfo file.
For example with “Brèche (2007)” if I leave “tt0401997” it won’t works
tt0401997
tt0401997
It’s the same for “Admam (2004)” and many others
tt0335121
tt0335121
But for a nother movie like “99 francs (2007)” I can leave it want it will works
tt0875113
tt0875113
Do you have a idea what’s going wrong ???
I use Win 7 64 fr with plex 0.9.7.7-5ec3b53
I have commented lines (45-46) and I skip the bug:)
def search(self, results, media, lang):
...
#if len(imdb_id) > 2:
# media.id = imdb_id
...
XBMC nfo Importer work now on my Synology !!!
The solution is : rename XBMC .nfo Importer.bundle to XBMCnfoImporter.bundle (no space and no dot in the name)
and modi fy the file init.py as follow
Original :
class xbmcnfo(Agent.Movies):
name = ‘XBMC .nfo Importer’
primary_provider = True
languages = [Locale.Language.NoLanguage]
Modified :
class xbmcnfo(Agent.Movies):
name = ‘XBMCnfoImporter’
primary_provider = True
languages = [Locale.Language.NoLanguage]
…
First at all I wish you an happy New year
I have resolve part of my trouble with your XBMC nfo Importer Agent on my SYNOLOGY with ARM processor
The solution was that the name of the agent must be only “one word”, no space not dot = “XMBCnfoImporter” and not “XMBC .nfo Importer”
But I still have a problem : as soon as the agent do not find a movie instead of leave it and continue it STOP
Could you please try to make something ?
And a second request … if you can … could you add something to accept the title with UpperCase and LowerCase as the same file …?
Thanks for all
Here attached my last LOG file
Pierre Jean
Is there anybody who could help me to use the XBMC nfo Importer with a Synology on ARM processor ?
The Agent work now that I have modify the name ( XBMCnfoImporter ) instead of (XBMC .nfo Importer)
But he does not have scann all my libraries and now the first scan work fine PLEX find all my movies but as soon as the Agent XBMC nfo Importer begin it stop after one or 2 movies…
See attached some log files
Thank’s for your precious help
Pierre Jean
I’m coming from XBMC and having difficulty importing my library correctly.
I’m using the XBMC importer agent provided in this thread. I have all of my movies in separate folders with the movie title and release year in parenthesis. This is an example of my folder structure:
<br />
Movies/<br />
/Dances With Wolves (1990)<br />
/Dances.With.Wolves.1990.1080p.Bluray.mkv<br />
Dances.With.Wolves.1990.1080p.Bluray.tbn<br />
fanart.jpg<br />
logo.png<br />
movie.nfo<br />
<br />
Shows/<br />
/Band of Brothers<br />
/Season 1<br />
s01e01.mkv<br />
s01e01.tbn<br />
s01e02.mkv<br />
s01e02.tbn<br />
banner.jpg<br />
clearart.png<br />
fanart.jpg<br />
landscape.jpg<br />
logo.png<br />
poster.jpg<br />
season01.tbn<br />
season-all.tbn<br />
tvshow.nfo <br />
What it does import correctly:
-Movie and TV Posters
-Movie and TV Fanart
What it does NOT import:
-Movie synopsis
-Movie Genre
-Movie Rating
-Movie Director
-Movie Studio
-TV Show Genre
-TV Show Banner
-TV Show Logo
Basically, the only thing the agent imports is the artwork for Movies and TV shows. How would I go about getting it to import all the other data (genre, synopsis,director) as well?
I'm willing to settle for it even rescraping all the new information as long as I can retain all of my stored artwork (posters,fanart,logos,banners) for my movies and shows
*I'm Using Windows 7
Hey,
i am using a windows Server.
i tried the Movie scanner and it works perfectly.
But the TV-Shows do not get scrapped. How are the files supposed to be named?
edit: almost working now thx to post #77
But i am missing genre and episode duration for the complete show view and release date for the episodes now.
Oh and the theme is missing also.
EDIT: It is not working anymore. Somehow the localmedia.bundle resets itself after a while. Thus the scraper does not work anymore. Any suggestions?
hi Guillaume. I just submitted a pull-request on GitHub in order to update both movies and tvshows agents for Frodo compatibility without loosing previous compatibility (Eden and maybe older versions). let me know if you are ok with the changes.
Thanks. Merged both.