1.4.1 • Published 8 months ago

apple-bridge v1.4.1

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
8 months ago

Apple-Bridge

Retrieve data from Apple Services on macOS and Windows

Events

  • playing: music
  • paused: music
  • stopped: music
  • timeChange: music
  • jsFileExtensionError: music

JS File Extension Error

Only Windows

This error is thrown when the .js file association data is missing or incorrect. This is not a problem with Apple-Bridge.

Learn more

Example

import { AppleBridge } from "apple-bridge";

const bridge = new AppleBridge();

let musicStatus;

bridge.on("playing", "music", (data) => {
    console.log(data);

    musicStatus = data.playerState; // "playing"
});

bridge.on("paused", "music", (data) => {
    console.log(data);

    musicStatus = data.playerState; // "paused"
});

bridge.on("stopped", "music", (data) => {
    console.log(data);

    musicStatus = data.playerState; // "stopped"
});

Information

  • On Windows, Apple TV and Apple Music data is retrieved from iTunes.
  • On macOS, Apple TV and Apple Music data is retrieved from the respective app.
1.3.3

9 months ago

1.4.1

8 months ago

1.4.0

8 months ago

1.3.2

11 months ago

1.3.1

11 months ago

1.3.0

11 months ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.2.1

1 year ago

1.0.1-rc.3

1 year ago

1.0.1-beta.6

2 years ago

1.0.1-rc.2

1 year ago

1.0.1-beta.5

2 years ago

1.0.1-beta.9

1 year ago

1.0.1-beta.8

2 years ago

1.0.1-beta.7

2 years ago

1.0.1-rc

1 year ago

1.0.1-beta.2

2 years ago

1.0.1-beta.1

2 years ago

1.0.1-beta.4

2 years ago

1.0.1-beta.3

2 years ago

1.0.0

2 years ago