Possible Rename Bug

View previous topic View next topic Go down

Possible Rename Bug

Post  kev0153 on Mon Apr 15, 2013 9:02 am

Not sure if this is a bug or not but when I use the rename option with the CLI it seems to mess up the spacing with certain titles with a "-" for example

Thor - God of Thunder.cbz is rename to

Thor- God of Thunder.cbz. (note the missing space)

Seems to happen pretty consistent. I've upgraded to the latest 1.17 beta and it still seems to do it.

Thanks!

kev0153

Posts : 14
Join date : 2013-01-24

View user profile

Back to top Go down

Re: Possible Rename Bug

Post  anomander on Mon Apr 15, 2013 11:37 am

The actual series is called "Thor: God of Thunder". Notice the : which is a reserved meta character on most file systems and cant be used.

So CT is replacing the : with a -.

So it is not really a bug but expected behavious.

Hope this help.
avatar
anomander

Posts : 74
Join date : 2013-03-28

View user profile

Back to top Go down

Re: Possible Rename Bug

Post  ComicTagger on Mon Apr 15, 2013 2:09 pm

As anomander said, it's not a bug, per se. However, I wonder if instead of this:

":" becoming "-"

it should be this:

":" becoming " -"

This would have the effect of "Thor: God of Thunder" being changed to "Thor - God of Thunder". This might have a weird effect if there was text that had a colon wit a space in front of it, but would that ever happen, in any language?

If anyone else has an opinion on this, please share. I don't mind changing that mapping at all.
avatar
ComicTagger
Admin

Posts : 208
Join date : 2012-12-02

View user profile http://comictagger.forumotion.com

Back to top Go down

Re: Possible Rename Bug

Post  kev0153 on Mon Apr 15, 2013 2:14 pm

Yes, I see that it is replacing the illegal character thanks, that clarifies things a bit. I agree, I think that " - " seems more correct than "- ".

In fact, the scraper script that I use in comicrack uses the format of " - ". I think that is why I caught it. I had renamed a few comics using both comictagger and comicrack and the difference jumped out at me after I listed out the files in the command line.

kev0153

Posts : 14
Join date : 2013-01-24

View user profile

Back to top Go down

Re: Possible Rename Bug

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum