This adds a new subcommand 'seek', taking a number (double) in seconds of the
desired target seek time.
nowplaying-cli seek 60 # Seeks 1 minute into any currently playing/paused media
This makes use of the MRMediaRemoteSetElapsedTime function which completes after media information has been retrieved, so the early termination has been updated to handle this case.
Tested with TIDAL, Chrome, and VLC.
This PR additionally adds a basic Github Actions workflow to build, run, and archive the artifact on macOS 11 through 14. As Github Actions are not currently enabled for this repo, an example of them running can be seen here:
https://github.com/Stealthii/nowplaying-cli/actions/runs/8713583230
After this is merged they will run against the main branch, and any open PRs.
This looks great, thank you!
I like the idea of archiving the github actions builds rather than relying on an upload from a "random" computer (even if it's my own)
This adds a new subcommand 'seek', taking a number (
double
) in seconds of the desired target seek time.This makes use of the
MRMediaRemoteSetElapsedTime
function which completes after media information has been retrieved, so the early termination has been updated to handle this case.Tested with TIDAL, Chrome, and VLC.
This PR additionally adds a basic Github Actions workflow to build, run, and archive the artifact on macOS 11 through 14. As Github Actions are not currently enabled for this repo, an example of them running can be seen here: https://github.com/Stealthii/nowplaying-cli/actions/runs/8713583230
After this is merged they will run against the
main
branch, and any open PRs.