Jump to content

NFO Metadata Reading Feature


Luke

Recommended Posts

In the next public server release (a few weeks away), we will have built-in NFO reading and writing support. That means the XBMC NFO plugin will be moved to the core.

 

But for now, I would like to keep it as a plugin because it will be easy to push frequent updates.

 

I am looking for testers to help test the new ability to read NFO files.

 

Basically, what you will need to do is create some dummy library section, and play with reading and writing metadata as normal, and look for issues when using that metadata in XBMC, and also taking the XBMC-written metadata and reading it within the server.

 

The goal is to allow you to go completely NFO without the need for Media Browser Xml metadata, if that's what you want.

 

If interested, please let me know, thanks.

  • Like 3
Link to comment
Share on other sites

sfnetwork

will it be the same as the actual saver or another separate one? 

Link to comment
Share on other sites

sfnetwork

Plugin is up. It requires the dev server. 

 

After you have the update, go to metadata -> advanced, and prioritize nfo reading over media browser xml for whatever types you wish to test.

Good day for testing this, holiday plus it's raining :)

Link to comment
Share on other sites

pünktchen

Okay Parental rating i see in the movie overview of the web interface,

but it is not available in the meta data editor...

Link to comment
Share on other sites

sfnetwork

Okay I've tested reading from a movie nfo exported by XBMC 13.1.

 

Imported name should be <title> and not <originaltitle> i think and/or MBS needs a second field for the original movie name.

Vote count: <votes> isn't read.

Release date: <premiered> isn't read.

Parental rating: <mpaa> isn't read.

IMDb Id: <id> isn't read.

People "Writing" <credits> isn't read.

 

What about xbmc's <tagline> or <outline>? Should one of those be mapped to MBS' Plot Keywords?

 

Beside this, great work so far.

Will test a TV Show tomorrow.

 

 

those things should all be read. @@sfnetwork can you verify?

 

plot keywords is read from plotkeyword

Yeah, later tonight, something came up and I wasn't able to fully test this yet...

 

My first tests will be with XBMC metadata that came from MetaBrowser (XBMC saver) then from exported data from XBMC.

Edited by sfnetwork
Link to comment
Share on other sites

sfnetwork

Okay I've tested reading from a movie nfo exported by XBMC 13.1.

 

Imported name should be <title> and not <originaltitle> i think and/or MBS needs a second field for the original movie name.

Vote count: <votes> isn't read.

Release date: <premiered> isn't read.

Parental rating: <mpaa> isn't read.

IMDb Id: <id> isn't read.

People "Writing" <credits> isn't read.

 

What about xbmc's <tagline> or <outline>? Should one of those be mapped to MBS' Plot Keywords?

 

Beside this, great work so far.

Will test a TV Show tomorrow.

As for the missing field in MBS metadata values, that's another thing, but as far as reading data from NFO, from my test (movies only for now) it's all OK (so far...)

Everything mentioned "isn't read" above, is fine from my end...

 

I agree about adding more fields for Original title, Outline, etc... but for now I think the goal is that it reads the nfo to fill the fields available in MBS...

***Isn't "Short overview" for the outline? If so, not working...

 

Here is my nfo for reference:

https://dl.dropboxusercontent.com/u/5118921/Others/300.nfo

Link to comment
Share on other sites

cool, thanks :)

 

so it sounds like no major issues. well this will be in the plugin for a few weeks. then it become a core feature out of the box.

Link to comment
Share on other sites

Plugin is up. It requires the dev server. 

 

After you have the update, go to metadata -> advanced, and prioritize nfo reading over media browser xml for whatever types you wish to test.

Link to comment
Share on other sites

sfnetwork

Yeah, just did around 15 other tests for movies, all good based on what I mentioned above.

So basically, the outline, if I'm not mistaking, should go in the "short overview" (which may be renamed to actual "plot" and "outline" BTW...)

 

Besides this, just missing fields in MBS for more metadata...

 

I'll test TV and report back.

 

***Really great to read nfos and not needing the xmls...

Edited by sfnetwork
Link to comment
Share on other sites

pünktchen

Okay I've tested reading from a movie nfo exported by XBMC 13.1.

 

Imported name should be <title> and not <originaltitle> i think and/or MBS needs a second field for the original movie name.

Vote count: <votes> isn't read.

Release date: <premiered> isn't read.

Parental rating: <mpaa> isn't read.

IMDb Id: <id> isn't read.

People "Writing" <credits> isn't read.

 

