0.40 TV folder sorting name issue

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
User avatar
neilt0
Full Member
Full Member
Posts: 120
Joined: January 22nd, 2008, 4:16 am

0.40 TV folder sorting name issue

Post by neilt0 »

Not sure if you really want to see this report, but may be of use. I'm running the trunk from the SVN on one of my machines. The other two are running 0.31.

0.34, when it creates a group folder like "TV" creates it as "tv" (lower case). On my Linux NAS, this then creates a separate folder from the existing "TV" folder.
Last edited by neilt0 on March 18th, 2008, 1:01 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.34 bug

Post by shypike »

Unix happens to have a case-sensitive file-system, so this is unavoidable.
Whatever choice we make for this folder, it's always arbitrary.
Do you suggest we should use "TV" instead of "tv" ?
User avatar
neilt0
Full Member
Full Member
Posts: 120
Joined: January 22nd, 2008, 4:16 am

Re: 0.34 bug

Post by neilt0 »

Doesn't happen with 0.31. I have both versions installed on the same machine.
User avatar
neilt0
Full Member
Full Member
Posts: 120
Joined: January 22nd, 2008, 4:16 am

Re: 0.34 bug

Post by neilt0 »

P.S. I turned on the TV series folder creating thing, so that may be related.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: 0.34 bug

Post by switch »

Trunk = 0.4.0
branches/sabnzbd-0.3.x = 0.3.4

Can you please verify which one of these you are using.
Do you have TV Folder sorting enabled?
How are you adding your downloads, newzbin or by nzb file.
evidenceunseen
Jr. Member
Jr. Member
Posts: 56
Joined: February 11th, 2008, 2:33 pm

Re: 0.34 bug

Post by evidenceunseen »

I use the tv sorting on both an ubuntu machine and a dd-wrt linux router and don't have this problem (also running off svn /trunk btw)
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: 0.34 bug

Post by switch »

Shypike, maybe use title() to pretty up the category names, with TV hard-coded to be upper case?
That way they will match the current newzbin categories people will currently have their media sorted by.
User avatar
neilt0
Full Member
Full Member
Posts: 120
Joined: January 22nd, 2008, 4:16 am

Re: 0.34 bug

Post by neilt0 »

switch wrote: Trunk = 0.4.0
branches/sabnzbd-0.3.x = 0.3.4

Can you please verify which one of these you are using.
Do you have TV Folder sorting enabled?
How are you adding your downloads, newzbin or by nzb file.
Trunk - 0.40.

If I rename TV to TVx, 0.31 will create "TV" and 0.40 will create "tv" -- different folders on a Linux box, but of course my Windows client can't handle this. TV sorting is on -- "of course I'm trying out all the new features"  ;D
evidenceunseen
Jr. Member
Jr. Member
Posts: 56
Joined: February 11th, 2008, 2:33 pm

Re: 0.40 TV folder sorting name issue

Post by evidenceunseen »

Yah I've noticed it now doing this, wasn't before but now is.
User avatar
neilt0
Full Member
Full Member
Posts: 120
Joined: January 22nd, 2008, 4:16 am

Re: 0.40 TV folder sorting name issue

Post by neilt0 »

Just updated to latest svn trunk.

Another issue in addition to the creation of "tv" instead of "TV" is that when creating "tv", this folder doesn't use the permissions in sabnzbd.ini so isn't accessible.

Subfolders inside "tv" have the correct permissions.
Post Reply