2015-05-20, 22:42
Hi everyone,
I'd like to tell Kodi that I added a series episode, but I fail to do it via the json API.
I tried
with XXXX being:
- showname
- showname/
- showname/episodefolder
- showname/episodefolder/
- showname/episodefolder/episode.mkv
- showname/episode.mkv
But it doesn't work, the "updating library" message flashes in the up left corner, but that's about it.
Am I missing something?
(maybe) relevant info:
- I'm on openelec, rp2, up to date
- using the tvdb info provider
- files are on a usb hdd
- updating without params works but is slow as it looks at everything
- I always get an OK response[/code]
I'd like to tell Kodi that I added a series episode, but I fail to do it via the json API.
I tried
Code:
curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Scan", "id": "mybash", "params": {"directory":"/media/usbdrive/Videos
/Series/XXXX"}}' -H 'content-type: application/json;'
- showname
- showname/
- showname/episodefolder
- showname/episodefolder/
- showname/episodefolder/episode.mkv
- showname/episode.mkv
But it doesn't work, the "updating library" message flashes in the up left corner, but that's about it.
Am I missing something?
(maybe) relevant info:
- I'm on openelec, rp2, up to date
- using the tvdb info provider
- files are on a usb hdd
- updating without params works but is slow as it looks at everything
- I always get an OK response[/code]