This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.

Requirements

  • Django
    • sudo apt-get install python-django
  • mod_wsgi
    • sudo apt-get install libapache2-mod-wsgi
    • sudo a2enmod wsgi # enable it in apache.
  • pylast

You will also need a LastFM account and a API account (http://www.last.fm/api/account).

Install with Apache

  • Get the code
    • $ git clone git://github.com/nikolaik/oliver_screen.git
  • Make available static files under oliver_screen/oliver_screen/static by symlinking or setup a and Alias in your Apache config.
  • Then setup a WSGIScriptAlias in your apache config pointing to the full path of django.wsgi.
    • sudo /etc/init.d/apache restart # load new Apache configuration settings
  • Copy settings-sample.py to settings.py and edit to suit your needs.
    • Set MEDIA_URL to the URL where static files are served.
    • Set LASTFM_APIKEY and LASTFM_API_SECRET
  • Create the database.
    • $ python manage.py syncdb (creating an admin user)
  • Make sure the files have correct permission (readable by www-data).
    • If you created a sqlite database, make sure the file is writeable by www-data.
  • Goto /admin and login with the admin user, then add a LastFMUser and make it active.
  • Setup your music player (f.ex Spotify) to scrobble to that account Last.fm account.
  • Goto / and you should be set :=)
S
Description
Now Playing webapp for Last.fm
Readme
389 KiB
0 Stars 9 Watchers 0 Forks
Languages
Python 50.5%
JavaScript 32.3%
CSS 11.5%
HTML 5.7%