SASlions1 / jmm

Automatically exported from code.google.com/p/jmm
0 stars 0 forks source link

renaming script and file moving overwriting files #471

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
have two different versions of a episode, like a 1080p vid and a 720p vid. the 
same version but a different file (both are V1 of the release)

for example these two files:
http://anidb.net/perl-bin/animedb.pl?show=file&fid=1223248
http://anidb.net/perl-bin/animedb.pl?show=file&fid=1278835

this also confuses the JMM server. and the files does show up in Multiple files 
but JMM points both links to the same file, the entry can't be removed either.
after everything one of the files cant be found on the pc at all, its gone it 
seems. like it overwrite 

What is the expected output? What do you see instead?
i expect that it wont overwrite the file.

What version of the product are you using? On what operating system?
JMM Server: 3.1.32.0
JMM Desktop: 3.1.32.0
OS: Windows 8 Pro with Media Center 64bit

Please provide any additional information below.
all my logs are backed-up here http://sdrv.ms/15CGuuI

My File Renaming Script (runs on import): 

// Sample Output: One Piece - 558 - The Noah Closing in! The Fish-Man Island 
Facing Destruction! [Kousei].mp4
// Anime Name, use english name if it exists, otherwise use the Romaji name
IF I(eng) DO ADD '%eng '
IF I(ann);I(!eng) DO ADD '%ann '
// Episode Number, don't use episode number for movies
IF T(!Movie) DO ADD '- %enr'
IF F(!1) DO ADD ' v%ver'
DO ADD  - %epr
IF I(grp) DO ADD ' [%grp]'
IF I(cen) DO ADD ' [%cen]'

// Replacement rules (cleanup)
DO REPLACE '_' ' ' // replace spaces with underscores
DO REPLACE 'H264/AVC' 'H264'
DO REPLACE '0x0' ''
DO REPLACE '__' '_'
DO REPLACE '__' '_'

// Replace all illegal file name characters
DO REPLACE '<' '('
DO REPLACE '>' ')'
DO REPLACE ':' '-'
DO REPLACE '"' '`'
DO REPLACE '/' '_'
DO REPLACE '/' '_'
DO REPLACE '\' '_'
DO REPLACE '|' '_'
DO REPLACE '?' ''
DO REPLACE '*' '_'

is this an error on my renaming script of can it be fixed in a way with an 
update? 

Original issue reported on code.google.com by Are.Fins...@gmail.com on 10 Aug 2013 at 7:50

GoogleCodeExporter commented 8 years ago

Original comment by werndly...@gmail.com on 6 Aug 2014 at 12:11

GoogleCodeExporter commented 8 years ago
https://github.com/japanesemediamanager/jmmclient/issues/59

Original comment by werndly...@gmail.com on 20 Aug 2014 at 2:33