Search found 18 matches

by Ashex
May 6th, 2016, 3:18 am
Forum: General Help
Topic: RPM for Fedora and RHEL/CentOS/Scientific Linux 5-7
Replies: 200
Views: 238171

Re: RPM for Fedora and RHEL/CentOS/Scientific Linux 5-7

Just a gentle nudge for 1.0.1 :)
by Ashex
April 10th, 2013, 7:19 pm
Forum: Post-Processing Scripts
Topic: XBMC Library Updater
Replies: 115
Views: 770713

Re: XBMC Library Updater

Please do! It's great to share our work O0
by Ashex
February 26th, 2013, 10:27 pm
Forum: Post-Processing Scripts
Topic: XBMC Library Updater
Replies: 115
Views: 770713

Re: XBMC Library Updater

Unfortunately I haven't been able to spend any time on the script. I upgraded my htpc to XBMCbuntu Frodo and I've been having stability issues (randomly locks up) so testing is kinda impossible at the moment :/ I'm going to reinstall this weekend and set XBMC up manually, after that I'll be able to ...
by Ashex
February 23rd, 2013, 2:57 am
Forum: Post-Processing Scripts
Topic: XBMC Library Updater
Replies: 115
Views: 770713

Re: XBMC Library Updater

Oh shell scripting, how I don't miss you :P Thanks for posting the resolution to the problem, you've also given me an idea for updating shows via my python script. I've got everything mounted via NFS on the htpc, the paths are identical to that on the file server so i should be able to copy what you...
by Ashex
February 21st, 2013, 11:28 pm
Forum: Post-Processing Scripts
Topic: XBMC Library Updater
Replies: 115
Views: 770713

Re: XBMC Library Updater

Try changing the id. This is what you have: '{"jsonrpc": "2.0", "method": "VideoLibrary.Scan", "params":{"directory":"nfs://192.168.2.104/export/_TV/American Dad/s08"}, "id": "scan"}' This is what sickbeard use...
by Ashex
February 21st, 2013, 10:48 pm
Forum: Post-Processing Scripts
Topic: XBMC Library Updater
Replies: 115
Views: 770713

Re: XBMC Library Updater

Updating a specific show isn't a simple one-liner. You have to query XBMC for the shows file location using the Show name. You then take the file location and send an update request with that path. Also, my python script doesn't work with Frodo as the content-type isn't set. Unfortunately you can't ...
by Ashex
February 21st, 2013, 10:02 pm
Forum: Post-Processing Scripts
Topic: XBMC Library Updater
Replies: 115
Views: 770713

Re: XBMC Library Updater

Take a look at this function in the sickbeard xbmc notify script. The methods you need are described in there.
by Ashex
February 12th, 2013, 12:41 am
Forum: Post-Processing Scripts
Topic: Update xbmc after sabnzbd finishes a download?
Replies: 3
Views: 7278

Re: Update xbmc after sabnzbd finishes a download?

There are a few scripts in this thread. I've linked to my post which uses a python script for updating, I haven't switch to Frodo yet so if it doesn't work let me know.
by Ashex
February 12th, 2013, 12:40 am
Forum: Post-Processing Scripts
Topic: XBMC Library Updater
Replies: 115
Views: 770713

Re: XBMC Library Updater

Occasionally the API will die but the listener is still active, the result is the script never exiting. I didn't notice it last week and found about 10 downloads in the post-process queue waiting for the script to exit. I've added some stuff to my python script to handle this, I imagine there's a be...
by Ashex
April 17th, 2012, 3:45 pm
Forum: Bug Reports
Topic: Non-existent categories sorted as Shows
Replies: 2
Views: 2065

Re: Non-existent categories sorted as Shows

I was not aware of that, I checked the categories and turns out nothing was selected for Shows.

Apologies for the bad bug report.
by Ashex
April 14th, 2012, 1:13 pm
Forum: Bug Reports
Topic: Non-existent categories sorted as Shows
Replies: 2
Views: 2065

Non-existent categories sorted as Shows

I've noticed a bug that's occured a couple times, when a nzb is added with a category that doesn't exist it's sorted as a show, this happens when I use an extension to send a nzb (so there's a bug in the extension, but SAB isn't handling it correctly) Here's an example (sanitized): Completed 2012-04...
by Ashex
November 4th, 2011, 1:23 pm
Forum: Post-Processing Scripts
Topic: XBMC Library Updater
Replies: 115
Views: 770713

Re: XBMC Library Updater

If you want to use my python script, stick it in a file and name it xbmcupdate.py, don't forget to install the python library (look at the link in my previous post). Grant it execute permissions (chmod +x xbmcupdate.py) then drop it in the scripts folder. Once you have done that you'll need to go in...
by Ashex
October 25th, 2011, 4:58 pm
Forum: Post-Processing Scripts
Topic: XBMC Library Updater
Replies: 115
Views: 770713

Re: XBMC Library Updater

I haven't used it in the past, I was using xbmc-send before to do updates. This isn't exactly a fresh install but I haven't really tweaked it much since installing it. I did sort out the jsonrpc script, here it is: #!/usr/bin/python import jsonrpclib server = jsonrpclib.Server('http://localhost:8080...
by Ashex
October 6th, 2011, 11:32 am
Forum: Post-Processing Scripts
Topic: XBMC Library Updater
Replies: 115
Views: 770713

Re: XBMC Library Updater

I'm running 10.1 Dharma on Ubuntu Lucid (10.04.3).
by Ashex
October 5th, 2011, 1:27 pm
Forum: Post-Processing Scripts
Topic: XBMC Library Updater
Replies: 115
Views: 770713

Re: XBMC Library Updater

It looks like the HTTP API is deprecated and doesn't work with the Dharma release (I get a unknown command error now). Looks like it's being replaced with JSON RPC (here's the bit for updating the video library ). I'm going to have to do a little reading to learn how to use it but if anyone is famil...