CLI library update?
#1
Is there a way to trigger the library update from the CLI?
Reply
#2
yes, and it has been answered many many times. Search
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#3
topfs2 Wrote:yes, and it has been answered many many times. Search
I take it this response may have been a contributing factor to this post Big Grin http://forum.xbmc.org/showthread.php?tid=99092

If it helps you, I trigger my updates from the command line with the JSON-RPC interface, using the VideoLibrary.ScanForContent method.
XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
Reply
#4
hehe, forgot about this. at times I'm irritated and take it out on the users, I did a google search and almost everyone of them points to httpapi way of doing it (which is deprecated) and this thread seems as good as any to say:

Code:
curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.ScanForContent", "id": 1 }' -H 'content-type: text/plain;'  http://IP:PORT/jsonrpc

Port is usually 8080 or 80 depending on your os (former linux, osx etc and latter windows).

Another way is
Code:
xbmc-send localhost -a "XBMC.update library(video)"

IIRC.

Cheers,
Tobias
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#5
Yes, I started that thread after the initial reply. I can't stand being told to search after I have already tried, and as you have found...searching on here doesn't get you very far. I know that its irritating to repeat yourself, but if the search was adequate I would take ownership of my failure to properly use it, but it is not.

Anyhow, thanks for the help. I am on the right track now.
Reply
#6
I am even willing to contribute my time in getting osqa or something decided upon by the community, setup.
Reply

Logout Mark Read Team Forum Stats Members Help
CLI library update?0