Ferkner / mediarenamer

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

Scan Movies Not Recursive #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Attempt to scan a movie folder with sub-folders.
2. ...
3. Profit!

What is the expected output? What do you see instead?
It is expected that this would work the same way the series renamer works, 
which is it will walk through each sub-directory until it finds a file, 
instead of just giving up when it doesn't find anything in the root folder.

What version of the product are you using? On what operating system?
2.01RC1 on Windows Vista 64-bit

Please provide any additional information below.

Original issue reported on code.google.com by nashen...@gmail.com on 13 May 2009 at 10:28

GoogleCodeExporter commented 8 years ago
I believe the problem is on line 44 of /Movies/Parser.cs

Currently: elements = Directory.GetFileSystemEntries(folder);

Should be: elements = Directory.GetFiles(folder, "*.*", 
SearchOption.AllDirectories);
From the /Series/Parser.cs

Perhaps an oversight, or maybe it was by design?

Original comment by nashen...@gmail.com on 13 May 2009 at 10:40

GoogleCodeExporter commented 8 years ago
Ahah, that explains why not one of my movies came up when I scanned.

Original comment by adae...@gmail.com on 19 Jul 2009 at 2:57

GoogleCodeExporter commented 8 years ago
Have you tested the above suggestion?  If it works, should I try recompiling it 
or 
should I just wait for the next build?  Thanks!

Original comment by chaocon...@gmail.com on 4 Nov 2009 at 3:15

GoogleCodeExporter commented 8 years ago
Have this issue also but also wanted to ask if you could give the option to 
rename
the sub-directories simply to <movie name>.

Original comment by shutchin...@gmail.com on 15 Nov 2009 at 3:07

GoogleCodeExporter commented 8 years ago
to comment4 : or better rename the subfolder like the movie.
as for my part <movie (year)>
at the moment i use v2.1.3732.32766

Original comment by blauerh...@gmx.at on 18 May 2010 at 2:09

GoogleCodeExporter commented 8 years ago
So did this break with 2.0RC1? I guess i'll try an older version.

Original comment by mwhitesi...@gmail.com on 18 Jun 2010 at 5:29

GoogleCodeExporter commented 8 years ago
I've modified the source to search recursively and rename the parent folder to 
the movie (but skips if the file is in the root search path). It can also only 
rename the folder if you would prefer to keep the file name but change the 
folder name (as I do).

I'm not sure how to proceed though because I don't have authorization to 
commit. I could post the diffs if someone would like to compile a version on 
their own. Comment here with suggestions because it'll notify me

Original comment by leb...@gmail.com on 8 Aug 2010 at 1:49

GoogleCodeExporter commented 8 years ago
This is all only for movies by the way

Original comment by leb...@gmail.com on 8 Aug 2010 at 1:51

GoogleCodeExporter commented 8 years ago
forgot 1 more thing.. I've added support for TMDB.org API 2.1 (the search is a 
bit improved)

Original comment by leb...@gmail.com on 8 Aug 2010 at 1:56

GoogleCodeExporter commented 8 years ago
I have downloaded latest compiled version. 21 Nov 2010
Won't recurse any directories; only finds movie in the scan directory.
This kinda sux - Ive just gone and put all my movies into different 
directories, and was hoping that this tool would fix the file AND directory.... 
can I reset my system clock and undo the changes??  ;)   

Original comment by spa...@areujoking.com on 8 Dec 2010 at 9:20

GoogleCodeExporter commented 8 years ago
Still not working in 2.1, I posted the fix for this over a year ago...

Original comment by nashen...@gmail.com on 10 Dec 2010 at 2:37

GoogleCodeExporter commented 8 years ago
Hey leboff, can I get the diffs for that fix you made?

Thanks

Original comment by makosbl...@gmail.com on 31 Dec 2010 at 6:17