Skip to content

Commit

Permalink
Merge pull request #152 from Radiicall/fixes/enable-imgur-images
Browse files Browse the repository at this point in the history
Check if show_images is enabled before displaying imgur images
  • Loading branch information
Radiicall authored Sep 28, 2024
2 parents 7b17df0 + ba7dd37 commit d2d8c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jellyfin-rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ impl Client {

if session.now_playing_item.media_type == MediaType::LiveTv {
image_url = Url::from_str("https://i.imgur.com/XxdHOqm.png")?;
} else if self.imgur_options.enabled {
} else if self.imgur_options.enabled && self.show_images {
if let Ok(imgur_url) = external::imgur::get_image(self) {
image_url = imgur_url;
} else {
Expand Down

0 comments on commit d2d8c03

Please sign in to comment.