Giter Club home page Giter Club logo

lastfm-m3u's Introduction

Code Climate Build Status Coverage Status Dependency Status

Lastfm Top tracks Playlist creator

Searches given directory for mp3/flac files that match lastfm top tracks for given artist.

Installation

$ gem install lastfm-m3u
$ lastfm-m3u --init
Follow instructions to add your Lastfm API keys

Usage

LastfmM3u Playlist Creator
To get started: lastfm-m3u --init

Usage: lastfm-m3u [options]
Note: defaults to filename-only search. id3/both search is more thorough, but much slower

Examples:
  lastfm-m3u -a "Biosphere,Brian Eno"
  lastfm-m3u -a Biosphere
  lastfm-m3u -a Biosphere -t both
  lastfm-m3u -a Biosphere -d ~/music/Biosphere


Options:
    -t, --type TYPE                  Select search type
                                       (f,i,b,file,id3,both)
    -i, --init                       init lastfm API access config
    -a "x,y,z"                       one or more artists separated by commas (enclose with quotes if any spaces)
    -d, --directory DIR              music directory
    -p, --path PATH                  Specify path to use for m3u file entries (e.g. MPD requires a path relative to its music directory - i.e. -d /home/user/music/Biosphere -p /home/user/music where the second one is MPD's root)
    -l, --limit NUM                  Specify limit of tracks to fetch from Last.fm (defaults to all)
    -f, --not-found                  Show not found
        --debug [LEVEL]              Enable debugging output (Optional Level :: 0=all, 1=info,warn,error, 2=warn,error, 3=error)
    -v, --version                    Show LastfmM3u version
    -h, --help                       Show this help message

Demo

Demo

lastfm-m3u's People

Contributors

jonaustin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.