Page 1 of 1

Creating a folder with a ? in the name

Posted: October 4th, 2012, 10:59 am
by simpic
Hello,

I use SAB to download music from Headphones.

I use a category called music to put the completd download in a folder \mnt\cache\music

All is work fine apart from when a album name contains a ? such as If Not Now, When? [2011]

The error comes back...

Incubus - If Not Now, When? [2011] - PostProcessing was aborted (Cannot create final folder /mnt/cache/music/Incubus - If Not Now, When? [2011])

Any ideas how I can get this to work?

Re: Creating a folder with a ? in the name

Posted: October 4th, 2012, 11:56 am
by shypike
Which operating system are you using?
Where do you get your NZB files from?

Re: Creating a folder with a ? in the name

Posted: October 4th, 2012, 1:36 pm
by simpic
Sorry, not enough info...

SAB is running on ubuntu 12.04LTS, the NZB's come from Newzbin or NZBMatrix.

Re: Creating a folder with a ? in the name

Posted: October 4th, 2012, 2:17 pm
by shypike
Those sites don't have question marks in their file names.
So how exactly do you get the NZBs in SABnzbd?
Through an RSS feed?

Re: Creating a folder with a ? in the name

Posted: October 5th, 2012, 2:54 am
by simpic
Headphones passes the link to SAB. It actually grabbed this one from nzb.su

Code: Select all

05-Oct-2012 08:44:52 - INFO    :: CP Server Thread-4 : Pre-processing result
05-Oct-2012 08:44:55 - DEBUG   :: Thread-12 : Using the following server values:
MBHost: 178.63.142.150 ; MBPort: 8181  ;  Sleep Interval: 0
05-Oct-2012 08:45:13 - INFO    :: CP Server Thread-4 : Found best result: <a href="http://nzb.su/getnzb/da2ea298aa12b69484c1bd8a3cd5a9a6.nzb&i=61945&r=c3e1949af9f2cca2158affaaf1b33041">Oasis-Whats The Story Morning Glory-(EK67351)-CD-FLAC-1995-DeVOiD</a> - 396.0 MB
05-Oct-2012 08:45:14 - INFO    :: CP Server Thread-4 : Result text from SAB: ok
05-Oct-2012 08:45:14 - INFO    :: CP Server Thread-4 : NZB sent to SAB successfully
Then from SAB...

Code: Select all

Completed	2012-10-05 08:50:03
Name	Oasis - (Whats the Story) Morning Glory? [1995] - PostProcessing was aborted (Cannot create final folder /mnt/cache/music/Oasis - (Whats the Story) Morning Glory? [1995])
Size	358 MB
Status	Failed
Category	music
Download	 Downloaded in 1 minute 21 seconds at an average of 4.4 MB/s
Source	 Oasis - (Whats the Story) Morning Glory? [1995].nzb
Repair	 [Oasis-Whats_The_Story_Morning_Glory-(EK67351)-CD-FLAC-1995-DeVOiD] Quick Check OK

Re: Creating a folder with a ? in the name

Posted: October 5th, 2012, 8:33 am
by shypike
There are several ways in which an app can set a title through the API.
Apparently, SABnzbd misses one of the ways names get in and fails to filter that one.
I have no idea how Headphones communicates with SABnzbd, so I cannot tell you a work-around.
I'll see whether I can find out where things may go wrong, but a solution won't be available soon,
since 0.7.4 has just been released.

Re: Creating a folder with a ? in the name

Posted: October 5th, 2012, 2:15 pm
by shypike
After checking this in Ubuntu 12.04, I conclude that there may be something odd in your system.
A question mark is a valid character in Ubuntu's native file system and I can see no issues when I test.
Which file system are you using?