Module: Muzak

Defined in:
lib/muzak/cmd.rb,
lib/muzak/song.rb,
lib/muzak/album.rb,
lib/muzak/const.rb,
lib/muzak/index.rb,
lib/muzak/utils.rb,
lib/muzak/config.rb,
lib/muzak/player.rb,
lib/muzak/plugin.rb,
lib/muzak/cmd/meta.rb,
lib/muzak/instance.rb,
lib/muzak/playlist.rb,
lib/muzak/cmd/index.rb,
lib/muzak/cmd/config.rb,
lib/muzak/cmd/player.rb,
lib/muzak/player/mpv.rb,
lib/muzak/cmd/playlist.rb,
lib/muzak/player/stub_player.rb,
lib/muzak/plugin/stub_plugin.rb

Defined Under Namespace

Modules: Cmd, Player, Plugin, Utils Classes: Album, Config, Index, Instance, Playlist, Song

Constant Summary collapse

VERSION =

Muzak's current version

"0.0.12".freeze
CONFIG_DIR =

The root directory for all user configuration, data, etc

File.expand_path("~/.config/muzak").freeze
CONFIG_FILE =

Muzak's primary configuration file

See Also:

File.join(CONFIG_DIR, "muzak.yml").freeze
INDEX_FILE =

Muzak's music index

File.join(CONFIG_DIR, "index.dat").freeze
PLAYLIST_DIR =

The directory for all user playlists

File.join(CONFIG_DIR, "playlists").freeze
USER_PLUGIN_DIR =

The directory for all user plugins

File.join(CONFIG_DIR, "plugins").freeze
USER_COMMAND_DIR =

The directory for all user commands

File.join(CONFIG_DIR, "commands").freeze
PLUGIN_EVENTS =

All events currently propagated by Instance#event

[
  :player_activated,
  :player_deactivated,
  :song_loaded,
  :song_unloaded,
  :playlist_enqueued
]