Welcome to Media Center Master!
A powerful solution for mastering your digital media library.
Supporting Emby, Kodi/XBMC/OSMC, Plex, Windows Media Center, and more!

Home Download Gallery Wiki Issue Tracker Licensing Forums

   FAQ  •  Search •  Login •  Register     
It is currently October 19th, 2017, 10:20 am

All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: XBMC Library Updates  [SOLVED]
PostPosted: April 12th, 2014, 7:36 pm 
Offline
High-Def MKV

Joined: February 15th, 2011, 2:32 am
Posts: 131
Hi all,

I've had issues for several years with MCM accessing the JSON-RPC interface to update my library automatically after downloading new TV episodes. It seems to be something completely unique to my configuration, but in the off chance that anybody else has the issue, I wanted to provide a workaround.

According to the XBMC wiki, you can download cURL and POST the request for a library update via the windows command prompt:

http://wiki.xbmc.org/index.php?title=HO ... te_library

I made a .bat file with the following command:

curl -i -X POST -d "{\"jsonrpc\": \"2.0\", \"method\": \"VideoLibrary.Scan\", \"id\": \"mybash\"}" -H "content-type:application/json" http://<your_xbmc_username>:<your_xbmc_password>@<your_xbmc_ip_and_port>/jsonrpc

In MCM, settings, Post-Processing tab, I simply checked the box for "Enable T.V. episode post-processing" and pointed it to the .bat file I created with the cURL command.

Now, every time MCM process a TV episode, it runs the command and XBMC updates the library.

Cheers.


 Profile  
 Post subject: Re: XBMC Library Updates
PostPosted: May 14th, 2015, 9:38 pm 
Offline
Downloaded Clip

Joined: May 12th, 2015, 12:27 am
Posts: 3
Thanks for this great post. As I also switching to XBMC so this command is really useful to keep track of data in movie library.


 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group



Copyright © 2009-2017, Media Center Master, Inc. All rights reserved.