Skip to content

Releases: Toxblh/samsung-tv-control

Fixed the promise in isAvailable #278

16 Jul 10:46
Compare
Choose a tag to compare

Patch KEY_EXIT

29 Mar 22:42
Compare
Choose a tag to compare

Added new key

# src/keys.ts
+ KEY_EXIT = 'KEY_EXIT',

Added getAppIcon method

19 Feb 12:32
Compare
Choose a tag to compare

Thank you @dylancom

Two new methods for get app icon

+ getAppIcon(iconPath: string, done?: (err: Error | {code: string} | null, res: WSData | string | null) => void): void;
+ getAppIconPromise(iconPath: string): Promise<WSData | null>;

Example

    // Get app icon by iconPath which you can get from getAppsFromTV
    control.getAppIcon(
      `/opt/share/webappservice/apps_icon/FirstScreen/${APPS.YouTube}/250x250.png`,
      (err, res) => {
        if (!err) {
          console.log('# Response getAppIcon', res)
        }
      }
    )

v1.11.1

14 Nov 05:26
271b3e5
Compare
Choose a tag to compare

Commits

  • [770fe2d]: small fix (Anton Palgunov)
  • [271b3e5]: 1.11.1 (Anton Palgunov)

v1.11.0

14 Nov 05:08
2b9afdc
Compare
Choose a tag to compare

Commits

  • [30c4009]: Return to each action == new WS. Hard to get async responses. (Anton Palgunov)
  • [2b9afdc]: 1.11.0 (Anton Palgunov)

v1.10.4

14 Nov 03:06
21d94f5
Compare
Choose a tag to compare

Commits

  • [fd5b0ad]: small stability fixed for getToken (Anton Palgunov)
  • [21d94f5]: 1.10.4 (Anton Palgunov)

v1.10.3

14 Nov 02:43
874336d
Compare
Choose a tag to compare

Commits

  • [fb338f4]: moved get token to the function. Get token correct works with saveToken and without. Wrote test for getToken (Anton Palgunov)
  • [874336d]: 1.10.3 (Anton Palgunov)

v1.10.1

10 Oct 18:48
3ef5b83
Compare
Choose a tag to compare

Just update dependencies

v1.10.0

14 May 12:11
Compare
Choose a tag to compare

Breaking changes

Changed isAvaliable to isAvailable
Changed result types for few endpoints

- control.isAvaliable()
+ control.isAvailable()

- public isAvaliable(): Promise<string>
+ public isAvailable(): Promise<boolean>

- public isAvailablePing(): Promise<string>
+ public isAvailablePing(): Promise<boolean>

- public turnOn(): Promise<string>
+ public turnOn(): Promise<boolean>

New API:

+ openAppByAppIdAndType(appId: string, type: number, done?)
+ openAppByAppIdAndTypePromise(appId: string, type: number)

Commits

  • [fb39b43]: Bump jquery from 3.4.1 to 3.5.0 (#26) (dependabot[bot]) #26
  • [addb1b1]: Minor spelling mistakes and promises now return booleans instead of strings (#28) (Stijn Bernards) #28
  • [1aab508]: Adds open by appId and type (#29) (Stijn Bernards) #29
  • [57f490c]: 1.10.0 (Anton Palgunov)

v1.9.1

19 Mar 11:24
Compare
Choose a tag to compare

Commits

  • [2d1193e]: added Disney+ app (#23) (Joost Boomkamp) #23
  • [b8e3424]: Bump acorn from 6.4.0 to 6.4.1 (#24) (dependabot[bot]) #24
  • [a3710cc]: updated deps (Anton Palgunov)
  • [da92083]: 1.9.1 (Anton Palgunov)