I’ve got the iTunes integration working, had to add playlists named “Oolite-Docked” and “Oolite-Inflight”
I couldn’t find this documented anywhere, those names came up as errors in the log.
Is there volume/pause/next/prev control available in-game? If not, I’ll look into it — should be simple enough to map a key to trigger a shell command to talk to iTunes, hopefully that’s within OXP capabilites. (If so, integration with xmms/rhythmbox/amarok/etc should also be pretty simple.)
(P.S. If I may recommend an in-flight channel: http://somafm.com/missioncontrol/ - overlays ambient music with real NASA radio chatter)
Undocumented? iTunes integration
Moderators: winston, another_commander
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Undocumented? iTunes integration
No idea, (I use Linux or Windoze) but it seems unlikely.Mariachi wrote:Is there volume/pause/next/prev control available in-game?
OXPs can't directly map keys.. you'd need to edit the core code and recompile, and keybinding is something that really ought be be discussed with the devs before proceeding (they're fiercely protective of the few remaining unallocated keys!). You may be able to do something via the 'b' and 'n' equipment keys, though.Mariachi wrote:If not, I’ll look into it — should be simple enough to map a key to trigger a shell command to talk to iTunes, hopefully that’s within OXP capabilites.
Still unlikely, I suspect.. so far as I understand it, iTunes only works because Mac Oolite can access iTunes hooks built into OSX. Those hooks don't exist for other players and operating systems. It would be very cool to have such integration for other systems, though (I vote for VLC player).Mariachi wrote:(If so, integration with xmms/rhythmbox/amarok/etc should also be pretty simple.)
Ah yes, I quite like that channel..Mariachi wrote:(P.S. If I may recommend an in-flight channel: http://somafm.com/missioncontrol/ - overlays ambient music with real NASA radio chatter)
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
Re: Undocumented? iTunes integration
Also their lounge station is great for docked music, especially with the low hubbub of BGS.
Re: Undocumented? iTunes integration
I doubt it will happen.Diziet Sma wrote:No idea, (I use Linux or Windoze) but it seems unlikely.Mariachi wrote:Is there volume/pause/next/prev control available in-game?
OXPs can't directly map keys.. you'd need to edit the core code and recompile, and keybinding is something that really ought be be discussed with the devs before proceeding (they're fiercely protective of the few remaining unallocated keys!). You may be able to do something via the 'b' and 'n' equipment keys, though.Mariachi wrote:If not, I’ll look into it — should be simple enough to map a key to trigger a shell command to talk to iTunes, hopefully that’s within OXP capabilites.
Still unlikely, I suspect.. so far as I understand it, iTunes only works because Mac Oolite can access iTunes hooks built into OSX. Those hooks don't exist for other players and operating systems. It would be very cool to have such integration for other systems, though (I vote for VLC player).Mariachi wrote:(If so, integration with xmms/rhythmbox/amarok/etc should also be pretty simple.)
JS does have mechanisms for doing such like reading / writing files, executing commands etc, but oolite doesn't implement them.
Currently all an oxp can do is changing things in the running instance of Oolite.
If it were possible to execute commands, what stops an oxp from deleting all user files, instaling viruses, keyloggers, trojan etc. ?
Keeping oxps restricted to changing oolite running instance only saves us a lot of headaches.
OS : Arch Linux 64-bit - rolling release
OXPs : My user page
Retired, reachable at [email protected]
OXPs : My user page
Retired, reachable at [email protected]