Insert item in library through python/json api
#1
Hi,

I was wondering if there is any way I can perform a "scan item to library" from python api or from the json api?

On the same topic is there a way I can define a video source as being Tv shows, movies or music videos from python/json api?

My idea is to create a web interface for management of the video/music/image sources of several XBMC machines on the network. I saw that altering the sources.xml file I can add sources, what I don't know is how to manipulate the library.

Thanks in advance,
Nuno
Reply
#2
Well I discovered that one can update the music library with the builtin command:

UpdateLibrary(database,[path])

like this:

UpdateLibrary(Music,smb://path-to-media)

I'm not finding a way to do "set content" for movies through the api's.
Reply

Logout Mark Read Team Forum Stats Members Help
Insert item in library through python/json api0