got a testing script
and stuff to the lua files adjusted the gitignore
This commit is contained in:
parent
155edca57f
commit
74011b078b
5 changed files with 22 additions and 7 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -40,4 +40,5 @@ luac.out
|
||||||
*.x86_64
|
*.x86_64
|
||||||
*.hex
|
*.hex
|
||||||
|
|
||||||
|
# Testing directory for mpv-alpha
|
||||||
|
.test/
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
-- stuff for the config files
|
-- stuff for the config files
|
||||||
|
|
|
@ -1,3 +1 @@
|
||||||
function main(options)
|
require"config"
|
||||||
print()
|
|
||||||
end
|
|
|
@ -14,6 +14,11 @@ constants = {
|
||||||
|
|
||||||
default_conf = {
|
default_conf = {
|
||||||
configjson = [[
|
configjson = [[
|
||||||
|
{
|
||||||
|
"history": {
|
||||||
|
"save_history": true
|
||||||
|
}
|
||||||
|
}
|
||||||
]]
|
]]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
11
test.sh
Normal file
11
test.sh
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# please have yt-dlp
|
||||||
|
mkdir -p .test/
|
||||||
|
|
||||||
|
yt-dlp \
|
||||||
|
--no-write-info-json \
|
||||||
|
--output "./.test/video.mp4" \
|
||||||
|
--remux-video "mp4" \
|
||||||
|
-w \
|
||||||
|
"https://www.youtube.com/watch?v=T6_81D9HQdU"
|
||||||
|
|
||||||
|
mpv -v --load-scripts=no --script=./src/ ./.test/video.mp4
|
Loading…
Reference in a new issue