This commit is contained in:
parent
761006f516
commit
c141a50c3e
1 changed files with 28 additions and 4 deletions
|
|
@ -332,7 +332,13 @@ impl<'a> Library {
|
||||||
song.to_owned(),
|
song.to_owned(),
|
||||||
conn,
|
conn,
|
||||||
),
|
),
|
||||||
|_| Message::SongChanged,
|
|r| match r {
|
||||||
|
Ok(_) => Message::SongChanged,
|
||||||
|
Err(e) => {
|
||||||
|
error!(?e);
|
||||||
|
Message::None
|
||||||
|
}
|
||||||
|
},
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|
@ -379,7 +385,13 @@ impl<'a> Library {
|
||||||
image.to_owned(),
|
image.to_owned(),
|
||||||
conn,
|
conn,
|
||||||
),
|
),
|
||||||
|_| Message::ImageChanged,
|
|r| match r {
|
||||||
|
Ok(_) => Message::ImageChanged,
|
||||||
|
Err(e) => {
|
||||||
|
error!(?e);
|
||||||
|
Message::None
|
||||||
|
}
|
||||||
|
},
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|
@ -414,7 +426,13 @@ impl<'a> Library {
|
||||||
video.to_owned(),
|
video.to_owned(),
|
||||||
conn,
|
conn,
|
||||||
),
|
),
|
||||||
|_| Message::VideoChanged,
|
|r| match r {
|
||||||
|
Ok(_) => Message::VideoChanged,
|
||||||
|
Err(e) => {
|
||||||
|
error!(?e);
|
||||||
|
Message::None
|
||||||
|
}
|
||||||
|
},
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|
@ -444,7 +462,13 @@ impl<'a> Library {
|
||||||
presentation.clone(),
|
presentation.clone(),
|
||||||
conn,
|
conn,
|
||||||
),
|
),
|
||||||
|_| Message::PresentationChanged,
|
|r| match r {
|
||||||
|
Ok(_) => Message::PresentationChanged,
|
||||||
|
Err(e) => {
|
||||||
|
error!(?e);
|
||||||
|
Message::None
|
||||||
|
}
|
||||||
|
},
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue