On Mon, 30 Jun 2014, Thomas Churchill wrote:
What is causing this script to run so slowly, the rewriting of the audio file to modify the header? Or the DB calls?
In the script I spoke of I am not modifying the headers but merely reading them. However, I am reading the header of every audio file on a daily log in one fell swoop. The time to read all those headers adds up.
I think in this case the thought wasn't necessarily to continually write and update the whole library, but rather to make a utility that would do add a snapshot of the current database entry to a selected subset of audio files that could then be copied and reintegrated into another Rivendell installation bu reversing the process and reading the data back out.
In copying a file from one database to another, I am rsyncing the audio file and then executing a MySQL query across the network to insert the metadata in the remote database.
Rob _______________________________________________ Rivendell-dev mailing list [email protected] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
