Search found 12 matches

by BreeeZe
12 May 2015, 18:55
Forum: Third-party addons
Topic: NZBGetConnect for Safari
Replies: 6
Views: 5478

Re: NZBGetConnect for Safari

Thanks a lot for the efforts on this. I'm running across a strange issue. I can't get the extension into the menubar. Safari shows it as being installed in extensions, however it doesn't populate the menubar, nor is it available when I "customize toolbar". I've installed the bundle as is, added the...
by BreeeZe
16 Mar 2015, 21:04
Forum: Support
Topic: calling 'append' on JSONP-RPC
Replies: 13
Views: 3174

Re: calling 'append' on JSONP-RPC

hugbug wrote:Fixed URL parsing in r1232.
Nice :)
by BreeeZe
10 Mar 2015, 20:26
Forum: Third-party addons
Topic: NZBGetConnect for Safari
Replies: 6
Views: 5478

Re: NZBGetConnect for Safari

Great, thank you. I've noticed the downloads from binsearch.info have numerical names. Can this be better handled? Thanks for your feedback :) I rewrote the binsearch.info code and it now adds the name to the queue. It also places a blue image in front of the download to indicate it is sent, and a ...
by BreeeZe
09 Mar 2015, 20:55
Forum: Third-party addons
Topic: NZBGetConnect for Safari
Replies: 6
Views: 5478

NZBGetConnect for Safari

Hi All, I used to use SABNzbd on my Synology NAS but recently switched to NZBGet and I am really enjoying the experience :) Sometimes I use nzbindex.nl or binsearch.info to find/create nzb's and used the SABConnect plugin for Safari on OSX to send the nzb's to my Synology directly. ( http://www.kale...
by BreeeZe
08 Mar 2015, 10:54
Forum: Support
Topic: calling 'append' on JSONP-RPC
Replies: 13
Views: 3174

Re: calling 'append' on JSONP-RPC

It expects a valid "Access-Control-Allow-Origin" response which I suspect isn't provided by NZBGet It actually is. Not sure if it meets Safari requirements but it's worth a try. Should you need to debug it it's in WebServer.cpp. Well it turns out that I made a javascript scoping error (using 'this'...
by BreeeZe
08 Mar 2015, 08:27
Forum: Support
Topic: calling 'append' on JSONP-RPC
Replies: 13
Views: 3174

Re: calling 'append' on JSONP-RPC

Thank you for the fix. The parameter passing via URL was never thoroughly tested. That's why it's better to send them via POST. Thank YOU for providing us all with NZBGet :) I would like to use POST but safari is quite strict about cross-site XHR, I can set the extension policy to 'Allow' but it al...
by BreeeZe
08 Mar 2015, 08:25
Forum: Support
Topic: calling 'append' on JSONP-RPC
Replies: 13
Views: 3174

Re: calling 'append' on JSONP-RPC

Thank you for the fix. The parameter passing via URL was never thoroughly tested. That's why it's better to send them via POST. Thank YOU for providing us all with NZBGet :) I would like to use POST but safari is quite strict about cross-site XHR, I can set the extension policy to 'Allow' but it al...
by BreeeZe
07 Mar 2015, 22:53
Forum: Support
Topic: calling 'append' on JSONP-RPC
Replies: 13
Views: 3174

Re: calling 'append' on JSONP-RPC

Found it :) In the file XmlRPC.cpp in the method NextParamAsInt : bool XmlCommand::NextParamAsInt(int* iValue) { if (m_eHttpMethod == XmlRpcProcessor::hmGet) { char* szParam = strchr(m_szRequestPtr, '='); if (!szParam) { return false; } *iValue = atoi(szParam + 1); m_szRequestPtr = szParam + 1; <===...
by BreeeZe
07 Mar 2015, 21:24
Forum: Support
Topic: calling 'append' on JSONP-RPC
Replies: 13
Views: 3174

Re: calling 'append' on JSONP-RPC

I downloaded the windows source and installed visual studio and I have a debug setup running so I can step through the code. When it parses the first 'false' parameter in the method "NextParamAsStr" (called by "NextParamAsBool") in XmlRpc.cpp it somehow detects the length of the string as "-2" which...
by BreeeZe
07 Mar 2015, 06:40
Forum: Support
Topic: calling 'append' on JSONP-RPC
Replies: 13
Views: 3174

Re: calling 'append' on JSONP-RPC

Let me take a look tomorrow what's happening here. Thanks! Much appreciated :) I looked at the source myself but I couldn't figure out what is going wrong just by looking at it.. It parses the parameters from the url by finding the '=' and '&' and sets the next position to search the string, so whe...