Module: Sh
- Defined in:
- lib/sh_player.rb,
lib/sh_log.rb,
lib/sh_main.rb,
lib/sh_view.rb,
lib/sh_queue.rb,
lib/sh_browse.rb,
lib/sh_global.rb,
lib/sh_lastfm.rb,
lib/sh_lyrics.rb,
lib/sh_mmkeys.rb,
lib/sh_plasma.rb,
lib/sh_plugin.rb,
lib/sh_actions.rb,
lib/sh_database.rb,
lib/sh_playlist.rb,
lib/sh_tagreader.rb,
lib/sh_fingerprint.rb,
lib/sh_cover_browse.rb
Overview
I believe that a small explanation is in order. You may be wondering why Wx is being used when Gtk is the GUI library for everything else? I chose to use Wx for it’s MediaCtrl, which provides a media playback interface. This nifty widget works on multiple platforms, and doesn’t actually require its visibility. Unfortunately, the Wx main loop must be running for it to work, and the MediaCtrl must be attatched to a Frame (as far as I can tell). As a result, the Player class inherits from Wx::Frame even though it never actually displays anything. It would be nice if I could get MediaCtrl without all of the other Wx stuff attached!
Defined Under Namespace
Modules: PluginSugar Classes: Actions, Album, Artist, Browse, CoverBrowse, Database, Fingerprint, Global, LastFM, Log, Lyrics, MMKeys, Main, MediaPanel, Plasma, Player, Playlist, Playlists, Plugin, Queue, ShroomActions, Song, TagReader, View
Constant Summary collapse
- KEYS =
{ :lastfm => '1a265c70e0ecbe87d51efc5da4bf8a10'.freeze, :music_dns => '5acf4dd55bc341877bacd07878239a82'.freeze }