This commit is contained in:
ponzischeme89
2026-08-27 07:31:57 +12:00
parent 394a6d9b57
commit b0b8990f90
24 changed files with 388 additions and 477 deletions
+4
View File
@@ -157,6 +157,10 @@ func (e *APIError) Error() string {
return fmt.Sprintf("emby: status %d: %s", e.StatusCode, e.Body)
}
// DefaultClientName is the television identity Memby reports to Emby. It is a wire identity,
// not the product name, and every path that creates or refreshes an Emby session must agree.
const DefaultClientName = "MbyATV"
// DefaultGatewayClientName is what Emby records for a request the gateway makes for
// itself. It is deliberately not the product name: this travels to whatever Emby does
// with its own logs, and it must never read as one of the household's televisions.