add a log output on startup so it doesnt look like it's stuck when debug log is disabled and there's no players running

master
Ondřej Hruška 6 years ago
parent 9fb6e3707a
commit fa1979c2bb
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 2
      src/main.rs

@ -143,6 +143,8 @@ fn main() -> Result<(), Error> {
let mut artist_cache = HashMap::<String, bool>::new(); let mut artist_cache = HashMap::<String, bool>::new();
info!("Waiting for players...");
'main_loop: 'main_loop:
loop { loop {
// XXX this picks the first player, which isn't always ideal - see mpris/src/find.rs // XXX this picks the first player, which isn't always ideal - see mpris/src/find.rs

Loading…
Cancel
Save