Skip to content

Commit 895b84d

Browse files
author
JPVenson
committed
Updated to new Video repository
1 parent 76db1b9 commit 895b84d

File tree

1 file changed

+25
-23
lines changed

1 file changed

+25
-23
lines changed

Jellyfin.HardwareVisualizer/Server/Database/Configuration/MediaTestFileConfig.cs

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,55 +7,57 @@ public class MediaTestFileConfig : IEntityTypeConfiguration<MediaTestFile>
77
{
88
public void Configure(EntityTypeBuilder<MediaTestFile> modelBuilder)
99
{
10+
var sourceUrl = "";
11+
1012
modelBuilder.HasData(new MediaTestFile[]
1113
{
1214
new MediaTestFile()
1315
{
1416
Id = new Guid("E8A75E65-A3F3-4D92-A45B-84E71A13EFAB"),
15-
Name = "jellyfish-120-mbps-4k-uhd-hevc-10bit",
16-
SourceUrl = "https://repo.jellyfin.org/jellyfish/media/jellyfish-120-mbps-4k-uhd-hevc-10bit.mkv",
17-
Bitrate = 120,
18-
Size = 429,
17+
Name = "Test Jellyfin 4K HEVC 10bit 150M",
18+
SourceUrl = "https://repo.jellyfin.org/test-videos/SDR/HEVC%2010bit/Test%20Jellyfin%204K%20HEVC%2010bit%20150M.mp4",
19+
Bitrate = 150,
20+
Size = 528,
1921
VideoCodec = "HEVC",
2022
AudioCodec = "",
21-
HashSha256 = "",
22-
HashMd5 = "",
23+
HashSha256 = "08bec94467502aec0123f7a1a7f7ba11240de7ff784c1b2b3b66f2936a3e56a1",
24+
HashMd5 = "caf635e717ce87c40f751da542e18f16",
2325
},
2426
new MediaTestFile()
2527
{
2628
Id = new Guid("E1E58B15-6664-454C-868A-20442DB30557"),
27-
Name = "jellyfish-120-mbps-4k-uhd-h264",
28-
SourceUrl = "https://repo.jellyfin.org/jellyfish/media/jellyfish-120-mbps-4k-uhd-h264.mkv",
29-
Bitrate = 120,
30-
Size = 431,
29+
Name = "Test Jellyfin 4K AVC 150M.mp4",
30+
SourceUrl = "https://repo.jellyfin.org/test-videos/SDR/AVC/Test%20Jellyfin%204K%20AVC%20150M.mp4",
31+
Bitrate = 150,
32+
Size = 528,
3133
VideoCodec = "h264",
3234
AudioCodec = "",
33-
HashSha256 = "",
34-
HashMd5 = "",
35+
HashSha256 = "71b6633c593a8aab36a050db0369901640ec102caf00735a1fa7b16cbbb2aa42",
36+
HashMd5 = "75330504461b4920b51bd7e7f67096d2",
3537
},
3638
new MediaTestFile()
3739
{
3840
Id = new Guid("70DAEBE7-C9FC-4E02-A524-2FC825A49355"),
39-
Name = "jellyfish-40-mbps-hd-hevc-10bit",
40-
SourceUrl = "https://repo.jellyfin.org/jellyfish/media/jellyfish-40-mbps-hd-hevc-10bit.mkv",
41+
Name = "Test Jellyfin 4K HEVC 10bit 40M.mp4",
42+
SourceUrl = "https://repo.jellyfin.org/test-videos/SDR/HEVC%2010bit/Test%20Jellyfin%204K%20HEVC%2010bit%2040M.mp4",
4143
Bitrate = 40,
42-
Size = 143,
44+
Size = 141,
4345
VideoCodec = "HEVC",
4446
AudioCodec = "",
45-
HashSha256 = "",
46-
HashMd5 = "",
47+
HashSha256 = "738a7fb8fd951421791286a9609f03b963acd3d424420b3e58edac50ec8cf31c",
48+
HashMd5 = "8530221143ce1fc59c1be6947b82c4bd",
4749
},
4850
new MediaTestFile()
4951
{
5052
Id = new Guid("1D943D13-586D-4562-A968-EB1D0FFAE947"),
51-
Name = "jellyfish-40-mbps-hd-h264",
52-
SourceUrl = "https://repo.jellyfin.org/jellyfish/media/jellyfish-40-mbps-hd-h264.mkv",
53-
Bitrate = 40,
54-
Size = 142,
53+
Name = "Test Jellyfin 1080p AVC 30M.mp4",
54+
SourceUrl = "https://repo.jellyfin.org/test-videos/SDR/AVC/Test%20Jellyfin%201080p%20AVC%2030M.mp4",
55+
Bitrate = 30,
56+
Size = 106,
5557
VideoCodec = "h264",
5658
AudioCodec = "",
57-
HashSha256 = "",
58-
HashMd5 = "",
59+
HashSha256 = "9851037c599bb02bebfb2e77a6d88ab4d3e295542e3ad6b8f062711dae5112ec",
60+
HashMd5 = "7b0f05d66d0897bf9d5e3746a973acce",
5961
}
6062
});
6163
}

0 commit comments

Comments
 (0)