Tracks: Allow custom UUID setting (#33)

This commit is contained in:
baguette
2020-12-30 05:09:44 -05:00
committed by GitHub
parent 03ae0e7628
commit 873458d288
2 changed files with 11 additions and 3 deletions

View File

@@ -24,8 +24,8 @@ pub struct TrackHandle {
struct InnerHandle {
command_channel: UnboundedSender<TrackCommand>,
seekable: bool,
uuid: Uuid,
metadata: Box<Metadata>,
uuid: Uuid,
}
impl TrackHandle {
@@ -42,8 +42,8 @@ impl TrackHandle {
let inner = Arc::new(InnerHandle {
command_channel,
seekable,
uuid,
metadata,
uuid,
});
Self { inner }