|
|
|
@ -802,6 +802,13 @@ namespace ErsatzTV.Infrastructure.Plex |
|
|
|
return guid; |
|
|
|
return guid; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (guid.StartsWith("com.plexapp.agents.imdb")) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
string strip1 = guid.Replace("com.plexapp.agents.imdb://", string.Empty); |
|
|
|
|
|
|
|
string strip2 = strip1.Split("?").Head(); |
|
|
|
|
|
|
|
return $"imdb://{strip2}"; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (guid.StartsWith("com.plexapp.agents.thetvdb")) |
|
|
|
if (guid.StartsWith("com.plexapp.agents.thetvdb")) |
|
|
|
{ |
|
|
|
{ |
|
|
|
string strip1 = guid.Replace("com.plexapp.agents.thetvdb://", string.Empty); |
|
|
|
string strip1 = guid.Replace("com.plexapp.agents.thetvdb://", string.Empty); |
|
|
|
|