Skip to content

Graywizard888/Gists_Collection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🎬 MPV Android Scripts Collection

A curated collection of powerful Lua scripts for MPV Android β€” enhancing your media experience with smart automation, audio enhancement, and intuitive overlays.


πŸ“‹ Table of Contents


⚑ Scripts Overview


πŸš€ 1. Auto Chapter Skipper

View Gist Type Version

AUTO CHAPTER SKIPPER FOR MPV ANDROID Automatically skips unwanted chapters so you never have to manually skip again.

✨ What It Does

Chapter Type Status
🎬 Opening βœ… Auto-Skipped
🎞️ Intro βœ… Auto-Skipped
🎭 Outro βœ… Auto-Skipped
🏁 Ending βœ… Auto-Skipped
πŸ“œ Credits βœ… Auto-Skipped
πŸ‘οΈ Preview βœ… Auto-Skipped
πŸ“ File: auto_skip(chapter skipper).lua
πŸ”— Gist: https://gist.github.com/Graywizard888/9ac8bdf1947063407d11079144b75474

⏱️ 2. Duration OSD

View Gist Type Version

MPV ANDROID DURATION OSD SCRIPT Shows a persistent, clean duration display so you always know where you are in your media.

✨ What It Does

  • πŸ“ Persistent OSD anchored to the top-right corner
  • πŸ• Clean and minimal format display
  • ▢️ Always visible during playback

πŸ–₯️ Display Format

╔══════════════════════════╗
β•‘  β–Ά  1:23:45 / 2:00:00   β•‘  ← Top-Right Corner
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
πŸ“ File: Duration_OSD (v1.3).lua
πŸ”— Gist: https://gist.github.com/Graywizard888/44c76b134d576cf299df8908672295c8

πŸ“Ί 3. Up Next Episode Overlay

View Gist Type Version

UP NEXT EPISODE OVERLAY SCRIPT FOR MPV ANDROID A sleek Netflix-style "Up Next" overlay that appears automatically near the end of each episode.

✨ Features

  • πŸ“… Shows "Up Next" episode card when 2 minutes remain
  • 🏁 Shows "Season Ended" with episode countdown if no next episode is available
  • πŸ• Live countdown timer with a clock icon
  • βž– Separator line above the countdown for clean visual separation
  • ⏯️ Properly handles seek / pause / resume transitions
  • 🎨 Right-aligned OSD with colorful multi-line text

πŸ–₯️ Overlay Preview

                    ╔══════════════════════════╗
                    β•‘  πŸ“Ί  Up Next             β•‘
                    β•‘  ─────────────────────── β•‘
                    β•‘  πŸ•  Next in  0:01:45    β•‘
                    β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
πŸ“ File: Up_next(Episode overlay v5.5).lua
πŸ”— Gist: https://gist.github.com/Graywizard888/88d78790a86b2d905c02b82421e6db57

πŸ”Š 4. Audio Enhancer β€” Industrial Grade Mode

View Gist Type Version

AUDIO ENHANCEMENT EQUALIZER FOR MPV ANDROID Professional-grade audio enhancement optimized for AAudio Backend (Android 8.1+), tuned for Movies & Anime content.

✨ Features

Feature Detail
πŸ”¬ Audio Analysis 3-second analysis before applying filters
πŸ”ˆ Channel Support Mono Β· Stereo Β· 5.1 Β· 7.1 Β· Multi-channel
🎚️ Equalizer Professional 15-Band FireEqualizer
πŸ“ Band Types Mixed: Octave + Slope + Q-Factor widths
🎡 Bass Tuning Moderate boost (max +2dB) on original frequencies
⚑ Latency AAudio-optimized low-latency timing
πŸŽ›οΈ Audio Format Native Float32 (AAUDIO_FORMAT_PCM_FLOAT)
πŸ”„ Resampling No forced resampling β€” AAudio handles it natively
πŸ”ƒ Track Detection Automatic track change detection
🧹 Cleanup Proper cleanup on file end / close
⏯️ Pause Handling Proper pause / resume handling
🎧 Modes Speaker / Earphone
πŸ§‘β€πŸ’» Earphone codec support Aptx / Aptx HD

🎚️ EQ Band Overview

 15-Band FireEqualizer
 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
 β”‚  Sub   Bass  Low-M  Mid   Hi-M  Pres  Air   Bril  Ext  β”‚
 β”‚  β–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆ   β–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆ  β”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       Optimized for Movies & Anime Β· AAudio Backend
πŸ“ File: Audio_Enhancer(Industrial Grade Mode)v7.4.lua
πŸ”— Gist: https://gist.github.com/Graywizard888/ba9ce533c4117ae58af29ae3ec5ce71b

πŸ“ Requirement

place this configuration in /storage/emulated/0/MpvConfig/mpv.conf

##########
# AUDIO  #
#########
ao=aaudio
audio-pitch-correction=yes
audio-channels=auto-safe
volume-max=150
audio-format=float

πŸ“¦ Installation

# 1. Download the desired .lua script from the Gist links above

# 2. Place the script in your MPV scripts folder:
#    Android path:
     /storage/emulated/0/MpvConfig/scripts

# 3. Enable them in MpvEx app settings
      Settings/Advanced/Manage lua scripts

πŸ’‘ Tip: You can install all scripts at once β€” they are fully compatible with each other!


πŸ—‚οΈ Scripts at a Glance

# Script Version Type Gist Link
1 auto_skip(chapter skipper).lua Latest πŸ€– Automation πŸ”— Open
2 Duration_OSD.lua v1.3 πŸ–₯️ Display πŸ”— Open
3 Up_next(Episode overlay).lua v5.5 πŸ“Ί Overlay πŸ”— Open
4 Audio_Enhancer(Industrial Grade Mode).lua v7.4 πŸ”Š Audio πŸ”— Open

Made with ❀️ for the MPV Android Community

GitHub

If these scripts helped you, consider ⭐ starring the gists!

```

About

The collection of Gists

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors