Skip to content

Commit

Permalink
V2023.11.0
Browse files Browse the repository at this point in the history
Closes #392
  • Loading branch information
nlogozzo committed Nov 3, 2023
1 parent e23c34e commit 5b525ae
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 56 deletions.
2 changes: 1 addition & 1 deletion NickvisionTagger.GNOME/NickvisionTagger.GNOME.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="GirCore.Adw-1" Version="0.4.0" />
<PackageReference Include="Nickvision.Aura" Version="2023.10.1.3" />
<PackageReference Include="Nickvision.Aura" Version="2023.10.2" />
<PackageReference Include="Nickvision.GirExt" Version="2023.7.3" />
</ItemGroup>

Expand Down
12 changes: 1 addition & 11 deletions NickvisionTagger.GNOME/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,7 @@ public Program(string[] args)
_mainWindow = null;
_mainWindowController = new MainWindowController(args);
_mainWindowController.AppInfo.Changelog =
@"* Added the option to use relative paths when creating a playlist. This means that Tagger also now supports opening playlists with relative paths
* Added the Disc Number, Disc Total, and Publishing Date fields to additional properties
* Added information dialog for album art
* Added an option in Preferences to limit file name characters to those only supported by Windows
* Tagger will now watch a music folder library for changes on disk and prompt the user to reload if necessary
* Tagger will now display front album art within a music file row itself if available
* Tagger will now remember previously used format strings for file name to tag and tag to file name conversions
* Fixed an issue where downloaded lyrics would sometimes contain html encoded characters
* Fixed an issue where file names containing the ""<"" character caused the music file row to not display
* Fixed an issue where the duration displayed for multiple selected files was wrong
* Improved create playlist dialog ux
@"* Fixed an issue where Tagger crashed on loading album art for some files
* Updated translations (Thanks everyone on Weblate!)";
_application.OnActivate += OnActivate;
if (File.Exists(Path.GetFullPath(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)) + "/org.nickvision.tagger.gresource"))
Expand Down
18 changes: 9 additions & 9 deletions NickvisionTagger.GNOME/nuget-sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,17 +155,17 @@
},
{
"type": "file",
"url": "https://api.nuget.org/v3-flatcontainer/metabrainz.musicbrainz/5.0.0/metabrainz.musicbrainz.5.0.0.nupkg",
"sha512": "bf116de8687f52e7ab782cd59326175d32f506ccafc203a332a26d5930230faf83ef102aafdb6e1d1ff591799cc90d5e90071f5c731e3cf9c74587617aaae1ee",
"url": "https://api.nuget.org/v3-flatcontainer/metabrainz.musicbrainz/5.0.1/metabrainz.musicbrainz.5.0.1.nupkg",
"sha512": "9825a11c19c9ad73dcca9b6f47d9eca4899702c5bb20d835586ec3a3e33d7ff593b1cfbb90c0a406d4d17fea07d2d1b1086a2d8e2758dcf529e58420f033bc65",
"dest": "nuget-sources",
"dest-filename": "metabrainz.musicbrainz.5.0.0.nupkg"
"dest-filename": "metabrainz.musicbrainz.5.0.1.nupkg"
},
{
"type": "file",
"url": "https://api.nuget.org/v3-flatcontainer/metabrainz.musicbrainz.coverart/5.0.0/metabrainz.musicbrainz.coverart.5.0.0.nupkg",
"sha512": "a9e51ad50dd059b8779b8b9b6895589720f39a19504744e13cc3e428d46aac6ef7251069cf4257b8963e0e2d766e1f72ec54ed3393b7779a022904cf7f9fcb31",
"url": "https://api.nuget.org/v3-flatcontainer/metabrainz.musicbrainz.coverart/5.1.0/metabrainz.musicbrainz.coverart.5.1.0.nupkg",
"sha512": "87b2e86d09f917eab4d254d3a340daf13057c75be016504d68d5a79fcde79317639892650d8c98fcafb8af14cbf12619f7dfe9693e74e7fec93b88de7765cb2d",
"dest": "nuget-sources",
"dest-filename": "metabrainz.musicbrainz.coverart.5.0.0.nupkg"
"dest-filename": "metabrainz.musicbrainz.coverart.5.1.0.nupkg"
},
{
"type": "file",
Expand Down Expand Up @@ -211,10 +211,10 @@
},
{
"type": "file",
"url": "https://api.nuget.org/v3-flatcontainer/nickvision.aura/2023.10.1.3/nickvision.aura.2023.10.1.3.nupkg",
"sha512": "cf54acb139bf2985a9a335bfb2d2bd7afa196ebbdc78ebdc1d1922b838340d4a3326a89ee370c635f30996a29a982af200d201b68e8df615dabb274269bbe8da",
"url": "https://api.nuget.org/v3-flatcontainer/nickvision.aura/2023.10.2/nickvision.aura.2023.10.2.nupkg",
"sha512": "830ab163b59643b28673b5f816dd1274d22182ec4c010d929fb6498d43c254279dca8dab27913ac7a323a15a1a766ce24e8f81d4b0fab6660b58ff5a26e15a40",
"dest": "nuget-sources",
"dest-filename": "nickvision.aura.2023.10.1.3.nupkg"
"dest-filename": "nickvision.aura.2023.10.2.nupkg"
},
{
"type": "file",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public MainWindowController(string[] args)
}
Aura.Active.SetConfig<Configuration>("config");
Configuration.Current.Saved += ConfigurationSaved;
AppInfo.Version = "2023.10.0";
AppInfo.Version = "2023.11.0";
AppInfo.ShortName = _("Tagger");
AppInfo.Description = _("Tag your music");
AppInfo.SourceRepo = new Uri("https://github.com/NickvisionApps/Tagger");
Expand Down
23 changes: 16 additions & 7 deletions NickvisionTagger.Shared/Models/AlbumArt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,22 @@ public byte[] Image
_image = value;
if (_image.Length > 0)
{
using var image = SixLabors.ImageSharp.Image.Load(_image);
Width = image.Width;
Height = image.Height;
image.Mutate(x => x.Resize(32, 32));
using var ms = new MemoryStream();
image.SaveAsJpeg(ms);
Icon = ms.ToArray();
try
{
using var image = SixLabors.ImageSharp.Image.Load(_image);
Width = image.Width;
Height = image.Height;
image.Mutate(x => x.Resize(32, 32));
using var ms = new MemoryStream();
image.SaveAsJpeg(ms);
Icon = ms.ToArray();
}
catch
{
Width = 0;
Height = 0;
Icon = _image;
}
}
else
{
Expand Down
6 changes: 3 additions & 3 deletions NickvisionTagger.Shared/NickvisionTagger.Shared.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
<PackageReference Include="SixLabors.ImageSharp" Version="3.0.2" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="7.0.0" />
<PackageReference Include="AcoustID.NET" Version="1.3.3" />
<PackageReference Include="Nickvision.Aura" Version="2023.10.1.3" />
<PackageReference Include="Nickvision.Aura" Version="2023.10.2" />
<PackageReference Include="z440.atl.core" Version="5.11.0" />
<PackageReference Include="MetaBrainz.MusicBrainz" Version="5.0.0" />
<PackageReference Include="MetaBrainz.MusicBrainz.CoverArt" Version="5.0.0" />
<PackageReference Include="MetaBrainz.MusicBrainz" Version="5.0.1" />
<PackageReference Include="MetaBrainz.MusicBrainz.CoverArt" Version="5.1.0" />
<PackageReference Include="FuzzySharp" Version="2.0.2" />
<PackageReference Include="HtmlAgilityPack" Version="1.11.54" />
</ItemGroup>
Expand Down
13 changes: 1 addition & 12 deletions NickvisionTagger.Shared/org.nickvision.tagger.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,7 @@
<releases>
<release version="2023.10.0" date="2023-10-27">
<description translatable="no">
<p>- Tagger is now available for Windows using Windows App SDK and WinUI 3</p>
<p>- Added the option to use relative paths when creating a playlist. This means that Tagger also now supports opening playlists with relative paths</p>
<p>- Added the Disc Number, Disc Total, and Publishing Date fields to additional properties</p>
<p>- Added information dialog for album art</p>
<p>- Added an option in Preferences to limit file name characters to those only supported by Windows</p>
<p>- Tagger will now watch a music folder library for changes on disk and prompt the user to reload if necessary</p>
<p>- Tagger will now display front album art within a music file row itself if available</p>
<p>- Tagger will now remember previously used format strings for file name to tag and tag to file name conversions</p>
<p>- Fixed an issue where downloaded lyrics would sometimes contain html encoded characters</p>
<p>- Fixed an issue where file names containing the less than character caused the music file row to not display</p>
<p>- Fixed an issue where the duration displayed for multiple selected files was wrong</p>
<p>- Improved create playlist dialog ux</p>
<p>- Fixed an issue where Tagger crashed on loading album art for some files</p>
<p>- Updated translations (Thanks everyone on Weblate!)</p>
</description>
</release>
Expand Down
11 changes: 1 addition & 10 deletions NickvisionTagger.WinUI/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,7 @@ public App()
InitializeComponent();
_controller = new MainWindowController(Array.Empty<string>());
_controller.AppInfo.Changelog =
@"- Tagger is now available for Windows using Windows App SDK and WinUI 3
- Added the option to use relative paths when creating a playlist. This means that Tagger also now supports opening playlists with relative paths
- Added the Disc Number, Disc Total, and Publishing Date fields to additional properties
- Added information dialog for album art
- Tagger will now watch a music folder library for changes on disk and prompt the user to reload if necessary
- Tagger will now display front album art within a music file row itself if available
- Tagger will now remember previously used format strings for file name to tag and tag to file name conversions
- Fixed an issue where downloaded lyrics would sometimes contain html encoded characters
- Fixed an issue where the duration displayed for multiple selected files was wrong
- Improved create playlist dialog ux
@"- Fixed an issue where Tagger crashed on loading album art for some files
- Updated translations (Thanks everyone on Weblate!)";
if (_controller.Theme != Theme.System)
{
Expand Down
4 changes: 2 additions & 2 deletions NickvisionTagger.WinUI/NickvisionTagger.WinUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
<PackageReference Include="CommunityToolkit.WinUI.Controls.SettingsControls" Version="8.0.230907" />
<PackageReference Include="CommunityToolkit.WinUI.Notifications" Version="7.1.2" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.4.231008000" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.756" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.2428" />
<PackageReference Include="Vanara.PInvoke.User32" Version="3.4.17" />
<PackageReference Include="Nickvision.Aura" Version="2023.10.1.3" />
<PackageReference Include="Nickvision.Aura" Version="2023.10.2" />
<Manifest Include="$(ApplicationManifest)" />
</ItemGroup>

Expand Down

0 comments on commit 5b525ae

Please sign in to comment.