drishya दृश्य

Changelog

Every change to drishya, newest first. Releases are git tags (all tags, GitHub releases); the source of this page is CHANGELOG.md.

v0.4.02026-11-17release ↗

  • :q closes drishya instead of hiding it (it saves where you were first); :hide hides, and q / Esc still do. drishya close is drishya quit, and quit makes sure: a player that doesn't answer is stopped through its unit, else SIGTERM, then SIGKILL.
  • The toggle (drishya) on a window that's open but not focused (on another workspace, behind other windows) brings it here, focused: before, Wayland only marked it urgent, so the key seemed to do nothing. A quick second press closes what the first opened, even before the compositor's focus reaches GTK.
  • SIGTERM (systemctl --user stop, logout) and Ctrl+C quit cleanly, as :q does; a key pressed while it's quitting no longer opens a window.
  • Four layouts for Watch, Cinema first: Cinema (as before), Theater dock (the controls under the video, Up next as cards), Glass (edge to edge, a floating pill, volume and brightness on the edges) and Study split (chapters big beside the video). T or Space u l switches, :layout <name>, Settings → Layout and drishya ctl layout <name> too; your pick is kept.
  • Search shows YouTube's thumbnails: the results kept the empty path from before the thumbnail arrived.
  • Quicker to start: drishya asks YouTube about a video before you press play (the search result you rest on, the top result, the next in the queue); mpv then opens it in about 2 s instead of 10 or more (bin/drishya-ytdl, a cache in front of yt-dlp; nothing with a login is cached).
  • A loading screen from pressing play until the picture moves: the video's thumbnail, a ring that turns while it asks YouTube and fills as the first seconds arrive, and what it's waiting for. One state, so it never blinks; a stall while playing shows the ring over the paused picture.
  • Fewer stalls on a slow connection: it waits once for 5 s of video, at the start, instead of stopping every few seconds for 1 s. Files on disk aren't cached.
  • The controls under the video: previous, back 10 s, play, forward 10 s, next, the volume and the screen's brightness as sliders, each with its key in the tooltip; = - and Ctrl+= Ctrl+- show the level over the video.
  • Adding to "play next" while a video still opens no longer replaces it.
  • The timeline's buffered part was twice too long (it read mpv's end of the cache as a length).
  • Lighter: a closed window and the tabs you aren't looking at no longer rebuild on every player event (they catch up when you look); the clock stops while paused or closed; the timeline redraws only when something would move a pixel; a seek or a volume step doesn't rebuild the queue or the chips; j / k touch only the rows that change.

