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/plugin/cava.rb,
lib/muzak/cmd/playlist.rb,
lib/muzak/plugin/notify.rb,
lib/muzak/plugin/scrobble.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 =
"0.0.9".freeze
CONFIG_DIR =
File.expand_path("~/.config/muzak").freeze
CONFIG_FILE =
File.join(CONFIG_DIR, "muzak.yml").freeze
INDEX_FILE =
File.join(CONFIG_DIR, "index.yml").freeze
PLAYLIST_DIR =
File.join(CONFIG_DIR, "playlists").freeze
USER_PLUGIN_DIR =
File.join(CONFIG_DIR, "plugins").freeze
USER_COMMAND_DIR =
File.join(CONFIG_DIR, "commands").freeze
PLUGIN_EVENTS =
[
  :player_activated,
  :player_deactivated,
  :song_loaded,
  :playlists_loaded,
  :playlist_enqueued
]