0.5.0 Newzbin bookmarks not removed

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
Juice
Newbie
Newbie
Posts: 6
Joined: January 30th, 2009, 5:09 am

0.5.0 Newzbin bookmarks not removed

Post by Juice »

Version: 0.5.0
OS: Linux (gentoo)
Install-type: python source
Skin (if applicable): Not applicable (but Plush)
Firewall Software: none
Are you using IPV6? no
Is the issue reproducible? yes

0.5.0 (and previous beta's I think) doesn't remove downloaded bookmarks from Newzbin's bookmarks list when the 'Auto-Fetch Bookmarks' option is disabled. With the option enabled, behaviour is as expected.

Not a real bug maybe, just a nuisance (I don't use auto fetch, just use the manual 'get bookmarks now' option).  ;)
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.5.0 Newzbin bookmarks not removed

Post by shypike »

The bookmarks are only deleted after the download completes
and only when you set the "un-bookmark" option.
Juice
Newbie
Newbie
Posts: 6
Joined: January 30th, 2009, 5:09 am

Re: 0.5.0 Newzbin bookmarks not removed

Post by Juice »

That's understood, but it's not what I meant. I'll try and be a bit more clear. This is all using the 'Get Bookmars Now' function.

Auto-Fetch ON -> Un-Bookmark ON -> download complete -> bookmark IS deleted
Auto-Fetch OFF -> Un-Bookmark ON -> download complete -> bookmark IS NOT deleted

Anyway, I changed line 81 in newzbin.py from

Code: Select all

if __BOOKMARKS and cfg.NEWZBIN_BOOKMARKS.get() and cfg.NEWZBIN_UNBOOKMARK.get():
into

Code: Select all

if __BOOKMARKS and cfg.NEWZBIN_UNBOOKMARK.get():
and that solves it for me. I don't suppose this change will do any other harm, but if so, please advise.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.5.0 Newzbin bookmarks not removed

Post by shypike »

OK, sorry for being a bit dimwitted.
I see the problem now and this is probably the right fix.
When this was implemented the focus was on the automated scan
and the button was added as an afterthought (for testing).
Will fix this in next release (0.5.1).
Post Reply