Clean up todos and minor audio backend changes

This commit is contained in:
DaXcess committed 2022-11-08 18:19:07 +01:00
1 parent 8e19a9c4d4
commit 8f97a13bb6
4 files changed
+37 -12

No files matched your search

+2 -2
View File
@@ -246,8 +246,8 @@ impl SpoticordSession {
let mut instance = ipc_instance.clone();
let context = ipc_context.clone();
// TODO: Check if this is actually needed
// The new backend may have fixed the need for this
// Fetch track info
// This is done in a separate task to avoid blocking the IPC handler
tokio::spawn(async move {
if let Err(why) = instance.update_track(&context, &owner_id, track_id).await {
error!("Failed to update track: {:?}", why);