XBMC Show Update Not Working

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
MegaWalrus Offline
Junior Member
Posts: 4
Joined: Jan 2013
Reputation: 0
Post: #1
Hi, I've got a pretty fresh install that I'm having some trouble with. I'm using CouchPotato, Sickbeard and SABnzbd to feed media into XBMC 11 (Transparency skin). Both CP and SB are having issues using the HTTP interface, but both applications report successful tests. Specifically in the case of SB, when I am done downloading a show, it will force a full update of the library, which is successful and then reports a single episode and creates the show appropriately in XBMC. On any additional episodes, SB will trigger a show update, which XBMC responds to with an "OK" but it doesn't seem to actually update the show, despite all paths being correct.

Here's a log file detailing this behavior:

Code:
06:54:00 T:3436   DEBUG: HttpApi Start command: ExecBuiltIn  paras: ExecBuiltIn; XBMC.updatelibrary(video, \\Drobo5N\TV\1600 Penn\)
06:54:00 T:3436   DEBUG: ------ Window Init (DialogVideoScan.xml) ------
06:54:00 T:3436    INFO: Loading skin file: DialogVideoScan.xml
06:54:00 T:1744   DEBUG: Thread VIDEO::CVideoInfoScanner start, auto delete: 0
06:54:00 T:1744  NOTICE: VideoInfoScanner: Starting scan ..
06:54:00 T:1744  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
06:54:00 T:1744    INFO: Video scan was stopped or finished ... restoring FindRemoteThumbs
06:54:00 T:1744   DEBUG: Thread VIDEO::CVideoInfoScanner 1744 terminating
06:54:01 T:3436   DEBUG: ------ Window Deinit (DialogVideoScan.xml) ------

The command seems to come in okay, and I don't see anything that looks like an error, but the show does not update in the library and it does not show new episodes until I either force a full update via SB or Scan for New Content in XBMC.

Am I doing something wrong here?
find quote
Kabooga Offline
Senior Member
Posts: 193
Joined: Feb 2009
Reputation: 0
Location: Silicon Valley, CA
Post: #2
I don't think you are doing anything wrong. More likely the HTTP interface call being used by CP and SB is not causing a full scan of the video library.

Have you posted this in the forums for CP and SB? I think they are in the "Supplementary Tools for XBMC" forum.
http://forum.xbmc.org/forumdisplay.php?fid=116

I am an expert at acting like an expert ---- WC Fields.

XBMC Web Control Interface - http://code.google.com/p/xbmcontrol-web/
find quote
MegaWalrus Offline
Junior Member
Posts: 4
Joined: Jan 2013
Reputation: 0
Post: #3
I did actually post this originally on the SB forums, but because XBMC is reporting an "OK" to the command I don't see how it could be a problem with the app or the call. It seems suspicious that the reported scan time is 00:00, when the directory is correct and there ARE new files there.
find quote
artrafael Offline
Team-XBMC Forum Moderator
Posts: 4,424
Joined: Jul 2010
Reputation: 78
Location: USA
Post: #4
An "OK" returned by XBMC to an httpapi request is just an acknowledgment that it received and processed the request. It doesn't necessariy mean the request issued was the correct one for the intended purpose.
find quote
MegaWalrus Offline
Junior Member
Posts: 4
Joined: Jan 2013
Reputation: 0
Post: #5
Per the log above, it looks to me as if it is attempting to update the appropriate show, with the appropriate path. If this is not correct, then I need help to understand what it should be doing, but based upon the log above I believe it is correct, it just isn't properly updating.

Based upon your comment you seem to be implying that a different command should be used. Can you please clarify?
find quote
Kabooga Offline
Senior Member
Posts: 193
Joined: Feb 2009
Reputation: 0
Location: Silicon Valley, CA
Post: #6
It look like the HTTP Interface is calling an builtin function called updatelibrary(). This does not seem to be working correctly.

The last set of Eden releases also has the JSON API. The JSON API has a call " "VideoLibrary.Scan" that works correctly. You can download one of the web interfaces (Addons) that may have a library refresh capability or contact the respective 3rd party vendors.

I am an expert at acting like an expert ---- WC Fields.

XBMC Web Control Interface - http://code.google.com/p/xbmcontrol-web/
(This post was last modified: 2013-01-25 03:35 by Kabooga.)
find quote
artrafael Offline
Team-XBMC Forum Moderator
Posts: 4,424
Joined: Jul 2010
Reputation: 78
Location: USA
Post: #7
(2013-01-25 02:06)MegaWalrus Wrote:  Per the log above, it looks to me as if it is attempting to update the appropriate show, with the appropriate path. If this is not correct, then I need help to understand what it should be doing, but based upon the log above I believe it is correct, it just isn't properly updating.
That's just a log snippett. Hard for anyone to tell what's going on without seeing the complete log, from the launch of your XBMC session to the attempt to update the library for the new content. Please upload the entire debug log to http://www.xbmclogs.com and post the assigned URL link here so others can review the log for possible clues.

Quote:Based upon your comment you seem to be implying that a different command should be used. Can you please clarify?
No implication whatsoever. Just saying that an "OK" is similar to an "ACK", "Roger", "Hai", "Uh-huh", "I hear ya", etc. Receipt of message does not necessarily mean that the message was correct, that it was understood correctly or that action taken in response to the message (if any) was correct. Again, without the full debug log, hard to draw any conclusions.
find quote
MegaWalrus Offline
Junior Member
Posts: 4
Joined: Jan 2013
Reputation: 0
Post: #8
Log is here:

http://www.xbmclogs.com/show.php?id=30126
find quote