| assets | ||
| linux | ||
| src | ||
| .gitignore | ||
| config.json.example | ||
| LICENSE | ||
| pom.xml | ||
| README.md | ||
mptv
MPV front-end for IPTV channels to use on Raspberry Pi.
Convert Your Raspberry Pi into IPTV receiver. Anything that MPV can play.
Stack
Java Swing application that crawls and parses M3U playlists, displaying them in graphical menu and opening them in MPV. Reads IR commands from any TV remote, controlling menu, opening and managing MPV player state.
Example configuration config.json.example, rename to config.json. Take look and configure the way You like it. May have multiple IR bind sets, so You can switch between them with currentBindSet variable. Use piir dump to dump IR commands from Your TV remote.
Uses PiIR for reading TV remote IR signals
pigpio must be present in system, and its daemon pigpiod must be running. Enable it with sudo systemctl enable pigpiod
Recommended to use Xorg and PulseAudio. PulseAudio default sink must be set to HDMI output.
Some configurations files could be found in linux folder to ease Your setup.
Configuration
The configuration is a JSON file config.json
frame- GUI window parameters. Note that ```fullscreen`` may not work well in Xorg.db- DB configuration. Only supports SQLite.piir- PiIR configuration. You must provide path to piir executable inexecfield.gpiocorresponds to GPIO pin. Note that You must have pigpiod service running. Enable it withsudo systemctl enable pigpiodbindSetdecribes binds for each remote, select current remote bind set withcurrentBindSetfield. For bind explanation refer toconfig.json.examplesources- Here You write Your M3U playlist sources. May be either local file or remote URL. Take look atconfig.json.exampletasks- Adjust here intervals for each task to be executed. If You experience frequent MPV restarts, You may want to adjustprocessServiceto 2 second interval.crawlertask will be executed at 24 hour interval.


