enigma2 icon indicating copy to clipboard operation
enigma2 copied to clipboard

[Improvement] Panic channel should use sref (service reference) instead of channel number

Open wedebe opened this issue 3 years ago • 12 comments

Using channel number for panic zap can lead to an unintended channel being zapped to, if the bouquet has had channels added or removed since the user set the original channel number.

wedebe avatar Dec 06 '22 00:12 wedebe

Using service reference for panic zap, can't zap, if the service reference doesn't exist anymore...

?? config.servicelist.startupservice != config.usage.panicchannel

ghost avatar Dec 06 '22 14:12 ghost

Perhaps notifying the user when they're about to remove a panic channel (same should be done for startup channel) would be a solution? Or, more simply, storing the sref in prefs and falling back to the channel number if sref doesn't exist?

config.usage.panicbutton=True
config.usage.panicchannel=119
config.usage.panicsref=1:0:1:178F:7D7:2:11A0000:0:0:0

wedebe avatar Dec 07 '22 12:12 wedebe

And you really use it?

ghost avatar Dec 08 '22 13:12 ghost

I agree with above. Surplus unnecessary junk. Why not just totally remove it. One less option in the mountain of settings.

kiddac avatar Jan 08 '23 12:01 kiddac

WTF is a panic channel?

Schimmelreiter avatar Jan 08 '23 12:01 Schimmelreiter

It works and there is no change needed! Bad request only!

ghost avatar Jan 08 '23 12:01 ghost

This feature request has a real purpose, because the channel number is not always the same channel.

jbleyel avatar Jan 08 '23 12:01 jbleyel

WTF is a panic channel?

It's similar like the boss-key.

jbleyel avatar Jan 08 '23 12:01 jbleyel

And you really use it?

Yes I do

I agree with above. Surplus unnecessary junk. Why not just totally remove it. One less option in the mountain of settings.

Just because you don't use it doesn't mean that other people don't. Your advice almost amounts to "why do you use Linux equipment, just get a Sky Box" 😆

WTF is a panic channel?

Pressing 0 will jump to a determined channel in a specific bouquet. It's not just for a panic situation (eg. watching porn when someone suddenly comes into the room); it can also save multiple button presses of opening the channel list, changing bouquet, then changing to your most-watched channel.

It works and there is no change needed! Bad request only!

Can you explain how it works when it doesn't?

I've since had a further thought on this... how is the start-up channel handled? Does it also happen there? I haven't had time to look into the code or test this.

wedebe avatar Jan 20 '23 13:01 wedebe

Sorry, but you don't like to change your most-watched channel from 119 to 1? The Programmer gives the free to set it to 119 but if it fails its not the programmer. Call it Panic channel number!

ghost avatar Jan 20 '23 15:01 ghost

Just for clarification:

These are the descriptions for the panic settings:

"Enable panic button" / "When enabled, pressing '0' will zap you to the first channel in your first bouquet and delete your zap-history."
"Panic channel" / "Pressing the panic button will zap you to this channel number in your first bouquet."

jbleyel avatar Jan 20 '23 15:01 jbleyel

I had an idea but it's maybe like a hack. Set the number to 0000 could use the startupservice with sref.

ghost avatar Jan 29 '23 14:01 ghost