1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-04 02:09:26 +02:00

Change system_information_string according to request from Spotify (#218)

Spotify requested us to use a system_information_string that looks like
librespot_[short sha]_[random 8 characters build id]
This commit is contained in:
Fabian Zaremba 2017-07-17 14:31:06 +02:00 committed by Paul Liétar
parent aa86ebf549
commit 910974e5e2
4 changed files with 35 additions and 4 deletions

View file

@ -110,10 +110,11 @@ fn setup(args: &[String]) -> Setup {
let verbose = matches.opt_present("verbose");
setup_logging(verbose);
info!("librespot {} ({}). Built on {}.",
info!("librespot {} ({}). Built on {}. Build ID: {}",
version::short_sha(),
version::commit_date(),
version::short_now());
version::short_now(),
version::build_id());
let backend_name = matches.opt_str("backend");
if backend_name == Some("?".into()) {