aboutsummaryrefslogtreecommitdiff
path: root/tests/Jellyfin.Model.Tests/Test Data
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2022-04-04 05:45:45 -0600
committercrobibero <cody@robibe.ro>2022-04-07 12:54:58 -0400
commit1960b5bdce50476b500d25cc957799e501e4f61b (patch)
tree96211f87b09d9f2635c3aff6fd7bd0d30c80194a /tests/Jellyfin.Model.Tests/Test Data
parent820c75c833837a1565be5c27497dbdba018a55b9 (diff)
Merge pull request #7523 from crobibero/null-stream
Allow media without streams to playback (cherry picked from commit 577325b7888c5769c9d9c329ebd40e5f388242ad) Signed-off-by: crobibero <cody@robibe.ro>
Diffstat (limited to 'tests/Jellyfin.Model.Tests/Test Data')
-rw-r--r--tests/Jellyfin.Model.Tests/Test Data/MediaSourceInfo-no-streams.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/Jellyfin.Model.Tests/Test Data/MediaSourceInfo-no-streams.json b/tests/Jellyfin.Model.Tests/Test Data/MediaSourceInfo-no-streams.json
new file mode 100644
index 0000000000..86713e255d
--- /dev/null
+++ b/tests/Jellyfin.Model.Tests/Test Data/MediaSourceInfo-no-streams.json
@@ -0,0 +1,17 @@
+{
+ "Id": "f6eab7118618ab26e61e495a1853481a",
+ "Path": "/Media/MyVideo-WEBDL-2160p.mp4",
+ "Container": "mov,mp4,m4a,3gp,3g2,mj2",
+ "Size": 6521110016,
+ "Name": "MyVideo WEBDL-2160p",
+ "ETag": "a2fb84b618ba2467fe377543f879e9bf",
+ "RunTimeTicks": 34318510080,
+ "SupportsTranscoding": true,
+ "SupportsDirectStream": true,
+ "SupportsDirectPlay": true,
+ "SupportsProbing": true,
+ "MediaStreams": [],
+ "Bitrate": 15201382,
+ "DefaultAudioStreamIndex": null,
+ "DefaultSubtitleStreamIndex": null
+}