CLI library update?
cynicaljoy
Junior Member Posts: 24 Joined: Feb 2011 Reputation: 0 |
2011-03-04 20:43
Post: #1
Is there a way to trigger the library update from the CLI?
|
| find quote |
topfs2
Team-XBMC Developer Joined: Dec 2007 Reputation: 8 |
2011-03-04 20:59
Post: #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. ![]() "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#." |
| find quote |
bradvido88
Donor Joined: Nov 2008 Reputation: 7 Location: MN |
2011-04-11 21:12
Post: #3
topfs2 Wrote:yes, and it has been answered many many times. SearchI take it this response may have been a contributing factor to this post http://forum.xbmc.org/showthread.php?tid=99092If 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 (ForTheRecord & XBMC Library Integration) SageTV & XBMC PVR Integration Delete unused thumbs |
| find quote |
topfs2
Team-XBMC Developer Joined: Dec 2007 Reputation: 8 |
2011-04-11 23:13
Post: #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/jsonrpcPort 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. ![]() "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#." |
| find quote |
cynicaljoy
Junior Member Posts: 24 Joined: Feb 2011 Reputation: 0 |
2011-04-12 01:26
Post: #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. |
| find quote |
cynicaljoy
Junior Member Posts: 24 Joined: Feb 2011 Reputation: 0 |
2011-04-12 01:27
Post: #6
I am even willing to contribute my time in getting osqa or something decided upon by the community, setup.
|
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/projects/149/badge.gif)
Search
Help