Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] JavaScript script support #788

Open
Hill-98 opened this issue Sep 29, 2023 · 2 comments
Open

[feature request] JavaScript script support #788

Hill-98 opened this issue Sep 29, 2023 · 2 comments
Labels

Comments

@Hill-98
Copy link

Hill-98 commented Sep 29, 2023

Currently only lua scripts are supported. Is it possible to consider adding JavaScript script support?

I want to extend mpv but I'm not familiar with lua.

@sfan5
Copy link
Member

sfan5 commented Dec 21, 2023

That's possible yes but considering scripts aren't even properly supported right now I'm reluctant to add this.
Do you have any concrete JS scripts in mind you'd use with mpv-android?

@sfan5 sfan5 added the question label Dec 21, 2023
@Hill-98
Copy link
Author

Hill-98 commented Dec 21, 2023

How about this? https://github.com/Hill-98/mpv-config/blob/main/scripts/format-filename.js

I wrote some JS scripts to extend the desktop, some of which I wanted to use on mobile as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants