Compare commits

...

3 Commits

Author SHA1 Message Date
Gitea Actions
873e531599 Update manifest.json for version 1.0.16 2026-01-17 20:31:09 +00:00
5c898a98f5 Use place holders for channel titles
All checks were successful
🏗️ Build Plugin / build (push) Successful in 2m56s
🧪 Test Plugin / test (push) Successful in 1m25s
🚀 Release Plugin / build-and-release (push) Successful in 2m51s
2026-01-17 21:23:50 +01:00
Gitea Actions
c282a98377 Update manifest.json for version 1.0.15 2026-01-17 09:54:39 +00:00
2 changed files with 21 additions and 3 deletions

View File

@ -200,7 +200,9 @@ public class SRFPlayChannel : IChannel, IHasCacheKey
continue; continue;
} }
items.Add(CreateFolder($"category_{topic.Id}", topic.Title ?? topic.Id!, topic.Lead)); // Generate placeholder image for topic
var placeholderUrl = CreatePlaceholderImageUrl(topic.Title ?? topic.Id!, _mediaSourceFactory.GetServerBaseUrl());
items.Add(CreateFolder($"category_{topic.Id}", topic.Title ?? topic.Id!, topic.Lead, placeholderUrl));
} }
_logger.LogInformation("Added {Count} category folders", topics.Count); _logger.LogInformation("Added {Count} category folders", topics.Count);
@ -214,7 +216,7 @@ public class SRFPlayChannel : IChannel, IHasCacheKey
return items; return items;
} }
private static ChannelItemInfo CreateFolder(string id, string name, string? overview = null) private static ChannelItemInfo CreateFolder(string id, string name, string? overview = null, string? imageUrl = null)
{ {
return new ChannelItemInfo return new ChannelItemInfo
{ {
@ -222,7 +224,7 @@ public class SRFPlayChannel : IChannel, IHasCacheKey
Name = name, Name = name,
Type = ChannelItemType.Folder, Type = ChannelItemType.Folder,
FolderType = ChannelFolderType.Container, FolderType = ChannelFolderType.Container,
ImageUrl = null, ImageUrl = imageUrl,
Overview = overview Overview = overview
}; };
} }

View File

@ -8,6 +8,22 @@
"category": "Live TV", "category": "Live TV",
"imageUrl": "https://gitea.tourolle.paris/dtourolle/jellyfin-srfPlay/raw/branch/master/assests/main%20logo.png", "imageUrl": "https://gitea.tourolle.paris/dtourolle/jellyfin-srfPlay/raw/branch/master/assests/main%20logo.png",
"versions": [ "versions": [
{
"version": "1.0.16",
"changelog": "Release 1.0.16",
"targetAbi": "10.9.0.0",
"sourceUrl": "https://gitea.tourolle.paris/dtourolle/jellyfin-srfPlay/releases/download/v1.0.16/srfplay_1.0.16.0.zip",
"checksum": "0b3a142dd6cea1f00855bcb11bcd847c",
"timestamp": "2026-01-17T20:31:09Z"
},
{
"version": "1.0.15",
"changelog": "Release 1.0.15",
"targetAbi": "10.9.0.0",
"sourceUrl": "https://gitea.tourolle.paris/dtourolle/jellyfin-srfPlay/releases/download/v1.0.15/srfplay_1.0.15.0.zip",
"checksum": "3140ef53a7460d7ce52daf48bbb37e4d",
"timestamp": "2026-01-17T09:54:39Z"
},
{ {
"version": "1.0.14", "version": "1.0.14",
"changelog": "Release 1.0.14", "changelog": "Release 1.0.14",