-
Notifications
You must be signed in to change notification settings - Fork 7
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
Allows DV7toDV8.sh script to work on non-Mac hardware #14
base: main
Are you sure you want to change the base?
Conversation
@nekno thoughts? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ajyey! Thanks for your patience (while I've been traveling) and these contributions!
I've requested some changes for you to approve/make while I test out these changes on macOS.
src/DV7toDV8.sh
Outdated
*) # preserve positional arguments | ||
PARAMS="$PARAMS $1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless you're moving the script or the mkv files into the same folder each time, the one required param for the script has been the target directory.
It's perfectly fine to support that use case, but what do you think about defaulting to the present working directory (as you've done) but then setting targetDir
here, as the one unlabeled argument, rather than using the -t
/--target
label?
I think it's more common that you wouldn't be moving the files around, the script will have a home and your working files will be in different folders each time, so I think using an unlabeled arg for the target directory makes the most sense.
If -t
/--target
were to be required, then we'd need to update the Platypus app config file to reflect this change in the script as part of this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated. Let me know what you think 👍
Co-authored-by: nekno <nekno@users.noreply.github.com>
Co-authored-by: nekno <nekno@users.noreply.github.com>
This MR allows the script to run on non-mac hardware.
My home media server runs on Linux and I do most of my work there, so being able to run this on Linux seemed like it would also be helpful for other users.
This MR: