File copy with progress feedback & ability to cancel using manged .NET only (C# & VB.NET)

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();
}

Upcoming TV Series Episodes File Renamer [0.6] Beta

I am working on a new version of the TV Episodes File Renamer [0.6] Beta
The upcoming changes are:

  • Changed the source of episodes titles to TvRage.com for a better way for getting episode titles
  • Enhanced Episode/Season/Show detection algorithm.
  • Now you can rename multiple show files at the same time.
  • Drag and Drop support for file/folders
  • Support for sub directories
  • Mono support, you can run it on Linux now
  • Fixed a bug of always logging changes
  • Enhanced and more organized interface
  • Added update checking

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 new rules

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:

  • The maximum file size increased from 100MB to 200MB.
  • Download limit per 5 days increased from 25GB to 50GB then changed to 10GB per day and now the 10GB per day is carried to the second day when not used but it saving is limited to 50GB again.
  • Removed Captcha for free users
  • Limited the use of Premium users to one IP at a time making things harder for Premium account sharing

TV Series Episodes File Renamer [0.5]

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
TV Series Episodes File Renamer
This Software requires Microsoft .net framework 2.0
Click here to download

Updating the Site to Drupal 6

Just updated the site to Drupal 6.2, I can feel a great increase in performance and the update went as smoothly as expected.

TV Series Episodes File Renamer[0.2]

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:

  • Support for <SS><EE> format.
  • Minor bugs fixed.

I am releasing the source code too.

Click here to download

Have fun

TV Series Episodes File Renamer

A quarter century old

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.

TV Series Episodes File Renamer - First Release

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

Doha Cornish

I took this a clip in Qatar - Doha Cornish

vacation

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.

Syndicate content