While working on TVRenamer I came across the need to give progress feedback for the user and give the user the ability to stop copying and since System.IO.File.Copy or Move doesn't provide any feedback and using the VB.NET copy methods means that this will involve another DLL and might not work on mono supported systems, beside that it doesn't give you control over the UI, so I went on and created my own class.
The idea is to have two streams one to read the source file and the other to write to the destination, while raising an event when progress is made, the class exposed one property which is the buffer size, buffer size will impact performance I found the 3MB is a good buffer size in general.
Here's an example of how to use the class:
oFS.CopyProgress += new EventHandler<FileSystem.CopyProgressEventArgs>(oFS_CopyProgress);
bool success = oFS.CopyFile(sourceFileName, destFileName);
if (success)
{
lblProgressStatus.Text = "File copied successfully";
}
void fs_CopyProgress(object sender, FileSystem.CopyProgressEventArgs e)
{
pb.Value = (int)(e.percentage * 100);
Application.DoEvents();
}
I am working on a new version of the TV Episodes File Renamer [0.6] Beta
The upcoming changes are:
The project is getting much bigger so I decided to host it on it's own site TVRenamer.com the site is still under construction but will be done with the release of the new beta version.
RapidShare.com the most famous file hosting site which propably hosts the richest illegal content on the internet, recently introduced a set of new rules for site usage, and some new features, here's a summery of the recent changes:
TVRenamer moved to a new site TVRenamer.com
This tool allows you to modify TV series episodes file names to make them all in one standard format. for example if you have few files with naming convention like:
the.office(us)2x14.avi
and others
The Office S02E08.avi
you can make all files with one naming convention of your choice.
currently the tool support the following formats
<Show Name><Separator>S<SS>E<EE>
<Show Name><Separator>e<SS>e<EE>
<Show Name><Separator><SS>x<EE>
Where
<SS> is the season number
<EE> Episode number
<Separator> is a choice of (comma, dash, space or underscore)
<Show Name> is the Title of the show
Show Name is extracted from the file names but if you want to modify it you can.
Use the preview button to see what the file names will look like, you can filter the files to be renamed by using Filter.
NOTE: this software is FREE

This Software requires Microsoft .net framework 2.0
Click here to download
Just updated the site to Drupal 6.2, I can feel a great increase in performance and the update went as smoothly as expected.
TVRenamer moved to a new site TVRenamer.com
I modified the previous version of TV Series Episodes File Renamer and now releasing version 0.2
Change log:
I am releasing the source code too.
Today is my 25th birthday I am celebrating my silver jubilee at the moment, I just turned quarter a century old and I had to look back and how much I did so far
I am about to get engaged to a very nice lady, I've a job and still have hair, which
is pretty much good, after all there's no way that I can do everything I want in the time I want but so far so good.
TVRenamer moved to a new site TVRenamer.com
I've been using this application for quite sometime now, and I thought of sharing it with who might find it useful
This tool allows you to modify TV series episodes file names to make them all in one standard format. for example if you have few files with naming convention like
the.office(us)2x14.avi
and others
The Office S02E08.avi
you can make all files with one naming convention of your choice.
currentlythe tool support the following formats
After 9 months of work, I am finally taking a vacation for a week starting next Friday, this is my first vacation at my new work.
I am going to Syria while in vacation, this is not my yearly vacation, but it's my "Refresh" vacation, like clicking F5 on the browser I need to reload my self with the breath of my home city Latakia.
Recent comments
8 weeks 3 days ago
10 weeks 1 day ago
12 weeks 1 day ago
22 weeks 12 hours ago
44 weeks 1 day ago
44 weeks 1 day ago
47 weeks 2 days ago
47 weeks 2 days ago
47 weeks 2 days ago
49 weeks 1 day ago