lib/ayadn/action.rb in ayadn-2.0.4 vs lib/ayadn/action.rb in ayadn-2.0.5

- old
+ new

@@ -836,10 +836,16 @@ end def nowplaying(options = {}) Settings.options[:timeline][:compact] = true if options[:compact] == true np = NowPlaying.new(@api, @view, @workers, options) - options[:lastfm] ? np.lastfm(options) : np.itunes(options) + if options[:lastfm] + np.lastfm(options) + elsif options[:deezer] + np.deezer(options) + else + np.itunes(options) + end end def nowwatching(args, options = {}) begin Settings.options[:timeline][:compact] = true if options[:compact] == true