Page 3 of 6

Re: Unofficial Google Chrome Extension

Posted: December 22nd, 2009, 1:23 pm
by Pyrepenol
Great extension, theres just a slight annoyance I found with sending Newzbin reports to sab.

On a page listing search results like this, clicking the SAB icon next to a report works fine. The problem I have though, is on a specific report page like this. The only thing I can find is the "Send to SABnzbd" button. Clicking it doesn't seem to do anything unless I check the files attached to the report, and even then Newzbin throws an error "Error:Select some Reports to perform the operation on!" and sabnzbd still doesn't recieve it.

In the next update could you add the same SAB icon to the report page, like the firefox plugin has?

Re: Unofficial Google Chrome Extension

Posted: December 23rd, 2009, 8:14 am
by Reedy
Minor issue, it currently reports its still downloading something, but the queue is empty, so most certainly isn't!

Re: Unofficial Google Chrome Extension

Posted: January 2nd, 2010, 7:50 pm
by highend
I have the same issue as Pyrepenol.

SABnzbd Version: 0.5.0Beta5
Windows 7 32 Bit, German

SRWare Iron (Chrome) 4.0.275.2 (35162) (http://www.srware.net/software_srware_iron.php)

Apart from that a great addition to Chrome & SABnzbd!

Regards,
Highend

Re: Unofficial Google Chrome Extension

Posted: January 3rd, 2010, 8:13 am
by moontan
On google chrome 4.0.249.43

when i click on the sab icon on newzbin its greyed out for a second but then goes back to normal. It sends the report to sabnzbd so that isnt a problem, its just that you wouldnt know you clicked on the icon for that report unless you checked the queue on sabnzbd.

Re: Unofficial Google Chrome Extension

Posted: January 4th, 2010, 1:50 pm
by methanoid
Reedy wrote: Minor issue, it currently reports its still downloading something, but the queue is empty, so most certainly isn't!
Yes I noticed that and was checking here to report this bug. Its a great extension tho... and its one of 4-5 addons or extensions that had prevented me moving to Chrome from Firefox.

I'd love to see it support NZB intercept but if it never happens I am still very grateful for the work in doing the extension so far - THANKS!

Re: Unofficial Google Chrome Extension

Posted: January 5th, 2010, 2:49 am
by tangx
Thanks for your hard work on this Switch.

The 1 touch doesn't seem to work at all though with nzbmatrix.  tried it on 2 different machines.  The download icons on nzbmatrix.com changed to sab but once you click one it just turns green and nothing happens.

Sabnzbd 0.5.0b5
Chrome 4.0.249.43
^all up to date

Error in sabnzbd is
2010-01-04 23:26:26,565 ERROR: Error getting url https://nzbmatrix.com/api-nzb-download. ... e=&apikey= (cause= "Problem accessing nzbmatrix server (invalid_login)"

Got the same error both logged into my account on nzbmatrix and logged out of it.

Re: Unofficial Google Chrome Extension

Posted: January 10th, 2010, 9:38 am
by vSaAmTp
Can u add www.nzb.to? Thanks for the Work..

Re: Unofficial Google Chrome Extension

Posted: January 11th, 2010, 1:47 pm
by switch
tangx wrote: Thanks for your hard work on this Switch.

The 1 touch doesn't seem to work at all though with nzbmatrix.  tried it on 2 different machines.  The download icons on nzbmatrix.com changed to sab but once you click one it just turns green and nothing happens.

Sabnzbd 0.5.0b5
Chrome 4.0.249.43
^all up to date

Error in sabnzbd is
2010-01-04 23:26:26,565 ERROR: Error getting url https://nzbmatrix.com/api-nzb-download. ... e=&apikey= (cause= "Problem accessing nzbmatrix server (invalid_login)"

Got the same error both logged into my account on nzbmatrix and logged out of it.
Are your nzbmatrix username and nzbmatrix api key account details entered under "index sites" in sabnzbd configuration?

Re: Unofficial Google Chrome Extension

Posted: January 14th, 2010, 6:02 pm
by tangx
switch wrote:
tangx wrote: Thanks for your hard work on this Switch.

The 1 touch doesn't seem to work at all though with nzbmatrix.  tried it on 2 different machines.  The download icons on nzbmatrix.com changed to sab but once you click one it just turns green and nothing happens.

Sabnzbd 0.5.0b5
Chrome 4.0.249.43
^all up to date

Error in sabnzbd is
2010-01-04 23:26:26,565 ERROR: Error getting url https://nzbmatrix.com/api-nzb-download. ... e=&apikey= (cause= "Problem accessing nzbmatrix server (invalid_login)"

Got the same error both logged into my account on nzbmatrix and logged out of it.
Are your nzbmatrix username and nzbmatrix api key account details entered under "index sites" in sabnzbd configuration?
I hadnt but i entered all the correct info now and even still sabconnect just stalls at "Trying to fetch NZB from http://nzbmatrix.com/api-nzb-download.p ... =xxxxxxxxx"

It never actually fetches any of the nzbs for the 1 touch.

Re: Unofficial Google Chrome Extension

Posted: January 16th, 2010, 1:00 pm
by Pip101
Firstly, thanks for the extension - very handy.

I just came to see if you knew of this little problem and its resolution:
Reedy wrote: Minor issue, it currently reports its still downloading something, but the queue is empty, so most certainly isn't!
, but I see you've not addressed these reports directly. In case you weren't aware why (or for anyone else that wants to fix it before the next update), in background.html there's some code that causes the fetchInfo function to exit prematurely when the queue is empty; it tries to parse a non-existent item inside the "jobs" array. To fix it, I've simply replaced

Code: Select all

setPref('current_job', data.jobs[0].filename);
with

Code: Select all

if (data.jobs[0]) {
	setPref('current_job', data.jobs[0].filename);
} else {
	setPref('current_job', '');
}

Re: Unofficial Google Chrome Extension

Posted: January 17th, 2010, 5:38 pm
by FuManChuu
Love the extension so far... in the absence of sabtab support, this is gonna get me through my dark times :D

However, the 1-click download button on newzbin, breaks my format and makes every edited post 2 lines long... am I the only one getting this type of reformatting?

Re: Unofficial Google Chrome Extension

Posted: January 26th, 2010, 9:28 pm
by trmentry
Pyrepenol wrote: Great extension, theres just a slight annoyance I found with sending Newzbin reports to sab.

On a page listing search results like this, clicking the SAB icon next to a report works fine. The problem I have though, is on a specific report page like this. The only thing I can find is the "Send to SABnzbd" button. Clicking it doesn't seem to do anything unless I check the files attached to the report, and even then Newzbin throws an error "Error:Select some Reports to perform the operation on!" and sabnzbd still doesn't recieve it.

In the next update could you add the same SAB icon to the report page, like the firefox plugin has?

I see the same issue... but without the error.  I select just 1 file to download out of the post and click the "Send to SABnzbd" button, but nothing shows up in SAB and no error saying that there was a problem. 

Other than that, great extension.  Thank you very much.

Re: Unofficial Google Chrome Extension

Posted: January 27th, 2010, 12:31 pm
by juvenile38
I seem to be having the same problem as tangx. It was working at first but now all the sudden the one click doesn't work. If I download the same file and put it into my watch folder it works fine. Thanks and hope this can be fixed.

Re: Unofficial Google Chrome Extension

Posted: February 22nd, 2010, 6:06 am
by dekz
EDIT: nevermind nzbs.org requires authentication for downloading.

I haven't had much luck with it running in Chromium (and sending the correct string to the API). But I added support for NZBS.org (I think haven't been able to actually test it ><)
If my reading is correct for addToSABnzbd(addLink, nzburl, "addurl"); where nzburl is the entire nzb link then hopefully it should work.
Manifest

