Skip to content

ewnd9/media-center

Repository files navigation

media-center

Build Status Coverage Status

Media Center for Raspberry Pi with a seamless trakt.tv scrobbling, minidlna and transmission integrations

title-image

Technologies

Backend:

  • express
  • socket.io
  • pouchdb/leveldb as a storage
  • x11 for hotkeys

Transpiled with babel (es2015 + stage-0)

Frontend:

  • react
  • redux
  • post-css (cssnext + autoprefixer)

Install

Clone

$ git clone https://github.com/ewnd9/media-center.git
$ cd media-center
$ yarn install

Provision

Tested with 2016-05-27-raspbian-jessie-lite.img

$ cp provision/ansible/example.variables.yml provision/ansible/variables.yml

$ ansible-playbook -i <raspberry-ip>, provision/ansible/jessie-update-sshd.yml --ask-pass # default password in rasbpian is "raspberry"
$ ansible-playbook -i <raspberry-ip>, provision/ansible/jessie-docker-arm-src-volume.yml --ask-become-pass
$ ansible-playbook -i <raspberry-ip>, provision/ansible/jessie-deploy-arm.yml
$ ansible-playbook -i <raspberry-ip>, provision/ansible/jessie-backup.yml

Deploy

$ ansible-playbook -i <raspberry-ip>, provision/ansible/jessie-deploy-arm-src-volume.yml

Development

$ cp .env.example .env
$ make install # install deps
$ make start &
$ open "http://localhost:3000/"

Tests

$ make test
$ make t=path-to-single-file.js test

Credits

Mockup image by placeit

Icon made by madebyoliver from www.flaticon.com is licensed by CC 3.0 BY

License

MIT © ewnd9

About

📺 Media Center for Raspberry Pi

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages