Quantcast
Channel: Kodinerds.net - Deutschsprachiges Forum zum Kodi Entertainment Center
Viewing all articles
Browse latest Browse all 87137

[BETA] Kodi Metadata Editor

$
0
0
kodinerds.net/index.php/Attach…9e7c171eef6d8d2f5f06b7de9

Metadata Editor Script

Kodi script to edit basic metadata information of library items with support to automatically update the .nfo file.


Supported Kodi versions
  • Leia
  • Matrix (Untested yet, but should work out of the box.)


Where to get it
  • The most current versions are always available on my private Kodi repo
  • Once everything is 100% working it gets released on the Kodi repo


NFO Files

The updating of .nfo items is only possible for video library items, because the JSON result doesn't return any path for music entries.

Supported .nfo namings:
  • %Filename%.nfo
  • tvshow.nfo
  • movie.nfo


Script usage

Quellcode

  1. The script can be called with the context menu or RunScript() commands (useful for skinners).
  2. A library updating task can be started by starting the addon itself.
  3. Context menu entries:
  4. * `Metadata Editor` / `Open Editor` = Editor dialog or sub menu if more options are available
  5. * `Add/remove available genres` = Quickly edit the genres which the item belongs to
  6. * `Add/remove available tags` = Quickly edit the tags which the item belongs to
  7. * `Add/remove favourite tag` = Shortcut to toggle the library tags `Movie Watchlist`, `TV Show Watchlist` and `Music Video Watchlist`. Can be used to create custom splitted favourite widgets (like a watchlist).
  8. * `Update ratings` = Will update ratings by using the OMDb and TMDb API
  9. RunScript calls:
  10. * `RunScript(script.metadata.editor,dbid=$INFO[ListItem.DBID],type=$INFO[ListItem.DBType])` = opens editor
  11. * `RunScript(script.metadata.editor,action=setgenres,dbid=$INFO[ListItem.DBID],type=$INFO[ListItem.DBType])` = opens genre selector
  12. * `RunScript(script.metadata.editor,action=settags,dbid=$INFO[ListItem.DBID],type=$INFO[ListItem.DBType])` = opens tags selector
  13. * `RunScript(script.metadata.editor,action=togglefav,dbid=$INFO[ListItem.DBID],type=$INFO[ListItem.DBType])` = toggle watchlist tag
  14. * `RunScript(script.metadata.editor,action=updaterating,dbid=$INFO[ListItem.DBID],type=$INFO[ListItem.DBType])` = Updates rating for the requested item
  15. * `RunScript(script.metadata.editor,action=updaterating)` = Updates all movie and TV show ratings
  16. * `RunScript(script.metadata.editor,action=updaterating,type=movie)` = Updates all ratings for movies
  17. * `RunScript(script.metadata.editor,action=updaterating,type=tvshow)` = Updates all ratings for TV shows
Alles anzeigen

Help to translate the script into your language!

Translate on TransiFex


Donations

Free beer or money for the tip jar of my daughter is welcome and helps me to stay motivated :)
Please click here to donate

Screenshot

kodinerds.net/index.php/Attach…9e7c171eef6d8d2f5f06b7de9

Viewing all articles
Browse latest Browse all 87137


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>