Jump to content

XML & NFO Questions


Recommended Posts

Posted

There is for some time been an issue with dates in XML files and getting the month and day the wrong way round, despite on Synology Emby Server it being correct format for UK.

Both dates look correctly formatted. 

 

Seems to affect the early part of the month and then something like after the 12th of each month, it reads it in correctly again.

When it does this I have to use the metadata editor in Emby to swap the month and day around so it's correct.

 

Reported before some time ago.

Posted

That's another reason to use nfo over xml. I do not want to change the xml date parsing over worries of it negatively affecting others, and I do not have enough bandwidth to start building options into the xml plugin. But with nfo there is no such problem.

  • 2 years later...
Posted (edited)

 Hello everyone, I think that after upgrading to server 4.7.8.0 the library scan picked up multi files within a movie folder and thinks that are different films, is there a way to fix that without having to reencode hundreds of old movies in my library?

Edited by gnollo
Happy2Play
Posted (edited)
11 minutes ago, gnollo said:

 Hello everyone, I think that after upgrading to server 4.4.8.0 the library scan picked up multi files within a movie folder and thinks that are different films, is there a way to fix that without having to reencode hundreds of old movies in my library?

Sorry can you elaborate?  At the same time not much support can be provided for older server versions.  Maybe a typo?

Edited by Happy2Play
Posted
9 hours ago, Happy2Play said:

Sorry can you elaborate?  At the same time not much support can be provided for older server versions.  Maybe a typo?

Yes, sorry, I’m on version 4.7.8.0

GrimReaper
Posted
10 hours ago, gnollo said:

 Hello everyone, I think that after upgrading to server 4.7.8.0 the library scan picked up multi files within a movie folder and thinks that are different films, is there a way to fix that without having to reencode hundreds of old movies in my library?

As stated:

10 hours ago, Happy2Play said:

Sorry can you elaborate? 

Specific example will be needed with some more details, like your folder structure, naming scheme etc.

  • Agree 1
Posted

yes for example 

\unraid\divx\knocked.up\p-kua.avi

\unraid\divx\knocked.up\p-kub.avi

No subflolders

No subtitles

only xml, nfo and jpg files in the same folder

Emby actually scanned and added the p-kub.avi as Kubo and the two strings... The file has been there since 2007, so something must have changes in Emby for it to suddenly pop up, alonge side all my other multiple files per movie folders...

Posted

Does anybody know why that does not work anymore? It did work before.

Posted

HI, can you please show the complete contents of the folder, with exact file names? Thanks.

Happy2Play
Posted (edited)

@gnollo Not sure as I don't have your metadata, adding your example to a db only library creates two movies from this structure as filename is queried.

\divx\knocked.up\p-kua.avi

\divx\knocked.up\p-kub.avi

 

	Line 129: 2022-10-27 16:11:31.336 Info App: MovieDbProvider: Finding id for item: p-kua
	Line 186: 2022-10-27 16:11:33.879 Info App: MovieDbProvider: Finding id for item: p-kub

Folder view for these two files

image.thumb.png.72972c1f21f6f2c62edcc234aeb978fe.png

I can only guess your existing metadata is not being read.

Edited by Happy2Play
Posted
51 minutes ago, Luke said:

HI, can you please show the complete contents of the folder, with exact file names? Thanks.

 

 Directory of Z:\divx\Knocked.Up

03/02/2020  22:27    <DIR>          .
23/10/2022  02:06    <DIR>          ..
24/12/2009  09:22           663,586 fanart.jpg
15/11/2009  18:15                90 p-kub.dvdid.xml
15/11/2009  18:15                90 p-kua.dvdid.xml
03/02/2020  22:27            14,655 movie.xml
15/11/2009  18:44           205,752 mymovies-front.jpg
15/11/2009  18:15            52,386 folder.jpg
22/08/2007  14:02       733,564,928 p-kua.avi
03/02/2020  22:27             9,163 p-kua.nfo
22/08/2007  14:03       728,887,296 p-kub.avi
15/11/2009  18:15            52,386 poster.jpg
15/11/2009  18:44           277,912 mymovies-back.jpg
24/12/2009  09:22           663,586 backdrop.jpg
 

Posted

OK yes with 4.7 we no longer combine on just a and b because that can lead to false positives where things get combined that shouldn't.

You'll need to use an explicit method to name them as multi-part:

https://support.emby.media/support/solutions/articles/44001159102-movie-naming

So for example:

