Page 1 of 1

Naming issue on TV shows

Posted: November 5th, 2008, 8:47 am
by auskento
Since i updated from 0.4.4 to 0.4.5 RC2, I have had the following strangeness with TV show naming.

The colon becomes a semi-colon.  It isn't the end of the world or anything, just annoying due to the way i move and sort shows for storage.

Re: Naming issue on TV shows

Posted: November 5th, 2008, 11:22 am
by shypike
We have to map the colon to another character, because it's not allowed in folder/file names.
We used to map everything to underscore, but now we try to map to something
that looks more or less the same (so ':' --> ';').

Re: Naming issue on TV shows

Posted: November 5th, 2008, 12:22 pm
by switch
Not a fan of this either, I use the following change in misc.py sanitise_filename():

After "for ch in name.strip():" add:

Code: Select all

        if ch == ':':
            continue

Re: Naming issue on TV shows

Posted: November 5th, 2008, 1:16 pm
by shypike
http://trac2.assembla.com/SABnzbd/ticket/177
Done, will be available in 0.4.6