fast4x / RiMusic

A multilingual Android application for streaming music from YouTube Music.
https://rimusic.xyz
GNU General Public License v3.0
1.9k stars 99 forks source link

[Feature]: Double tap for +10 or - 10 seconds of a selected song #2029

Open depthso opened 3 months ago

depthso commented 3 months ago

Description

I would like to see the option added to allow the user to double tap the left or right side of the screen.

Suggested Solution

This should allow the user to forward +10 or - 10 seconds depending on the amount chosen by the user and what side of the screen.

Alternatives

Buttons

Additional Context

This is very useful when playing a song that is longer than an hour for example and makes it difficult for precise positioning

aneesh1122 commented 3 months ago

You can jump -5/+5 seconds by holding previous/next button respectively. You'll have to release and hold again to jump again.

Your way of implementing is better but it may lead to a lot of accidental touches.

depthso commented 3 months ago

Thanks, it would be nice to hold it for even longer to speed the song up by 2x or 4x

aneesh1122 commented 3 months ago

Thanks, it would be nice to hold it for even longer to speed the song up by 2x or 4x

Hold the pause/play button and you'll have the slider to speed up/slow down the audio.

aneesh1122 commented 3 months ago

I think the song should keep skipping 5 seconds until you release the button. That would be a good implementation.

dAtA-TRoN commented 3 months ago

You can jump -5/+5 seconds by holding previous/next button respectively. You'll have to release and hold again to jump again.

Lol I didn't even know that until now. Thanks 😁👍🏼.

aneesh1122 commented 3 months ago

You can jump -5/+5 seconds by holding previous/next button respectively. You'll have to release and hold again to jump again.

Lol I didn't even know that until now. Thanks 😁👍🏼.

One of these days I'll make a walkthrough of this app

dAtA-TRoN commented 3 months ago

One of these days I'll make a walkthrough of this app

Sounds good 👌🏼.

HiroDane commented 3 months ago

How about dedicated buttons, which can be disabled from settings if someone wants cleaner UI, for skipping +[configurable amount]/-[configurable amount]?

aneesh1122 commented 3 months ago

I think the song should keep skipping 5 seconds until you release the button. That would be a good implementation.

This seems like a better implementation

NikunjKhangwal commented 3 months ago

How about dedicated buttons, which can be disabled from settings if someone wants cleaner UI, for skipping +[configurable amount]/-[configurable amount]?

I suggested that idea a long time ago but most people didn't liked it #1082

HiroDane commented 3 months ago

How about dedicated buttons, which can be disabled from settings if someone wants cleaner UI, for skipping +[configurable amount]/-[configurable amount]?

I suggested that idea a long time ago but most people didn't liked it #1082

I see that its not liked, but I don't see anyone articulating why exactly its a bad idea. I would like to know if someone is willing to elaborate. Other than personal taste in minimalism and clean UI, this seems like the most logical solution to me.

NikunjKhangwal commented 3 months ago

I think minimalism is the answer. But if they're optional as you suggested then it shouldn't be a problem.

vivekanandan-ks commented 1 month ago

1) Double tapping on left/right of the album art will forward/rewind the song and thus it'll becomes a dedicated UI action. 2) And long pressing the next/previous might play the song in 2x speed and on release it'll play in 1x speed or long pressing will skip forward/reverse 5 seconds continuously until release