Downloads not moved to category folder

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
jeklnoo
Newbie
Newbie
Posts: 8
Joined: February 18th, 2010, 5:12 pm

Downloads not moved to category folder

Post by jeklnoo »

This worked previously, it stopped working as soon as I upgraded to 0.5.0. I use categories to have different typed of downloads get moved to different locations after download/processing. But now, it always moves them to the default directory, not the directory specified by the category. I attached screenshots showing it

Version: 0.5.0
OS: Windows 7 64-bit
Install-type: Windows Installer
Firewall: none
IPV6: no
reproducible: yes, it's happened to all 3 downloads so far
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Downloads not moved to category folder

Post by shypike »

Have a look at the INI file to see if there's something odd.

Otherwise just find it, remove the passwords and email it to bugs at sabnzbd.org
adding a reference to this thread.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Downloads not moved to category folder

Post by shypike »

Somehow your TVSort string confuses SABnzbd.

Your string:
%s.n\%s.n.S%0sE%0e.%ext

Tweaked version.
%s.n\%s.n-S%0sE%0e.%ext

Note the "-" instead of the "."
I think it gets confused by the "%s.n.S%0s" part.
I suppose it's a bug, but I'm not very familiar with the Sorting function.

BTW: The preview (Example) string is incorrect in both cases. Only my corrected version works OK.
jeklnoo
Newbie
Newbie
Posts: 8
Joined: February 18th, 2010, 5:12 pm

Re: Downloads not moved to category folder

Post by jeklnoo »

That's weird...I'll try it with the changed string, and see if that works. The preview actually seems correct for me in both cases,

%s.n\%s.n-S%0sE%0e.%ext

gives a preview of

Example: e:\download\Show.Name\Show.Name-S01E05.avi 

Like I said, it worked in 0.4.x, maybe something was changed slightly in the sorting logic that just happens to break this? Anyway I don't need the . in there, I just have a habit of not using spaces for some reason...probably comes from using linux in the past and spaces being generally annoying in command line usage.

-- edit --

After testing, it still doesn't work. Note that the subfolder is named correctly (Show.Name) and the file is named correctly (Show.Name-S08E12.avi), however it is placed into e:\download instead of y:\tv.

eg I end up with:

e:\download\Show.Name\Show.Name - S08E12.avi

instead of expected

y:\tv\Show.Name\Show.Name - S08E12.avi
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Downloads not moved to category folder

Post by shypike »

The preview cannot take the category into account, because
there's no category available at that moment.
It will always use the general download folder.

It's indeed a bug, but it would take too much time to explain why exactly.
In general: avoid putting a dot right behind one of the % elements.
So not "%s.n.%0e", but "%s.n;%0e"

It will be fixed in 0.5.1
apickle
Newbie
Newbie
Posts: 4
Joined: February 10th, 2010, 11:08 pm

Re: Downloads not moved to category folder

Post by apickle »

I am having a similar issue. I had my default downloads directory set as G:\download, and the TV category set to move completes to G:\tv\Show Name\Season #\Show Name - SxEE - Show Title.mkv. Even though my category lists are set up the same as before, it's putting everything in G:\download, but still creating the proper folders THERE for the TV shows. Same issue as the OP, except that my sorting config is working as it always has. I've reproduced is both with NZBs from Newzbin and NZBs.org, and my Queue is showing the correct category in the case of the Newzbin files.

edit: Most recent download, I reset the category to "None", then back to "TV", and the Category sorting worked as it should. Will try another download without modifying the Category during download.

edit 2: Ok, now it's working as normal. I don't get it.

Version: 0.5.0 final
OS: Windows Vista 32-bit SP2
Install-type: Windows installer
Skin (if applicable): Default
Firewall Software: None
Are you using IPV6? no
Is the issue reproducible? yes
Last edited by apickle on March 3rd, 2010, 12:41 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Downloads not moved to category folder

Post by shypike »

There must a be a subtle difference in the way the NZBs are named.
Please PM both names to me.
jeklnoo
Newbie
Newbie
Posts: 8
Joined: February 18th, 2010, 5:12 pm

Re: Downloads not moved to category folder

Post by jeklnoo »

Still getting same exact problem with 0.5.2RC1. One new thing I didn't see before (either wasn't there or I missed it), is these errors in my error log:

#

2010-04-18 19:29:42,036
ERROR:
Failed making (y:\tv)

#

2010-04-18 21:30:37,790
ERROR:
Failed making (y:\tv)

Of course, y:\tv already exists, is not full, and is writable (just copied a test file in there again to be sure). The files still getting put in my default download directory (e:\download) instead of the directory specified by the category they are in (y:\tv)

Thanks.
jeklnoo
Newbie
Newbie
Posts: 8
Joined: February 18th, 2010, 5:12 pm

Re: Downloads not moved to category folder

Post by jeklnoo »

UPDATE:

I've found something interesting. I chose a different download location, e:\tv, and that works! The only difference between e:\tv and y:\tv is that y: is a remote drive. But I don't see why that would break it...it works fine in every single other windows app I've used, and it even worked fine in previous versions of sabnzbd. I hope this bug can be fixed sooner or later, I would like to be able to use all the new features.

Next I am going to try making a symlink from e:\tv --> y:\tv and tell sabnzbd to download to e:\tv, and see if that works.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Downloads not moved to category folder

Post by shypike »

For SABnzbd all drives are alike, the OS takes care of the differences.
It does however expect any drive to behave like a local one.
Meaning that rights should be setup properly.
What kind of remote drive is this?
jeklnoo
Newbie
Newbie
Posts: 8
Joined: February 18th, 2010, 5:12 pm

Re: Downloads not moved to category folder

Post by jeklnoo »

It's mounted with standard windows file sharing, where you choose "map a drive" in windows explorer, then enter a path like "\\host\share" and assign it to a drive like "Y:". It worked on 0.4.x SABnzbd, and I can copy files there with explorer, so I don't think it's a rights problem.
Post Reply