XBMC TV nfo importer not working (Frodo standards)

I'm not sure if it's a bug specific to me but the TV nfo importer agent doesn't grab anything from my TV show structure.

I am following 100% Frodo naming convention standards:

http://wiki.xbmc.org/index.php?title=Frodo_FAQ#Local_images

 

Here is my structure for one TV Show:

2013-12-04%205-07-51%20PM.jpg

 

2013-12-04%205-14-01%20PM.jpg

 

And PMS settings for the agent (well how I would like or should use it):

2013-12-04%205-08-47%20PM.jpg

 

But...

2013-12-04%205-08-23%20PM.jpg

 

 

***I tried the updated agent (12/04/13)

 

Should I add this to GitHub or it's a bug only for me? (or am I missing something?)

OK, I did further test and created a separate library for tv shows (test) just to start fresh.

The metadata and tv show poster/backdrop works fine. (maybe wasn't working with existing section because I would have to recreate it since it was created originally using TVDB agent...)

Only thing that doesn't work now is the season posters. (and I tested several times different ways)

It should get the "seasonxx-poster.jpg" directly from the tv show folder but it doesn't at all.

Following you over here from the Media Browser forums. I'm having the same issue. The plugin will load image information from season1 but not from season01

Following you over here from the Media Browser forums. I'm having the same issue. The plugin will load image information from season1 but not from season01

I added a GitHub issue to make it official:

https://github.com/gboudreau/XBMC-TVShows-Metadata-Agent-for-Plex/issues/23

Any update on this?

I went back to TVDB agent in meantime because of it.... 

Did we lost dev for this?

We really need this to be corrected to follow latest standard...

Just because of the season posters not working, this agent is useless to anyone with correct latest naming convention...

@sfnetwork:

Did you enable the local media assets for the xbmc agents? Enable and put it in front of the xbmc agent in settings.

@sfnetwork:

Did you enable the local media assets for the xbmc agents? Enable and put it in front of the xbmc agent in settings.

No, not the solution this will cause the season poster to be mixed up (again, based on the frodo naming convention)

Local media asset won't see "seasonxx-poster.jpg" anyway (or won't assign it to correct season.)

Not sure which Plugin you refer to, i think about this?

https://forums.plex.tv/topic/38402-metadata-agents-for-exported-xbmc-library/page-17

So, no you did not lose the Devs, and no the Plugin isn´t dead. There are several, from each other independent

Developers who develop this plugin in their freetime, but they all have other Jobs and other Projects. 

In case i have some spare time i will fix it and send a push to Guillaume. Or you may try it fixing by yourself. Simple

Python isnt that difficult

Not sure which Plugin you refer to, i think about this?

https://forums.plex.tv/topic/38402-metadata-agents-for-exported-xbmc-library/page-17

So, no you did not lose the Devs, and no the Plugin isn´t dead. There are several, from each other independent

Developers who develop this plugin in their freetime, but they all have other Jobs and other Projects. 

In case i have some spare time i will fix it and send a push to Guillaume. Or you may try it fixing by yourself. Simple

Python isnt that difficult

well, for the question "which plugin", see my github link in previous post (didn't know there were more than one....)

This is one of those awkward situations where I can't complain because it's free, not official and third party dev is doing this on his free time...

I personally think Plex should make this agent official and accept the fact that users may have XBMC metadata and images already in place. But that won't happen.

I'm patient and understand that devs sometimes don't have a lot of free time but those Frodo naming conventions have been there for a while now and it's not like XBMC changes their standards every month...

This kind of agent needs to be dependable and up to date as users, when using it, depend on it; it's a core function, it manages the entire library metadata and images in Plex...

So I switched to TVDB agent for my TV shows and download everything in double (since Metabrowser is already handling it already). Just because of this season poster issue...

This is why I mentioned this was an awkward situation; I don't want to disrespect anyone or complain but the fact is that if I would keep this agent and wait for a fix, my TV show structure would be screw up so I changed the agent and rescan EVERYTHING using the official TVDB agent...

Anyways, I think I did the maximum I could by reporting it in details here and adding a Github issue.

Again, I mean no disrespect or bad pressure, I'm just a regular user trying to setup his PMS the best way possible based on what is available.

If I could, I would work on it (I was able to change back myself using the full plot instead of outline in NFO importer for movies) but I don't have the experience or knowledge to fix this one since it's a little more complicated.

@sfnetwork:

Thank you very much for your detailed report. No offense taken. I fully understand the itching feeling one gets when the collection is in inperfect state. :) I promise to have a look at it. Sadly I'm still very busy with work and personal life, so it will take time. I'll have a look at the movie agent first. TV agent is second in line. Please check back here from time to time.

To help me finding the problem could you please create a new folder and copy two seasons of a series to it, that doesn't get recognized correctly? Naming should be exactly as you normally have. Create a section for that folder and zip the logfiles the xbmc tv agent creates and attach them to a new post for me. Thanks. :)

@sfnetwork:
Thank you very much for your detailed report. No offense taken. I fully understand the itching feeling one gets when the collection is in inperfect state. :) I promise to have a look at it. Sadly I'm still very busy with work and personal life, so it will take time. I'll have a look at the movie agent first. TV agent is second in line. Please check back here from time to time.
 
