Sharing Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Anyone want to see anything else added to the site? Just message Shaitan with your ideas.

Pages: 1 ... 9 10 [11] 12 13   Go Down

Author Topic: SabTab v2.0.1 : greasemonkey/SABnzbd hack for V3  (Read 16333 times)

0 Members and 1 Guest are viewing this topic.

Yarbles

  • Maestro
  • *****
  • Offline Offline
  • Posts: 108
Re: SabTab v1.6 : greasemonkey/SABnzbd hack for V3
« Reply #150 on: November 07, 2007, 09:50:58 AM »

Update!

// Version 1.7
// Changes from v1.6.6
//      New queue display method, IMPORTANT! see QUEUE_CODE section below changelog
//      Fixed some special character errors for marking posts
//      Added +Script options for SABnnzbdPlus users, thanks to popcornarsonist on the forums
...

// QUEUE_CODE

// SAB TAB WILL NOW ONLY DISPLAY THE QUEUE TABLE UNDER THE MENU IF IT HAS ATTRIBUTE id="SAB_Standard_Queue_Table"

// To use the queue display in Sab Tab you have to add this code to the Queue Table in the DEFAULT queue.tmpl file.
// DO NOT ADD THIS TO A CUSTOM TEMPLATE! In some cases this could cause for Newzbin and result in you being IP banned.
// Check discussion at http://cheap-forums.com/newzbin/index.php/topic,505 for more details

/* The results should look something like this,at around line 30 of the queue.tmpl template

<!--#if $varExists('slotinfo')#-->
    <table id="SAB_Standard_Queue_Table">

*/

--------------------

I'm going to ask the SABnzbdPlus devs if they can add this id attribute to the default template.

th3joker

  • Guest
Re: SabTab v1.6 : greasemonkey/SABnzbd hack for V3
« Reply #151 on: November 07, 2007, 01:17:35 PM »

Hi Yarbles,

I think they are bundling a modified Nova (0.4.3) template with the new Sabnzbd Plus 0.2.7.

I know that it's not really sabtab that has caused the problem, it's the way the new Nova themes work.

Personally I prefer sabtab over sabnzbd status and will switch back to sabtab once it works ok with the new Nova templates.

All the best,

th3joker ;-)

Yarbles

  • Maestro
  • *****
  • Offline Offline
  • Posts: 108
Re: SabTab v1.6 : greasemonkey/SABnzbd hack for V3
« Reply #152 on: November 07, 2007, 02:43:45 PM »

shypike said he will add the new table ID to the standard templates of the next version of SABnzbdPlus (0.2.8 ). So from then on it should either just work or fail gracefully.

He also mentioned his plans for a new API for SAB which will allow programs to interface with SAB independently of the template. I will do a rewrite to support it when it is released so (hopefully) all of Sab Tab's functions will work regardless of the template you use.
« Last Edit: November 08, 2007, 02:59:24 AM by Yarbles »

luu

  • Guest
Re: SabTab v1.6 : greasemonkey/SABnzbd hack for V3
« Reply #153 on: November 07, 2007, 10:02:33 PM »

SabTab seems to miss https support for sabnzbd itself. I put a stunnel4 infront my sabnzbd because it's hosted on my public server. However when I enter the address https://host.name.tld:1234/ into SabTabs config, it will always say "sabnzbd unavailable" and when trying to view the queue it opens up http://host.name.tld:1234/ instead of https.
Is there an easy fix to this?

Yarbles

  • Maestro
  • *****
  • Offline Offline
  • Posts: 108
Re: SabTab v1.6 : greasemonkey/SABnzbd hack for V3
« Reply #154 on: November 08, 2007, 04:16:24 AM »

I'm thinking this may be a limitation of Greasemonkey, but I haven't found anything to confirm or refute it. When I get some time I'll try experimenting with it.

pontypool

  • Guest
Re: SabTab v1.6 : greasemonkey/SABnzbd hack for V3
« Reply #155 on: November 12, 2007, 09:19:26 PM »

ok ... this script just dont work for me, i got sabnzbdicon working perfectly but this doesnt install the same way. it sits there in greasemonkey doing nothin though.

mcorcoran

  • Guest
Re: SabTab v1.6 : greasemonkey/SABnzbd hack for V3
« Reply #156 on: December 17, 2007, 03:32:51 PM »

I'm having trouble getting the one click add to work in SABnzbdplus. I've set the default add level to +Delete+S but it is never actual added as such , instead it's placed in the queue as just +Delete (script is never run). Is there a fix or work around for this?

Stilllife

  • Seasoned
  • *****
  • Offline Offline
  • Posts: 97
Re: SabTab v1.6 : greasemonkey/SABnzbd hack for V3
« Reply #157 on: January 11, 2008, 04:47:11 PM »

