From ee8bf2dd0bad072efaa4ce8dc92c214e41e38caa Mon Sep 17 00:00:00 2001 From: markmental Date: Sun, 29 Mar 2026 22:36:02 -0400 Subject: [PATCH] Added i to bring up programming info --- README.md | 5 +++-- src/app.c | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9009c95..776083e 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/app.c b/src/app.c index c67c289..603f370 100644 --- a/src/app.c +++ b/src/app.c @@ -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;