config file #enhancement #1
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: ryze/ff2mpv-rust#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
would it be possible to implement a config file?
maybe using json as
serde_json
is already a dependency:a config file would be useful to, for example, start
mpv
with-fs/--fullscreen
or possibly even replacingmpv
completely, or prefixing/wrapping it with something like gobbleI have no experience/knowledge in rust, otherwise I would have made a PR as I dont think it would be hard(basically just parsing 1 or 2 json values and using those instead of the defaults if set)
Sure, why not.
It would be easier and more useful to just have a value for a full command.
Something like this
I am not sure how to go about validating config for possible syntax and shell command errors. ff2mpv doesn't provide a way to do that. Although, it is possible to execute this script directly, not from the browser, so I can have an access to terminal output and report errors there.
Available in v1.1.0!