Hi there, firstly I apologise if this is in the wrong section as I couldn't find an appropriate one. I've attached a link to the SRC of MovieRenamer, I would really appreciate any feedback about the program... I am just a novice C# programmer and I created this program purely for my own personal use but figured that it may just help someone else who was experiencing the same problem. And that problem is....
Many of my divx movies are named in the following format, eg.
I installed media portal and fell in love, unfortunately the IMDB lookup feature which i thought was ingenious searched for the names of the movies based on the actual file name and not the folder name, so this put me into a difficult situation, do I rename all of my movies manually or enter imdb info for each one individually. Obviously I picked the 'easy' way out and wrote this little program to automate the process for me. It's nothing fancy really, all it basically does is loop through a directory to find all avi files and attempts to rename them according to the name of their parent folders.
There are one of 3 scenarios currently which it attempts to identify and rectify.
1) The movie is in the following format
in which case it simply renames the movie to Stomp They Yard.avi
2) 2 CD movie in folders, CD1 and CD2
in which case it will attempt to identify that it is the first or second cd and rename it accordingly, eg. sty-movie CD1.avi and sty-movie CD2.avi
3) 2 CD movie in the same root directory with cd number indicated
in which case it will attempt to rename it to Stomp They Yard CD1.avi and Stomp They Yard CD2.avi
That's the just of it. I would really appreciate any suggestions/help from any of the developers or users on the forum. Please withhold your criticisms however as I remind you that the code is most likely messy and disorganised but as I've said I did not originally intend on releasing it. If you are an end user that wishes to use the program please I remind you you use this at your own risk, please backup your files beforehand and better yet create a test folder/movie to test it out first so that you can get a feel for it.
Download
Thank you for your time
Nokoff, Nokoff@gmail.com
Many of my divx movies are named in the following format, eg.
Code:
X:\Stomp They Yard\sty-movie.avi
I installed media portal and fell in love, unfortunately the IMDB lookup feature which i thought was ingenious searched for the names of the movies based on the actual file name and not the folder name, so this put me into a difficult situation, do I rename all of my movies manually or enter imdb info for each one individually. Obviously I picked the 'easy' way out and wrote this little program to automate the process for me. It's nothing fancy really, all it basically does is loop through a directory to find all avi files and attempts to rename them according to the name of their parent folders.
There are one of 3 scenarios currently which it attempts to identify and rectify.
1) The movie is in the following format
Code:
X:\Stomp They Yard\sty-movie.avi
in which case it simply renames the movie to Stomp They Yard.avi
2) 2 CD movie in folders, CD1 and CD2
Code:
X:\Stomp They Yard\CD1\sty-movie.avi
X:\Stomp They Yard\CD2\sty-movie.avi
in which case it will attempt to identify that it is the first or second cd and rename it accordingly, eg. sty-movie CD1.avi and sty-movie CD2.avi
3) 2 CD movie in the same root directory with cd number indicated
Code:
X:\Stomp They Yard\sty-movie-cd1.avi
X:\Stomp They Yard\sty-movie-cd2.avi
in which case it will attempt to rename it to Stomp They Yard CD1.avi and Stomp They Yard CD2.avi
That's the just of it. I would really appreciate any suggestions/help from any of the developers or users on the forum. Please withhold your criticisms however as I remind you that the code is most likely messy and disorganised but as I've said I did not originally intend on releasing it. If you are an end user that wishes to use the program please I remind you you use this at your own risk, please backup your files beforehand and better yet create a test folder/movie to test it out first so that you can get a feel for it.
Download
Code:
http://nokoff.centelia.org/AutoIndex/index.php?dir=&file=MovieRenamer.rar
Thank you for your time
Nokoff, Nokoff@gmail.com