oxyroid / M3UAndroid

Open Source Player, which made of jetpack compose. Android 8.0 and above supported.
https://t.me/m3u_android
Apache License 2.0
216 stars 24 forks source link

Add an additional icon to the channel logo to identify the status of the stream #91

Open sguinetti opened 3 months ago

sguinetti commented 3 months ago

Is your feature request related to a problem? Please describe. When I am using zapping mode to view PIP content, I cannot identify if the transmission had an error. In full screen it can be seen when tapping once on the screen. So it is necessary to include a warning icon to indicate that there is a connection problem.

Describe the solution you'd like Add an error icon in the lower right corner of the logo. This is one of the possible positions of the icon.

image

Describe alternatives you've considered The design is somewhat similar to connection errors in web browsers (404 page, per example).

Additional context Recurring the icon may be useful to users new to the app or smartphone and could motivate them to look for a solution to the problem of connecting to the stream.

iboboc commented 3 months ago

Amazing work, congrats to the author(s).

Maybe I am missing something (something wrong with my lists) but is there support for channel logo? In my list is only the Name and link. It will be great if the channel logo will appear on the left side (if available).

For eg. as you se in this m3u list: https://www.tdtchannels.com/lists/tv.m3u

#EXTINF:-1 tvg-id="La1.TV" tvg-logo="https://pbs.twimg.com/profile_images/899385012801470464/akSvNCqE_200x200.jpg" group-title="Generalistas" tvg-name="La 1",La 1
https://ztnr.rtve.es/ztnr/1688877.m3u8

The tag is "tvg-logo". If exists, show it, if not, show a blank (default) one or as suggested here add the broken logo if transmission has error.

And since there could be many lines in the list, maybe a view with columns (3) might look better.

Thanks.

oxyroid commented 3 months ago

Hi @iboboc The app support show channel logos. There are many switches in setting page. Please try to turn off the NO PICTURE MODE. It's open by default. If you want to show logo in player bottom-left position, please turn on the FULL INFORMATION PLAYER. If you want to show logo on playlist screen. please try COMPAT MODE.

iboboc commented 3 months ago

You are completely right, excuse my ignorance. You did a really great job! Thanks.

I will try to support on translation, since it became my favorite project :)

Keep up the good work!

sguinetti commented 3 weeks ago

In beta10 I found a text that warns some streaming error. I think that one is an alternative, although this warn can only see it inside the app. Maybe it can be improved with a notification or use the icon I proposed.

image

sguinetti commented 2 hours ago

It would also be useful to include the connection error status (as icon) in the favorites list section to indicate that this channel is not (longer) working. Perhaps there is an option to clear from the list (unfavorite) the completely offline channels that were checked over time.