Class: Spotiphy
Instance Attribute Summary
Attributes inherited from Site
#channels, #current_channel, #is_di_plus, #is_mplayer, #is_spotify, #name, #player, #songs
Instance Method Summary collapse
- #get_channels ⇒ Object
-
#initialize(options) ⇒ Spotiphy
constructor
A new instance of Spotiphy.
Methods inherited from Site
Constructor Details
#initialize(options) ⇒ Spotiphy
Returns a new instance of Spotiphy.
4 5 6 |
# File 'lib/terminal_player/spotiphy.rb', line 4 def initialize() super(, "spotify") end |
Instance Method Details
#get_channels ⇒ Object
8 9 10 11 |
# File 'lib/terminal_player/spotiphy.rb', line 8 def get_channels # TODO maybe playlists? @channels = [{id: 0, name: "There is no channel support for spotify yet."}] end |