Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
/ mpv-load-danmaku Public archive

A lua script to load local damaku files (.xml) for mpv player

License

Notifications You must be signed in to change notification settings

dyphire/mpv-load-danmaku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Note: replaced by: uosc_danmaku

mpv-load-danmaku

Description

This is a lua script for mpv player. It will load danmaku files (.xml) of the same name in the playback directory.

Requirements

Need DanmakuFactory to be installed or explicitly specified.

Usage

Keybinds

You can add bindings to input.conf:

key        script-message-to load-danmaku load-local-danmaku
key        script-message-to load-danmaku toggle-local-danmaku

Script message

load-danmaku

script-message load-danmaku input <xml_path>

Allows loading of danmaku by passing the path to a given danmaku file (.xml) with a script-message.

Todo

  • consider using osd-overlay for rendering danmaku?
  • add script-message support

Acknowledgement

About

A lua script to load local damaku files (.xml) for mpv player

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages