JSON RPC + Video Library Scanning
#1
I'm looking for a way to reload tv show data from an nfo file.
As there is no "easy" way to make XBMC re-read an nfo file I have to remove an episode and call the library scanner, so basically this:

Code:
VideoLibrary.RemoveEpisode episodeid=1
VideoLibrary.Scan

But that's not working as expected: The episode is removed but not picked up again. Debug log says:

Code:
VideoInfoScanner: No (new) information was found in dir ...

Also adding the "directory" parameter pointing to the tv show directory results in the same.
If I use the GUI and select "Scan for new content" in the shows context menu the removed episode is added again.
So is there a way to force scanning a directory regardless of previous found contents (or modification time) via the JSON RPC API?

btw: removing a movie and calling VideoLibrary.Scan works, also removing the whole show and calling VideoLibrary.Scan
Reply

Logout Mark Read Team Forum Stats Members Help
JSON RPC + Video Library Scanning0