Skip to content

Latest commit

 

History

History
44 lines (39 loc) · 1.3 KB

kodi_library.md

File metadata and controls

44 lines (39 loc) · 1.3 KB
title description published date tags editor dateCreated
kodi_library
true
2022-12-03 03:42:34 UTC
markdown
2022-09-18 05:07:12 UTC

Kodi library

Requirements: JSON-RPC must be enabled. See http://kodi.wiki/view/JSON-RPC_API#Enabling_JSON-RPC on how to enable it. {.is-info}

Simple plugin to send clean or scan requests to a remote or local Kodi server.

Plugin Settings

Currently the following settings are supported:

Option Description
action Can be either scan or clean.
category The library type for which the action should be performed. Can be either audio or video.
url URL to the Kodi webserver.
port (default 8080) Port the Kodi webserver listens on.
username (optional) Username for accessing the webserver.
password (optional) Password for accessing the webserver.
only_on_accepted Only send the request if entries were accepted (default yes).

Example

This plugin can be used in a move/sorting task in such way that Kodi scans for new video files after the moving/sorting is completed.

tasks:
  organize_my_stuff:
    filesystem:
      ...
    move:
      ...
    kodi_library:
      action: scan
      category: video
      url: http://192.168.1.255
      port: 8080