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:
179
Jellyfin.Plugin.Floatplane.Tests/Fixtures/delivery-info.json
Normal file
179
Jellyfin.Plugin.Floatplane.Tests/Fixtures/delivery-info.json
Normal file
@@ -0,0 +1,179 @@
|
||||
{
|
||||
"groups": [
|
||||
{
|
||||
"origins": [
|
||||
{
|
||||
"url": "https://cdn-vod-drm2.floatplane.com"
|
||||
}
|
||||
],
|
||||
"variants": [
|
||||
{
|
||||
"name": "360-avc1",
|
||||
"label": "360p",
|
||||
"url": "/Videos/dcm2jUIg1J/360.mp4/chunk.m3u8?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXNvdXJjZVBhdGgiOiAiL1ZpZGVvcy9kY20yalVJZzFKLzM2MC5tcDQvY2h1bmsubTN1OCIsICJ1c2VySWQiOiAiMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwIiwgImlhdCI6IDE3OTI5MTM2OTYsICJleHAiOiAxNzkyOTM1Mjk2fQ.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
||||
"mimeType": "application/x-mpegURL",
|
||||
"order": 12392640,
|
||||
"hidden": false,
|
||||
"enabled": true,
|
||||
"meta": {
|
||||
"video": {
|
||||
"codec": "avc1.64001e",
|
||||
"codecSimple": "avc1",
|
||||
"bitrate": {
|
||||
"average": 277557
|
||||
},
|
||||
"width": 640,
|
||||
"height": 360,
|
||||
"isHdr": false,
|
||||
"fps": 29.97,
|
||||
"mimeType": "video/MP2T"
|
||||
},
|
||||
"audio": {
|
||||
"codec": "mp4a.40.2",
|
||||
"bitrate": {
|
||||
"average": 151115
|
||||
},
|
||||
"channelCount": 2,
|
||||
"samplerate": 48000,
|
||||
"mimeType": "video/MP2T"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "480-avc1",
|
||||
"label": "480p",
|
||||
"url": "/Videos/dcm2jUIg1J/480.mp4/chunk.m3u8?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXNvdXJjZVBhdGgiOiAiL1ZpZGVvcy9kY20yalVJZzFKLzQ4MC5tcDQvY2h1bmsubTN1OCIsICJ1c2VySWQiOiAiMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwIiwgImlhdCI6IDE3OTI5MTM2OTYsICJleHAiOiAxNzkyOTM1Mjk2fQ.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
||||
"mimeType": "application/x-mpegURL",
|
||||
"order": 22091968,
|
||||
"hidden": false,
|
||||
"enabled": true,
|
||||
"meta": {
|
||||
"video": {
|
||||
"codec": "avc1.64001f",
|
||||
"codecSimple": "avc1",
|
||||
"bitrate": {
|
||||
"average": 431060
|
||||
},
|
||||
"width": 854,
|
||||
"height": 480,
|
||||
"isHdr": false,
|
||||
"fps": 29.97,
|
||||
"mimeType": "video/MP2T"
|
||||
},
|
||||
"audio": {
|
||||
"codec": "mp4a.40.2",
|
||||
"bitrate": {
|
||||
"average": 151115
|
||||
},
|
||||
"channelCount": 2,
|
||||
"samplerate": 48000,
|
||||
"mimeType": "video/MP2T"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "720-avc1",
|
||||
"label": "720p",
|
||||
"url": "/Videos/dcm2jUIg1J/720.mp4/chunk.m3u8?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXNvdXJjZVBhdGgiOiAiL1ZpZGVvcy9kY20yalVJZzFKLzcyMC5tcDQvY2h1bmsubTN1OCIsICJ1c2VySWQiOiAiMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwIiwgImlhdCI6IDE3OTI5MTM2OTYsICJleHAiOiAxNzkyOTM1Mjk2fQ.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
||||
"mimeType": "application/x-mpegURL",
|
||||
"order": 49617088,
|
||||
"hidden": false,
|
||||
"enabled": true,
|
||||
"meta": {
|
||||
"video": {
|
||||
"codec": "avc1.64001f",
|
||||
"codecSimple": "avc1",
|
||||
"bitrate": {
|
||||
"average": 812585
|
||||
},
|
||||
"width": 1280,
|
||||
"height": 720,
|
||||
"isHdr": false,
|
||||
"fps": 29.97,
|
||||
"mimeType": "video/MP2T"
|
||||
},
|
||||
"audio": {
|
||||
"codec": "mp4a.40.2",
|
||||
"bitrate": {
|
||||
"average": 151115
|
||||
},
|
||||
"channelCount": 2,
|
||||
"samplerate": 48000,
|
||||
"mimeType": "video/MP2T"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "1080-avc1",
|
||||
"label": "1080p",
|
||||
"url": "/Videos/dcm2jUIg1J/1080.mp4/chunk.m3u8?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXNvdXJjZVBhdGgiOiAiL1ZpZGVvcy9kY20yalVJZzFKLzEwODAubXA0L2NodW5rLm0zdTgiLCAidXNlcklkIjogIjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMCIsICJpYXQiOiAxNzkyOTEzNjk2LCAiZXhwIjogMTc5MjkzNTI5Nn0.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
||||
"mimeType": "application/x-mpegURL",
|
||||
"order": 111745216,
|
||||
"hidden": false,
|
||||
"enabled": true,
|
||||
"meta": {
|
||||
"video": {
|
||||
"codec": "avc1.640028",
|
||||
"codecSimple": "avc1",
|
||||
"bitrate": {
|
||||
"average": 1661360
|
||||
},
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"isHdr": false,
|
||||
"fps": 29.97,
|
||||
"mimeType": "video/MP2T"
|
||||
},
|
||||
"audio": {
|
||||
"codec": "mp4a.40.2",
|
||||
"bitrate": {
|
||||
"average": 151115
|
||||
},
|
||||
"channelCount": 2,
|
||||
"samplerate": 48000,
|
||||
"mimeType": "video/MP2T"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "2160-avc1",
|
||||
"label": "4K",
|
||||
"url": "",
|
||||
"mimeType": "application/x-mpegURL",
|
||||
"order": 447027392,
|
||||
"hidden": false,
|
||||
"enabled": false,
|
||||
"meta": {
|
||||
"common": {
|
||||
"access": {
|
||||
"deniedReason": "isMissingPermission",
|
||||
"deniedMessage": "You lack permission to access this media."
|
||||
}
|
||||
},
|
||||
"video": {
|
||||
"codec": "avc1.640033",
|
||||
"codecSimple": "avc1",
|
||||
"bitrate": {
|
||||
"average": 7393319
|
||||
},
|
||||
"width": 3840,
|
||||
"height": 2160,
|
||||
"isHdr": false,
|
||||
"fps": 29.97,
|
||||
"mimeType": "video/MP2T"
|
||||
},
|
||||
"audio": {
|
||||
"codec": "mp4a.40.2",
|
||||
"bitrate": {
|
||||
"average": 151115
|
||||
},
|
||||
"channelCount": 2,
|
||||
"samplerate": 48000,
|
||||
"mimeType": "video/MP2T"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user