Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

MPV front-end for IPTV channels

License

NotificationsYou must be signed in to change notification settings

mykola2312/mptv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPV front-end for IPTV channels.

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 with MPV.Reads IR commands from any TV remote, controlling menu, opening and managing MPV player state.

Example configurationconfig.json.example, rename toconfig.json. Take look and configure the way You like it. May have multiple IR bind sets, so You can switch between them withcurrentBindSet variable. Usepiir dump to dump IR commands from Your TV remote.

UsesPiIR for reading TV remote IR signals.

pigpio must be present in system, and its daemonpigpiod must be running. Enable it withsudo systemctl enable pigpiod

Recommended to use Xorg and PulseAudio. PulseAudio default sink must be set to HDMI output, with command likepactl set-default-sink 1

Don't forget to enable PulseAudio user service with commandsystemctl --user enable pulseaudio

Some configurations files could be found inlinux folder to help with Your setup.

Configuration

The configuration is a JSON fileconfig.json

  • frame - GUI window parameters. Note thatfullscreen may not work well in Xorg.
  • db - DB configuration. Only supports SQLite.
  • piir - PiIR configuration. You must provide path to piir executable inexec field.gpio corresponds to GPIO pin.bindSet decribes binds for each remote, select current remote bind set withcurrentBindSet field. For bind explanation refer toconfig.json.example
  • sources - Here You write Your M3U playlist sources. May be either local file or remote URL. Take look atconfig.json.example
  • tasks - Adjust here intervals for each task to be executed. If You experience frequent MPV restarts, You may want to adjustprocessService to 2 second interval.crawler task will be executed once every 24 hours.

Recommended IR connection to GPIO

Photos

About

MPV front-end for IPTV channels

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp