fixed random metadata for containers
This commit is contained in:
@@ -1509,6 +1509,10 @@ fn format_details(it: &core::jellyfin::JfItem) -> String {
|
|||||||
let ty = it.item_type.as_deref().unwrap_or("");
|
let ty = it.item_type.as_deref().unwrap_or("");
|
||||||
|
|
||||||
match ty {
|
match ty {
|
||||||
|
"Playlist" | "UserView" | "CollectionFolder" | "BoxSet" => {
|
||||||
|
format!("Name: {}", it.name)
|
||||||
|
}
|
||||||
|
|
||||||
"Series" => format!(
|
"Series" => format!(
|
||||||
"Name: {}\nYear: {}\nGenres: {}\nStudio: {}\n\nOverview:\n{}",
|
"Name: {}\nYear: {}\nGenres: {}\nStudio: {}\n\nOverview:\n{}",
|
||||||
it.name,
|
it.name,
|
||||||
|
|||||||
Reference in New Issue
Block a user