mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-22 01:43:29 +01:00
sonos presentation xml image map for image resizing
This commit is contained in:
@@ -4,9 +4,11 @@ import { parse } from "node-html-parser";
|
||||
import { MusicService } from "@svrooij/sonos/lib/services";
|
||||
import { head } from "underscore";
|
||||
import logger from "./logger";
|
||||
import STRINGS from "./strings";
|
||||
import { SOAP_PATH, STRINGS_ROUTE, PRESENTATION_MAP_ROUTE } from "./smapi";
|
||||
|
||||
export const STRINGS_VERSION = "2";
|
||||
export const PRESENTATION_MAP_VERSION = "7";
|
||||
|
||||
export type Device = {
|
||||
name: string;
|
||||
group: string;
|
||||
@@ -40,11 +42,11 @@ export const bonobService = (
|
||||
secureUri: `${stripTailingSlash(bonobRoot)}${SOAP_PATH}`,
|
||||
strings: {
|
||||
uri: `${stripTailingSlash(bonobRoot)}${STRINGS_ROUTE}`,
|
||||
version: STRINGS.version,
|
||||
version: STRINGS_VERSION,
|
||||
},
|
||||
presentation: {
|
||||
uri: `${stripTailingSlash(bonobRoot)}${PRESENTATION_MAP_ROUTE}`,
|
||||
version: "1",
|
||||
version: PRESENTATION_MAP_VERSION,
|
||||
},
|
||||
pollInterval: 1200,
|
||||
authType,
|
||||
|
||||
Reference in New Issue
Block a user