Kiyor | Created: 03-17-14 11:23:58
If you have problem above, then you need it.
cd /tmp
wget http://curl.haxx.se/download/curl-7.36.0.tar.gz
tar xvzf curl-7.36.0.tar.gz
cd curl-7.36.0
make && make install
cd /tmp
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar xvzf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure
make && make install
cd /tmp
wget http://download.transmissionbt.com/files/transmission-2.82.tar.xz
tar xvfJ transmission-2.82.tar.xz
cd transmission-2.82
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
./configure
make && make install
useradd nginx
my example nginx vhost conf ( since I have lot of japanese content, I set html charset to shift_jis )
server {
listen 80;
server_name hostname;
charset utf-8;
root /home/nginx/html;
location / {
index index.html index.htm;
autoindex on;
}
location /= {
alias /home/nginx/html;
index index.html index.htm;
autoindex on;
}
location ~* .(html|htm|txt)$ {
index index.html index.htm;
charset Shift_JIS;
}
location ~* player$ {
index index.html index.htm;
default_type 'text/html';
}
}
su - nginx
transmission-daemon
killall transmission-daemon
suggestion config ( ~/.config/transmission-daemon/settings.json )
"rpc-enabled": true,
"rpc-username": "login username",
"rpc-password": "login password",
transmission smart enough if you using text password, it will convert to hash automatically
go get github.com/kiyor/playlist
go install github.com/kiyor/playlist
cp -r templates html/ #cp my repo's templates file to you html directory ( html/templates/*.tmpl )
cd html
git clone git@github.com:johndyer/mediaelement.git
git clone git@github.com:kiyor/mep-feature-playlist.git
su - nginx
transmission-daemon