Stream custom live channels using your own media
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
468 B

namespace ErsatzTV.Core.Plex
{
public record PlexAuthPin(int Id, string Code, string ClientIdentifier)
{
public string Url
{
get
{
var clientId = $"clientID={ClientIdentifier}";
var code = $"code={Code}";
var cdp = "context%5Bdevice%5D%5Bproduct%5D=ErsatzTV";
return $"https://app.plex.tv/auth#?{clientId}&{code}&{cdp}";
}
}
}
}