[RELEASE] Sickbeard XBMC - Control Sickbeard from XBMC

  Thread Rating:
  • 2 Votes - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
salnajjar Offline
Member
Posts: 50
Joined: Jan 2009
Reputation: 0
Post: #41
Maniaczm Wrote:Hmm, didn't even think of that. My original server was set up in a similar way with Apache but when I changed to new hardware I went with cherrypy. Should have considered this during development, bah! Big Grin

I can think of a few fixes off the top of my head, I'll add this to the list of tasks to work on this weekend. I might just add an optional setting where you can add the full URL instead of just the IP/Port as a quick fix later today. But I think a cleaner way of doing it will take more time, I'll see what I can do...

Many thanks, I've checked your code out of SVN and updated it to include a "directory" option, unfortunately it will break for anyone who's not setup the same as me and my python skills are so terrible that I won't shame myself by posting the svn diff...
find quote
Maniaczm Offline
Junior Member
Posts: 32
Joined: Mar 2012
Reputation: 0
Location: California
Post: #42
sglavach Wrote:Anyone having problems installing this on ATV2 RC2 using the repository? Here are the debug log entries that apply:


12:09:33 T:804843520 WARNING: FillBuffer: curl failed with code 22
12:09:33 T:804843520 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
12:09:33 T:804843520 ERROR: GetDirectory - Unable to get http directory
12:09:33 T:804843520 ERROR: GetDirectory - Error getting http://sickbeard-xbmc.googlecode.com/svn...kbeard/../
12:09:35 T:804843520 WARNING: FillBuffer: curl failed with code 22
12:09:35 T:804843520 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
12:09:35 T:804843520 ERROR: GetDirectory - Unable to get http directory
12:09:35 T:804843520 ERROR: GetDirectory - Error getting http://sickbeard-xbmc.googlecode.com/svn...ources/../
12:09:36 T:804843520 WARNING: FillBuffer: curl failed with code 22
12:09:36 T:804843520 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
12:09:36 T:804843520 ERROR: GetDirectory - Unable to get http directory
12:09:36 T:804843520 ERROR: GetDirectory - Error getting http://sickbeard-xbmc.googlecode.com/svn...es/lib/../

Hmm, that's strange. I use the ATV2 as my main XBMC installation and haven't had any issues. I'll try deleting the repo and reinstalling to see if I get that error.
find quote
Maniaczm Offline
Junior Member
Posts: 32
Joined: Mar 2012
Reputation: 0
Location: California
Post: #43
salnajjar Wrote:Many thanks, I've checked your code out of SVN and updated it to include a "directory" option, unfortunately it will break for anyone who's not setup the same as me and my python skills are so terrible that I won't shame myself by posting the svn diff...

Hah, no worries. I'm glad you got it working at least. And no shame in trying, especially if it works! Wink
find quote
CpTHOOK Offline
Fan
Posts: 467
Joined: Jun 2011
Reputation: 6
Location: California
Post: #44
Not sure how often I will use this, but what a great add-on! I mainly use my main PC on the back-end to administer media and SickbeardNZB search, but I've been testing for a few days on my HTPC and it works great. Thank You!!
(This post was last modified: 2012-03-09 03:48 by CpTHOOK.)
find quote
jdbrookes Offline
Member
Posts: 51
Joined: Apr 2011
Reputation: 0
Lightbulb    Post: #45
Just been trying this out, it works great!

It may not be possible, but how far can you go in terms of integration with the XBMC library? I am imagining the following scenario :

1. You have 4 episodes of a show downloaded.
2. When you finish watching the 4th (and last) episode downloaded in your library, sickbeardxbmc pops up a dialog asking if you would like to download additional episodes (if additional episodes are available, of course)
3. This dialog box allows you to download just the next episode, or you can use selection boxes to select any number of future episodes for that season, or you could just "download next 5 episodes" or "download entire season".
4. Similarly, when you watch the final episode of a season, sickbeardxbmc prompts you if you would like to download the next season (if available).
5. And again, if you reach the final episode of a running season (ie the next episode will be shown next week or whatever), sickbeardxbmc can ask if you wish to unpause the show (if it is indeed paused).

I'm not sure if this would even be possible, but since I know trakt utilities has the capability to pop up a dialogue to rate an episode when you're done watching the episode, perhaps sickbeardxbmc can do something along these lines?

Great work so far!
find quote
Maniaczm Offline
Junior Member
Posts: 32
Joined: Mar 2012
Reputation: 0
Location: California
Post: #46
jdbrookes Wrote:Just been trying this out, it works great!

