Skip to content

sgnls/musicdb

 
 

Repository files navigation

musicdb

image

image

image

This is my personal media library which I wrote after being frustrated with other solutions which use pre-1970s database technology.

The feature-set is mostly geared towards accurately storing western classical music circa 1500 to the present day. It also supports albums ("non-classical") too with correct support for multiple CDs.

It is entirely web-based and generates XSPF files pointing to the actual files.

Local database setup

  1. Create PostgreSQL user with id matching your UNIX username:

    $ sudo -u postgres createuser $(whoami) -SDR
  2. Create a database owned by this user:

    $ sudo -u postgres createdb -E UTF-8 -O $(whoami) musicdb
  3. Check we can connect to this database:

    $ /usr/bin/psql musicdb
    psql (9.1.2)
    Type "help" for help.
    
    musicdb=> \q

Syncing with the live site (lamby only)

Sync database:

$ ./manage.py sync_database

Releases

No releases published

Packages

No packages published

Languages

  • Python 62.2%
  • HTML 23.7%
  • JavaScript 12.2%
  • Shell 1.1%
  • Other 0.8%