Tests: xUnit project with HAR fixtures (50 tests); fix relative delivery/HLS URLs resolving to file:// on Linux
All checks were successful
release / build-release (push) Successful in 1m19s
All checks were successful
release / build-release (push) Successful in 1m19s
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
369
Jellyfin.Plugin.Floatplane.Tests/Fixtures/content-creator.json
Normal file
369
Jellyfin.Plugin.Floatplane.Tests/Fixtures/content-creator.json
Normal file
@@ -0,0 +1,369 @@
|
||||
[
|
||||
{
|
||||
"id": "SSvhppI28t",
|
||||
"guid": "SSvhppI28t",
|
||||
"title": "How Board Games Come ALIVE...- Board",
|
||||
"text": "<p>Sample description.</p>",
|
||||
"textMarkdown": "Sample description.",
|
||||
"type": "blogPost",
|
||||
"tags": [],
|
||||
"releaseDate": "2026-10-24T18:24:00.036Z",
|
||||
"likes": 59,
|
||||
"dislikes": 0,
|
||||
"score": 59,
|
||||
"comments": 6,
|
||||
"isAccessible": true,
|
||||
"metadata": {
|
||||
"hasVideo": true,
|
||||
"videoCount": 1,
|
||||
"videoDuration": 1104,
|
||||
"hasAudio": false,
|
||||
"audioCount": 0,
|
||||
"audioDuration": 0,
|
||||
"hasPicture": false,
|
||||
"pictureCount": 0,
|
||||
"isFeatured": false,
|
||||
"displayDuration": 1104,
|
||||
"hasGallery": false,
|
||||
"galleryCount": 0
|
||||
},
|
||||
"selfUserInteraction": null,
|
||||
"thumbnail": {
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"path": "https://pbs.floatplane.com/video_thumbnails/SSvhppI28t/385027366862101_1792699537143.jpeg",
|
||||
"childImages": [
|
||||
{
|
||||
"width": 400,
|
||||
"height": 225,
|
||||
"path": "https://pbs.floatplane.com/video_thumbnails/SSvhppI28t/385027366862101_1792699537143_400x225.jpeg"
|
||||
},
|
||||
{
|
||||
"width": 1200,
|
||||
"height": 675,
|
||||
"path": "https://pbs.floatplane.com/video_thumbnails/SSvhppI28t/385027366862101_1792699537143_1200x675.jpeg"
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"path": "https://pbs.floatplane.com/video_thumbnails/SSvhppI28t/385027366862101_1792699537143_1920x1080.jpeg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"creator": {
|
||||
"id": "59f94c0bdd241b70349eb72b",
|
||||
"title": "LinusTechTips",
|
||||
"urlname": "linustechtips"
|
||||
},
|
||||
"channel": {
|
||||
"id": "64135da7ce81077a8480c679",
|
||||
"title": "ShortCircuit",
|
||||
"urlname": "shortcircuit",
|
||||
"about": "What's in the box? Let's find out!\n\nOfficial channel under Linus Media Group.",
|
||||
"icon": {
|
||||
"width": 88,
|
||||
"height": 88,
|
||||
"path": "https://pbs.floatplane.com/creator_icons/59f94c0bdd241b70349eb72b/64135da7ce81077a8480c679/470304051261927_1678990806883.jpeg",
|
||||
"childImages": []
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "xvpzv1kwk5",
|
||||
"guid": "xvpzv1kwk5",
|
||||
"title": "dbrand Forced me to do This Review - iPhone 18 Pro Review",
|
||||
"text": "<p>Sample description.</p>",
|
||||
"textMarkdown": "Sample description.",
|
||||
"type": "blogPost",
|
||||
"tags": [],
|
||||
"releaseDate": "2026-10-24T16:33:00.032Z",
|
||||
"likes": 158,
|
||||
"dislikes": 2,
|
||||
"score": 156,
|
||||
"comments": 14,
|
||||
"isAccessible": true,
|
||||
"metadata": {
|
||||
"hasVideo": true,
|
||||
"videoCount": 1,
|
||||
"videoDuration": 851,
|
||||
"hasAudio": false,
|
||||
"audioCount": 0,
|
||||
"audioDuration": 0,
|
||||
"hasPicture": false,
|
||||
"pictureCount": 0,
|
||||
"isFeatured": false,
|
||||
"displayDuration": 851,
|
||||
"hasGallery": false,
|
||||
"galleryCount": 0
|
||||
},
|
||||
"selfUserInteraction": null,
|
||||
"thumbnail": {
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"path": "https://pbs.floatplane.com/video_thumbnails/xvpzv1kwk5/583713206563780_1792800426306.jpeg",
|
||||
"childImages": [
|
||||
{
|
||||
"width": 400,
|
||||
"height": 225,
|
||||
"path": "https://pbs.floatplane.com/video_thumbnails/xvpzv1kwk5/583713206563780_1792800426306_400x225.jpeg"
|
||||
},
|
||||
{
|
||||
"width": 1200,
|
||||
"height": 675,
|
||||
"path": "https://pbs.floatplane.com/video_thumbnails/xvpzv1kwk5/583713206563780_1792800426306_1200x675.jpeg"
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"path": "https://pbs.floatplane.com/video_thumbnails/xvpzv1kwk5/583713206563780_1792800426306_1920x1080.jpeg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"creator": {
|
||||
"id": "59f94c0bdd241b70349eb72b",
|
||||
"title": "LinusTechTips",
|
||||
"urlname": "linustechtips"
|
||||
},
|
||||
"channel": {
|
||||
"id": "63fe42c309e691e4e36de93d",
|
||||
"title": "Linus Tech Tips",
|
||||
"urlname": "main",
|
||||
"about": "# We're LinusTechTips\nWe make videos and stuff, cool eh?",
|
||||
"icon": {
|
||||
"width": 600,
|
||||
"height": 600,
|
||||
"path": "https://pbs.floatplane.com/creator_icons/59f94c0bdd241b70349eb72b/770551996990709_1551249357205.jpeg",
|
||||
"childImages": [
|
||||
{
|
||||
"width": 250,
|
||||
"height": 250,
|
||||
"path": "https://pbs.floatplane.com/creator_icons/59f94c0bdd241b70349eb72b/770551996990709_1551249357205_250x250.jpeg"
|
||||
},
|
||||
{
|
||||
"width": 100,
|
||||
"height": 100,
|
||||
"path": "https://pbs.floatplane.com/creator_icons/59f94c0bdd241b70349eb72b/770551996990709_1551249357205_100x100.jpeg"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "uRa7Ckprjr",
|
||||
"guid": "uRa7Ckprjr",
|
||||
"title": "Livestream VOD \u2013 October 24, 2026 @ 00:52 \u2013 Most Of The Internet Needs To Be Fixed - WAN Show October 23, 2026",
|
||||
"text": "<p>Sample description.</p>",
|
||||
"textMarkdown": "Sample description.",
|
||||
"type": "blogPost",
|
||||
"tags": [],
|
||||
"releaseDate": "2026-10-24T04:47:00.031Z",
|
||||
"likes": 130,
|
||||
"dislikes": 1,
|
||||
"score": 129,
|
||||
"comments": 29,
|
||||
"isAccessible": true,
|
||||
"metadata": {
|
||||
"hasVideo": true,
|
||||
"videoCount": 1,
|
||||
"videoDuration": 11962,
|
||||
"hasAudio": false,
|
||||
"audioCount": 0,
|
||||
"audioDuration": 0,
|
||||
"hasPicture": false,
|
||||
"pictureCount": 0,
|
||||
"isFeatured": false,
|
||||
"displayDuration": 11962,
|
||||
"hasGallery": false,
|
||||
"galleryCount": 0
|
||||
},
|
||||
"selfUserInteraction": null,
|
||||
"thumbnail": {
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"path": "https://pbs.floatplane.com/stream_thumbnails/5c13f3c006f1be15e08e05c0/635074788591006_1792802818282.jpeg",
|
||||
"childImages": [
|
||||
{
|
||||
"width": 400,
|
||||
"height": 225,
|
||||
"path": "https://pbs.floatplane.com/stream_thumbnails/5c13f3c006f1be15e08e05c0/635074788591006_1792802818282_400x225.jpeg"
|
||||
},
|
||||
{
|
||||
"width": 1200,
|
||||
"height": 675,
|
||||
"path": "https://pbs.floatplane.com/stream_thumbnails/5c13f3c006f1be15e08e05c0/635074788591006_1792802818282_1200x675.jpeg"
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"path": "https://pbs.floatplane.com/stream_thumbnails/5c13f3c006f1be15e08e05c0/635074788591006_1792802818282_1920x1080.jpeg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"creator": {
|
||||
"id": "59f94c0bdd241b70349eb72b",
|
||||
"title": "LinusTechTips",
|
||||
"urlname": "linustechtips"
|
||||
},
|
||||
"channel": {
|
||||
"id": "63fe42c309e691e4e36de93d",
|
||||
"title": "Linus Tech Tips",
|
||||
"urlname": "main",
|
||||
"about": "# We're LinusTechTips\nWe make videos and stuff, cool eh?",
|
||||
"icon": {
|
||||
"width": 600,
|
||||
"height": 600,
|
||||
"path": "https://pbs.floatplane.com/creator_icons/59f94c0bdd241b70349eb72b/770551996990709_1551249357205.jpeg",
|
||||
"childImages": [
|
||||
{
|
||||
"width": 250,
|
||||
"height": 250,
|
||||
"path": "https://pbs.floatplane.com/creator_icons/59f94c0bdd241b70349eb72b/770551996990709_1551249357205_250x250.jpeg"
|
||||
},
|
||||
{
|
||||
"width": 100,
|
||||
"height": 100,
|
||||
"path": "https://pbs.floatplane.com/creator_icons/59f94c0bdd241b70349eb72b/770551996990709_1551249357205_100x100.jpeg"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "0OuJLfU1mB",
|
||||
"guid": "0OuJLfU1mB",
|
||||
"title": "iPhone Duo Screens Crack, Spotify Requires Family Plan QR Scans, Meta Fined $25B in New Mexico + more! - TechLinked October 23, 2026",
|
||||
"text": "<p>Sample description.</p>",
|
||||
"textMarkdown": "Sample description.",
|
||||
"type": "blogPost",
|
||||
"tags": [],
|
||||
"releaseDate": "2026-10-24T01:52:00.037Z",
|
||||
"likes": 115,
|
||||
"dislikes": 0,
|
||||
"score": 115,
|
||||
"comments": 11,
|
||||
"isAccessible": true,
|
||||
"metadata": {
|
||||
"hasVideo": true,
|
||||
"videoCount": 1,
|
||||
"videoDuration": 635,
|
||||
"hasAudio": false,
|
||||
"audioCount": 0,
|
||||
"audioDuration": 0,
|
||||
"hasPicture": false,
|
||||
"pictureCount": 0,
|
||||
"isFeatured": false,
|
||||
"displayDuration": 635,
|
||||
"hasGallery": false,
|
||||
"galleryCount": 0
|
||||
},
|
||||
"selfUserInteraction": null,
|
||||
"thumbnail": {
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"path": "https://pbs.floatplane.com/video_thumbnails/0OuJLfU1mB/286127749764266_1792801117776.jpeg",
|
||||
"childImages": [
|
||||
{
|
||||
"width": 400,
|
||||
"height": 225,
|
||||
"path": "https://pbs.floatplane.com/video_thumbnails/0OuJLfU1mB/286127749764266_1792801117776_400x225.jpeg"
|
||||
},
|
||||
{
|
||||
"width": 1200,
|
||||
"height": 675,
|
||||
"path": "https://pbs.floatplane.com/video_thumbnails/0OuJLfU1mB/286127749764266_1792801117776_1200x675.jpeg"
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"path": "https://pbs.floatplane.com/video_thumbnails/0OuJLfU1mB/286127749764266_1792801117776_1920x1080.jpeg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"creator": {
|
||||
"id": "59f94c0bdd241b70349eb72b",
|
||||
"title": "LinusTechTips",
|
||||
"urlname": "linustechtips"
|
||||
},
|
||||
"channel": {
|
||||
"id": "6413534d88c13c181c3e2809",
|
||||
"title": "TechLinked",
|
||||
"urlname": "techlinked",
|
||||
"about": "News about tech + gaming culture, delivered thrice weekly.\n\nWe're also doing long-form video essays now, apparently. \n\nThe TalkLinked talk show/podcast will probably come back at some point, too!\n\nWriters: Riley Murdock, Jon Martin, James Strieb",
|
||||
"icon": {
|
||||
"width": 88,
|
||||
"height": 88,
|
||||
"path": "https://pbs.floatplane.com/creator_icons/59f94c0bdd241b70349eb72b/6413534d88c13c181c3e2809/955526950207988_1678988110287.jpeg",
|
||||
"childImages": []
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "nHOQZN21qW",
|
||||
"guid": "nHOQZN21qW",
|
||||
"title": "How Do Foldable Phones Fold?",
|
||||
"text": "<p>Sample description.</p>",
|
||||
"textMarkdown": "Sample description.",
|
||||
"type": "blogPost",
|
||||
"tags": [],
|
||||
"releaseDate": "2026-10-23T19:07:00.031Z",
|
||||
"likes": 109,
|
||||
"dislikes": 2,
|
||||
"score": 107,
|
||||
"comments": 7,
|
||||
"isAccessible": true,
|
||||
"metadata": {
|
||||
"hasVideo": true,
|
||||
"videoCount": 1,
|
||||
"videoDuration": 400,
|
||||
"hasAudio": false,
|
||||
"audioCount": 0,
|
||||
"audioDuration": 0,
|
||||
"hasPicture": false,
|
||||
"pictureCount": 0,
|
||||
"isFeatured": false,
|
||||
"displayDuration": 400,
|
||||
"hasGallery": false,
|
||||
"galleryCount": 0
|
||||
},
|
||||
"selfUserInteraction": null,
|
||||
"thumbnail": {
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"path": "https://pbs.floatplane.com/video_thumbnails/nHOQZN21qW/639416044080263_1792184912993.jpeg",
|
||||
"childImages": [
|
||||
{
|
||||
"width": 400,
|
||||
"height": 225,
|
||||
"path": "https://pbs.floatplane.com/video_thumbnails/nHOQZN21qW/639416044080263_1792184912993_400x225.jpeg"
|
||||
},
|
||||
{
|
||||
"width": 1200,
|
||||
"height": 675,
|
||||
"path": "https://pbs.floatplane.com/video_thumbnails/nHOQZN21qW/639416044080263_1792184912993_1200x675.jpeg"
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"path": "https://pbs.floatplane.com/video_thumbnails/nHOQZN21qW/639416044080263_1792184912993_1920x1080.jpeg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"creator": {
|
||||
"id": "59f94c0bdd241b70349eb72b",
|
||||
"title": "LinusTechTips",
|
||||
"urlname": "linustechtips"
|
||||
},
|
||||
"channel": {
|
||||
"id": "64135e27c773b27ff22c97eb",
|
||||
"title": "Techquickie",
|
||||
"urlname": "techquickie",
|
||||
"about": "Ever wanted to learn more about your favorite gadgets or a trending topic in tech? \n\nWith a mix of humor, cynicism, and insight, Techquickie brings you the answers to all your tech questions every Tuesday and Friday.",
|
||||
"icon": {
|
||||
"width": 88,
|
||||
"height": 88,
|
||||
"path": "https://pbs.floatplane.com/creator_icons/59f94c0bdd241b70349eb72b/64135e27c773b27ff22c97eb/666841640245092_1678990909616.jpeg",
|
||||
"childImages": []
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user