yesezra / music-cache

Scan, Index, Analyze, Query and Migrate your music collections using Ruby and Redis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MusicCache

You have a lot of music files (mp3 support only for now). You want to know what you have, where you have it, and what shape it's in (duplicates, encodings, size, track completion, mislabelings).

You'd also like to be able to query this data, for use in other programs – say a web based music player like FTANG (http://github.com/maxogden/ftang).

You could use MusicCache to do these things!

Music cache is written in ruby, and stores in Redis (<= 2.0). 

it is executed by:
music-cache origin destination enact
e.g.
music-cache /home/YourUser/unsorted /home/YourUser/Music enact

By removing the 'enact' word, the program does a dry run.

IMPORTANT DEPENDENCY INFO (I will not be a dependency coward. Join me.):
  We're using bundler here. You should to!

  FOR MY 1.8 USERS:
    bundle install

  FOR MY 1.9 USERS, 
    currently broken: mp3info is broken in 1.9.2
    I'm working on this problem.
    
    if you want to help ...
    bundle install

  This program uses ruby-mp3info which can be found at:
  http://ruby-mp3info.rubyforge.org/

  And uses the ruby implementation of Levenshtein distance, which can be found at:
  http://rubyforge.org/frs/?group_id=6257
  
This program was originally inspired by TheDevelopment's ruby-id3-sort, and still resembles it in a few places. please see http://github.com/TheDevelopment/ruby-id3-sort

About

Scan, Index, Analyze, Query and Migrate your music collections using Ruby and Redis

License:MIT License