alfred-spotify-mini-player icon indicating copy to clipboard operation
alfred-spotify-mini-player copied to clipboard

A Seek Feature

Open geraldaddey opened this issue 1 year ago • 4 comments

I use this workflow everyday and it's very helpful and helps me reduce too much context switching which boosts productivity.

However, to use the seek feature, I have to open the spotify app. I believe a seek feature can be implemented and integrated into the workflow.

I have scoped through Spotify's API documentation and there are available endpoints for the Seek functionality. I would be happy to make a contribution to implement it. I can wait if your team will take of it as well.

geraldaddey avatar Aug 27 '23 09:08 geraldaddey

what is your use case for seek feature ? You would like to enter a number of seconds to skip x seconds for current song ?

If this is to skip first x seconds of podcasts, there is already this option:

CleanShot 2023-08-27 at 18 18 49@2x

vdesabou avatar Aug 27 '23 16:08 vdesabou

I would like to seek into different parts of a song. I would like to query a section by seconds(or minutes), a percentage(of song length) or a fraction of song length.

I activate the workflow with "sp" command. My custom keyword for the seek command will be "spsk". I would like to type "spsk 5s" for 5 seconds seek or "spsk 0.1" to jump to 1/10th of song length.

Something in this direction will fit all my use cases.

geraldaddey avatar Aug 27 '23 17:08 geraldaddey

Hi @vdesabou, I'm willing to implement the feature and make a pr.

Otherwise, what do you think about the development?

geraldaddey avatar Sep 02 '23 11:09 geraldaddey

@geraldaddey If you want to make a PR, that would be great yes

vdesabou avatar Sep 04 '23 15:09 vdesabou