Categories: Misc / DotNet / Java / Coder / Linux / PHP Ask - La ask - La Answer

Playlist Time Machine -- a lazy DJs dream

Howdy all.

I've got this great idea for an iTunes script (or AppleScript Studio application perhaps). Hopefully someone else is working on it right now. There are one or two similar script apps out there already, but none adequately fulfill the task I seek as yet. (If something like this currently exists, please supply a link to it). The program would be a "Playlist Time Machine" of sorts. Here is a description...

1) In "active" mode, it could monitor a playing playlist and indicate what time each tune will begin. This would be cool!

For example, the operator would be able to:

arrange the music for a party/event so that the slow dances would begin at about a quarter of every hour

then pick up the pace right on the hour of every hour (or reasonably close anyway)

tell the guests "Yah, your request will start around 8:07 PM" (much to their amazement)

schedule some birthday music to play around 9:22 PM (to coincide with the hostess bringing in the cake)

forecast which songs can physically fit into a restricted time-span (such as a 3:00 AM cutoff point)

make changes in iTunes anytime, and instantly see how all the playlist items get time-shifted

and so on.
Most importantly, the operator can just walk away to have fun... with full knowledge of what will happen and when (within a resolution of several seconds, hopefully). No real need to check back unless further changes for the future are necessary (satisfying and/or cancelling requests, etc.)

This would need to be more accurate than iTunes is currently. If I edit the start/stop times for a song in iTunes (meaning I tag the tune to skip a vocal or instrumental introduction, or I shave off some dead space at the end of a mp3)... iTunes still shows the total length. For example: I've set Stevie Wonder's "Do I Do" to end after 8:21, but iTunes incorrectly insists on displaying the full duration of 10:28. So the Playlist Time Machine needs to read the actual start and stop times from the option tags, and do the math.

2) When the playlist being monitored is non-playing (specifically: not yet activated), this would be called "planner" (or "setup") mode. In that state, the operator would enter in some field the time the playlist will be triggered. In this mode, each song's begin time indicators would calculate their values in reference to the intended trigger time.

3) If the playlist being monitored gets paused while already running, then all the little begin time indicators become clocks... and start counting to show what time the songs[i] will begin, as soon as play resumes. This could be called "standby" mode or something... strictly entered into as a result of pausing a playlist after it had already been initiated.

