Jump to content

Additional Meta Data won't delete the Existing


Recommended Posts

skewed_stony
Posted

Hi Luke,

is there a way that you can add a feature on emby server, that will stop the delete of existing content in the nfo-files?

I asked depending on the problem with the missing metadata field "orignal aspect". 
After I installed a newer version of emby, the server will make a automatic library refreh. After the refresh in the nfo's will be any data lost that are no more supported. 
I think, if there is really no way to add that missing metadata "original aspect", this could be a way to find a solution.

What do you think?

THX & REGARDS
Stony

Posted

Hi, we should already be doing this. Anything unrecognized just gets preserved.

skewed_stony
Posted

Hi Luke,

I checked it out, but the refresh will copy the data till the end of the nfo, so that kodi it will not recognize.

For example I attached the different files before an after the refresh.
Is there no way to stop that? Only the Line with the aspect ration will be needed.

Pls take a look

THX

NFO after 4.1.0.8.nfo NFO before 4.1.0.8.nfo

Posted

Did you select the option "Replace All Metadata"?

Posted

I would try it again with 4.4.3.

skewed_stony
Posted

Hi, I tried with the the 4.4.3 and it will be the same thing. 😕

 

Posted

Can you provide before and after examples? What exactly did you do to test it?

pünktchen
Posted

It doesn't matter where in the nfo <aspectratio>  occurs, Kodi doesn't use it. If you mean Emby for Kodi it's the same, because the addon doesn't read the nfo file but Emby's database. And in the database the original aspect ratio isn't stored anymore.

Happy2Play
Posted (edited)
On 8/27/2020 at 11:18 PM, skewed_stony said:

Hi Luke,

I checked it out, but the refresh will copy the data till the end of the nfo, so that kodi it will not recognize.

For example I attached the different files before an after the refresh.
Is there no way to stop that? Only the Line with the aspect ration will be needed.

Pls take a look

THX

NFO after 4.1.0.8.nfo 9.4 kB · 2 downloads NFO before 4.1.0.8.nfo 8.57 kB · 2 downloads

The only difference in the two is the order and that shouldn't matter in any parser

Both have aspectratio>2.40:1</aspectratio>

 

Edited by Happy2Play
skewed_stony
Posted
On 28/08/2020 at 14:16, ebr said:

Did you select the option "Replace All Metadata"?

No I didn't

By the way, Kodi will use this, depending on each Skin u will use. I use the AEON NOX SILVO.

It will work at its best, even emby will not put the infos till the end of the nfo!

pünktchen
Posted
2 hours ago, skewed_stony said:

No I didn't

By the way, Kodi will use this, depending on each Skin u will use. I use the AEON NOX SILVO.

It will work at its best, even emby will not put the infos till the end of the nfo!

Aeon Nox Sivio uses the Kodi default skin property for the video aspectratio (ListItem.VideoAspect):

<control type="image">
  <width>127</width>
  <colordiffuse>grey</colordiffuse>
  <include>MediaFlagValues</include>
  <texture>$VAR[MediaFlagsPathVar]/aspectratio/$INFO[ListItem.VideoAspect,,.png]</texture>
  <visible>!String.IsEmpty(ListItem.VideoAspect)</visible>
</control>

Without any Emby addon, Kodi reads the video aspectratio from the streamdetails of a nfo and that is called <aspect> not <aspectratio>! That value, whatever it is, is stored in Kodi's video database and is used for the skin property above. But after playing a video, that value is replaced by the actual video stream aspectratio. Kodi does not use <aspectratio> from a nfo.

skewed_stony
Posted
17 hours ago, pünktchen said:

Aeon Nox Sivio uses the Kodi default skin property for the video aspectratio (ListItem.VideoAspect):


<control type="image">
  <width>127</width>
  <colordiffuse>grey</colordiffuse>
  <include>MediaFlagValues</include>
  <texture>$VAR[MediaFlagsPathVar]/aspectratio/$INFO[ListItem.VideoAspect,,.png]</texture>
  <visible>!String.IsEmpty(ListItem.VideoAspect)</visible>
</control>

Without any Emby addon, Kodi reads the video aspectratio from the streamdetails of a nfo and that is called <aspect> not <aspectratio>! That value, whatever it is, is stored in Kodi's video database and is used for the skin property above. But after playing a video, that value is replaced by the actual video stream aspectratio. Kodi does not use <aspectratio> from a nfo.

I couldn't confirm that. 
The Movie Content is with an Ratio of 16.9 in the stream data. Only in the nfo will be the entry of "2.40:1". Kodi will get that Info an change the flag to "2.40:1". If Emby change it in the nfo like my attached file , Kodi will change the flag to "2.76:1"

