Skip to content

This package implements a TVIP JSON Middleware API protocol for Stalker Middleware

Notifications You must be signed in to change notification settings

den1s/stalker-jsonapi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This package implements TVIP JSON Middleware API protocol for Stalker Middleware

For quick install plugin into stalker:

  1. Download package from github:
wget https://github.com/egordanilenko/stalker-jsonapi/raw/master/build/tvip-jsonapi-plugin.tgz

  1. Unzip package to any folder except /var/www
tar -xzf tvip-jsonapi-plugin.tgz  
  1. Make symlink to stalker folder near stalker_portal
ln -s  /%anypath%/tvip-jsonapi-plugin/tvipapi/ /%stalker_common_directory%/tvipapi
  1. Make symlink on root path for simple path for stb
ln -s /%anypath%/tvip-jsonapi-plugin/tvipapi /var/www/tvipapi
  1. By default configuration use this variables:
    $stalker_path = '/var/www/stalker_portal/';
    $stalker_host = $_SERVER['HTTP_HOST'];     
  1. if your configuration have difference with default values, please make ini configuration
touch /etc/stalker_jsonapi.ini

and redefine config values for

stalker_host
stalker_path
  1. If you use Stalker DVR, you need fix dumpstream script:
mv /var/www/stalker_portal/storage/dumpstream /var/www/stalker_portal/storage/dumpstream.backup
ln -s  /%anypath%/tvip-jsonapi-plugin/dumpstream.py /var/www/stalker_portal/storage/dumpstream

for applying new dumpstream you need to restart dumpstream.

For connection from TVIP STB: use Middleware API and http://<stalker_server>/ or http://<stalker_server>/stalker_portal.

Device will search /tvipapi path after main URL

About

This package implements a TVIP JSON Middleware API protocol for Stalker Middleware

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 95.3%
  • Python 4.4%
  • Makefile 0.3%