0.2.57 - Traliers bug fixes
This commit is contained in:
@@ -11,6 +11,15 @@ func TestDirectPlayVideoCodecsIncludeHEVCOnlyForCapableClient(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// Emby shows the device profile's name in its playback device list, so it carries the
|
||||
// client identity — never the product name, which is what it said before.
|
||||
func TestAndroidTVProfileReportsTheClientIdentityNotTheProductName(t *testing.T) {
|
||||
profile := androidTVDeviceProfile(PlaybackCapabilities{})
|
||||
if got := profile["Name"]; got != "MbyATV" {
|
||||
t.Fatalf("device profile name = %v, want MbyATV", got)
|
||||
}
|
||||
}
|
||||
|
||||
func TestAndroidTVProfileConstrainsCodecLevelAndResolution(t *testing.T) {
|
||||
profile := androidTVDeviceProfile(PlaybackCapabilities{
|
||||
H264Profiles: []string{"baseline", "main", "high"},
|
||||
|
||||
Reference in New Issue
Block a user