Posted

Do you still think there's an issue with Emby nfo handling?

Posted
On 9/9/2020 at 3:52 AM, skewed_stony said:

I couldn't confirm that. 
The Movie Content is with an Ratio of 16.9 in the stream data. Only in the nfo will be the entry of "2.40:1". Kodi will get that Info an change the flag to "2.40:1". If Emby change it in the nfo like my attached file , Kodi will change the flag to "2.76:1"

Why is Kodi changing the ratio to something not in the media itself?

pünktchen
Posted
31 minutes ago, Luke said:

Do you still think there's an issue with Emby nfo handling?

Definitely not. My previous post has even a link to Kodi's nfo scraper code and there the Emby "aspectratio" is never read.

  • Like 1
skewed_stony
Posted
5 hours ago, Luke said:

Do you still think there's an issue with Emby nfo handling?

I think YES! I couldnt imagine why Kodi get that Info from the nfo and read it. I am not an software expert but it will work always fine with the versions of emby before 4.1.0.8

All my movie data will become the manual information of an aspecratio in the metadataeditor different to its real. Kodi take that info and show the right Aspect-Flag so that my projector could handle with that info the right canvas masking.

Could you pls give me a downloadlink to an emby server windows version of 4.1.0.8 so I could test it with emby server local and give you a report on that.

My System ist working on an QNAP NAS with emby 4.1.0.8. and the newest version of Kodi 18 LEIA.

THX
 

skewed_stony
Posted
5 hours ago, pünktchen said:

Definitely not. My previous post has even a link to Kodi's nfo scraper code and there the Emby "aspectratio" is never read.

I think also yes, because it works and kodi read that info from the nfo even.
If the Scraper isnt that thing that read the aspectratio then the skin will read it. I think.
Pls take a look into that AEON NOX silvo code.

THX

skewed_stony
Posted

So Gentlemen! I tested some different situations.
First of all in some cases your absolutely right, but not at all :)

I installed kodi on a fresh new windows 64 pc and saved some local movie data. I get them in kodi as local database. The movies saved with the actual nfo and some pictures. In the NFO the stream Information on aspectration and aspect was "16:9". Kodi show his as mediaflag 2.76:1. If I changed that to "2.40:1", Kodi will show that also as "2.40:1", but only when I am changing it in the aspect line and not in the aspectratio line. So "püncktchen" was right on that.

Second Configuration is based on a local emby media for windows on the same pc. Emby Addon installed and some movies are in the emby server listed.
In the NFO the stream Information on "aspectration" and "aspect" was "16:9". Kodi show his as mediaflag 1.78:1. If I changed that to "2.40:1", Kodi will show that also as "2.40:1".
If I dropped an "aspectratio" line before the "stream" lines, it will be also recognized as mentioned before.
So Emby will change that nfo-details to a fitting line for kodi to get the correct mediaflags.

I think the solution will be, that the manual aspectration has to be editing in the metadataeditor as on emby versions before 4.1.0.8 and all will be fine.
Btw. some aspectratio formats will not be supportet as well, like 2.66:1 and 2.00:1 for example


 

 

pünktchen
Posted

What is the version number of your Emby server that you've used for your last test? Also, was it a new Emby installation or an upgrade from an older version?

skewed_stony
Posted
2 hours ago, pünktchen said:

What is the version number of your Emby server that you've used for your last test? Also, was it a new Emby installation or an upgrade from an older version?

Hi pünktchen, it was the newest Version 4.4.3.0. It was a complete new installation.
 

Posted
6 hours ago, skewed_stony said:

In the NFO the stream Information on aspectration and aspect was "16:9". Kodi show his as mediaflag 2.76:1. 

In the NFO the stream Information on "aspectration" and "aspect" was "16:9". Kodi show his as mediaflag 1.78:1.

That's a bit confusing but if you get out your calculator and do 16 /9 = 1.78 (rounded) so the 2nd instance is correct.

In either case this seems to be a Kodi issue and not an Emby issue, correct?

  • 6 months later...
skewed_stony
Posted

Hello again,

I made some new tests with the newest Kodi Version and Skin AEON NOX SILVO depending on that aspectratio problem.

I can now confirm that the "aspectratio" Parameter must be in the <movie> Lines to be included, that emby will get that flag an show them in the mediaflag when you go throug the database in kodi.

If you play the movie then the flag will change into the file format from the nfo <streamdetails> + <video> parameter <aspect> + <aspectratio>

So finally, it is not a problem with kodi! Kodi will read this flags depending on where it is in the nfo!!!

Could you pls kill this bug in the next emby update?

THX STONY

Posted

OK I would try the nfo saving again with the upcoming 4.6 server release. Thanks.

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...