Skip to content

Conversation

@egon984
Copy link
Contributor

@egon984 egon984 commented Sep 4, 2025

  • cycle through channels: when you reach the last one, the next one will be the first one (and vice versa)

  • press the Home key to jump to the previous channel (e.g. jump from 2 to 5)

  • using EPG numbers or adding a tvg-lcn field to your m3u files you can bind LCN numbers to the channels and use a remote (or the keyboard, of course) exactly as you do with your TV 😎
    e.g. when you watch TV you press 7 on your remote to watch a given channel. Now you can do the exact same thing in Hypnotix: once you've configured any remote (IR as well) as an external keyboard, you can press numbers on it (followed by RETURN) to change channel (don't forget to add a tvg-lcn field to each channel in your local m3u file)

@egon984 egon984 force-pushed the channels-navigation branch from 8976da6 to 43997e1 Compare September 5, 2025 14:24
@clefebvre
Copy link
Member

Hi @egon984,

Thanks for these PRs, there are really exciting changes in there.

I think we can delegate left/right keys to MPV since the list of channels is vertical. Pressing Shift+keys isn't really documented anywhere so it's not discoverable.

Would backspace make more sense than home to go back to the previous channel?

Which provider did you test for the EPG? I can't find a channel with proper EPG support here.

LCN number support is a great idea but if we want this feature to be useful maybe we should think of a fallback in case LCN isn't available in the M3U. We could use the natural ordering of the channels within the lists. We might also want to add an option to show the number in the list, if we're using an M3U which doesn't show that number as part of the channel name.

@clefebvre clefebvre changed the title New channels navigation [WIP] New channels navigation Nov 24, 2025
@egon984
Copy link
Contributor Author

egon984 commented Nov 24, 2025

Hi @clefebvre ,

thanks for your feedback!

  • yes, the changes you propose for left/right/backspace keys make (a lot of) sense;

  • I use https://www.epgitalia.tv/guide2 and https://www.open-epg.com/files/italy3.xml.gz as EPGs (they work with any italian TV channel);

  • let's say channel XYZ has LCN 24 on a TV but no LCN set in the playlist. The user types 24 and gets a different channel (the 24th in the list). To avoid this mismatch, my PR falls back on the LCN set in the EPG (which is supposed to be the same used on the TV).

@egon984
Copy link
Contributor Author

egon984 commented Nov 24, 2025

Screenshot From 2025-11-24 13-39-35

Hi @clefebvre ,
this is what the EPG looks like (with some tweaks in mpv.conf to align it on the right and make it big)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants