@basmilius/apple-sdk 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +2 -4
- package/package.json +7 -7
package/dist/index.mjs
CHANGED
|
@@ -861,8 +861,7 @@ var AirPlayArtwork = class {
|
|
|
861
861
|
height: 0
|
|
862
862
|
});
|
|
863
863
|
if (identifier) try {
|
|
864
|
-
|
|
865
|
-
await this.#protocol.dataStream.exchange(DataStreamMessage.playbackQueueRequest(location, 1, width, height < 0 ? 400 : height));
|
|
864
|
+
await this.#protocol.dataStream.exchange(DataStreamMessage.playbackQueueRequest(0, 1, width, height < 0 ? 400 : height));
|
|
866
865
|
const fetchedData = player.currentItemArtwork;
|
|
867
866
|
if (fetchedData && fetchedData.byteLength > 0) {
|
|
868
867
|
const metadata = player.currentItemMetadata;
|
|
@@ -3301,8 +3300,7 @@ var AirPlayManager = class extends EventEmitter {
|
|
|
3301
3300
|
* @param length - Maximum number of queue items to retrieve.
|
|
3302
3301
|
*/
|
|
3303
3302
|
async requestPlaybackQueue(length) {
|
|
3304
|
-
|
|
3305
|
-
await this.#protocol.dataStream.exchange(DataStreamMessage.playbackQueueRequest(location, length));
|
|
3303
|
+
await this.#protocol.dataStream.exchange(DataStreamMessage.playbackQueueRequest(0, length));
|
|
3306
3304
|
}
|
|
3307
3305
|
/**
|
|
3308
3306
|
* Sends a raw MRP command to the device via the DataStream.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basmilius/apple-sdk",
|
|
3
3
|
"description": "High-level SDK for controlling Apple devices (Apple TV, HomePod) via AirPlay and Companion Link.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.12.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": {
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@basmilius/apple-airplay": "0.
|
|
50
|
-
"@basmilius/apple-audio-source": "0.
|
|
51
|
-
"@basmilius/apple-common": "0.
|
|
52
|
-
"@basmilius/apple-companion-link": "0.
|
|
53
|
-
"@basmilius/apple-encoding": "0.
|
|
54
|
-
"@basmilius/apple-raop": "0.
|
|
49
|
+
"@basmilius/apple-airplay": "0.12.0",
|
|
50
|
+
"@basmilius/apple-audio-source": "0.12.0",
|
|
51
|
+
"@basmilius/apple-common": "0.12.0",
|
|
52
|
+
"@basmilius/apple-companion-link": "0.12.0",
|
|
53
|
+
"@basmilius/apple-encoding": "0.12.0",
|
|
54
|
+
"@basmilius/apple-raop": "0.12.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/bun": "^1.3.11",
|