Compare commits

...

2 commits

Author SHA1 Message Date
74011b078b got a testing script
and stuff to the lua files
adjusted the gitignore
2024-03-24 00:19:53 -07:00
155edca57f oh hey, sum muuns :D 2024-03-23 23:42:24 -07:00
5 changed files with 39 additions and 1 deletions

3
.gitignore vendored
View file

@ -40,4 +40,5 @@ luac.out
*.x86_64
*.hex
# Testing directory for mpv-alpha
.test/

1
src/config.lua Normal file
View file

@ -0,0 +1 @@
-- stuff for the config files

1
src/main.lua Normal file
View file

@ -0,0 +1 @@
require"config"

24
src/props.lua Normal file
View file

@ -0,0 +1,24 @@
-- constants, defaults, and other shit
constants = {
defaults = {
dirs = {
mpv = {
linux = {
"~/.config/mpv/",
"~/.mpv/"
}
}
}
}
}
default_conf = {
configjson = [[
{
"history": {
"save_history": true
}
}
]]
}

11
test.sh Normal file
View 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