Alexander Heldt
9a7ae0bfe4
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:32:45 +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