Module: LastfmM3u

Defined in:
lib/lastfm-m3u.rb,
lib/lastfm-m3u/base.rb,
lib/lastfm-m3u/util.rb,
lib/lastfm-m3u/lastfm.rb,
lib/lastfm-m3u/version.rb,
lib/lastfm-m3u/search/file_search.rb

Defined Under Namespace

Modules: Util Classes: Base, FileSearch, InvalidSearchType, Lastfm, Search

Constant Summary collapse

SEARCH_TYPES =
[:file, :id3, :both]
VERSION =
"0.3.1"

Instance Method Summary collapse

Instance Method Details

#progressbarObject



89
90
91
92
93
94
# File 'lib/lastfm-m3u/lastfm.rb', line 89

def progressbar
  ProgressBar.create(
    starting_at: 0,
    total: num_tracks,
    format: "%a".color(:cyan) + "|".color(:magenta) + "%B".color(:green) + "|".color(:magenta) +  "%p%%".color(:cyan))
end