Page 1 of 1

ootunes?

Posted: Mon Jan 30, 2006 4:40 pm
by rbird
Has there been any thought given to adding iTunes integration into the Windows version, as is available on the Mac? I think it would be a great addition, although I confess I have no idea what it would take to accomplish it (no applescript available).

Bob

Posted: Mon Jan 30, 2006 4:50 pm
by winston
No. But perhaps it's time to think about making that plug in branch I was musing about last year so plugins to do various non core game things can be written.

Posted: Tue Jan 31, 2006 12:16 am
by TedJ
Hmm, if iTunes integration means selecting and playing music from within Oolite then it's not a priority for me. I'll continue switching to windowed mode (F12) and selecting stuff from MPD, thank you very much.

If integration means event driven playback (anything to replace Blue Danube ;)) then I may be interested...

Posted: Tue Jan 31, 2006 8:35 am
by Rxke
TedJ wrote:
f integration means event driven playback (anything to replace Blue Danube ;)) then I may be interested...
That's the way Ootunes works in OS X, ATM: you make a playlist called something like: 'in flight', one 'battle', and one 'docked' Whenever your situation changes, so does the music... Only drawback is that the changes are sudden, no fade-ins or outs... (And that it's too much of a cycles-hog to be useable for slower computers like mine, heehee.)

Posted: Wed Feb 01, 2006 4:44 am
by TedJ
Rxke wrote:
...Only drawback is that the changes are sudden, no fade-ins or outs... (And that it's too much of a cycles-hog to be useable for slower computers like mine, heehee.)
That may be more due to limitations within iTunes than anything else. I have to admit to being astounded that iTunes doesn't (or didn't, haven't upgraded my work machine for a while) even handle gapless; I have to make do with a one second crossfade. Then again, I don't think I've seen any player that crossfades on manual track change... it would introduce too much latency.

I'll agree with iTunes being a bit of a resource hog, comparatively speaking, hence my preference for mpd. iTunes may be very popular, and often imitated, but it's not the be all and end all. :)

<shameless plug>Try out MPD today!</shameless plug>

Posted: Wed Feb 01, 2006 8:35 am
by winston
The bizarre thing about iTunes is you DO get gapless play *if* you use AirTunes! It won't do gapless play through the computer speakers. Why it can do it through AirTunes but not through the speaker is a mystery.

(AirTunes is a feature built into the Airport Express wireless access point, the AP has a stereo jack you can connect to your hi-fi, as well as a USB printer server).

Posted: Wed Feb 01, 2006 8:39 am
by JensAyton
I suspect (read: speculate wildly) that the reason is that it uses a longer buffer for AirTunes.

Posted: Wed Feb 01, 2006 8:42 am
by winston
Oh, I'm certain it uses a longer buffer for AirTunes (on iTunes, you see the next tune start approximately a second before you hear it start to come out of the hi-fi connected to AirTunes). But why isn't there a setting to do the same thing for speaker output? I've got so many CDs that require continuous play, but there is an ugly gap between tracks if I use the PowerBook speaker (well, usually headphone port).

Posted: Tue Jul 04, 2006 6:31 pm
by CWolf
OK, could Ootunes on Doze PC use Winamp instead? That has fading and gapless available...

Posted: Wed Jul 05, 2006 12:24 pm
by JensAyton
Incidentally, you can reduce — mostly remove — gaps in iTunes by enabling “Crossfade Playback” with a 0-second fade time.

Posted: Thu Jul 26, 2007 11:33 am
by Arexack_Heretic
How is this stuff coming along?


I'd like to be able to set ambient music in responce to context (scripted)

something that handles the call to winamp/itunes, whatever music plugin and accesses a corresponding playlist/music-file.

ie. docked at a bar-hermit, I might prefer to have a hard-rock theme (pun intended) and use a script.plist like:

conditions :
{Status_string = STATUS_DOCKED,
dockedAtStationName = hermit-bar-rock}
do:
{playList: WinAmp rock.list}



Place the playlists in /music/

Interrupted by any call to another soundtrack or playlist.
soundeffects should be overlaid.

I am using playlists in contrast to mp3-files here as I don't think Metallica etal. will allow us to rob them of their copyrights.
Is it possible to have a utility do a search for tunes in a playlist on the localdrives of a computer?
Might be difficult as file-names can be altered by anyman.

I hope some of these things are possible. :roll:
Sorry if I made your heads hurt. :wink:

Posted: Thu Jul 26, 2007 3:49 pm
by JensAyton
There is absolutely no “coming along” happening when it comes to ootunes for Windows. I don’t have Windows and I have no idea how one would go about talking to iTunes (or WMP or whatever) under Windows.

I do intend to add the ability to cue music from JavaScript. I haven’t actually done any work on this yet. This will take the form of Ogg Vorbis music files within an OXP, and will probably be disabled if ootunes is in use.

Posted: Thu Jul 26, 2007 4:19 pm
by Arexack_Heretic
:lol: No probs, I'm in no hurry friend.

ps why quote yourself? :lol:
lazy programmers' method for emphasis?

Posted: Thu Jul 26, 2007 4:28 pm
by JensAyton
Arexack_Heretic wrote:
:lol: No probs, I'm in no hurry friend.

ps why quote yourself? :lol:
lazy programmers' method for emphasis?
That’d be me missing the edit button.

Hey, it’s better than when I edit someone else’s post instead of quoting.