1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-23 06:49:38 +00:00

Remove debugging printlns.

This commit is contained in:
Nolan Darilek 2020-11-17 10:25:21 -06:00
parent 80fa5d4583
commit 590d6369fb

View File

@ -83,9 +83,6 @@ impl WinRT {
backend_to_playback_list.insert(bid, playback_list.clone()); backend_to_playback_list.insert(bid, playback_list.clone());
playback_list.current_item_changed(TypedEventHandler::new( playback_list.current_item_changed(TypedEventHandler::new(
|sender: &MediaPlaybackList, args: &CurrentMediaPlaybackItemChangedEventArgs| { |sender: &MediaPlaybackList, args: &CurrentMediaPlaybackItemChangedEventArgs| {
println!("Changed");
println!("{:?}, {:?}", args.old_item()?, args.new_item()?);
//sender.items()?.clear()?;
let backend_to_playback_list = BACKEND_TO_PLAYBACK_LIST.lock().unwrap(); let backend_to_playback_list = BACKEND_TO_PLAYBACK_LIST.lock().unwrap();
let id = backend_to_playback_list.iter().find(|v| v.1 == sender); let id = backend_to_playback_list.iter().find(|v| v.1 == sender);
if let Some(id) = id { if let Some(id) = id {