org.musicontroller.repair
Class SongLengthRepair

java.lang.Object
  extended by org.musicontroller.repair.SongLengthRepair

public class SongLengthRepair
extends java.lang.Object

Finds all songs in the database with length zero, calculates the length from the MP3 and sets the calculated length in the database.

Version:
$Id: SongLengthRepair.java,v 1.1 2010/03/16 18:55:42 varienaja Exp $
Author:
deksels

Constructor Summary
SongLengthRepair()
           
 
Method Summary
static void execute(Dao dao)
          Build a list of all songs with zero length.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SongLengthRepair

public SongLengthRepair()
Method Detail

execute

public static void execute(Dao dao)
Build a list of all songs with zero length. Calculate the real length and store that in the database.

Parameters:
dao - The Dao.


Copyright © 2010 A.J.V.. All Rights Reserved.