Code: Select all

{
      "js": [ "jquery-1.3.2.min.js", "common.js", "content_scripts/nzbsorg.js" ],
      "matches": [ "http://nzbs.org/", "https://nzbs.org/", "http://nzbs.org/*", "https://nzbs.org/*" ]
   },
nzbsorg.js

Code: Select all

//http://nzbs.org/index.php?action=getnzb&nzbid=307942
function addToSABnzbdFromNZBORG() {
    var img = chrome.extension.getURL('images/sab2_16_fetching.png');
    $(this).find('img').attr("src", img);
    
    // Find the newzbin id from the href
    var url = 'http://nzbs.org/'
    var nzburl = url.concat($(this).attr('href'));
    var addLink = this;
    addToSABnzbd(addLink, nzburl, "addurl");
    return false;

}
$('table a[href*="index.php?action=getnzb&nzbid="]').each(function() {
    var img = chrome.extension.getURL('/images/sab2_16.png');
    var href = $(this).attr('href');
    var link = '<a class="addSABnzbd" href="' + href + '"><img src="' + img + '" /></a> ';
    $(this).before(link);
    $('.addSABnzbd').click(addToSABnzbdFromNZBORG);
    
});

Keep me posted

Re: Unofficial Google Chrome Extension

Posted: February 23rd, 2010, 3:56 pm
by Shady
Hey! I would like to mention that the extension doesn't work for chrome version 5.0.322.2 (on Ubuntu)
The settings page goes fine and it can pause the sabnzbd however information isn't retrieved because i can't resume it anymore.
Also sending nzbs/all website-related functions don't work aswell.

I would love for it to work with the latest chrome (which seems so much faster!))