Skip to content

Boolean263/EventGhost-iTunes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EventGhost-iTunes

This program is not very useful on its own. It's a plugin for EventGhost. EventGhost is an automation tool for MS Windows which listens for events -- whether user-triggered (like the press of a hotkey) or system events (such as the screensaver activating) -- and runs actions you specify. (It's like Tasker for Android, or Cuttlefish for Ubuntu.)

Disclaimer

I (Boolean263) am not the original author of this code. It's a collaboration of people on the EventGhost forums who go by Stottle, Jitterjames, and cfull1. The official thread for this plugin is here. I've just put it here on GitHub because (a) I want to make it easier to find, and (b) I want to start hacking on it myself.

Description

This is a very handy plugin for EventGhost. It sends events on various changes of iTunes state, allows you to retrieve various bits of information on the state of iTunes, and even lets you control iTunes.

Simple control features supported: launch iTunes, exit iTunes, play, stop, pause, next/previous track, rewind, fast-forward, resume, toggle visualization/fullscreen/mute/shuffle/repeat, turn shuffle on/off, turn mute on/off, turn visualization on/off, set visualization fullscreen or windowed, turn repeat on/off/repeat all.

Advanced control features supported: set/change volume, load playlist by name, search for songs and put them in a playlist, play a song in a playlist, set rating, set playback position.

Information retrieval fields supported: get title, album, artist, genre, year, rating, duration, mute status, volume, playback state, playback position, URL, playlist name, playlist shuffle status, playlist repeat status, playlist duration, list of playlists, playlist tracks by name, and "universal" (song name, album name, artist, bitrate, BPM, comment, compilation, composer, date added, ...).

Events triggered: track changed, web radio stream track changed, playback stopped, volume changed, iTunes closing, iTunes starting.

Downloads and Support

This thread on the EventGhost forums serves as its support and distribution thread.

This plugin first appeared in this thread on the EventGhost forums. I've copied the 0.1.11 release from that thread and used it to seed the GitHub repository at Boolean263/EventGhost-iTunes (it's the initial commit there). I make no claim of this repo being anything close to official; that said, the thread had seen little to no activity in the last 2 years.

Authors

Stottle, Jitterjames, cfull1, yokel22, and Boolean263

Changelog

0.1.16 - 2017-09-09

  • Improve some configuration dialogs, particularly the rating dialog
  • Add explicit on and off actions for actions that were only toggle-able before: Mute, Visualization, Full-screen visualization mode
  • Minor backend refactoring
  • Use process list instead of window list to detect if iTunes is running (fixes not detecting iTunes when it's minimized to the system tray)
  • Prevent iTunes from showing a warning dialog when you try to close it while this plugin is active

0.1.15 - 2017-08-28

  • Release link
  • Merge yokel22's wonderful changes (below) into the version Boolean263 released

0.1.14 - 2016-12-04

  • Release link
  • Independent modifications by yokel22 based on a 0.1.11 release
  • Add actions: set rating, set seek position, get mute status, get volume, get playback state, get player position, get URL, get year, get rating, get duration, get playlist duration
  • Add events: volume changed, iTunes closing, iTunes starting
  • Add many fields to the GetTrackInfo action

0.1.13 - 2017-08-22

  • Release link
  • Refactor CallThread() so it works when iTunes isn't running
  • Add a notice when the requested playlist name can't be found

0.1.12 - 2017-08-18

  • Release link
  • Boolean263 dusts off the code
  • New action: Play/Pause toggle
  • Improve TrackChanged event: add kind, composer, comment, and genre to the payload
  • Add StreamTrackChanged event: gives title and URL when a radio stream changes its title
  • Add Stopped event when iTunes is stopped
  • Some backend refactoring

Details below this line are a bit shaky.

0.1.11 - 2011-10-15

  • Release link
  • Finally update the version number
  • Clean up the code a bit
  • Handle some error conditions
  • Add "Play song in playlist" action

0.1.10 - 2011-10-10

  • Release link
  • cfull1 joins the development
  • Add repeat control
  • Add info retrieval actions: shuffle, repeat, playlists, current playlist, playlist's tracks

0.1.10 - 2011-06-09

  • Release link
  • Add "Search and Load" command: create a playlist and populate it with songs that match search terms
  • Add shuffle control

0.1.10 - 2009-09-10

0.1.10 - 2009-08-27

0.1.10 - 2009-08-23

  • Release link
  • stottle joins the development
  • Added multithreading

0.0.1 - 2009-08-19

About

Fork of the iTunes plugin for EventGhost.

Resources

Stars

Watchers

Forks

Packages

No packages published