To help me finding the problem could you please create a new folder and copy two seasons of a series to it, that doesn't get recognized correctly? Naming should be exactly as you normally have. Create a section for that folder and zip the logfiles the xbmc tv agent creates and attach them to a new post for me. Thanks. :)

OK, For the cause, I tested a portion of TV shows with TV NFO importer agent.
logs:
https://dl.dropboxusercontent.com/u/5118921/images/test%20nfo%20tv%20Plex/com.plexapp.agents.xbmcnfotv.log
 
Here is the structure that respect the Frodo naming convention:
2014-01-05%206-41-34%20PM.png
 
"Hell's Kitchen" folder:
2014-01-05%206-48-10%20PM.png
In a season folder:
2014-01-05%206-42-57%20PM.png
 
Results:
Main poster; OK
2014-01-05%206-44-58%20PM.png
 
Main TV show metadata; OK
Season poster; NOT OK (nothing)
2014-01-05%206-45-12%20PM.png
 
In a season, all episode metadata and images; OK
2014-01-05%206-45-31%20PM.png
 
So everything is fine EXCEPT the agent doesn't look for those associated with the seasons:

2014-01-05%206-48-110%20PM.png

See also previous posts and GitHub issue in the tread for more details.

Basically, the issue is only the season posters that should be fetched from "seasonXX-poster.jpg" (xx=season number).

I think you should have all the info required...

A last question. You enabled the local media assets, okay. Did you drag them above the xbmc agents? The sequence needs to be local media first, then xbmc agent. In case you already have it that way. What does "this will cause the season poster to be mixed up" mean? There are still no season posters showing? Or the wrong ones are?

Also I notice you have folder.jpg files in the seasons folder. While this is okay and they are found by the agent there is an permission denied error shown. Please make sure you have the right permissions and user credentials for all files in your media folder.

Pretty simple, I don't enable local media asset at all because it just uses any poster for the TV show (so if there are folder.jpg in seasons, it sometimes uses a season poster for the main TV show...

I think it should work without Local media asset. Then if it's the case, it can be added first since nfo importer would correct this behaviour. 

I shouldn't have folder.jpg at all, I was just trying to test the behaviour.

only have poster.jpg for main TV show and seasonXX-poster.jpg for season.

@sfnetwork: Fix for the season images should be rather trivial. The problem was introduced by outcommenting some code that was in the agent. It was done by another user in good intentions, but as with the multipart movie agent extension sideeffects do show now. Guillaume already reverted part of it, but he left in some things that are creating the problems now.

A question regarding dateadded vs. release date. For what kind of movies do you need this? At the moment if the release date field can not be parsed the fallback is to take the year of the movie and create the date as year-1-1. While not exact IMHO this makes more sense than using dateadded. So what do we do now. Dateadded could be made another fallback, if no year is available. Or if you prefer this, an user changeable option could be added, to use dateadded if no release date is recognized.

@sfnetwork: Fix for the season images should be rather trivial. The problem was introduced by outcommenting some code that was in the agent. It was done by another user in good intentions, but as with the multipart movie agent extension sideeffects do show now. Guillaume already reverted part of it, but he left in some things that are creating the problems now.

A question regarding dateadded vs. release date. For what kind of movies do you need this? At the moment if the release date field can not be parsed the fallback is to take the year of the movie and create the date as year-1-1. While not exact IMHO this makes more sense than using dateadded. So what do we do now. Dateadded could be made another fallback, if no year is available. Or if you prefer this, an user changeable option could be added, to use dateadded if no release date is recognized.

Ok, I'm confused now... why are you talking about movies? 

This is about TV nfo importer and season posters... Or Am I misunderstanding (sorry if it's the case...)

About movies release date vs date added, now it does what it should but I imagine it could be nice if there is no release dat in nfo, it could fallback on date added. I don't see the need for an option for that personally...

:) Okay. The confusion was on my side. :) I thought somehow, you were talking about dateadded for the movie agent. I'll see that on the weekend a movie agent with last resort fallback to dateadded and and a tvshow agent with fixed season art and dateadded fallback gets released.

Regarding the plexthememusic agent I have sad news. I tried to add it to the agent in putting it in the accepts_from = section. Sadly it gets not picked up by plex. I'm at a loss for now, what I could do otherwise to enable the agent. Propably the plexthememusic agent would need to be modified, too. I somewhat doubt plex will do that.

@sfnetwork:

Fix of TV Agent is online. Please give it a whirl.



Do you have a different branch or something on github? Unsupported AppStore didn’t update anything yet.
And github issue hasn’t been updated also. If we talking about the same thing…
https://github.com/gboudreau/XBMC-TVShows-Metadata-Agent-for-Plex/issues/23



Sent from Tapatalk.

YOU ARE THE MAN.

I replaced the agent with the latest github one et tested it on sample folders; seems to work perfectly.

At this point, I'll rescan my entire tv show library with the new updated agent and will let you know.

So far, very good!

I'll confirm this as well, but from first tests, it also detects tv theme songs (and local media asset isn't enabled)