v0.3.02026-11-09release ↗

  • The tabs show just their name (they showed 0..4, which are counts now); their tooltip says which keys switch to them: H / L, Space t, Ctrl+0..4.
  • Space is the leader, the same key grammar as every Vayu tool (ADR 7). One key for what you do all the time, everything else Space, a group, the thing: Space t tabs, Space u toggles, Space y copy, Space f search a scope, Space d delete, Space o b open in the browser, Space g p the playing video, Space i info, Space c captions and audio, Space p playback, Space x downloads, Space , settings (Q too). Wait after Space (or g, d, y) and a strip shows what can come next; Esc cancels. Space Space is a palette of every action; ? and Space ? show every key of the tab you're on, made from the keymap.
  • Keys moved: play / pause is p (was Space; the mini player and fullscreen keep Space); paste is gp / gP; tabs are H / L and Space t (Ctrl+Tab, Ctrl+0..4 too); digits are only counts, no more waiting after a lone digit; i info is Space i; zz is Space g p; z opens the mini player at once. An old key says where it went, for one release.
  • Confirmations take y only (Enter no longer confirms).
  • Switching tabs (Ctrl+Tab, a click) or hiding the window drops what was waiting: a half-typed key (Space …), an unanswered question (a y on the next tab no longer clears the queue), the palette and the key sheet of the old tab.
  • Forgetting videos in the history asks first (it can't be undone).
  • Keys are data: drishya/keymap.py, on Vyom's keys.py (vendored); the # keybind: lines and the README's key tables are generated from it (scripts/keybinds.py, checked by the tests). Every key is documented, the Playlists view and the x / dG aliases included.
  • Every corner is rounded: the video area, the "watched" bars and the website's callouts.
  • A logo and a shloka at the top of the README and the website: every Vayu tool has them now.

v0.2.12026-10-24release ↗

  • Volume and brightness keys: =/- change the system volume (what you hear, not only drishya's), Ctrl+=/Ctrl+- the screen's brightness; in the mini player too. When the window closes (or the mini player, or drishya quits) both go back to how they were before. Through pactl or wpctl and brightnessctl; without them the keys say what's missing.
  • A tab number followed by a key that takes no count (V, Esc, /…), or a lone 1, goes to that tab first: 1 V selected on the wrong tab, and Esc then closed the window.
  • In the library, Backspace from one of your folders goes back to the top (Continue watching); it showed the folder's plain listing. - is the volume everywhere now (it went up a folder in the library).
  • Switching the search panel to Commands clears the box and lists every command (it kept the words you'd searched for).
  • Toasts show above the search panel, not under its shade.
  • DRISHYA_DEBUG=1 logs each key and mode change, for bug reports.

v0.2.02026-10-24release ↗

  • Video first. The controls float over the video and fade after 2.5 s while it plays (a key or the mouse brings them back); the window's bottom bar is gone on Watch. The title, channel and quality sit at the top.
  • A timeline with chapters as segments, what's buffered, and a preview frame where you hover (YouTube's storyboards; ffmpeg for your files), with the time and chapter name. Readable over any picture.
  • Zen fullscreen (f): just the video, no bar, no controls. Seeking or changing the volume shows a small readout in the corner for a second; i shows the title and time.
  • Search from anywhere (/): a floating panel for YouTube, your videos (indexed in the background), your history, links and commands; results as you type, the best match on top, Tab for where to look, yt , lib , h , : to narrow, actions without leaving it. Paste a link and the first row plays it. The YouTube tab is gone (its full results open from the panel); tabs are now Watch · Up next · Library · History · Downloads (0–4). o opens the panel too.
  • One settings menu (Q): quality, speed, subtitles, audio track and download, j/k to move, l/Enter in, h back.
  • The side panel has Up next, Chapters (jump with Enter) and Info (link, views, date, description); Tab switches.
  • The library is a grid: Continue watching, then your folders and videos with thumbnails, lengths and how much you've seen; h j k l move, Enter opens or plays (with the rest of the folder after it), Backspace goes up.
  • Speed reset moved from Backspace to \ (Backspace means back, everywhere).

v0.1.02026-10-24release ↗

  • First release: a keyboard-driven video player, nāda's sibling for video.
  • The video in the window (libmpv's OpenGL renderer in a GTK GLArea, bound with ctypes), hardware decoding; fullscreen (f), theater mode (t), and a mini player (z) that takes the video over.
  • YouTube: search with thumbnails, views and length; related videos after yours (autoplay, M); streams up to your quality, never AV1.
  • Any link (o, drishya play <link>, or pasted into the search box): HLS and DASH from any server, video files over HTTP, live streams, every site yt-dlp plays. A stream's qualities are capped like YouTube's.
  • Signing in: a server that wants a login (401/403) gets a sign-in panel; HTTP authentication goes with every request, each HLS segment included. Sites that need an account can use your browser's login. Logins are kept in memory, or in your keyring if you ask; credentials in a link are taken out of it before it's saved anywhere.
  • Library: video folders in columns, episodes in natural order, the next episode lined up, thumbnails and lengths (ffmpeg).
  • Resume and history: every video starts where you stopped; History has Continue watching and a watched bar on every thumbnail.
  • Up next edited with vim keys (dd, J/K, yy/p, V, u, Ctrl+r), undoable.
  • Downloads (D) of YouTube videos and any link, with subtitles, chapters and thumbnail; a download then plays from disk. Subtitles are real captions in your languages, never YouTube's machine translations (they're slow and get rate-limited); if subtitles still fail, the video downloads without them.
  • Subtitles (c), audio tracks (#), speed ([ ]), chapters ({ }), start over (S), sleep timer, screenshots.
  • Quality (Q, or the quality button): YouTube's qualities for the video (reopens it at the same second) or a stream's (instant); the pick is kept for the next videos and for downloads. Buttons for opening a link or file and for downloading sit next to it.
  • A YouTube link opened directly gets its real title, channel and views (autoplay waits for them, so it finds videos like it).
  • MPRIS, drishya ctl, drishya status; varna's theme and Vyom's glass.
  • The timeline is a thin line, like YouTube's; its knob shows on hover.
  • A desktop file (data/): launchers, and opening video files and HLS playlists with drishya.