simphax / eyetv-iptv-server

EyeTV->IPTV server for Kodi
15 stars 8 forks source link

eyetv-iptv-server

EyeTV->IPTV server

Provides an interface for an IPTV frontend to stream EyeTV channels, for example Kodi's IPTV Simple PVR Client. It provides a m3u8 playlist with url's to stream uncompressed EyeTV live channels.

Setup

EyeTV will first need to be installed to the same machine as eyetv-iptv-server.

An installer can be found in releases. It will install the EyeTV capture plugin, activate EyeTV's iPhone access and set eyetv-iptv-server to run at login.

After installation set the IPTV client to use http://localhost:9898/playlist.m3u8 as the M3U playlist.

Command-line arguments

Arguments can be added to /Library/LaunchAgents/eyetv-iptv-server.plist

--port=PORT
  Server port.
  Default: 9898

--host=IP
  Server host. Set this to localhost if the IPTV should only be accessible locally.
  Default: 0.0.0.0

--vlc-port=PORT
  VLC video stream port (internal).
  Default: 9897

--vlc-path=PATH
  Path to VLC executable. If provided the application will not extract VLC to the temp folder.
  Default: $TMPDIR/VLC.app/Contents/MacOS/VLC

--eyetv-port=PORT
  Port for EyeTV iPhone service.
  Default: 2170

Running from source

Requires Node.JS and EyeTV with EyeTV capture plugin and iPhone access enabled.

npm install
node app.js --vlc-path /Applications/VLC.app/Contents/MacOS/VLC

Compiling portable executable

Will embed Node.JS and VLC binaries into one executable.

npm run build

Run on boot

cp build/eyetv-iptv-server /usr/local/bin/
cp eyetv-iptv-server.plist ~/Library/LaunchAgents/
launchctl load ~/Library/LaunchAgents/eyetv-iptv-server.plist

Changelog

v1.0.1

v1.0.0

First release