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

This commit is contained in:
2019-02-24 23:59:59 +01:00
parent 9fb6e3707a
commit fa1979c2bb
+2
View File
@@ -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