mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-10 15:26:38 +08:00
Fix Emby person image routing and search dropdown dismissal
This commit is contained in:
@@ -47,7 +47,7 @@ func TestTMDbGetPeopleAndProfileImage(t *testing.T) {
|
||||
if people[0]["Id"] != "person~tmdb~101" || people[0]["Role"] != "主角" {
|
||||
t.Fatalf("unexpected actor: %#v", people[0])
|
||||
}
|
||||
if people[0]["PrimaryImageTag"] != "tmdb:/actor.jpg" {
|
||||
if people[0]["PrimaryImageTag"] != "tmdb:/actor.jpg?p2" {
|
||||
t.Fatalf("unexpected actor image tag: %#v", people[0])
|
||||
}
|
||||
if got := provider.ProfileImageURL("/actor.jpg"); got != "https://image.example/t/p/w300/actor.jpg" {
|
||||
|
||||
Reference in New Issue
Block a user