sstvproxy

Docker app from Selfhosters

Overview

Yet Another Proxy (YAP) for SmoothStreams.tv Docker Image Environment variables will take precedence over manual changes to proxysettings.json and will persist across container restarts. This means that if you set the YAP_USERNAME and YAP_PASSWORD for instance when you create the container, these will always be placed in the proxysettings.json file, even if you edit the file manually with a text editor. For Plex setup see: https://github.com/stokkes/docker-sstvproxy#plex

sstvProxy

A small flask app to proxy SSTV streams to Plex Media Server (DVR).

Python version is always the most up to date, the executables in each of the folders are simply compiled versions of the python using pyinstaller, there will be no functional differences.

You only need one file as they're all identical. Create a folder somewhere put the file in and run it. Setup should be self-explanatory.

###Clients Supported: Kodi(v17+ i suspect due to SSL) VLC iPlayTV Perfect Player (not windows) TVirl TVHeadend Plex Live TV/DVR Quadstream

###Hosts tested: Windows (7,10) Linux (Ubuntu, Debian) Mac (Sierra 10.12.3) RPi (Rasbian using python)

sstvProxy venv usage

  1. In sstvProxy.py configure options as per your setup.
  2. Create a virtual enviroment: $ virtualenv venv
  3. Activate the virtual enviroment: $ . venv/bin/activate
  4. Install the requirements: $ pip3 install -r requirements.txt
  5. Finally run the app with: $ python3 sstvProxy.py

systemd service configuration

A startup script for Ubuntu can be found in sstvProxy.service (change paths in sstvProxy.service to your setup), install with:

$ sudo cp sstvProxy.service /etc/systemd/system/sstvProxy.service
$ sudo systemctl daemon-reload
$ sudo systemctl enable sstvProxy.service
$ sudo systemctl start sstvProxy.service

Plex configuration

Refer: https://imgur.com/a/OZkN0

TVH Configuration

Refer: http://smoothstreams.tv/board/index.php?topic=1832.msg10698#msg10698

Advanced Settings

You can have as many or as few as you want and the file itself is optional. If you don't care for the option then don't even include it in the file, just delete it.

There now exists an advanced settings example file on git. If this is in the same folder as the proxy it will detect it on launch and parse any settings that are within. Currently the accepted settings are:

Enable/disable network discovery - "networkdiscovery": 1 (1 or 0)
Custom ffmpeg locations "ffmpegloc": "C:\\ffmpeg\\bin\\ffmpeg.exe" (note the double slashes)
Custom kodi control username "kodiuser": "string"
Custom kodi control password "kodipass": "string"

If you want to output a playlist that combines the SSTV channels with another playlist you already have then these options are for you:

A url source for the above EXTM3URL = 'url/string'
A group name for the above, in order to fileter between them in client EXTM3UNAME = 'string'
A file source for the above, url has priority though EXTM3UFILE = 'path/string'

If you wish to use feed YAP into TVH and then TVH into Plex use the below:

set true TVHREDIRECT = False
TVH url you use TVHURL = '127.0.0.1'
username TVHUSER = ''
password TVHPASS = ''

Commandline Arguments

'install' - forces recreation of the install function which creates certain files, such as the tvh internal grabber 'headless' - uses command line for initial setup rather than gui 'tvh' - each call to a piped channel will return channel 01 which is a 24/7 channel so will always generate a positive result, this allows TVH to create all services

Install Sstvproxy on Unraid in a few clicks.

Find Sstvproxy in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for Sstvproxy Review the template variables and paths Click Install

Download Statistics

451,732
Total Downloads
46
This Month
114
Avg / Month

Total Downloads Over Time

Loading chart...

Related apps

Explore more like this

Explore all

Details

Repository
stokkes/sstvproxy
Last Updated2017-12-21
First Seen2020-09-10

Runtime arguments

Network
bridge

Template configuration

YAP exposed local portPorttcp

Container Port: 8098

Target
8098
Default
8098
YAP exposed external portPorttcp

Container Port: 8099

Target
8099
Default
8099
AppdataPathrw

Container Path: /config

Target
/config
PUIDVariable

Container Variable: PUID

Default
99
PGIDVariable

Container Variable: PGID

Default
100
YAP_GIT_BRANCHVariable

For specifying which branch to use (master or dev), defaults to master if not set.

Default
master
YAP_SERVICEVariable

Short code for smoothstreams service

YAP_USERNAMEVariable

Container Variable: YAP_USERNAME

YAP_PASSWORDVariable

Container Variable: YAP_PASSWORD

YAP_SERVERVariable

SS server EG. dnae2, dmaw2, etc

YAP_QUALITYVariable

For quality (1 for HD, 2 for HQ, 3 for SD)

YAP_STREAMVariable

For stream type (rtmp or hls)

YAP_EXTERNALIPVariable

For specifying external IP to use

YAP_KODIPORTVariable

For Kodi port