Page 1 of 1

SABnzbd Ignoring Completed Downloads folder and Categories Folders

Posted: May 9th, 2011, 1:17 pm
by Pr.Sinister
Just upgraded from 0.5.6 to 0.6.0 and i noticed that SABnzbd is ignoring where i told it to saved downloads.

I didn't change anything in my configuration and before, it would download my TV Shows into E:\Downloads\~TV

Now it is downloading it to C:\Users\Jack\Documents\TV

I can't get it to change to the appropriate folder!

Here are some screenshots :

Image

First, you can see the difference where the top half is downloads with 0.6.0 and bottom half is with 0.5.6

Image

Here you can see my folders are configured just like they were in 0.5.6

Image

Again here, the categories haven't changed. Even the message at the top says this is relative to E:\Downloads

I will try to use the full path for the categories and see what happens but i don't know if this happened only because i upgraded or if it is the same for people who installed 0.6.0 from scratch

Re: SABnzbd Ignoring Completed Downloads folder and Categories Folders

Posted: May 9th, 2011, 1:52 pm
by Pr.Sinister
Ok i have figured out what the bug is...

In the categories, when using a tilde at the beginning of a relative path, SABnzbd gets confused and has no idea where to save the file. I then resorts to the absolute default one which seems to be the users documents folder in Windows 7. I think SABnzbd somehow thinks that all OS's function the same as Unix/Linux where the tilde at the beginning means home folder...

If i use the full path in the Categories and that path includes the tilde, it is fine.

Relative paths work fine if i remove the tilde.

0.5.6 did not have that problem.

-Pr.

Re: SABnzbd Ignoring Completed Downloads folder and Categories Folders

Posted: May 9th, 2011, 1:53 pm
by shypike
The ~ sign is now interpreted as the "home" folder.
That's a Unix/OSX thing, but it looks like we implemented it for Windows too.
It's not a bug, it's a feature  ;D

You can enter a full path instead.

Re: SABnzbd Ignoring Completed Downloads folder and Categories Folders

Posted: May 9th, 2011, 2:45 pm
by Pr.Sinister
Hehehe...

Yes i do understand that it thinks converts the ~ to the home folder but the implementation in SABnzbd is actually wrong.

It should only think it is the home folder if it is alone or followed by a slash. If not, it should just interpret it as a tilde.

I just tried it on my Mac and i can confirm that if i go to the terminal and do :

cd ~

it will bring me to my home folder

if i do :

cd ~/Movies

it brings me to the movies folder under my home.

But if i do :

cd ~Movies

it doesn't work and tells me it cannot find the directory.

-Pr.

Re: SABnzbd Ignoring Completed Downloads folder and Categories Folders

Posted: May 9th, 2011, 2:54 pm
by shypike
Which shows that our implementation is even better!
Just kidding, I'll check it out.