Knocked Up (2009)-part1.avi
Knocked Up (2009)-part2.avi
Knocked Up (2009)-pt1.avi
Knocked Up (2009)-pt2.avi
Knocked Up (2009)-pta.avi
Knocked Up (2009)-ptb.avi

etc.

  • 3 weeks later...
Posted

Yep this worked, thank you. The unfortunate thing is that now I have to rename over 400 movies, so over 800 manual file renaming....

Posted

Let us know how you get on. Thanks.

  • 2 weeks later...
Posted

Job done, the movie list is now back to how it should look, thanks for the tip Luke.

  • Thanks 1
Posted (edited)

Hmm, now that I can see the movies, I realised that new additions do not show up at all. I just scanned manually several times, no change. The movies are in the usual folder, but they are not being picked up. Any thoughts? Also manually updated the server docker version to 4.7.10.0, and scanned again, no change.

[edit, although both issues manifested after the software upgrade, they are separate, so I will create a new thread for this one.]

Edited by gnollo
Posted
12 hours ago, gnollo said:

Hmm, now that I can see the movies, I realised that new additions do not show up at all. I just scanned manually several times, no change. The movies are in the usual folder, but they are not being picked up. Any thoughts? Also manually updated the server docker version to 4.7.10.0, and scanned again, no change.

[edit, although both issues manifested after the software upgrade, they are separate, so I will create a new thread for this one.]

HI there, can you please provide a specific example? thanks.

  • 7 months later...
tanStaafl
Posted (edited)

As I understand it, nfo is the default, but EMBY xml is also an option from the library configuration. Is the xml structure the same as the nfo structure or is it different. I understand that the nfo file is in xml and follows KODI format, is the xml xml file the same?

Hope this isn't confusing, as I am almost confused myself 🙂

The reason I am asking is that all my metadata is in .xml files and has been since this was Media Browser and want to make sure the formatting is correct.

Edited by tanStaafl
Posted
1 hour ago, tanStaafl said:

As I understand it, nfo is the default, but EMBY xml is also an option from the library configuration. Is the xml structure the same as the nfo structure or is it different. I understand that the nfo file is in xml and follows KODI format, is the xml xml file the same?

Hope this isn't confusing, as I am almost confused myself 🙂

The reason I am asking is that all my metadata is in .xml files and has been since this was Media Browser and want to make sure the formatting is correct.

It’s different than nfo. At this point in all honesty you’re better off deleting them as Emby server’s xml support has not been kept up to date with new features in the way nfo has.

tanStaafl
Posted

Thank you for the quick response.

So I should just delete, not replace with .nfo formatted files? EMBY will do this for me?

tanStaafl
Posted

Ok, I see now how it works and where the .nfo files are stored. So one last question, is there a way to direct the tv show .nfo files to a separate metadata folder?

Thanks in advance.

Posted
22 hours ago, tanStaafl said:

Thank you for the quick response.

So I should just delete, not replace with .nfo formatted files? EMBY will do this for me?

If you delete, then Emby Server will gradually save new nfo's over time whenever metadata is updated.

Posted
20 hours ago, tanStaafl said:

Ok, I see now how it works and where the .nfo files are stored. So one last question, is there a way to direct the tv show .nfo files to a separate metadata folder?

Thanks in advance.

There is no option to move the nfo files to another location, sorry.

tanStaafl
Posted

Thanks again for all your help. I wrote a forward facing interface 12+ years ago to supplement what was Media Browser at the time (uses RSS, RAR, uTorrent WEBui etc). It appears many of the features I built into it are no longer necessary as EMBY handles it all 🙂 .. time for an overhaul!

I found that if I delete the .xml's then go to each library and refresh the metadata it builds all the .nfo files immediately.. so one and done!! 🙂 

Thanks again!!

  • Thanks 1
tedfroop
Posted

Sorry for probably covering ground that may have been covered here already but I have difficulty with logic and cognition at times, and following threads is difficult at best.......

Please correct me if I'm wrong, but in the interests of preserving backing up and restoring in case of trouble I need help understanding this.

- If I take a file, lets say a Looney Tunes cartoon, and add metadata,  say adding the cartoon characters as actors.  And add photos and bio for those characters,  IF I don't have NFO metadata savers active, then all the meta I change is saved to the XML database (both actor and file).  IF I do a full refresh and don't have the file data locked - it disappears?  I would have to go back and add those "actors" again?

- If I choose to go to NFO savers, the meta is saved to the NFO any time the meta is edited.  Say for instance adding tags, actors, editing episode descriptions etc?

- How is the added actor data saved?  How do I ensure its backed up? Is that part of what the server backup plugin does?

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