mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
rename variable.
This commit is contained in:
parent
c9117542eb
commit
b562ec6015
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ fn run_program(program: &str, env_vars: HashMap<&str, String>) -> io::Result<Chi
|
|||
fn add_meta_data_to_env_vars(env_vars: &mut HashMap<&str, String>, track_meta_data: TrackMetaData) {
|
||||
env_vars.insert("TRACK_ID", track_meta_data.track_id.to_base62());
|
||||
env_vars.insert("DURATION_MS", track_meta_data.duration_ms.to_string());
|
||||
env_vars.insert("TITLE", track_meta_data.title);
|
||||
env_vars.insert("TRACK_TITLE", track_meta_data.title);
|
||||
}
|
||||
|
||||
pub fn run_program_on_events(event: PlayerEvent, onevent: &str) -> Option<io::Result<Child>> {
|
||||
|
|
Loading…
Reference in a new issue