0.2.65 - End Credits wiring / Gateway: 0.1.45 - Credits
This commit is contained in:
@@ -51,6 +51,10 @@ func run(itemID string) error {
|
||||
cfg.EmbyURL, cfg.EmbyPublicURL, cfg.ClientName, cfg.GatewayClientName,
|
||||
cfg.UpstreamTimeout,
|
||||
)
|
||||
// The bench measures the path the service actually takes, so it must read bytes from the
|
||||
// same address the service reads them from. Benchmarking the public route and deploying
|
||||
// the internal one would report a number belonging to neither.
|
||||
embyClient.SetMediaURL(cfg.EmbyMediaURL)
|
||||
resolver := credits.NewEmbyResolver(embyClient, emby.Credentials{
|
||||
UserID: cfg.SyncUserID, Token: cfg.SyncAPIKey,
|
||||
DeviceID: "memby-credits-bench", DeviceName: "MbyGateway Credits", Gateway: true,
|
||||
|
||||
Reference in New Issue
Block a user