diff --git a/Jellyfin.Plugin.YandexMusic/Jellyfin.Plugin.YandexMusic.csproj b/Jellyfin.Plugin.YandexMusic/Jellyfin.Plugin.YandexMusic.csproj index 8dc0a2c..0dad22b 100644 --- a/Jellyfin.Plugin.YandexMusic/Jellyfin.Plugin.YandexMusic.csproj +++ b/Jellyfin.Plugin.YandexMusic/Jellyfin.Plugin.YandexMusic.csproj @@ -1,9 +1,9 @@ - 1.0.0.12 - 1.0.0.12 - 1.0.0.12 + 1.0.0.13 + 1.0.0.13 + 1.0.0.13 net10.0 Jellyfin.Plugin.YandexMusic Jellyfin.Plugin.YandexMusic diff --git a/Jellyfin.Plugin.YandexMusic/Providers/YandexMusicAlbumProvider.cs b/Jellyfin.Plugin.YandexMusic/Providers/YandexMusicAlbumProvider.cs index b1d2f29..fe3a121 100644 --- a/Jellyfin.Plugin.YandexMusic/Providers/YandexMusicAlbumProvider.cs +++ b/Jellyfin.Plugin.YandexMusic/Providers/YandexMusicAlbumProvider.cs @@ -91,7 +91,7 @@ public class YandexMusicAlbumProvider : IRemoteMetadataProvider 0) { - Mapping.AddPrimaryImage(result, covers[0], 1200); + Mapping.AddPrimaryImage(result, covers[0], 1000); foreach (var cover in covers.Skip(1).Take(4)) { - Mapping.AddImage(result, cover, ImageType.Backdrop, 1920); + Mapping.AddImage(result, cover, ImageType.Backdrop, 1000); } } diff --git a/Jellyfin.Plugin.YandexMusic/Providers/YandexMusicImageProvider.cs b/Jellyfin.Plugin.YandexMusic/Providers/YandexMusicImageProvider.cs index 718ea08..3b09fd6 100644 --- a/Jellyfin.Plugin.YandexMusic/Providers/YandexMusicImageProvider.cs +++ b/Jellyfin.Plugin.YandexMusic/Providers/YandexMusicImageProvider.cs @@ -145,7 +145,7 @@ public class YandexMusicImageProvider : IRemoteImageProvider, IHasOrder var byId = await _client.GetAlbumAsync(albumId.Value, cancellationToken).ConfigureAwait(false); if (byId is not null) { - return Collect(byId.CoverUri, ImageType.Primary, 1200); + return Collect(byId.CoverUri, ImageType.Primary, 1000); } } @@ -160,7 +160,7 @@ public class YandexMusicImageProvider : IRemoteImageProvider, IHasOrder config.MatchThreshold); return match is null ? [] - : Collect(match.Value.Album.CoverUri, ImageType.Primary, 1200); + : Collect(match.Value.Album.CoverUri, ImageType.Primary, 1000); } private async Task> GetArtistCoversAsync( @@ -198,13 +198,13 @@ public class YandexMusicImageProvider : IRemoteImageProvider, IHasOrder var primaryAdded = false; foreach (var uri in uris.Where(u => !string.IsNullOrWhiteSpace(u)).Distinct(StringComparer.Ordinal)) { - var url = YandexMusicClient.BuildCoverUrl(uri, primaryAdded ? 1920 : 1200); + var url = YandexMusicClient.BuildCoverUrl(uri, primaryAdded ? 1000 : 1000); if (url is null) { continue; } - covers.Add((url, primaryAdded ? ImageType.Backdrop : ImageType.Primary, primaryAdded ? 1920 : 1200)); + covers.Add((url, primaryAdded ? ImageType.Backdrop : ImageType.Primary, primaryAdded ? 1000 : 1000)); primaryAdded = true; } diff --git a/build.yaml b/build.yaml index 123be0a..b6132ca 100644 --- a/build.yaml +++ b/build.yaml @@ -1,7 +1,7 @@ --- name: "Yandex Music" guid: "f3b9626b-da14-4cbf-8ad1-33b92cfa6656" -version: "1.0.0.12" +version: "1.0.0.13" targetAbi: "12.4.0.0" framework: "net10.0" overview: "Metadata for music from Yandex Music." diff --git a/dist/Jellyfin.Plugin.YandexMusic_1.0.0.12.zip b/dist/Jellyfin.Plugin.YandexMusic_1.0.0.13.zip similarity index 67% rename from dist/Jellyfin.Plugin.YandexMusic_1.0.0.12.zip rename to dist/Jellyfin.Plugin.YandexMusic_1.0.0.13.zip index b664a6c..5f5e436 100644 Binary files a/dist/Jellyfin.Plugin.YandexMusic_1.0.0.12.zip and b/dist/Jellyfin.Plugin.YandexMusic_1.0.0.13.zip differ diff --git a/dist/manifest.json b/dist/manifest.json index 51a2e66..09ad15e 100644 --- a/dist/manifest.json +++ b/dist/manifest.json @@ -9,12 +9,12 @@ "imageUrl": "", "versions": [ { - "version": "1.0.0.12", - "changelog": "Add genre normalization and an organize-into-albums task using hard links.", + "version": "1.0.0.13", + "changelog": "Use Yandex-supported 1000x1000 cover size so artist and album images save.", "targetAbi": "12.4.0.0", - "sourceUrl": "https://git.midns.ru/1xDed/jellyfin-plugin-yandexmusic/raw/branch/main/dist/Jellyfin.Plugin.YandexMusic_1.0.0.12.zip", - "checksum": "623c057061dec58cc175978180f57636", - "timestamp": "2026-12-01T00:12:27Z" + "sourceUrl": "https://git.midns.ru/1xDed/jellyfin-plugin-yandexmusic/raw/branch/main/dist/Jellyfin.Plugin.YandexMusic_1.0.0.13.zip", + "checksum": "5708bd25240fc497789418e28b541c98", + "timestamp": "2026-12-02T17:58:36Z" } ] } diff --git a/scripts/package.sh b/scripts/package.sh index 022b43f..7914fb0 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -3,7 +3,7 @@ set -euo pipefail cd "$(dirname "$0")/.." -VERSION="1.0.0.12" +VERSION="1.0.0.13" NAME="Jellyfin.Plugin.YandexMusic" PUBLISH_DIR="publish" ARTIFACTS_DIR="${ARTIFACTS_DIR:-artifacts}"