Music web site AppleScripts
Music web site AppleScripts
- Subject: Music web site AppleScripts
- From: Stephen Moore Online <email@hidden>
- Date: Mon, 21 Jun 2004 08:24:19 +0100
I have a Music Management9 problem that I9m pretty sure is an AppleScript
issue. I have thousands of CDs that have been or will be ripped to HD as
M4As prior to uploading to the Web. In addition to the CDs music will be
supplied via an FTP server as, hopefully, correctly converted M4As or
possible other formats (AIFF or WAV) if suppliers don9t know how or can9t be
bothered. All the information relevant to the individual tracks is or will
be introduced into a FileMaker database. Each track being a record with a
dozen or so fields with track title, length, etc. Record companies will be
encouraged to supply WP or Excel documents with the track info.
The first AppleScript problem is to name the tracks with a catalogue number
which identifies the record company, the CD and track number, eg
ATMOS_130_01, where ATMOS is the record company Atmosphere, 130 is the 130th
CD released by date order (their reference) and 01 is the first track on the
album. This system needs a consistent logic to the numbering as these
numbers will be used as the basis for the financial reports that are
supplied back to the record companies at the end of each quarter.
Chapter 3 in AppleScript, The Definitive Guide9 by O9Reilly seems to
suggest that the POSIX paths needed in part to do this can be AppleScripted.
I have a terrific little program called A Better Finder Rename9 that will
use a two columned, tabbed, text file to rename a group of files from, the
first column containing the POSIX paths with their old names and the second
column just the new file name. I9m wondering if the whole procedure can be
scripted using 3A Better Finder Rename9 as the model for the approach.
The second module is linking the newly named M4A files to a container9
field within the relevant track record in the database. The purpose of this
is to enable the tracks to be auditioned for their suitability for the site
and rather than sitting surrounded by CDs it would be far better to do this
from within the database with the click of a mouse and headphones. There is
of course a field with the same name as the track. Is it possible to write a
script that makes the match and links the correct M4A file to the correct
record?
The third part is once the next batch of tracks have been auditioned and
selected by entering the project ID in another field, their records are
sorted revealing the next group of M4As for processing. At this stage a
scripting solution is needed to duplicate those files into specific folder
and substitute the record company catalogue reference for the actual song
title as the file name. Subsequent to that the MPEG-4 tags need to be
introduced. I9ve discovered a terrific website www.malcolmadams.com which is
packed with iTunes scripts one of which tags the song title from the file
name which is terrific. There are a number of others that might also be
useful with other tags as well.
The next stage is generating RealAudio audition9 clips for streaming over
the Web. I9m using QuickTime with the Real OSX codec which will generate
the clips individually but because I have so many I really need to find a
script that will import all the files from a given folder in turn from
within QuickTime Pro and export them as RealAudio clips.
In addition to generation the M4As and RealAudio clips they have to be
uploaded to the Web. The site is about 90% completed. If uploading is to be
automated then presumably some kind of path needs to be generated, I9m a bit
vague on the details here as I don9t know yet exactly where the music will
reside.
In order for the RealAudio clips to stream correctly a meta text file needs
to be generated for each .rm clip which points the browser to the right
file. It comes in the form
http://www.yourdomain.com/myrafile.ram. An
AppleScript to do this and correctly place it on the server would be a
considerable and accurate time saver.
That9s pretty much it for the time being, the project will doubtless evolve
over time particularly when it9s used. Does anyone have any thoughts that
might help or know someone who could? My knowledge of scripting is VERY
limited although I9m learning.
Regards
Stephen Moore
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.