Update to support latest navidrome version
This commit is contained in:
1 parent
558c79d0cb
commit
bc8d9908d1
9 files changed
+375
-323
No files matched your search
@@ -3,7 +3,6 @@ use crate::subsonic::Subsonic;
|
||||
use crate::CONFIG;
|
||||
use chrono::Local;
|
||||
use sqlx::postgres::PgPool;
|
||||
use std::str::FromStr;
|
||||
use std::time::Duration;
|
||||
use tokio::time::{interval, MissedTickBehavior};
|
||||
use uuid::Uuid;
|
||||
@@ -67,7 +66,6 @@ async fn create_playlist(
|
||||
// Create playlist
|
||||
let playlist = media_client.as_ref().create_playlist(&new_name).await?;
|
||||
let uuid = Uuid::new_v4();
|
||||
let playlist_uuid = Uuid::from_str(&playlist.id)?;
|
||||
|
||||
sqlx::query!(
|
||||
r#"
|
||||
@@ -75,7 +73,7 @@ async fn create_playlist(
|
||||
VALUES ($1, $2, $3, $4, $5)
|
||||
"#,
|
||||
uuid,
|
||||
playlist_uuid,
|
||||
playlist.id,
|
||||
playlist_rule.playlist_size,
|
||||
playlist_rule.tracking_user,
|
||||
playlist_rule.tracking_type,
|
||||
|
||||
Reference in new issue
Block a user