Category names like [b.l.u]-[r.a.y] renamed to [b.l.u}-{r.a.y]

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
airjer
Newbie
Newbie
Posts: 15
Joined: January 31st, 2009, 10:08 pm

Category names like [b.l.u]-[r.a.y] renamed to [b.l.u}-{r.a.y]

Post by airjer »

This just started happening in the last few updates of 5.0. I couldn't tell you which. I've always had categories with ]-[ seperating two words and it's worked fine. My categories aren't actually enclosed in brackets as that causes issues also (we talked about it before) so I have been naming them like so b.l.u]-[r.a.y. After EVERY restart of the program it get's changed to b.l.u}-{r.a.y along with every other category named in a similar fashion. Should I just change my folder names now or is this an actual glitch?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Category names like [b.l.u]-[r.a.y] renamed to [b.l.u}-{r.a.y]

Post by shypike »

It's a side effect of the INI format of the sabnzbd.ini file.
Categories are stored like this:
[categories]
[[my-cat]]
dir = bla
....

Your category would need to be stored as [[my]-[cat]].
The format doesn't support that, so it's translated to [[my}-{cat]].
And that's the way the name will stay.
airjer
Newbie
Newbie
Posts: 15
Joined: January 31st, 2009, 10:08 pm

Re: Category names like [b.l.u]-[r.a.y] renamed to [b.l.u}-{r.a.y]

Post by airjer »

Yeah it's weird though as it only recently started happening within the last few updates. I've had these dir names since 0.4. Hmm...
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Category names like [b.l.u]-[r.a.y] renamed to [b.l.u}-{r.a.y]

Post by shypike »

There have been some changes in the past.
The main problem we had is handling IPV6 IP addresses in the servers.
Eg. [[[::1]:119]]
I'll see if this can be handled better in the next major release.
Post Reply