What about xbmc's <tagline> or <outline>? Should one of those be mapped to MBS' Plot Keywords?

 

Beside this, great work so far.

Will test a TV Show tomorrow.

Link to comment
Share on other sites

Ethyria

I've done some testing on my setup aswell and it seems to be working great.

 

I did notice a minor issue with the NFO's for albums where the saver seems to be appending a new <artist>Artist</artist> tag everytime the 'save' button is pressed, and this causes issues within XBMC.

 

I'm on the latest dev build at the moment, unfortunately i'm at work  so I can't provide any screenshots.

  • Like 1
Link to comment
Share on other sites

sfnetwork

I've done some testing on my setup aswell and it seems to be working great.

 

I did notice a minor issue with the NFO's for albums where the saver seems to be appending a new <artist>Artist</artist> tag everytime the 'save' button is pressed, and this causes issues within XBMC.

 

I'm on the latest dev build at the moment, unfortunately i'm at work  so I can't provide any screenshots.

Yes, please provide details for music and the nfos because I don't test this part (I will if required though...)

It really looks like there are just some fine tuning, besides those so far, pretty nice :)

Link to comment
Share on other sites

Ethyria

I've managed to grab a few screenshots.

 

So in this example I've just imported an album and the NFO was created correctly with the <artist> tag only appearing once:

 

53aa406f6c579_1.jpg

 

 

I have now edited the album 'overview' and clicked save, which has duplicated the artist tag:

 

 

53aa407cabddf_2.jpg

 

 

As a further test, I just clicked the save button 4 more times without making any changes, as you can see <artist> was appended each time:

 

53aa408f397f8_3.jpg

 

 

Unfortunately XBMC struggles with this as it reads the NFO as containing multiple artists and causing library issues (i'm using Aeon MQ5).

 

I'm only new to C# but it looks like when the save event occurs the following method keeps adding the tag to the album.nfo:

 

   foreach (var artist in artists)
            {
                builder.Append("<artist>" + SecurityElement.Escape(artist) + "</artist>");
            }

 

 

 

Also, I just wanted to say a big thanks to all the devs and testers who have brought MB this far, it's truly a remarkable achievement.

Edited by Ethyria
Link to comment
Share on other sites

pünktchen

Another movie test with latest release version:

Vote count: <votes> isn't read.

Release date: <premiered> isn't read.  -> sfnetwork nfo has <releasedate> which is not standard XBMC. It should also read either <premiered> or <aired>

Parental rating: <mpaa> isn't read.

IMDb Id: <id> isn't read.  -> sfnetwork nfo has <imdbid> which is not standard XBMC. It should read also <id>

People "Writing" <credits> isn't read

Link to comment
Share on other sites

pünktchen

As for the missing field in MBS metadata values, that's another thing, but as far as reading data from NFO, from my test (movies only for now) it's all OK (so far...)

Everything mentioned "isn't read" above, is fine from my end...

 

I agree about adding more fields for Original title, Outline, etc... but for now I think the goal is that it reads the nfo to fill the fields available in MBS...

***Isn't "Short overview" for the outline? If so, not working...

 

Here is my nfo for reference:

https://dl.dropboxusercontent.com/u/5118921/Others/300.nfo

 

Okay, did another test for movies with fresh library:

Vote count: <votes> isn't read.

Release date: <premiered> isn't read.  -> sfnetwork nfo has <releasedate> which is not standard XBMC. It should also read either <premiered> or <aired>

Parental rating: <mpaa> isn't read.

IMDb Id: <id> isn't read.  -> sfnetwork nfo has <imdbid> which is not standard XBMC. It should read also <id>

People "Writing" <credits> isn't read

Link to comment
Share on other sites

SikSlayer

Slowly but surely this plugin, I believe, is renaming all my content with the original titles for foreign films for instance.

 

I started noticing this a day or two ago. I've had to go into the metadata manager to correct them.

 

Also, suddenly all my custom sort names are all gone.

 

I believe these two things are related.

 

EDIT: I've noticed all these changes happened on the 12th, they all have the same date on their related .nfo files.

Edited by SikSlayer
Link to comment
Share on other sites

pünktchen

It is reading the date but check the plugins date format setting

Ah I see. I'm so sorry! For testing i've used the german standard dd.MM.yyyy

 

So only <credits> still don't work for me.

Link to comment
Share on other sites

The plugin doesn't rename anything, and it supports custom sort names.

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
×
×
  • Create New...