/Termux-Mpv-Yt-dlp

Wrapper for MPV on Termux. Displays media controls in the notification bar (along with youtube/video title)

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Termux-Mpv

This is a wrapper for mpv on Termux. It displays a notification bar with media controls. *Modified to use the media-title property if no metadata is found in order to display youtube video titles

Screenshot

Requirements

Packages:

  • termux-api
  • python
  • mpv
pkg install termux-api python mpv

Installation

pip install git+https://github.com/kpg-anon/Termux-Mpv-Yt-dlp

the above snippet requires git to be installed pkg install git

Usage

termuxmpv is a drop-in replacement for mpv. All arguments get forwarded to mpv. For convenience, you can add the following alias to your ~/.bashrc or ~/.zshrc file:

alias mpva="termuxmpv $*"