Skip to content

Commit 29d9eb7

Browse files
author
David Khristepher Santos
committed
Fixes
1 parent af5dbc3 commit 29d9eb7

4 files changed

Lines changed: 23 additions & 7 deletions

File tree

Diffusion.Toolkit/Controls/PreviewPane.xaml.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,8 +545,6 @@ private void Player_OnMediaEnded(object sender, RoutedEventArgs e)
545545
{
546546
Player?.Position = TimeSpan.FromMilliseconds(1);
547547
}
548-
549-
SetFocus();
550548
}
551549

552550
private void ScrollViewer_OnLoaded(object sender, RoutedEventArgs e)

Diffusion.Toolkit/Localization/default.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,12 +229,15 @@
229229
"Filter.Metadata.SizeWildCard": "(Use ? for wildcard)",
230230
"Filter.Metadata.ModelHash": "Model Hash",
231231
"Filter.Metadata.ModelName": "Model Name",
232-
"Filter.Metadata.AestheticScore": "Aethetic Score",
232+
"Filter.Metadata.AestheticScore": "Aesthetic Score",
233233
"Filter.Metadata.NoScore": "No Score",
234234
"Filter.Metadata.Rating": "Rating",
235235
"Filter.Metadata.Unrated": "Unrated",
236236
"Filter.Metadata.Path": "Path",
237237
"Filter.Metadata.CreatedDate": "Created Date",
238+
"Filter.Metadata.Type": "Type",
239+
"Filter.Metadata.Types.Image": "Image",
240+
"Filter.Metadata.Types.Video": "Video",
238241
"Filter.Metadata.NSFW": "NSFW",
239242
"Filter.Metadata.ForDeletion": "For Deletion",
240243
"Filter.Metadata.Favorite": "Favorite",

Diffusion.Toolkit/MainWindow.xaml.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,15 @@ private async void OnLoaded(object sender, RoutedEventArgs e)
569569

570570
if (semVer < SemanticVersion.Parse("v1.10.0"))
571571
{
572-
_settings.FileExtensions = $"{_settings.FileExtensions}, .mp4";
572+
var existingExtensions = _settings.FileExtensions.Split(",", StringSplitOptions.TrimEntries).ToList();
573+
574+
existingExtensions.Add(".mp4");
575+
existingExtensions.Add(".webm");
576+
existingExtensions.Add(".mkv");
577+
578+
existingExtensions = existingExtensions.Distinct().ToList();
579+
580+
_settings.FileExtensions = string.Join(", ", existingExtensions);
573581
_settings.LoopVideo = true;
574582
_settings.RenderMode = RenderMode.Default;
575583
_settings.NavigationSection.ShowTags = true;

Diffusion.Toolkit/Release Notes/What's New v1.10.0.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,15 @@ A new setting has been added: **Settings > Video > Loop Video**. This controls w
2020

2121
If you have a ComfyUI video that has metadata that can't be read, please raise an issue on Github and attach the sample file
2222

23-
## Tags
23+
You can now filter by **Type** (Image, Video) using the Filter popup
2424

25-
You can now create custom tags and add them to images in the Metadata panel. Open the Tags tab in any Metadata panel,
25+
## Custom Tags
26+
27+
You can now create custom tags and add them to media in the **Metadata** panel. Open the **Tags** tab in any Metadata panel,
2628
and begin by adding a Tag in the textbox at the bottom. Click the + button to add the tag to the list of available tags.
27-
Place a check next to the tag name to add the tag to the selected image.
29+
Place a check next to the tag name to add the tag to the selected media.
30+
31+
If multiple media are selected, the tags will be applied to all the selected media.
2832

2933
You can also filter by one or more tags in the Tags filter panel on the left. Above the list of Tags you will see the options AND and OR.
3034
This determines how multiple selected tags will affect the filter.
@@ -41,6 +45,9 @@ The Tags filter should be visible. You can toggle it via **Menu > View > Tags**
4145
* You can now remove root folders directly from the panel
4246
* You can remove unavailable root folders from the panel
4347
* Added some useful buttons to the Folders panel header
48+
* **Rebuild Thumbnail** command added to thumbnail pane context menu
49+
* You can now regenerate cached thumbnails. This is useful if you replace a file with another one with the same filename and Diffusion Toolkit still shows the old thumbnail.
50+
4451

4552

4653

0 commit comments

Comments
 (0)