]>
git.r.bdr.sh - rbdr/lyricli.rb/blob - lib/lyricli/lyricli.rb
06302f50948080335de90fd65303485826ba4d1f
5 @source_manager = SourceManager
.new
16 engine
= LyricsEngine
.new(@current_track[:artist], @current_track[:song])
20 rescue LyricsNotFoundException
26 @current_track = @source_manager.current_track
30 self.exit_with_error
if @current_track[:artist].nil? or @current_track[:artist].empty
?
31 self.exit_with_error
if @current_track[:song].nil? or @current_track[:song].empty
?