Created
July 15, 2016 19:27
-
-
Save zilexa/e82211bbfe41de4274b44d0b48b14642 to your computer and use it in GitHub Desktop.
Let Transmission notify Kodi of a finished download so that it will scan that particular file to the library (it will not do a full library update)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/wget --header='Content-Type:application/json' --post-data='{"jsonrpc": "2.0", "method": "VideoLibrary.Scan", "id": "osmc", "params": {"directory":"'"$TR_TORRENT_DIR"'/"}}' "http://localhost:8080/jsonrpc" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment