aram535 / movie-renamer

0 stars 1 forks source link

App tries to name files with illegal characters #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Rename a file called "Where in the World Is Osama Bin Laden.avi"
2.
3.

What scrapper are you using ? (only version >= 2.0)
'SCRAPER' (one 'P') is imdb.com

What is the expected output? What do you see instead?
Format: <t> (<y>) (<a1>)
Expected: Where in the World Is Osama Bin Laden (2008) (Morgan Spurlock).avi
Search Result: Where in the World Is Osama Bin Laden? (2008) (George Bush).avi
Result: Cannot rename because "?" is an illegal Windows character.

What version of Movie Renamer are you using? On what operating sys
tem?
1.3.6 Alpha on Windows Server 2003 32bit

Please provide any additional information below.
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx

< (less than)
> (greater than)
: (colon)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)

Original issue reported on code.google.com by sran...@gmail.com on 19 Dec 2012 at 12:29

GoogleCodeExporter commented 9 years ago
Windows is such a bad OS to forbid this character, moreover ntfs allow this 
kind of character.

I will removed all OS reserved character that missing (<,>,",|,?,*)

Original comment by nico.ma...@gmail.com on 19 Dec 2012 at 1:11

GoogleCodeExporter commented 9 years ago
Thankyou!
Alternatively, you could provide an area for users to filter out characters 
that they do not want to have in the renamed file? This would give even more 
flexibility.

Original comment by sran...@gmail.com on 19 Dec 2012 at 1:33

GoogleCodeExporter commented 9 years ago
Fixed in version 1.3.7

Original comment by nico.ma...@gmail.com on 19 Dec 2012 at 1:48