Note that the "scheduling ability" provided to the operator here is really a matter of choosing songs of approximately the right length, and then start the ball rolling at the proper time. (This is NOT like an iCal event triggering songs at very specific times or anything. Song scheduling with precision to that degree isn't the objective. The app merely indicates exactly what time things will happen based on the items in the que... and to that extent it is quite accurate). But again: it's by judiciously picking a selection of songs, that a fair amount of control can be achieved to plan (and edit in real time) an entire evening of music.

--

I think amateur party people and 'semi-pro' DJs would find such a tool useful. Most -- if not all -- of the ability already exists in iTunes 4. It just needs to be extracted and tweaked somehow. I believe -- depending on the degree of difficulty -- this software could be anything from freeware (a group project perhaps) to shareware in the $10 to $25 dollar range. (I have never used AppleScript Studio, nor done any significant scripting since OS9).

So... any thoughts... feedback... criticism... or VOLUNTEERS?

Cheers,

-HI-

ps: my name is Evan <efranc AT mac DOT com>
[4202 byte] By [Hal Itosis] at [2007-11-9 14:28:50]
# 1 Re: Playlist Time Machine -- a lazy DJs dream
Hi again.

If it's not abundantly clear at this point, let me state it plainly: this app would not control iTunes, nor alter any song data in any manner. It merely scans a particular playlist and displays the begin time of each song. The operator would do all musical manipulation in iTunes (as usual)... only referring to PTM to glean when the various songs will start.

Here is an example of what PTM's output might look like:
PLAYLIST TO MONITOR: Blues 'n' such

BEGIN TIME SONG NAME LENGTH ARTIST
20:00:00 Brush With The Blues 6:25 Jeff Beck
20:06:25 Once a Part of Me 7:16 Eric Johnson
20:13:41 Mississippi Queen 2:32 Mountain
20:16:13 Bell Bottom Blues 5:03 Derek & The Dominos
20:21:16 Wild About You 3:48 Robben Ford
20:25:04 Tobacco Road 17:10 Edgar Winter Group
20:42:14 Matte Kudasai 3:47 King Crimson
20:46:01 Going Down 3:19 Freddie King
20:49:20 She's Into Something 3:53 Albert Collins & Robert Cray
20:53:13 Politician 4:13 Cream
20:57:26 I Love Everybody 3:43 Johnny Winter
21:01:09

Note: the last item in the list (with no song in it) indicates what time the music will end. (9:01:09 PM in this case)

Note also: PTM will also need to frequently check the status of the currently playing song (once every few seconds or so), in case the operator skips ahead (or back) a song... thus altering the schedule. So it would update its display to retain accuracy over a long period.

Thanks again,

-HI-
Hal Itosis at 2007-11-15 17:25:01 >
# 2 Re: Playlist Time Machine -- a lazy DJs dream
think this would be a nice project for applescript studio.. not sure if multiple column outputs are possible under a vanilla form of applescript... are you in a rush for this... need to read a manual first :D
deeg at 2007-11-15 17:26:03 >
# 3 Re: Playlist Time Machine -- a lazy DJs dream
> are you in a rush for this...
> need to read a manual first

No... no panic. But it would be nice if a beta was floating around already. Guess I'm gonna post my idea in a few more places. Just hope to inspire some programmer who loves iTunes, and sees how useful/cool something like this could be.

Thanks for the reply,

-HI-
Hal Itosis at 2007-11-15 17:27:12 >
# 4 Re: Playlist Time Machine -- a lazy DJs dream
Originally posted by Hal Itosis
[i]

No... no panic. But it would be nice if a beta was floating around already. Guess I'm gonna post my idea in a few more places. Just hope to inspire some programmer who loves iTunes, and sees how useful/cool something like this could be.

Thanks for the reply,

-HI-

This is a cool idea! If you do find it elsewhere, please come back and post it here. Thanks.
raiste at 2007-11-15 17:28:06 >
# 5 Re: Playlist Time Machine -- a lazy DJs dream
Just wanted to bump this up, so that folks who missed it the first time around
could get a chance to read and respond. The search -- and the wait -- continues.
I have revised the name for this (so far) "theoretical" application to:

Playlist Prophet

Has anyone seen something that does this yet?
Would anyone care to write the source code?

Pass the word...

-HI- :cool:
Hal Itosis at 2007-11-15 17:29:05 >
# 6 Re: Playlist Time Machine -- a lazy DJs dream
cool idea! did u send to apple feedback?
porieux at 2007-11-15 17:30:12 >
# 7 Re: Playlist Time Machine -- a lazy DJs dream
Anyone interested in developing a script (AppleScript Studio or otherwise) should check out How Long Between Selected and Current (http://www.dougscripts.com/itunes/scripts/ss.php?sp=howlongbetween). You gotta grab the current track's player position and then update each subsequent track's distance from it.
Doug Adams at 2007-11-15 17:31:16 >
# 8 Re: Playlist Time Machine -- a lazy DJs dream
sorry for the delay, have had a few other things occupying me recently, am still working through the manual for ### and waiting for a book to be released.. will get there eventually but if anyone else wants to have a stab dont wait for me ;)
deeg at 2007-11-15 17:32:07 >
# 9 Re: Playlist Time Machine -- a lazy DJs dream
:confused: <yearly bump> ^
(the dream continues)
Hal Itosis at 2007-11-15 17:33:15 >
[an error occurred while processing this directive]
[an error occurred while processing this directive]