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.
Silex - PHP backend api
- 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
-
configure transmission deamon as described in this blog post & adjust ip adres in templates/show-torrents.html
- 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
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