Skip to content

Media center to run on your nas / homeserver that uses html5 + AngularJS to display a catalog of movies & stuffs with backend to keep track of movies.

Notifications You must be signed in to change notification settings

AndreasDL/mediaCenter-frontend

Repository files navigation

mediater

Media center to run on your nas / homeserver that uses html5 + AngularJS to display a catalog of movies & stuffs with backend to keep track of movies.

Backend

Silex - PHP backend api

installation

  • install lamp
  • mod rewrite
  • mod mysqli
  • create database
mysql -u "user" -p < backend/database/database.sql
  • Install silex
php composer.phar install
  • Don't forget to enable the phar extensions in /etc/php/php.ini & to install php-composer (arch linux)

  • open configTemplate.php

  • fill in user & password

  • save as config.php

  • Things needed for the scripts

  • python 3.4

  • pymysql

  • httplib2

  • configure transmission deamon as described in this blog post & adjust ip adres in templates/show-torrents.html

notes

  • Uses silex, composer file included
  • FYI i don't know a lot about silex so things might get pretty dirty
  • uses mysql or equivalent, sql definiton of database included.
  • Login data is needed via config.php, a template for you to fill in is included in configTemplate.php
  • dummy data = top 250 movies from imdb + top 100 series

frontend

html5 js css - AngularJS jQuery

  • If you only want dummy data you could run
#generate dummydata
python /scripts/genDummyData.py 
#dummydata => database
mysql -u "user" -p < /scripts/data.sql
  • admin is a link to phpmyadmin for bugfixes

Thanks

About

Media center to run on your nas / homeserver that uses html5 + AngularJS to display a catalog of movies & stuffs with backend to keep track of movies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published