Class: Agqr

Inherits:
Radio show all
Defined in:
lib/rbtune/agqr.rb

Instance Attribute Summary

Attributes inherited from Radio

#area_en, #area_id, #area_ja, #ext, #outdir

Instance Method Summary collapse

Methods inherited from Radio

#agent, bands, #channel_to_uri, channels, #close, #convert, #convert_ffmpeg, #create_player, #datetime, db, find, inherited, #login, #make_recfile, #make_tmpfile, match, #open, #out_ext, #play, #record, search, stations, #tune

Constructor Details

#initializeAgqr

Returns a new instance of Agqr.



6
7
8
# File 'lib/rbtune/agqr.rb', line 6

def initialize
  @ext = 'm4a'
end

Instance Method Details

#fetch_stationsObject



10
11
12
13
# File 'lib/rbtune/agqr.rb', line 10

def fetch_stations
  uri = 'https://fms2.uniqueradio.jp/agqr10/aandg1.m3u8'
  [Station.new('AGQR', uri, name: '超A&G+', ascii_name: 'aandg1')]
end