Added i to bring up programming info

This commit is contained in:
markmental 2026-03-29 22:36:02 -04:00
commit ee8bf2dd0b
2 changed files with 8 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# Passport-C Media Player
# FreePassport-C Media Player
Passport-C Media Player is a low-dependency SDL2 + FFmpeg application that recreates the 2004-era Passport DCT cable guide with live-seeking channels.
FreePassport-C Media Player is a low-dependency SDL2 + FFmpeg application that is based on the look of interactive programming guide software used on older Cisco/Scientific Atlanta Explorer cable boxes, it allows you to organize your media into a virtual cable guide with live-seeking channels.
## Features
@ -21,6 +21,7 @@ Passport-C Media Player is a low-dependency SDL2 + FFmpeg application that recre
- `Up` / `Down` - surf channels
- `Tab` - toggle guide
- `i` - show current channel info
- `Esc` - exit guide or quit the app
## Build

View file

@ -374,6 +374,11 @@ static void handle_event(App *app, const SDL_Event *event) {
tune_relative(app, -1);
}
break;
case SDLK_i:
if (app->mode == MODE_FULLSCREEN) {
app->channel_banner_until = SDL_GetTicks() + CHANNEL_BANNER_DURATION_MS;
}
break;
case SDLK_LEFT:
browse_guide_time(app, -GUIDE_BROWSE_STEP_MINUTES);
break;