Yarbles, any chance you can get this to work with the alternate version of SAB linked on this site. It seems slightly more stable on my machine, but it doesn't let this wonderful addon work?

Yarbles

  • Maestro
  • *****
  • Offline Offline
  • Posts: 108
Re: SabTab v1.6 : greasemonkey/SABnzbd hack for V3
« Reply #158 on: January 15, 2008, 06:09:20 AM »

I'm going to get on it when V 0.30 of SABnzbd+ is released, which apparently won't be too much longer.

RXP

  • Maestro
  • *****
  • Offline Offline
  • Posts: 197

kerfuffle

  • Guest
Re: SabTab v1.6 : greasemonkey/SABnzbd hack for V3
« Reply #160 on: January 17, 2008, 05:32:18 AM »

kb/s  is kiloBITS per second.   Please consider instead using kB/s as that's kiloBYTES per second ;)

Stilllife

  • Seasoned
  • *****
  • Offline Offline
  • Posts: 97
Re: SabTab v1.6 : greasemonkey/SABnzbd hack for V3
« Reply #161 on: January 18, 2008, 01:35:26 PM »

I'm going to get on it when V 0.30 of SABnzbd+ is released, which apparently won't be too much longer.



Go Go Go Go  :)

Yarbles

  • Maestro
  • *****
  • Offline Offline
  • Posts: 108
Re: SabTab v1.6 : greasemonkey/SABnzbd hack for V3
« Reply #162 on: January 19, 2008, 07:54:06 AM »

I've installed 0.3.0 and have been testing it out. The only thing I had to fix was Q/History marking. Other than that I haven't encountered any issues with the script itself, including using the new +S options.

However, I did encounter an odd thing. The old default SAB address was "127.0.0.1:8080", and that's what Sab Tab's default is too. This new version uses "localhost:8080". It should be a distinction without a difference, since localhost should resolve to 127.0.0.1, but on my Vista Business machine the address 127.0.0.1 would not work unless SAB+ was configured to use it instead of local host. Neither Sab Tab or Firefox itself would bring up the pages. With some experimenting I found if the server was set to localhost then only localhost would work, but if it was set to 127, either one would work. To reduce problems I've set Sab Tabs default to localhost and if you are encountering "Sab unavailable" errors then try changing your SAB Address to:  http://localhost:8080  in SabTab->Config->SABTab Prefs

If anyone knows of any other issues with 0.3.0 please let me know.

EDIT: I see the changelog indicates SAB+ 0.3.0 now has the API I mentioned earlier. I'll look into using it, but for now you have to use the default template if you want to use interactive stuff like Sab Data, active Queue menu, and Q/history report marking.

@kerfuffle
That comes from the template. Apparently someone with a keen eye also notice and fixed it with the default template for 0.3.0.
« Last Edit: January 19, 2008, 07:59:52 AM by Yarbles »

Yarbles

  • Maestro
  • *****
  • Offline Offline
  • Posts: 108
Re: SabTab v2.0 : greasemonkey/SABnzbd hack for V3
« Reply #163 on: January 20, 2008, 01:24:54 AM »

UPDATE!

// Version 2.0
//
// Changes From V1.7.1
//      Updated to use SABnzbPlus' API      


With 2.0 you can now use Sab Tab regardless of the template/UI that SAB uses. This version is no longer compatible with versions of SAB below 0.3.0.

http://userscripts.org/scripts/show/20689

In order to accommodate people who prefer the original SABnzbd I've named this release SABTab2 and put it up as a separate script on userscripts.org. You should disable/uninstall previous installs of Sab Tab, otherwise you will get 2 tabs. You will also have to enter your preferences the first time SABTab2 runs.

DanSh0

  • Guest
Re: SabTab v2.0 : greasemonkey/SABnzbd hack for V3
« Reply #164 on: January 23, 2008, 02:26:57 AM »

Hi Yarbles,
Thank you so much for updating this to work with the new sabnzbdplus. I've always preferred your script to the other options out there and it's nice to see it updated.

One question/request. When clicking on "queue" or "history" I get a plain white window rather than the plush interface that's in use in sabnzbdplus. Do you have any plans to support any of these templates and use their interface when clicking history/queue?

Also, I especially like the way you mark downloaded posts on newzbin as it saves me from having to wonder/check if I've already gotten that in the past. A question in regards to this:

Will these marked downloads persist and carry over to future newzbin sessions (i.e if I download a movie today, will that same movie title continue to be marked as downloaded in a week?) If so, this would be the biggest "cant do without" feature for myself as I continually forget what I've already obtained (old age sucks) and constantly end up doublechecking. If this behavior is not present, would it be exceedingly difficult to implement?

Thanks again for your efforts and for sharing them with the rest of us.

Dan

Thanks in either case and it's great to see sabtab back :)
Pages: 1 ... 9 10 [11] 12 13   Go Up