Je ne sais pas trop
This commit is contained in:
@@ -37,6 +37,7 @@ impl ToDIDL for Album {
|
||||
parent_id: parent_id.to_string(),
|
||||
restricted: Some("1".to_string()),
|
||||
child_count: self.tracks_count.map(|c| c.to_string()),
|
||||
searchable: Some("1".to_string()),
|
||||
title: self.formatted_title(),
|
||||
class: "object.container.album.musicAlbum".to_string(),
|
||||
containers: Vec::new(),
|
||||
@@ -134,6 +135,7 @@ impl ToDIDL for Playlist {
|
||||
parent_id: parent_id.to_string(),
|
||||
restricted: Some("1".to_string()),
|
||||
child_count: self.tracks_count.map(|c| c.to_string()),
|
||||
searchable: Some("1".to_string()),
|
||||
title: self.name.clone(),
|
||||
class: "object.container.playlistContainer".to_string(),
|
||||
containers: Vec::new(),
|
||||
|
||||
@@ -275,6 +275,7 @@ impl MusicSource for QobuzSource {
|
||||
parent_id: "0".to_string(),
|
||||
restricted: Some("1".to_string()),
|
||||
child_count: Some("2".to_string()), // Favorites + Search (simplified)
|
||||
searchable: Some("1".to_string()),
|
||||
title: "Qobuz".to_string(),
|
||||
class: "object.container".to_string(),
|
||||
containers: vec![
|
||||
@@ -284,6 +285,7 @@ impl MusicSource for QobuzSource {
|
||||
parent_id: "qobuz".to_string(),
|
||||
restricted: Some("1".to_string()),
|
||||
child_count: None, // Will be determined when browsed
|
||||
searchable: Some("1".to_string()),
|
||||
title: "My Favorites".to_string(),
|
||||
class: "object.container".to_string(),
|
||||
containers: vec![],
|
||||
|
||||
Reference in New Issue
Block a user