Sonarr.TV > Sickbeard!

This is the place to help test and discuss Version 6 Beta releases.

Sonarr.TV > Sickbeard!

Postby Eurisko » Fri Mar 06, 2015 1:13 pm

Ok, the Sickbeard integration is amazing. I am loving the hell out of this.

So, have you looked at Sonarr.tv? It's basically a rebrand of NZBDrone. I have a friend that showed me his deployment, and wow, I was impressed. I'll stay with Sickbeard only because of your integration, but if you ever added support for Sonarr.tv, I'm dropping Sickbeard in a hot minute.
Eurisko
Active Participant
Active Participant
 
Posts: 51
Joined: Thu Oct 11, 2007 1:19 pm

Registered Newsbin User since: 04/02/03

Re: Sonarr.TV > Sickbeard!

Postby Quade » Fri Mar 06, 2015 1:30 pm

I'll check it out.

Edit:
Full integration with SABNzbd


Suggests it already works with Newsbin. Newsbin uses a Sab compatible API. Might need some tweeking. You might want to try it.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Sonarr.TV > Sickbeard!

Postby kstan12 » Thu Mar 12, 2015 7:24 pm

Hello. Been using Sickbeard integration since a few betas ago. Thought I'd now try Sonarr. Can't seem to get it to connect to Newsbin & I'm not sure why? It is communicating with the client but the connection just fails. I removed my API key and tried user/pass for testing.

[18:24:06] DEBUG SbServer: Read Request GET /api?mode=version&ma_username=user&ma_password=password&output=json HTTP/1.1
[18:24:06] DEBUG GET /api?mode=version&ma_username=user&ma_password=password&output=json HTTP/1.1
[18:24:06] DEBUG Accept: application/json, application/xml, text/json, text/x-json, text/javascript, text/xml
[18:24:06] DEBUG User-Agent: Sonarr/2.0.0.2850 (RestSharp/105.0.1.0; Windows/6.1)
[18:24:06] DEBUG Host: localhost:8000
[18:24:06] DEBUG Accept-Encoding: gzip, deflate
[18:24:06] DEBUG SbServer: Read Request GET /api?mode=get_config&ma_username=user&ma_password=password&output=json HTTP/1.1
[18:24:06] DEBUG GET /api?mode=get_config&ma_username=user&ma_password=password&output=json HTTP/1.1
[18:24:06] ERROR SickBeard Integration: Error Reported
kstan12
Occasional Contributor
Occasional Contributor
 
Posts: 34
Joined: Wed Jul 06, 2011 7:32 pm

Registered Newsbin User since: 07/06/11

Re: Sonarr.TV > Sickbeard!

Postby Quade » Thu Mar 12, 2015 7:43 pm

I'll have to try it then. Looks like Sonar is looking for some mode I haven't implemented yet. It's not really a surprise to me.

Thanks.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Sonarr.TV > Sickbeard!

Postby kstan12 » Thu Mar 12, 2015 7:51 pm

It tells me this:

Unable to retrieve queue and history items from newsbin: Unexpected character encountered while parsing value: o. Path '', line 0, position 0.

And then dumps a bunch JSON:


Details
Message

Unable to retrieve queue and history items from newsbin: Unexpected character encountered while parsing value: o. Path '', line 0, position 0.


Exception

Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: o. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.ReadInternal()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader)
at Newtonsoft.Json.Linq.JObject.Parse(String json)
at NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdProxy.GetQueue(Int32 start, Int32 limit, SabnzbdSettings settings) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\Sabnzbd\SabnzbdProxy.cs:line 102
at NzbDrone.Core.Download.Clients.Sabnzbd.Sabnzbd.GetQueue() in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\Sabnzbd\Sabnzbd.cs:line 54
at NzbDrone.Core.Download.Clients.Sabnzbd.Sabnzbd.<GetItems>d__1.MoveNext() in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\Sabnzbd\Sabnzbd.cs:line 182
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at NzbDrone.Core.Download.TrackedDownloads.DownloadMonitoringService.ProcessClientDownloads(IDownloadClient downloadClient) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\TrackedDownloads\DownloadMonitoringService.cs:line 68
kstan12
Occasional Contributor
Occasional Contributor
 
Posts: 34
Joined: Wed Jul 06, 2011 7:32 pm

Registered Newsbin User since: 07/06/11

Re: Sonarr.TV > Sickbeard!

Postby Quade » Thu Mar 12, 2015 10:06 pm

Sounds like it's trying to retrieve the download list. I haven't implemented that. SB doesn't use it. I've been meaning to add JSON to my internal remote control interface. Might be a good time to do both.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Sonarr.TV > Sickbeard!

Postby Quade » Thu Mar 26, 2015 10:24 pm

I've got them talking somewhat. At least up to the point that Sonaar is handing off NZB files. It needs a bunch more work. What I have is merely a prototype. Sonaar is tied much more deeply into the downloader than Sb is. I had to reverse engineer how they talk to each other.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Sonarr.TV > Sickbeard!

Postby Quade » Mon Mar 30, 2015 10:21 pm

Newsbin is accepting and downloading NZB's from Sonaar. It's trying to monitor the download remotely so I now have to write some code to let it interface with the download list.

What it seems to do is feed off all the matching NZBs and I assume when one completes properly, it'll send a command to delete the rest.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Sonarr.TV > Sickbeard!

Postby cat_man » Mon Apr 13, 2015 4:13 pm

I am using Sonarr with newsbin via Blackhole and it works fine. Using Newsbin nb660B9. I tried using this version with Sonarr setting Newsbin up as a Sabnzbd client with user name and password. Sonarr does hand off the nzb to Newsbin but doesn't change the status of the enrty to "downloading". Newsbin completes the download and that is all that happens. Sonarr does not pick up the download and put it into the right location nor change the status of the file. Is this where we are with implementation or am I doing something wrong? Have you talked to the Sonar developers, they seem as active and eager to help as you and Dexter. Thanks for your effort in moving in this direction. You mentioned you have an API like sickbeard, is there an API key?
User avatar
cat_man
Seasoned User
Seasoned User
 
Posts: 160
Joined: Sat Apr 09, 2005 8:40 am
Location: Texas

Registered Newsbin User since: 04/08/05

Re: Sonarr.TV > Sickbeard!

Postby Quade » Mon Apr 13, 2015 5:05 pm

Newsbin but doesn't change the status of the enrty to "downloading".


Maybe the release notes weren't clear about this. It can receive NZB's not but doesn't respond yet to Sonaars requests for a history report. It should be in the next beta. I have to actually add a history since Newsbin doesn't track histories that way.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Sonarr.TV > Sickbeard!

Postby Eurisko » Wed Apr 15, 2015 1:43 pm

Can't wait. I have Sonarr installed and waiting. Then I begin the task off moving over 74 shows. smh
Eurisko
Active Participant
Active Participant
 
Posts: 51
Joined: Thu Oct 11, 2007 1:19 pm

Registered Newsbin User since: 04/02/03


Return to Newsbin Version 6 Beta Support

Who is online

Users browsing this forum: Bing [Bot] and 2 guests