Coder Social home page Coder Social logo

toastunes's Introduction

About

ToasTunes is a social web app for browsing and listening to a music library, adding comments and ratings, and adding album art and genre classifications. ToasTunes was written by @drtoast.

Setup

installation, Mac OSX:

rvm install 1.9.2
brew install mongodb
brew install ghostscript
brew install imagemagick
git clone git://github.com/drtoast/toastunes.git
cd toastunes
bundle

installation, BSD

todo

edit config files

edit config/toastunes.yml.sample, rename to toastunes.yml

edit config/mongoid.yml.sample, rename to toastunes.yml

To download album art via Amazon AWS, add your developer key id and secret key to config/toastunes.yml.

add users

ToasTunes is meant for private use, so public user registration is disabled. An admin can add a new user in the rails console:

rails c
User.create :email => '[email protected]', :password => '123456'

load an iTunes library

Create a symlink from your iTunes Music folder to public/music/itunes:

cd toastunes/music
ln -s ~/Music/iTunes/iTunes\ Music itunes

Edit the path to your iTunes library XML in config/toastunes.yml, then:

rake toastunes:read:itunes

Process album art, artists, genres

rake toastunes:process:albums

load a directory

Make sure your library directory structure is the following:

yourlibrary/Artist Name/Album Title/Song Title.mp3

Create a symlink from your music directory to public/music/yourlibrary:

cd toastunes
mkdir public/music
mkdir public/images/covers
mkdir public/images/thumbnails
ln -s /volumes/yourlibrary public/music/yourlibrary

Parse your library

rake toastunes:read:artists[yourlibrary]

Bugs

Currently only runs well in Google Chrome.

Can't read filenames with funky characters on Samba shares, e.g. "Miss Kitten & The Hacker/Two/09 Inutile Eternité.mp3"

Parsing of ID3 picture tags needs some work

toastunes's People

Contributors

drtoast avatar kasima avatar

Stargazers

 avatar

Watchers

 avatar James Cloos 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.