Commit graph

58 commits

Author SHA1 Message Date
151ebbe8a6
Allow options to be set from environment variables 2022-11-05 10:43:29 +01:00
22b6ecdd4a
Update flake.lock 2022-11-05 10:43:20 +01:00
ad37248ec6
Apply cargo-diet 2022-07-04 11:17:01 +02:00
b9eb4500ff
Update flake.lock 2022-07-04 11:16:46 +02:00
7ccd6d7f21
Merge tag '0.4.3' into develop
Bugfixes
2022-05-11 16:26:05 +02:00
4faf850a48
Merge branch 'release/0.4.3' 2022-05-11 16:25:44 +02:00
28e0ed6f17
Bump version 2022-05-11 16:25:31 +02:00
b8990aa00c
Update flake.lock 2022-05-11 16:24:02 +02:00
aa595a380e
Use nixos-unstable instead of nixpkgs-unstable 2022-05-11 16:23:36 +02:00
090ffaedf4
Minor changes
- Fix spacing when muted
- Change mute icon
- Improve Message struct
2022-05-11 16:18:10 +02:00
a43bb27461
Merge tag '0.4.2' into develop
Ping and Pong

Send a periodic ping message to Home Assistant and handle incoming Ping
and Pong messages.
2022-04-19 20:30:50 +02:00
074c2d69e7
Merge branch 'release/0.4.2' 2022-04-19 20:30:01 +02:00
4c53ad07fc
Bump version to 0.4.2 2022-04-19 20:29:34 +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
9a4c243369
Merge tag '0.4.1' into develop
Flush stdout after printing, get initial state
2022-04-12 23:12:52 +02:00
f2c2351c2d
Merge branch 'release/0.4.1' 2022-04-12 23:12:31 +02:00
08b294c9ac
Bump version to 0.4.1 2022-04-12 23:12:00 +02:00
c4515f9b6a
Flush stdout after print, get initial state 2022-04-12 23:10:14 +02:00
4f8155c1a6
Merge tag '0.4.0' into develop
v0.4.0

- Connect through websocket and subscribe to events
- Add waybar JSON output format
- Add mute/unmute commands
2022-04-12 21:59:29 +02:00
f4aa093c48
Merge branch 'release/0.4.0' 2022-04-12 21:58:07 +02:00
8f93064e8b
Add mute/unmute commands 2022-04-12 21:56:16 +02:00
44b2984fad
Merge branch 'feature/json-output' into develop 2022-04-12 21:42:49 +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
1878c99482
Merge branch 'feature/websocket-api' into develop 2022-04-07 21:24:21 +02:00
cc637035e6
Bump version to 0.4.0 2022-04-07 21:24:05 +02:00
36753a6e1f
Update flake.lock 2022-04-07 21:19:17 +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
828706dd1c
Nix 2.7.0 compatibility 2022-03-23 10:51:43 +01:00
4a37e9ff9b
Add env feature for clap, add command to set volume. 2022-03-21 21:57:19 +01:00
338ebc36b1
Update dependencies
Major update for clap, 3.0 (and 3.1) has been released, which
introduced some feature flags for functions we're using.
2022-03-21 21:08:54 +01:00
67d60649c7
Merge branch 'main' of git.datarift.nl:erwin/ha-now-playing 2022-03-21 17:51:47 +01:00
bed3a29e26
Update flake.lock 2022-03-21 17:42:02 +01:00
63cf4114b2
Add gitflow 2022-03-21 17:41:49 +01:00
26e727ecb7
Update cargo lockfile 2022-03-21 17:39:27 +01:00
bbef9ba819
Updated lock files 2022-02-25 08:44:53 +01:00
76124cd974
Bump version to 0.3.2 2022-02-13 13:50:11 +01:00
3247635cb4
Escape output with html_escape 2022-02-13 13:49:41 +01:00
401560b611
Move cargo plugins to nativeBuildInputs 2022-02-13 13:29:07 +01:00
81f8b78d22
Bump version to 0.3.1 2022-01-14 10:44:21 +01:00
7a25741c8a
Make sure naersk is using the correct toolchain 2022-01-14 10:43:59 +01:00
727a05c8c1
Version 0.3.0 2022-01-14 10:20:29 +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
1cc0390432
Rust Edition 2021 2021-11-25 23:42:28 +01:00
10952c5cf5
Updated dependencies 2021-11-25 23:41:35 +01:00
4faf119a2b
Optionally read token from file 2021-11-25 23:40:07 +01:00