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:
178
Jellyfin.Plugin.Floatplane.Tests/Fixtures/content-post.json
Normal file
178
Jellyfin.Plugin.Floatplane.Tests/Fixtures/content-post.json
Normal file
@@ -0,0 +1,178 @@
|
||||
{
|
||||
"id": "SSvhppI28t",
|
||||
"guid": "SSvhppI28t",
|
||||
"title": "How Board Games Come ALIVE...- Board",
|
||||
"text": "<p>Sample <b>description</b>.<br/>Line two</p>",
|
||||
"textMarkdown": "Sample description.\n\nLine two",
|
||||
"type": "blogPost",
|
||||
"channel": {
|
||||
"id": "64135da7ce81077a8480c679",
|
||||
"creator": "59f94c0bdd241b70349eb72b",
|
||||
"title": "ShortCircuit",
|
||||
"urlname": "shortcircuit",
|
||||
"about": "What's in the box? Let's find out!\n\nOfficial channel under Linus Media Group.",
|
||||
"order": 2,
|
||||
"cover": null,
|
||||
"card": null,
|
||||
"icon": {
|
||||
"width": 88,
|
||||
"height": 88,
|
||||
"path": "https://pbs.floatplane.com/creator_icons/59f94c0bdd241b70349eb72b/64135da7ce81077a8480c679/470304051261927_1678990806883.jpeg",
|
||||
"childImages": []
|
||||
}
|
||||
},
|
||||
"tags": [],
|
||||
"attachmentOrder": [
|
||||
"dcm2jUIg1J"
|
||||
],
|
||||
"releaseDate": "2026-10-24T18:24:00.036Z",
|
||||
"likes": 59,
|
||||
"dislikes": 0,
|
||||
"score": 59,
|
||||
"comments": 6,
|
||||
"creator": {
|
||||
"id": "59f94c0bdd241b70349eb72b",
|
||||
"title": "LinusTechTips",
|
||||
"urlname": "linustechtips"
|
||||
},
|
||||
"wasReleasedSilently": false,
|
||||
"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
|
||||
},
|
||||
"galleryAttachments": [],
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"isAccessible": true,
|
||||
"userInteraction": [],
|
||||
"videoAttachments": [
|
||||
{
|
||||
"id": "dcm2jUIg1J",
|
||||
"guid": "dcm2jUIg1J",
|
||||
"title": "How Board Games Come ALIVE...- Board",
|
||||
"type": "video",
|
||||
"description": "",
|
||||
"releaseDate": null,
|
||||
"duration": 1104,
|
||||
"creator": "59f94c0bdd241b70349eb72b",
|
||||
"likes": 0,
|
||||
"dislikes": 0,
|
||||
"score": 0,
|
||||
"isProcessing": false,
|
||||
"primaryBlogPost": "SSvhppI28t",
|
||||
"levels": [
|
||||
{
|
||||
"name": "360",
|
||||
"width": 640,
|
||||
"height": 360,
|
||||
"label": "360p",
|
||||
"order": 0
|
||||
},
|
||||
{
|
||||
"name": "480",
|
||||
"width": 854,
|
||||
"height": 480,
|
||||
"label": "480p",
|
||||
"order": 1
|
||||
},
|
||||
{
|
||||
"name": "720",
|
||||
"width": 1280,
|
||||
"height": 720,
|
||||
"label": "720p",
|
||||
"order": 2
|
||||
},
|
||||
{
|
||||
"name": "1080",
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"label": "1080p",
|
||||
"order": 4
|
||||
},
|
||||
{
|
||||
"name": "2160",
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"label": "4K",
|
||||
"order": 7
|
||||
}
|
||||
],
|
||||
"textTracks": [
|
||||
{
|
||||
"id": "6ada6d154381946fe2d43c87",
|
||||
"src": "https://example.invalid/text_tracks/sample.vtt?X-Amz-Expires=900",
|
||||
"kind": "captions",
|
||||
"language": "en",
|
||||
"generated": true,
|
||||
"processing": false
|
||||
}
|
||||
],
|
||||
"selfUserInteraction": null,
|
||||
"thumbnail": {
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"path": "https://pbs.floatplane.com/content_thumbnails/dcm2jUIg1J/752255832334873_1792699752579.jpeg",
|
||||
"childImages": [
|
||||
{
|
||||
"width": 400,
|
||||
"height": 225,
|
||||
"path": "https://pbs.floatplane.com/content_thumbnails/dcm2jUIg1J/752255832334873_1792699752579_400x225.jpeg"
|
||||
},
|
||||
{
|
||||
"width": 1200,
|
||||
"height": 675,
|
||||
"path": "https://pbs.floatplane.com/content_thumbnails/dcm2jUIg1J/752255832334873_1792699752579_1200x675.jpeg"
|
||||
},
|
||||
{
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"path": "https://pbs.floatplane.com/content_thumbnails/dcm2jUIg1J/752255832334873_1792699752579_1920x1080.jpeg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"isAccessible": true,
|
||||
"blogPosts": [
|
||||
"SSvhppI28t"
|
||||
],
|
||||
"timelineSprite": {
|
||||
"width": 3840,
|
||||
"height": 2070,
|
||||
"path": "https://pbs.floatplane.com/timeline_sprite/dcm2jUIg1J/435111749793880_1792700514012.jpeg",
|
||||
"childImages": []
|
||||
}
|
||||
}
|
||||
],
|
||||
"audioAttachments": [],
|
||||
"pictureAttachments": []
|
||||
}
|
||||
Reference in New Issue
Block a user