mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Add prefer_animated feature
The feature lets you download animated images first, and then try getting static images.
This commit is contained in:
@@ -36,7 +36,11 @@ pub async fn run_sync(settings: &Settings) -> Result<(), Box<dyn Error>> {
|
||||
}
|
||||
|
||||
if settings.steamgrid_db.enabled {
|
||||
download_images_for_users(settings, &userinfo_shortcuts).await;
|
||||
if settings.steamgrid_db.prefer_animated {
|
||||
println!("downloading animated images");
|
||||
download_images_for_users(settings, &userinfo_shortcuts,true).await;
|
||||
}
|
||||
download_images_for_users(settings, &userinfo_shortcuts,false).await;
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user