Kodi Community Forum
Beta Metadata Editor - Update library + .nfo informations - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: Beta Metadata Editor - Update library + .nfo informations (/showthread.php?tid=349035)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14


RE: Metadata Editor - Update library + .nfo informations - sualfred - 2019-11-16

Thanks for confirmation.

PR is open -> https://github.com/xbmc/repo-scripts/pull/1200


RE: Metadata Editor - Update library + .nfo informations - firewater - 2019-12-02

I'm coming from a thread were I'm wondering how to write the <userrating> I create with Kodi's GUI into the .nfo of the video. Looking at the opening post, it seems the RunScript(script.metadata.editor,action=updaterating,dbid=$INFO[ListItem.DBID],type=$INFO[ListItem.DBType]) action will retrieve <rating> from online sources and then write it to the .nfo. Being that it's close to what I need, I wanted to ask if you could implement a RunScript command that will update a given field on the .nfo of the video. There's currently no way, that I know of, to export the .nfo of one file (instead of the whole library), nor to export a singular field (instead of all the fields).


RE: Metadata Editor - Update library + .nfo informations - sualfred - 2019-12-02

So you want to skip the dialog and only want to update "userrating" for example so it get's also written to the nfo? Ok, I'm looking into it.


RE: Metadata Editor - Update library + .nfo informations - firewater - 2019-12-03

Yes, I'd like to be able to write the userrating of a video's .nfo with a keymap. Thank you so much!


RE: Metadata Editor - Update library + .nfo informations - sualfred - 2020-01-05

@Karellen 
I've reworked 50% of the addon. Could you run a test before I push it to the repo?

@firewater 
I've also added your request for a keymap:
RunScript(script.metadata.editor,action=setuserrating)
Or do you want it in the context menu?

https://github.com/sualfred/script.metadata.editor/tree/rework


RE: Metadata Editor - Update library + .nfo informations - Karellen - 2020-01-06

(2020-01-05, 12:11)sualfred Wrote: I've reworked 50% of the addon. Could you run a test before I push it to the repo?
Sure. Can you give me a couple of days as I am a bit busy at the moment, and your addon takes a bit of time to test Smile


RE: Metadata Editor - Update library + .nfo informations - shedrock - 2020-01-06

Is this addon supposed to work for editing Music as well? I ask because it is visible from the context menu and you can change the various fields available. The problem is, the addon won't let me exit. The window just keep popping up and I have to manually reboot my system in order for it to terminate.

Regards,

Shedrock


RE: Metadata Editor - Update library + .nfo informations - sualfred - 2020-01-06

Yes, artist, albums and songs. For me it correctly exits.


RE: Metadata Editor - Update library + .nfo informations - shedrock - 2020-01-06

(2020-01-06, 08:07)sualfred Wrote: Yes, artist, albums and songs. For me it correctly exits.
Not for me. I am using Aeon Nox Silvo skin, so I am not sure if that's the problem. I will try with another later on today and let you know.

Regards,

Shedrock


RE: Metadata Editor - Update library + .nfo informations - sualfred - 2020-01-06

The rework branch I've posted above? (just for info, updated it today again)
Leia or Matrix?


RE: Metadata Editor - Update library + .nfo informations - shedrock - 2020-01-06

Not sure if the above post was for me. If it was, then I am on Leia.


RE: Metadata Editor - Update library + .nfo informations - sualfred - 2020-01-06

For you.

Please test https://github.com/sualfred/script.metadata.editor/tree/rework


RE: Metadata Editor - Update library + .nfo informations - shedrock - 2020-01-07

(2020-01-06, 13:06)sualfred Wrote: For you.

Please test https://github.com/sualfred/script.metadata.editor/tree/rework
Sorry @sualfred, I was at work when I got this message. I'll check this version tonight and get back to you.

UPDATE: Thanks sualfred, this version works perfectly.

Regards,

Shedrock


RE: Metadata Editor - Update library + .nfo informations - sualfred - 2020-01-12

Beta release of the new version (on my repo).

Please take a look in the first post or readme.md on GitHub for updated RunScript() calls.

Changes so far:
  • Fixed various issues with the editor and rewrote 50% of the comeplete script
  • Changed rating updater batch handling
  • Added "update .nfo" to the context menu
  • Added "updatenfo" to script actions
  • Added "setuserrating" to script actions
  • Added support for movie sets and improved the set selection dialog in the editor
  • Added dialog to add your own user rating after a playback has 100% ended (disabled by default)
  • Added OMDb limit reached warning
  • .nfo: gets written completely instead of the modified value
  • .nfo: gets created, if missing (can be disabled)
  • .nfo: modified values are now in the top
  • .nfo: more MPAA filter options (skip not rated, don't use US fallback)
  • .nfo: fixed wrong or missing values
  • .nfo: includes watched states now (can be disabled)
  • .nfo: background monitor to automatically apply the watched state to the .nfo (after playback or manually changed watched flag - can be disabled)
  • .nfo: more Emby compatible keys



RE: Metadata Editor - Update library + .nfo informations - bobrap - 2020-01-13

Just wanted to say thank you very much for the latest update.  Adding the writing of watched state to the nfo is something I've been looking for for a long time.  NFO watched state addon was ok, but very old and unreliable.  Thanks again and I hope you continue to add to this great addon.


This forum uses Lukasz Tkacz MyBB addons.