Code Monkey home page Code Monkey logo

m3u-builder's Introduction

= M3u-Builder

M3u-Builder is a simple Haskell script which generates m3u-playlist files based
on a playlist file which you are providing the program as input. 

== How it works

It queries for each element of your input-playlist the last.fm API in order to
find similar tracks. Those tracks are collected and filtered with the music on
your filesystem, so that only music in the playlist shows up, which is actually
on your filesystem.

== Limitations

Only MP3 files and M3U-playlists are supported. The ID3(v2) parser might still
be incomplete and might sometimes not work as expected.
Querying a lot of music in the playlist might take a while, since HTTP-requests
aren't done in parallel.

== Usage

m3u-builder <music-directory> <playlist> [number-of-tracks]

The music directory is a directory on your file system in which all your music
is stored. It will be scanned for new mp3-files each time the program is run.
To improve performance the parsing results are cached in the
~/.m3u-builder/cache file to improve the performance. If you modify the 
ID3-tags of one of your mp3-files you should manually clear the cache by
simply deleting the file.

The playlist is a m3u-playlist.

The number of tracks is an optional number, which indicates the top N tracks of
the given playlist which should be used for querying last.fm. If no number is
given all tracks are queried from last.fm.

m3u-builder's People

Contributors

mop 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.