Commit Graph

17 Commits

Author SHA1 Message Date
Alexander Heldt
ed69566f6f Plot layout on a grid
Redraw all x,y coordinates on screen Instead of using ANSI codes,
to be avoid clearing the screen which introduces flickering in TMUX
2025-12-20 14:05:25 +01:00
Alexander Heldt
b5965360eb Rework Layout
To be a based on a dictionary, where each node child is just a key in
the dictionary and the value is the node itself
2025-12-11 20:42:49 +01:00
Alexander Heldt
df9160b932 Don't prefix internal modules 2025-11-30 11:53:25 +01:00
Alexander Heldt
dd9468938d Simplify input capture
Instead of "injecting" characters into the input stream, the input
stream is now forwarded to the `musicplayer`. It has will have to
decide what to do with the stream, e.g. by setting the "mode" to
something that captures the input stream and acts upon it
2025-11-28 23:35:31 +01:00
Alexander Heldt
e746bfafcf Add time module with to_duration_string
Which turn a float into a `mm:ss` string
2025-11-23 18:52:01 +01:00
Alexander Heldt
7d20bdad53 Add musicplayer module that wraps all logic 2025-11-23 10:06:33 +01:00
Alexander Heldt
d01b6d3f18 Move all code into musicplayer module 2025-11-22 19:03:49 +01:00
Alexander Heldt
249b0671e4 Extract reading of input i/o to input
And add the ability of other modules to listen to either
the final result (a `Key`) or tap into the input as it is read
2025-11-21 20:06:39 +01:00
Alexander Heldt
fee776b352 Add ability to create character sequences as Input 2025-11-19 18:27:30 +01:00
Alexander Heldt
1c47a84750 Extract mpv/key to input
To separate the concern from `mpv`
2025-11-18 18:39:20 +01:00
Alexander Heldt
417b5a2559 Add ability to get playback-time 2025-11-16 16:23:16 +01:00
Alexander Heldt
94212996d2 Map Key to Control 2025-11-16 16:21:54 +01:00
Alexander Heldt
702313eac2 Restructure mpv/internal package 2025-11-16 16:04:06 +01:00
Alexander Heldt
bc5297196e Add ability to listen to input 2025-11-15 14:23:56 +01:00
Alexander Heldt
1dcbff3e22 Move echo_server to tests 2025-11-14 19:11:42 +01:00
Alexander Heldt
a1971693ef TCP echo server 2025-11-14 18:41:29 +01:00
Alexander Heldt
8bbfae4592 Light of day 2025-11-10 08:44:27 +01:00