Applescript-support, current playing, tracklist (MACOSX)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
New
|
Wishlist
|
Unassigned |
Bug Description
I want to propose to include support for Applescript. This would allow other applications and scripts to interface and read current information from MIXXX. A simple python script would be able to read current playing from MIXXX as below is demonstrated with iTunes.
--- Itunes getting artist and title for track 4 through 10 ---
#!/usr/bin/env osascript
set the artistlist to {}
set the titlelist to {}
set startvalue to 4
set stopvalue to 10
tell application "iTunes"
repeat with trackx from startvalue to stopvalue
set the end of the artistlist to artist of track trackx of current playlist
set the end of the titlelist to name of track trackx of current playlist
end repeat
end tell
return {artistlist, titlelist}
----------------
Kind regards
Mikael Holber - Sweden
Changed in mixxx: | |
importance: | Undecided → Wishlist |
I am not an Apple expert, but I am afraid the bug title is misleading.
I think you want an IPC interface, that is accessible by Applescript.
Something like DBus for Apple. stackoverflow. com/questions/ 2723936/ is-there- an-equivalent- to-dbus- on-osx stackoverflow. com/questions/ 2797703/ itunes- apple-events- api
I have just found this:
http://
http://
Who knows the name for the interface iTunes provides? Is it "Apple Events"?
Does Qt support it?