Sha256: eee1a1e668a3891e119b0b76318e17a3a51314d8dd6a8604501524d97002a05a

Contents?: true

Size: 499 Bytes

Versions: 1

Compression:

Stored size: 499 Bytes

Contents

=begin
  The Content object defines the source of audio
  for the player.
  
  We cant return the name of a playlist from mpd: we might as well build it up
  in memory.
  
  Attributes:
    type: playlist, a URL, or a single file
    location: URI for the content
    mode: sequential, random, resume
    song_number: song to resume play
    play_from: position to resume from (seconds)
=end

class Radiodan
class Content < Struct.new(:type, :name, :files, :mode, :song_number, :play_from); end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
radiodan-0.0.1 lib/radiodan/content.rb