Help with .nfo import (1 Viewer)

smarty12345

Portal Pro
November 23, 2011
100
17
United Kingdom
Home Country
Great Britain (UK) Great Britain (UK)
Thank you Michael.

That is very detailed, and I appreciate the extra info. I will have a read through the info on the pages in your links. And I will try your suggestion about moving the folder out of the plugin directory. It sounds like it may achieve what I had hoped the .nfo import would do as default.

Which would be to either override the online lookup, or at least give the option to choose what to do.

Awesome to read that it’s something that will be in a later release.


For me, I’m in no rush for anything. As I happily get by with just a single MP1 setup currently in our living-room.

I am mainly keeping an eye on MP2 as I foresee as my children get older I will have a need for a decent centralized database setup.

So, keep up the good work. your products awesome. (y)
 

smarty12345

Portal Pro
November 23, 2011
100
17
United Kingdom
Home Country
Great Britain (UK) Great Britain (UK)
Just to add some additional Information:
You can find here (at the bottom of the page) a detailed explanation which nfo-file elements are imported in which MediaItemAspect attributes for series.
As you can see, the <displayepisode> element IS actually imported into our MediaLibrary - but I don't know off the top of my head whether we use it at all.
As to the issue with the doubled episodes, I could imagine (without having verified) that it is caused by the way the Nfo-MDE and the Series-MDE currently play together. First we collect all the information from the nfo-files. But after that, the Series-MDE kicks in and tries to get information from the internet; if it succeeds, it overwrites the values from the nfo-files. We know that this is not an ideal behavior and we have plans to introduce a "priority system" for MDEs so that you are able to define exactly, which information is taken from which source (nfo-files, online databases, etc.).
If you are interested in what exactly the nfo-MDE has read from your nfo-files, please follow the instructions here under "Troubleshooting". The DebugLog file should give you quite some insight in what happened when reading your nfo-files.
What you can try to circumvent your problem is (after having stopped MP2-Server) move the SeriesMetadataExtractor directory out of the plugin directory (but keep a copy so that you can restore it). Restart MP2-Server and try an import. Now MP2-Server will not lookup any online content for Series anymore so that you should only see information from your nfo-files. There is, however, a side effect. It will then also not download any fanart for your series. If you have local fanart in your series-directories, you might be fine with that - but you need to try...
Hope that helps,
Michael

Hi, I tried as you suggested with removing the SeriesMetadataExtractor folder. And it did indeed then import my show in my prefered order.
I know you said it won't be able to look up fanart etc from online, but you did mention to may work if I had local fanart.
I do have local fanart for each epsiode and indeed the series/seasons too. But it seems to be ignoring those.
I have tried to read the information in your links, but I couldn't see anything there to do with the artwork import. As I wondered if I had things labled wrong or something.eg : fanart.jpg should be firefly.season1.fanart.jpg or something. ...
TBH, I don't underatand a lot of whats in the technical stuff at the links, so thought it wouldn't hurt to ask.

Oddly, it does appear to have episode thumbs. But they are not the epsiode thumbs from the root folder where the show is.. They are completely different.
I assume MP2 is taking a screen cap of the start of each video file and genrating the thumb that way?
 

Lehmden

Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    Hi.
    Oddly, it does appear to have episode thumbs. But they are not the epsiode thumbs from the root folder where the show is.. They are completely different.
    I assume MP2 is taking a screen cap of the start of each video file and genrating the thumb that way?
    In opposite to movies MP2 only can use local thumbnails for series episodes up to now. This did not change by removing the SeriesMDE. And the thumbs need to have exactly the same name as the series episode, excerpt for the file extension for sure. This includes the path. So if you have the thumbs in the root folder of the series and the episodes in season folder, this don't work. As no other source for the thumbs is delivering, MP2 generates thumbs from the video file directly.
     

    MJGraf

    Retired Team Member
  • Premium Supporter
  • January 13, 2006
    2,478
    1,385
    The Fanart handling is currently a bit "inconsistent", which we know and are working on improving it. This all happens under the name "MIA-rework", which you might have read already in the forum.
    The background is the following: We currently only have one entry in our database for every "file on disk". That means for Series, we only have database entries for episodes, as typically every episode correlates with one file on disk. A consequence of this is that only the episode thumb is stored in the database. The reason therefore is that otherwise we would have to store e.g. the same series thumb once for each and every episode of a series in the database. That would result in a lot of wasted storage in the database for storing x times the same thumb.
    Therefore, Series and Season thumbs are currently not stored in the database, but read from various sources. Unfortunately, as Lehmden correctly points out, we do not read series and season thumbs from local files.
    This will change, once we can store items in the database, for which there is no "single file on disk" such as series and episodes. This will be possible due to the MIA-rework.

    For now I'm thinking about a setting for the SeriesMDE along the lines of "OverrideAttributes" - defaulting to "true". When set the false, the SeriesMDE would not override attributes that were already set by previous MDEs, such as e.g. from nfo-files. At the same time, the SeriesMDE would nevertheless - and irrespective of that setting - download FanArt from the internet. That would to my understanding give you exactly what you are looking for.

    Give me a couple of days and I'll see whether I can put something together...
     

    smarty12345

    Portal Pro
    November 23, 2011
    100
    17
    United Kingdom
    Home Country
    Great Britain (UK) Great Britain (UK)
    Ah. I understand. Thanks for explaining it guys. That helps a lot.
    And Thank you Michael for offering to take a look at the override idea. It would be awesome if that can be made to work. But please don't go out of your way if its going to casue you any real time or trouble. I don't want to waste your time.
    I appreciate everyones feedback and help on my little issue.
    Thanks again.
     

    Users who are viewing this thread

    Top Bottom