It may not be possible, but how far can you go in terms of integration with the XBMC library? I am imagining the following scenario :

1. You have 4 episodes of a show downloaded.
2. When you finish watching the 4th (and last) episode downloaded in your library, sickbeardxbmc pops up a dialog asking if you would like to download additional episodes (if additional episodes are available, of course)
3. This dialog box allows you to download just the next episode, or you can use selection boxes to select any number of future episodes for that season, or you could just "download next 5 episodes" or "download entire season".
4. Similarly, when you watch the final episode of a season, sickbeardxbmc prompts you if you would like to download the next season (if available).
5. And again, if you reach the final episode of a running season (ie the next episode will be shown next week or whatever), sickbeardxbmc can ask if you wish to unpause the show (if it is indeed paused).

I'm not sure if this would even be possible, but since I know trakt utilities has the capability to pop up a dialogue to rate an episode when you're done watching the episode, perhaps sickbeardxbmc can do something along these lines?

Great work so far!

I really like the concept of these scenarios. I'll take a look at the trakt code and see how that is accomplished. I had a similar idea while developing this but my idea was that everything would be self contained in the plugin. Basically when you are in the manage shows section of the plugin you can play any episode marked as downloaded. It would just link the downloaded shows to the library, so you can use the plugin as if it were the tv show section of XBMC but would also allow you to download the new episodes.

I can see issues with both of these solutions, but I'm sure the core functionality we are both talking about is possible, and is something I want to do. As this plugin starts to stabilize and I work on new features I will definitely add this to the list!
find quote
Maniaczm Offline
Junior Member
Posts: 32
Joined: Mar 2012
Reputation: 0
Location: California
Post: #47
(2012-03-08 20:28)salnajjar Wrote:  
Maniaczm Wrote:Hmm, didn't even think of that. My original server was set up in a similar way with Apache but when I changed to new hardware I went with cherrypy. Should have considered this during development, bah! Big Grin

I can think of a few fixes off the top of my head, I'll add this to the list of tasks to work on this weekend. I might just add an optional setting where you can add the full URL instead of just the IP/Port as a quick fix later today. But I think a cleaner way of doing it will take more time, I'll see what I can do...

Many thanks, I've checked your code out of SVN and updated it to include a "directory" option, unfortunately it will break for anyone who's not setup the same as me and my python skills are so terrible that I won't shame myself by posting the svn diff...

I've updated the plugin to 1.0.7 which includes a custom URL option in the settings. This version also adds the following:

- Added Manual Search functionality for episodes.
- Added Force Search and change pause state functionality to the Manage Shows menu.
- Improved error messages. (Now displays errors for missing or incorrect IP/port. Incorrect username/password and API key not enabled.)
- Misc. changes.
find quote
Maniaczm Offline
Junior Member
Posts: 32
Joined: Mar 2012
Reputation: 0
Location: California
Post: #48
Updated the version to 1.0.8 and added another new feature which is the ability to delete a show. The plugin will prompt you before deleting so hopefully accidents won't happen Smile. I wanted to add more features to mimic the web interface so you could do most of the same things from this plugin. But some things like editing a show or renaming episodes doesn't seem to be available through the API.

I am working on a way to play episodes marked as downloaded currently and I have a few ideas that are just look and feel changes. I am open to suggestions for development, so please feel free to add suggestions!
find quote
crimsonfury Offline
Fan
Posts: 462
Joined: Mar 2012
Reputation: 1
Location: Arizona, U.S.
Post: #49
With this running do I still need to have my Command prompt window open for sickbeard console?

I have Windows 7 and to have sickbeard always on I need to have sickbeard console always open/minimized.... But I hate having it clutter my toolbar!

[Image: all-clearlogo.jpg]
find quote
Maniaczm Offline
Junior Member
Posts: 32
Joined: Mar 2012
Reputation: 0
Location: California
Post: #50
(2012-03-15 05:36)crimsonfury Wrote:  With this running do I still need to have my Command prompt window open for sickbeard console?

I have Windows 7 and to have sickbeard always on I need to have sickbeard console always open/minimized.... But I hate having it clutter my toolbar!

This plugin will not replace how you currently run Sickbeard. Think of this plugin kind of like the web interface for Sickbeard, it's a way of interacting with the Sickbeard server. Are you running Sickbeard as an executable that you have to start manually? If so you should try running Sickbeard as a Windows service so it starts up in the background when you boot the PC. I don't have any experience setting this up with Sickbeard specifically but I found a guide on how you can accomplish this here http://techbungalow.com/2012/run-any-pro...n-windows/. Hope this helps!
find quote
Post Reply