oxyroid / M3UAndroid

FOSS Player, which made of jetpack compose. Android 8.0 and above supported.
https://t.me/m3u_android
Apache License 2.0
229 stars 25 forks source link

Zapping mode #36

Closed sguinetti closed 5 months ago

sguinetti commented 5 months ago

Is your feature request related to a problem? Please describe. Greetings. It would seem great to improve the option to zap the streams (or lives) in the playlist, perhaps as an alternative to the experimental "scroll to change lives" feature.

Describe the solution you'd like For this feature, it would consist in pressing a button (or item from menu) to have the first stream previewed (in PIP). Then, the user will be able to tap the next channel and be previewed immediately (in PIP) until watching as many streams as possible.

Describe alternatives you've considered This button would appear next to the update button. So it is not intrusive for the user.

Additional context This feature is intended to save time by not having to watch the stream in full screen and not having to press the back button several times.

oxyroid commented 5 months ago

@sguinetti Your ideas are interesting. I can add an option. When the user clicks to play any stream and jumps to the player, the PIP mode will be activated immediately. In addition, I can add a new button for switching streams in the player, and this feature and "gesture adjustment brightness and volume" will be merged into a "Player Optional Features" switch list.

sguinetti commented 5 months ago

Yes, you could have a section where the user can activate the optional features of the player. In that section you can add options like "Enable zapping mode", "Control brightness by gestures" and "Control sound by gestures". It also helps to implement accessibility options such as "Use subtitles", "Pause video when I'm calling", and so on. There are no limits to it.

oxyroid commented 5 months ago

@sguinetti I have finished the implementation. What do you think is a better name for this feature in settings? My English is not good, so I haven’t decided yet. Just zapping mode?

sguinetti commented 5 months ago

In my humble opinion, "Zapping mode" is an easy name to remember. For a psychological reason (KISS principle), users can identify the function with short and simple words to differentiate it from other applications that do not have this function. So it is better to keep that name and thus have the application distinctive.

sguinetti commented 5 months ago

Anyway, thanks for accepting the proposal. In case you need help. Here are the new strings in spanish language for the file i18n/src/main/res/values-es-rES/feat_setting.xml

<string name="feat_setting_zap_mode">Modo zapeo</string>
<string name="feat_setting_zap_mode_description">Vista rápida de los directos antes de reproducirlos</string>
sguinetti commented 5 months ago

Perhaps you could consider the following feature for the future an additional setting. To improve the Zapping mode, instead of displaying an error in the PIP window, it immediately goes to preview the next stream/live to save time.

oxyroid commented 5 months ago

Now the status of stream (include title, subtitle, buttons or error) in player will not be shown when player is in PIP mode.

sguinetti commented 5 months ago

The feature works very well. So I will close this issue. Thank you.