Commit graph

24 commits

Author SHA1 Message Date
f42b201791
This should reconnect when the connection is lost 2023-09-28 20:37:45 +02:00
9148f2b77d
Handle error reading token file 2023-07-03 16:02:23 +02:00
888ea9758b
Add 'muted' property to JSON output 2023-07-03 16:01:31 +02:00
e871964f30
Removing short version for --host due to conflict with --help 2022-11-28 16:15:55 +01:00
81334b9e92
Update clap to v4 2022-11-28 16:10:34 +01:00
10efd967e5
Don't html_escape output, this was fixed in waybar 2022-11-28 11:58:58 +01:00
151ebbe8a6
Allow options to be set from environment variables 2022-11-05 10:43:29 +01:00
090ffaedf4
Minor changes
- Fix spacing when muted
- Change mute icon
- Improve Message struct
2022-05-11 16:18:10 +02:00
9c21ddd35b
Ping and Pong
Send a ping message every 5 seconds, and handle incoming Ping and Pong messages.
2022-04-19 20:28:04 +02:00
c4515f9b6a
Flush stdout after print, get initial state 2022-04-12 23:10:14 +02:00
8f93064e8b
Add mute/unmute commands 2022-04-12 21:56:16 +02:00
9847da6b34
Add --format to select between json and i3blocks 2022-04-12 21:42:06 +02:00
293050d070
Remove obsolete function, make call_service async 2022-04-07 22:01:49 +02:00
6ffcd126e4
Visualise muted media player 2022-04-07 21:18:45 +02:00
ae1a579aa2
Handle events for the media player entity specified 2022-03-28 20:29:52 +02:00
f3bc613b31
Initial websocket connection
Added tokio and async-tungstenite to handle the websocket connection,
send authentication and enter waiting state.
2022-03-28 16:16:28 +02:00
4a37e9ff9b
Add env feature for clap, add command to set volume. 2022-03-21 21:57:19 +01:00
3247635cb4
Escape output with html_escape 2022-02-13 13:49:41 +01:00
633d0c4bb6
Output stuff with the correct macros 2022-01-14 10:19:07 +01:00
0449580b9b
Improve error handling 2022-01-14 10:13:02 +01:00
d296105443
Add volume display 2022-01-14 10:06:26 +01:00
4faf119a2b
Optionally read token from file 2021-11-25 23:40:07 +01:00
de02797144
Updated dependencies 2021-11-23 14:22:58 +01:00
40925f1f31
Initial commit 2021-07-31 17:16:00 +02:00