module Anyplayer

The Selector is the tool that will find you the currently running player on your platform.

Example:

selector = Anyplayer::Selector.new
selector.verbose = true
player = selector.player

Needs the PLAYERS constant to contain a list of players.

Constants

PLAYERS

Ordering of the players should put the most-used players and the fastest to test at the top.

iTunes Windows has been placed at the top because of some linux false positives. github.com/sunny/anyplayer/issues/8

VERSION

Public Class Methods

launched() click to toggle source
# File lib/anyplayer.rb, line 22
def self.launched
  Selector.new.player
end