[chore] Automatic Cargo Cleanup
This commit is contained in:
parent
725252f244
commit
9012235efa
|
@ -3,7 +3,7 @@ use cpal::traits::{DeviceTrait, HostTrait, StreamTrait};
|
|||
use cpal::{Device, Stream, StreamConfig, SampleFormat, SampleRate};
|
||||
use std::sync::{Arc, Mutex};
|
||||
use std::time::{Duration, Instant};
|
||||
use symphonia::core::audio::{AudioBuffer as SymphoniaAudioBuffer, Signal};
|
||||
use symphonia::core::audio::Signal;
|
||||
use symphonia::core::codecs::{Decoder, DecoderOptions};
|
||||
use symphonia::core::formats::{FormatOptions, FormatReader};
|
||||
use symphonia::core::io::MediaSourceStream;
|
||||
|
@ -243,7 +243,7 @@ impl AsioPlayer {
|
|||
let mss = MediaSourceStream::new(media_source, Default::default());
|
||||
|
||||
// Probe the format
|
||||
let mut hint = Hint::new();
|
||||
let hint = Hint::new();
|
||||
let format_opts = FormatOptions::default();
|
||||
let metadata_opts = MetadataOptions::default();
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ use anyhow::Result;
|
|||
use serde::{Deserialize, Serialize};
|
||||
use std::fs;
|
||||
use std::path::PathBuf;
|
||||
use tracing::{info, error};
|
||||
use tracing::info;
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct Config {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use anyhow::Result;
|
||||
use reqwest::Client;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde::Deserialize;
|
||||
use std::collections::HashMap;
|
||||
use tracing::{info, debug};
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
use anyhow::Result;
|
||||
use std::sync::{Arc, Mutex};
|
||||
use tokio::sync::mpsc;
|
||||
use tracing::{info, debug, error};
|
||||
use tracing::error;
|
||||
|
||||
use crate::audio::AsioPlayer;
|
||||
use crate::jellyfin::{JellyfinClient, LibraryItem};
|
||||
|
|
|
@ -12,7 +12,6 @@ use std::io::{self, Stdout};
|
|||
use std::sync::mpsc::{channel, Receiver, Sender};
|
||||
use std::time::{Duration, Instant};
|
||||
use std::thread;
|
||||
use tracing::{debug, error, info};
|
||||
|
||||
use crate::jellyfin::{JellyfinClient, LibraryItem};
|
||||
use crate::player::{Player, PlayerCommand, PlaybackState};
|
||||
|
|
Loading…
Reference in a new issue