mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-26 16:30:57 +01:00
fix(plex-integration): unknown badge shown for added tv-shows (#4032)
This commit is contained in:
@@ -265,7 +265,9 @@ const mapType = (type: string): "movie" | "tv" | "unknown" => {
|
||||
switch (type) {
|
||||
case "movie":
|
||||
return "movie";
|
||||
case "tv":
|
||||
case "show":
|
||||
case "season":
|
||||
case "episode":
|
||||
return "tv";
|
||||
default:
|
||||
return "unknown";
|
||||
|
||||
Reference in New Issue
Block a user