Aanok / jftui

Jellyfin Terminal User Interface
The Unlicense
142 stars 7 forks source link

Add help menu #31

Closed hstejas closed 1 year ago

hstejas commented 1 year ago

Add a new menu entry with '?' that prints the help message

hstejas commented 1 year ago

This is what it looks like when used.

D 1: Favorites
D 2: Continue Watching
D 3: Next Up
D 4: Latest Added
D 5: User Views
> ?
S ::= "q" (quits)
    | "h" (go to "home" root menu)
    | ".." (go to previous menu)
    | "?" (Print this help message)
    | "f" ( "c" | [pufrld]+ ) (filters: clear or played, unplayed, favourite, resumable, liked, disliked)
    | "m" ("p" | "u") Selector (marks items played or unplayed)
    | Selector (opens a single directory entry or sends a sequence of items to playback)
    Selector :: = '*' (everything in the current menu)
    | Items
    Items ::= Atom "," Items (list)
    | Atom
    Atom ::= n1 "-" n2 (range)
    | n (single item)
Aanok commented 1 year ago

Hi! Very nice : ) I'm gonna merge this right away when I get home tonight. Probably also alias it to a "help" command.

This had been a task on the todo list since forever. Thanks!

hstejas commented 1 year ago

:) Now that i look at it again, I had copied the help text from README, but the leg file has more options. Also should this this be .leg like or should this be more human readable?

Aanok commented 1 year ago

The only thing that's missing is search and it's good that it remains unsupported until I get it implemented properly (one day...).

You're good!