Skip to content

Commit

Permalink
Add basic "< 3" check.
Browse files Browse the repository at this point in the history
  • Loading branch information
Radiicall committed Jan 11, 2024
1 parent 50dc1d2 commit efc78b5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions jellyfin-rpc/src/services/jellyfin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,12 @@ impl Content {
content.state_message(content.state_message.chars().take(128).collect());
}

if content.details.len() < 3 {
let current_details = content.details.clone();

content.details(current_details + " - Jellyfin");
}

let mut image_url: String = "".to_string();
if config
.images
Expand Down

0 comments on commit efc78b5

Please sign in to comment.