INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: NFO support level  (Read 1149 times)

Daydream

  • Citizen of the Universe
  • *****
  • Posts: 771
NFO support level
« on: September 16, 2023, 06:38:43 pm »

To what degree does MC support (Kodi's) NFO files?

Best guess is 'just read' and... most fields that make sense without creating conflicts with MC's own metadata.  I wonder if <userrating></userrating> can be added to what MC reads; right now it doesn't work, even if created manually.
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: NFO support level
« Reply #1 on: September 18, 2023, 09:15:09 am »

Short answer:  I don't know but if you have tested and MC does not read NFO files, I am not surprised.

I think of MC as primary library management interface.  It's pretty darned good at extracting metadata from file names.  It's pretty good at looking up movies and tv shows based on whatever metadata you have filled in.  It's also a video player.

Something like Kodi is just a player and organizer.  It's not a metadata resolver in any real sense.  It's just a reader. Frankly Kodi is pretty awful at all of the tasks it does.  I used it for quite a while before switching to something else.

In the MC universe, you pretty much use MC for everything I listed above.

In other universes (like Plex and Kodi), you can use an external metadata manager and have Plex or Kodi read those NFO files as a way to interface between them.  I'm currently doing that with another product and it works well.

On the other hand, the MC developers are pretty open to non-invasive integration.  So perhaps they would spend the time to write and NFO reader/writer.  I kinda doubt it though since they have such a heavy investment being a metadata manager and lookup tool.

Best of luck,
Brian.
Logged

eve

  • Citizen of the Universe
  • *****
  • Posts: 689
Re: NFO support level
« Reply #2 on: September 18, 2023, 12:09:38 pm »

NFOs work with my media files. In my case the NFO is the exact same name as the video file, just with the .nfo extension. I don't do movie.nfo. I've found this is easier since I end up with multiple versions of films.
JRiver picks up sensible things from the NFOs. For me personally, the important field is the ID of the media (since essentially how I interact with my library and playback isn't within JRiver itself).

I don't particularly love relying on NFOs but they're the easiest way to non destructively associate an id with a specific file that works across a bunch of different software.




Logged

Daydream

  • Citizen of the Universe
  • *****
  • Posts: 771
Re: NFO support level
« Reply #3 on: September 18, 2023, 06:00:23 pm »

That's the thing. MC does support reading NFOs. The feature was added many moons ago (4-5 versions ago?) kind of like a silent surprise, and am not sure if anybody looked at it ever again. Not sure if it was meant to be maintained, or it was just a cool little thing the team cooked up in an afternoon :).

But my main concern is <userrating>. It would be helpful to be added to what MC reads from NFO, in the sense that would help people moving from Kodi to MC, without having to redo a hell of a lot of personal ratings. Strategically, that should be an idea with some appeal to the devs ;).
Logged

eve

  • Citizen of the Universe
  • *****
  • Posts: 689
Re: NFO support level
« Reply #4 on: September 19, 2023, 03:21:25 am »

That's the thing. MC does support reading NFOs. The feature was added many moons ago (4-5 versions ago?) kind of like a silent surprise, and am not sure if anybody looked at it ever again. Not sure if it was meant to be maintained, or it was just a cool little thing the team cooked up in an afternoon :).

But my main concern is <userrating>. It would be helpful to be added to what MC reads from NFO, in the sense that would help people moving from Kodi to MC, without having to redo a hell of a lot of personal ratings. Strategically, that should be an idea with some appeal to the devs ;).
Yeah, I think support for <userrating> might be wise. Not something I use but I can really see the appeal.

I'm *very* glad they support NFOs though, I was worried I was going to have to start generating sidecar files in my ingest pipeline.

Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: NFO support level
« Reply #5 on: September 19, 2023, 04:36:00 am »

But my main concern is <userrating>. It would be helpful to be added to what MC reads from NFO, in the sense that would help people moving from Kodi to MC, without having to redo a hell of a lot of personal ratings.
We'll take a look at it.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10933
Re: NFO support level
« Reply #6 on: September 19, 2023, 05:18:27 am »

I've updated the NFO parser to use the <ratings> field for our Critic Rating field, like our own Web Scrapers do, and use <userrating> for Ratings.
Let us know if it works for your NFOs once the build is out!
Logged
~ nevcairiel
~ Author of LAV Filters

Daydream

  • Citizen of the Universe
  • *****
  • Posts: 771
Re: NFO support level
« Reply #7 on: October 02, 2023, 07:50:51 pm »

This is working very well! :) Big thanks guys!
Logged

AnteBios

  • Recent member
  • *
  • Posts: 8
Re: NFO support level
« Reply #8 on: December 28, 2023, 03:24:13 pm »

Please allow me to hijack this thread since its title is approrpiate.

For me, I'm just tinkering with Kodi on a QNAP Nas, and using it as a media player via the QNAP hdmi out.
I didnt need this when JRiver was on QNAP HDStation, but this is now history.

I organise all my libraries with JRiver, it is my single source of truth, which gives me total control over the metadata. And I love it this way.
I would like Kodi to read the sidecars xml and use that information instead of the other way round. I do not care about what scraper Kodi uses to get the metadata - I want to have control over it, and that's what JRiver gives me. Kodi just makes guesses and takes the best one, which will work fine in 80% of cases, but for me that's not enough.

So ideally instead of having a .nfo import function in JRiver (which exists since v19 I believe), an export to .nfo would be much more useful for me, since Kodi will parse an nfo if it exists before using its scrapers (see https://kodi.wiki/view/NFO_files).
The trick would be matching the sidecar's tags with the nfo ones, for instance <Field Name="Description"> with <plot>.

I could write my own xml parser and converter in python and do all that in a batch on all my sidecars and run it manually for new files, but of course it would be nicer to have it embedded in JRiver.
Would that be feasible for the devs?
Logged

eve

  • Citizen of the Universe
  • *****
  • Posts: 689
Re: NFO support level
« Reply #9 on: December 28, 2023, 07:56:14 pm »

Please allow me to hijack this thread since its title is approrpiate.

For me, I'm just tinkering with Kodi on a QNAP Nas, and using it as a media player via the QNAP hdmi out.
I didnt need this when JRiver was on QNAP HDStation, but this is now history.

I organise all my libraries with JRiver, it is my single source of truth, which gives me total control over the metadata. And I love it this way.
I would like Kodi to read the sidecars xml and use that information instead of the other way round. I do not care about what scraper Kodi uses to get the metadata - I want to have control over it, and that's what JRiver gives me. Kodi just makes guesses and takes the best one, which will work fine in 80% of cases, but for me that's not enough.

So ideally instead of having a .nfo import function in JRiver (which exists since v19 I believe), an export to .nfo would be much more useful for me, since Kodi will parse an nfo if it exists before using its scrapers (see https://kodi.wiki/view/NFO_files).
The trick would be matching the sidecar's tags with the nfo ones, for instance <Field Name="Description"> with <plot>.

I could write my own xml parser and converter in python and do all that in a batch on all my sidecars and run it manually for new files, but of course it would be nicer to have it embedded in JRiver.
Would that be feasible for the devs?

You answered yourself with my suggestion. It's like an afternoon of a project at most if it's something you want to do yourself with python or whatever.


Logged
Pages: [1]   Go Up