react-native-audio-browser 0.2.0-next.54 → 0.2.0-next.55
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/README.md +32 -19
- package/lib/commonjs/CLAUDE.md +7 -2
- package/lib/commonjs/features/battery.js +16 -12
- package/lib/commonjs/features/battery.js.map +1 -1
- package/lib/commonjs/features/browser-config.js +1 -1
- package/lib/commonjs/features/browser.js +74 -24
- package/lib/commonjs/features/browser.js.map +1 -1
- package/lib/commonjs/features/carConnection.js +3 -4
- package/lib/commonjs/features/carConnection.js.map +1 -1
- package/lib/commonjs/features/equalizer.js +9 -5
- package/lib/commonjs/features/equalizer.js.map +1 -1
- package/lib/commonjs/features/errors.js +35 -21
- package/lib/commonjs/features/errors.js.map +1 -1
- package/lib/commonjs/features/favorites.js +15 -13
- package/lib/commonjs/features/favorites.js.map +1 -1
- package/lib/commonjs/features/gate.js +12 -6
- package/lib/commonjs/features/gate.js.map +1 -1
- package/lib/commonjs/features/metadata.js +16 -14
- package/lib/commonjs/features/metadata.js.map +1 -1
- package/lib/commonjs/features/network.js +5 -1
- package/lib/commonjs/features/network.js.map +1 -1
- package/lib/commonjs/features/nowPlaying.js +28 -14
- package/lib/commonjs/features/nowPlaying.js.map +1 -1
- package/lib/commonjs/features/output.js +8 -4
- package/lib/commonjs/features/output.js.map +1 -1
- package/lib/commonjs/features/playback/controls.js +10 -5
- package/lib/commonjs/features/playback/controls.js.map +1 -1
- package/lib/commonjs/features/playback/playWhenReady.js +6 -5
- package/lib/commonjs/features/playback/playWhenReady.js.map +1 -1
- package/lib/commonjs/features/playback/playing.js +5 -3
- package/lib/commonjs/features/playback/playing.js.map +1 -1
- package/lib/commonjs/features/playback/progress.js +11 -5
- package/lib/commonjs/features/playback/progress.js.map +1 -1
- package/lib/commonjs/features/playback/state.js +3 -3
- package/lib/commonjs/features/playback/state.js.map +1 -1
- package/lib/commonjs/features/playback/trackPlaybackTime.js +6 -1
- package/lib/commonjs/features/playback/trackPlaybackTime.js.map +1 -1
- package/lib/commonjs/features/playback/volume.js +6 -5
- package/lib/commonjs/features/playback/volume.js.map +1 -1
- package/lib/commonjs/features/player/options.js +20 -10
- package/lib/commonjs/features/player/options.js.map +1 -1
- package/lib/commonjs/features/player/setup.js +34 -38
- package/lib/commonjs/features/player/setup.js.map +1 -1
- package/lib/commonjs/features/queue/activeTrack.js +0 -1
- package/lib/commonjs/features/queue/activeTrack.js.map +1 -1
- package/lib/commonjs/features/queue/queue.js +48 -20
- package/lib/commonjs/features/queue/queue.js.map +1 -1
- package/lib/commonjs/features/queue/repeatMode.js +2 -1
- package/lib/commonjs/features/queue/repeatMode.js.map +1 -1
- package/lib/commonjs/features/queue/shuffle.js +0 -1
- package/lib/commonjs/features/queue/shuffle.js.map +1 -1
- package/lib/commonjs/features/remoteControls.js +59 -35
- package/lib/commonjs/features/remoteControls.js.map +1 -1
- package/lib/commonjs/features/sleepTimer.js +15 -6
- package/lib/commonjs/features/sleepTimer.js.map +1 -1
- package/lib/commonjs/utils/LazyNativeEmitter.js +6 -9
- package/lib/commonjs/utils/LazyNativeEmitter.js.map +1 -1
- package/lib/commonjs/utils/NativeUpdatedValue.js +13 -12
- package/lib/commonjs/utils/NativeUpdatedValue.js.map +1 -1
- package/lib/commonjs/utils/getTrackIdentity.js +6 -4
- package/lib/commonjs/utils/getTrackIdentity.js.map +1 -1
- package/lib/commonjs/utils/useDebug.js +16 -3
- package/lib/commonjs/utils/useDebug.js.map +1 -1
- package/lib/commonjs/web/NativeAudioBrowser.js +2 -4
- package/lib/commonjs/web/NativeAudioBrowser.js.map +1 -1
- package/lib/commonjs/web/browser/parseSearchResponse.js +3 -4
- package/lib/commonjs/web/browser/parseSearchResponse.js.map +1 -1
- package/lib/commonjs/web/browser/sections.js +1 -1
- package/lib/commonjs/web/util/BrowserPathHelper.js +1 -3
- package/lib/commonjs/web/util/BrowserPathHelper.js.map +1 -1
- package/lib/module/CLAUDE.md +7 -2
- package/lib/module/features/battery.js +16 -12
- package/lib/module/features/battery.js.map +1 -1
- package/lib/module/features/browser-config.js +1 -1
- package/lib/module/features/browser.js +74 -24
- package/lib/module/features/browser.js.map +1 -1
- package/lib/module/features/carConnection.js +3 -4
- package/lib/module/features/carConnection.js.map +1 -1
- package/lib/module/features/equalizer.js +9 -5
- package/lib/module/features/equalizer.js.map +1 -1
- package/lib/module/features/errors.js +35 -21
- package/lib/module/features/errors.js.map +1 -1
- package/lib/module/features/favorites.js +15 -13
- package/lib/module/features/favorites.js.map +1 -1
- package/lib/module/features/gate.js +12 -6
- package/lib/module/features/gate.js.map +1 -1
- package/lib/module/features/metadata.js +16 -14
- package/lib/module/features/metadata.js.map +1 -1
- package/lib/module/features/network.js +5 -1
- package/lib/module/features/network.js.map +1 -1
- package/lib/module/features/nowPlaying.js +28 -14
- package/lib/module/features/nowPlaying.js.map +1 -1
- package/lib/module/features/output.js +8 -4
- package/lib/module/features/output.js.map +1 -1
- package/lib/module/features/playback/controls.js +10 -5
- package/lib/module/features/playback/controls.js.map +1 -1
- package/lib/module/features/playback/playWhenReady.js +6 -5
- package/lib/module/features/playback/playWhenReady.js.map +1 -1
- package/lib/module/features/playback/playing.js +5 -3
- package/lib/module/features/playback/playing.js.map +1 -1
- package/lib/module/features/playback/progress.js +11 -5
- package/lib/module/features/playback/progress.js.map +1 -1
- package/lib/module/features/playback/state.js +3 -3
- package/lib/module/features/playback/state.js.map +1 -1
- package/lib/module/features/playback/trackPlaybackTime.js +6 -1
- package/lib/module/features/playback/trackPlaybackTime.js.map +1 -1
- package/lib/module/features/playback/volume.js +6 -5
- package/lib/module/features/playback/volume.js.map +1 -1
- package/lib/module/features/player/options.js +20 -10
- package/lib/module/features/player/options.js.map +1 -1
- package/lib/module/features/player/setup.js +34 -38
- package/lib/module/features/player/setup.js.map +1 -1
- package/lib/module/features/queue/activeTrack.js +0 -1
- package/lib/module/features/queue/activeTrack.js.map +1 -1
- package/lib/module/features/queue/queue.js +48 -20
- package/lib/module/features/queue/queue.js.map +1 -1
- package/lib/module/features/queue/repeatMode.js +2 -1
- package/lib/module/features/queue/repeatMode.js.map +1 -1
- package/lib/module/features/queue/shuffle.js +0 -1
- package/lib/module/features/queue/shuffle.js.map +1 -1
- package/lib/module/features/remoteControls.js +59 -35
- package/lib/module/features/remoteControls.js.map +1 -1
- package/lib/module/features/sleepTimer.js +15 -6
- package/lib/module/features/sleepTimer.js.map +1 -1
- package/lib/module/utils/LazyNativeEmitter.js +6 -9
- package/lib/module/utils/LazyNativeEmitter.js.map +1 -1
- package/lib/module/utils/NativeUpdatedValue.js +13 -12
- package/lib/module/utils/NativeUpdatedValue.js.map +1 -1
- package/lib/module/utils/getTrackIdentity.js +6 -4
- package/lib/module/utils/getTrackIdentity.js.map +1 -1
- package/lib/module/utils/useDebug.js +16 -3
- package/lib/module/utils/useDebug.js.map +1 -1
- package/lib/module/web/NativeAudioBrowser.js +2 -4
- package/lib/module/web/NativeAudioBrowser.js.map +1 -1
- package/lib/module/web/browser/parseSearchResponse.js +3 -4
- package/lib/module/web/browser/parseSearchResponse.js.map +1 -1
- package/lib/module/web/browser/sections.js +1 -1
- package/lib/module/web/util/BrowserPathHelper.js +1 -3
- package/lib/module/web/util/BrowserPathHelper.js.map +1 -1
- package/lib/typescript/src/features/battery.d.ts +17 -12
- package/lib/typescript/src/features/battery.d.ts.map +1 -1
- package/lib/typescript/src/features/browser.d.ts +64 -24
- package/lib/typescript/src/features/browser.d.ts.map +1 -1
- package/lib/typescript/src/features/carConnection.d.ts +3 -4
- package/lib/typescript/src/features/carConnection.d.ts.map +1 -1
- package/lib/typescript/src/features/equalizer.d.ts +9 -5
- package/lib/typescript/src/features/equalizer.d.ts.map +1 -1
- package/lib/typescript/src/features/errors.d.ts +37 -22
- package/lib/typescript/src/features/errors.d.ts.map +1 -1
- package/lib/typescript/src/features/favorites.d.ts +15 -13
- package/lib/typescript/src/features/favorites.d.ts.map +1 -1
- package/lib/typescript/src/features/gate.d.ts +14 -8
- package/lib/typescript/src/features/gate.d.ts.map +1 -1
- package/lib/typescript/src/features/metadata.d.ts +37 -17
- package/lib/typescript/src/features/metadata.d.ts.map +1 -1
- package/lib/typescript/src/features/network.d.ts +5 -1
- package/lib/typescript/src/features/network.d.ts.map +1 -1
- package/lib/typescript/src/features/nowPlaying.d.ts +28 -14
- package/lib/typescript/src/features/nowPlaying.d.ts.map +1 -1
- package/lib/typescript/src/features/output.d.ts +8 -4
- package/lib/typescript/src/features/output.d.ts.map +1 -1
- package/lib/typescript/src/features/playback/controls.d.ts +10 -5
- package/lib/typescript/src/features/playback/controls.d.ts.map +1 -1
- package/lib/typescript/src/features/playback/playWhenReady.d.ts +6 -5
- package/lib/typescript/src/features/playback/playWhenReady.d.ts.map +1 -1
- package/lib/typescript/src/features/playback/playing.d.ts +16 -3
- package/lib/typescript/src/features/playback/playing.d.ts.map +1 -1
- package/lib/typescript/src/features/playback/progress.d.ts +11 -5
- package/lib/typescript/src/features/playback/progress.d.ts.map +1 -1
- package/lib/typescript/src/features/playback/state.d.ts +8 -3
- package/lib/typescript/src/features/playback/state.d.ts.map +1 -1
- package/lib/typescript/src/features/playback/trackPlaybackTime.d.ts +9 -2
- package/lib/typescript/src/features/playback/trackPlaybackTime.d.ts.map +1 -1
- package/lib/typescript/src/features/playback/volume.d.ts +6 -5
- package/lib/typescript/src/features/playback/volume.d.ts.map +1 -1
- package/lib/typescript/src/features/player/options.d.ts +52 -37
- package/lib/typescript/src/features/player/options.d.ts.map +1 -1
- package/lib/typescript/src/features/player/setup.d.ts +65 -60
- package/lib/typescript/src/features/player/setup.d.ts.map +1 -1
- package/lib/typescript/src/features/queue/activeTrack.d.ts +0 -1
- package/lib/typescript/src/features/queue/activeTrack.d.ts.map +1 -1
- package/lib/typescript/src/features/queue/queue.d.ts +48 -20
- package/lib/typescript/src/features/queue/queue.d.ts.map +1 -1
- package/lib/typescript/src/features/queue/repeatMode.d.ts +1 -1
- package/lib/typescript/src/features/queue/repeatMode.d.ts.map +1 -1
- package/lib/typescript/src/features/queue/shuffle.d.ts +0 -1
- package/lib/typescript/src/features/queue/shuffle.d.ts.map +1 -1
- package/lib/typescript/src/features/remoteControls.d.ts +58 -25
- package/lib/typescript/src/features/remoteControls.d.ts.map +1 -1
- package/lib/typescript/src/features/sleepTimer.d.ts +15 -7
- package/lib/typescript/src/features/sleepTimer.d.ts.map +1 -1
- package/lib/typescript/src/types/browser-nodes.d.ts +54 -57
- package/lib/typescript/src/types/browser-nodes.d.ts.map +1 -1
- package/lib/typescript/src/types/browser.d.ts +181 -144
- package/lib/typescript/src/types/browser.d.ts.map +1 -1
- package/lib/typescript/src/utils/LazyNativeEmitter.d.ts +6 -9
- package/lib/typescript/src/utils/LazyNativeEmitter.d.ts.map +1 -1
- package/lib/typescript/src/utils/NativeUpdatedValue.d.ts +13 -12
- package/lib/typescript/src/utils/NativeUpdatedValue.d.ts.map +1 -1
- package/lib/typescript/src/utils/getTrackIdentity.d.ts +6 -4
- package/lib/typescript/src/utils/getTrackIdentity.d.ts.map +1 -1
- package/lib/typescript/src/utils/useDebug.d.ts +16 -3
- package/lib/typescript/src/utils/useDebug.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/CLAUDE.md +7 -2
- package/src/docs-floors.test.ts +71 -0
- package/src/features/battery.ts +17 -13
- package/src/features/browser-config.ts +1 -1
- package/src/features/browser.ts +65 -24
- package/src/features/carConnection.ts +3 -4
- package/src/features/equalizer.ts +9 -5
- package/src/features/errors.ts +37 -22
- package/src/features/favorites.ts +15 -13
- package/src/features/gate.ts +14 -8
- package/src/features/metadata.ts +37 -17
- package/src/features/network.ts +5 -1
- package/src/features/nowPlaying.ts +28 -14
- package/src/features/output.ts +8 -4
- package/src/features/playback/controls.ts +10 -5
- package/src/features/playback/playWhenReady.ts +6 -5
- package/src/features/playback/playing.ts +16 -3
- package/src/features/playback/progress.ts +11 -5
- package/src/features/playback/state.ts +8 -3
- package/src/features/playback/trackPlaybackTime.ts +9 -2
- package/src/features/playback/volume.ts +6 -5
- package/src/features/player/options.ts +54 -43
- package/src/features/player/setup.ts +67 -61
- package/src/features/queue/activeTrack.ts +0 -1
- package/src/features/queue/queue.ts +48 -20
- package/src/features/queue/repeatMode.ts +1 -1
- package/src/features/queue/shuffle.ts +0 -1
- package/src/features/remoteControls.ts +59 -35
- package/src/features/sleepTimer.ts +15 -7
- package/src/types/browser-nodes.ts +54 -57
- package/src/types/browser.ts +183 -146
- package/src/utils/LazyNativeEmitter.ts +6 -9
- package/src/utils/NativeUpdatedValue.ts +13 -12
- package/src/utils/getTrackIdentity.ts +6 -4
- package/src/utils/useDebug.ts +16 -3
- package/src/web/NativeAudioBrowser.ts +2 -4
- package/src/web/browser/parseSearchResponse.ts +3 -4
- package/src/web/browser/sections.ts +1 -1
- package/src/web/util/BrowserPathHelper.ts +1 -3
- package/website/guide/android-auto.md +25 -13
- package/website/guide/android-certificates.md +199 -120
- package/website/guide/artwork.md +93 -48
- package/website/guide/audio-output.md +86 -68
- package/website/guide/automotive.md +15 -10
- package/website/guide/basic-usage.md +5 -2
- package/website/guide/battery.md +50 -23
- package/website/guide/browser.md +155 -68
- package/website/guide/carplay.md +132 -49
- package/website/guide/configuration.md +85 -49
- package/website/guide/equalizer.md +36 -32
- package/website/guide/errors.md +106 -64
- package/website/guide/favorites.md +41 -31
- package/website/guide/gate.md +24 -10
- package/website/guide/getting-started.md +55 -2
- package/website/guide/hooks.md +53 -47
- package/website/guide/live-streams.md +80 -49
- package/website/guide/metadata.md +87 -53
- package/website/guide/migrating-from-track-player.md +94 -49
- package/website/guide/native-callback-fetch.md +46 -36
- package/website/guide/network.md +36 -20
- package/website/guide/now-playing.md +72 -44
- package/website/guide/playback.md +112 -35
- package/website/guide/queue.md +77 -43
- package/website/guide/remote-controls.md +87 -29
- package/website/guide/search.md +37 -22
- package/website/guide/sleep-timer.md +35 -14
- package/website/guide/track.md +59 -35
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
import { NativeUpdatedValue } from '../../utils/NativeUpdatedValue';
|
|
2
|
+
/** Whether the player is playing, and whether it is buffering while it does. */
|
|
2
3
|
export type PlayingState = {
|
|
4
|
+
/**
|
|
5
|
+
* True while the player intends to play and can: `playWhenReady` is set and
|
|
6
|
+
* the state is not `'none'`, `'stopped'`, `'ended'` or `'error'`. Also true
|
|
7
|
+
* while loading or buffering, so it does not mean sound is audible. On
|
|
8
|
+
* Android, also false while a transient audio-focus loss holds output back,
|
|
9
|
+
* though `playWhenReady` stays true.
|
|
10
|
+
*/
|
|
3
11
|
playing: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* True while the player intends to play and the state is `'loading'` or
|
|
14
|
+
* `'buffering'`. On Android, also false while a transient audio-focus loss
|
|
15
|
+
* holds output back, though `playWhenReady` stays true.
|
|
16
|
+
*/
|
|
4
17
|
buffering: boolean;
|
|
5
18
|
};
|
|
6
19
|
/**
|
|
@@ -8,9 +21,9 @@ export type PlayingState = {
|
|
|
8
21
|
*/
|
|
9
22
|
export declare function getPlayingState(): PlayingState;
|
|
10
23
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
24
|
+
* Emits the {@link PlayingState} each time `playing` or `buffering` changes.
|
|
25
|
+
* Subscribe with `onPlayingState.addListener(cb)`, which returns an
|
|
26
|
+
* unsubscribe function.
|
|
14
27
|
*/
|
|
15
28
|
export declare const onPlayingState: NativeUpdatedValue<PlayingState>;
|
|
16
29
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playing.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/playing.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAKnE,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,EAAE,OAAO,CAAA;CACnB,CAAA;AAID;;GAEG;AACH,wBAAgB,eAAe,IAAI,YAAY,CAE9C;AAID;;;;GAIG;AACH,eAAO,MAAM,cAAc,kCAE1B,CAAA;AAID;;;GAGG;AACH,wBAAgB,eAAe,IAAI,YAAY,CAE9C"}
|
|
1
|
+
{"version":3,"file":"playing.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/playing.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAKnE,gFAAgF;AAChF,MAAM,MAAM,YAAY,GAAG;IACzB;;;;;;OAMG;IACH,OAAO,EAAE,OAAO,CAAA;IAChB;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAA;CACnB,CAAA;AAID;;GAEG;AACH,wBAAgB,eAAe,IAAI,YAAY,CAE9C;AAID;;;;GAIG;AACH,eAAO,MAAM,cAAc,kCAE1B,CAAA;AAID;;;GAGG;AACH,wBAAgB,eAAe,IAAI,YAAY,CAE9C"}
|
|
@@ -27,15 +27,21 @@ export interface PlaybackProgressUpdatedEvent extends Progress {
|
|
|
27
27
|
*/
|
|
28
28
|
export declare function getProgress(): Progress;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* Emits the progress every `progressUpdateEventInterval` seconds while the
|
|
31
|
+
* player is loading, buffering or playing. Off by default (the interval is
|
|
32
|
+
* `null`). Subscribe with `onProgressUpdated.addListener(cb)`, which returns
|
|
33
|
+
* an unsubscribe function.
|
|
33
34
|
*/
|
|
34
35
|
export declare const onProgressUpdated: NativeUpdatedValue<PlaybackProgressUpdatedEvent>;
|
|
35
36
|
/**
|
|
36
|
-
* Hook that returns the current playback progress and updates
|
|
37
|
+
* Hook that returns the current playback progress and updates on each
|
|
38
|
+
* progress event.
|
|
37
39
|
*
|
|
38
|
-
* Progress
|
|
40
|
+
* Progress events are off by default (`progressUpdateEventInterval: null`), so
|
|
41
|
+
* this hook does not update until you set an interval in `setupPlayer` or
|
|
42
|
+
* `updateOptions`. Events fire only while loading, buffering or playing, so a
|
|
43
|
+
* seek while paused does not show. For updates without configuration, use
|
|
44
|
+
* {@link usePolledProgress}.
|
|
39
45
|
* @returns The current playback progress
|
|
40
46
|
*/
|
|
41
47
|
export declare function useProgress(): Progress;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/progress.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAMnE,MAAM,WAAW,QAAQ;IACvB;;QAEI;IACJ,QAAQ,EAAE,MAAM,CAAA;IAChB;;QAEI;IACJ,QAAQ,EAAE,MAAM,CAAA;IAChB;;QAEI;IACJ,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,QAAQ;IAC5D,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAA;CACd;AAID;;;;GAIG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAEtC;AAID
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/progress.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAMnE,MAAM,WAAW,QAAQ;IACvB;;QAEI;IACJ,QAAQ,EAAE,MAAM,CAAA;IAChB;;QAEI;IACJ,QAAQ,EAAE,MAAM,CAAA;IAChB;;QAEI;IACJ,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,QAAQ;IAC5D,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAA;CACd;AAID;;;;GAIG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAEtC;AAID;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,kDAG3B,CAAA;AAIH;;;;;;;;;;GAUG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAEtC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,cAAc,SAAO,GAAG,QAAQ,CA+DjE"}
|
|
@@ -21,6 +21,11 @@ import { NativeUpdatedValue } from '../../utils/NativeUpdatedValue';
|
|
|
21
21
|
export type PlaybackState = 'none' | 'ready' | 'playing' | 'paused' | 'stopped' | 'loading' | 'buffering' | 'error' | 'ended';
|
|
22
22
|
export type Playback = {
|
|
23
23
|
state: PlaybackState;
|
|
24
|
+
/**
|
|
25
|
+
* What made playback fail, in the `'error'` state. On iOS and Android, also
|
|
26
|
+
* a failure still being retried (`retrying: true`) while loading, buffering
|
|
27
|
+
* or paused.
|
|
28
|
+
*/
|
|
24
29
|
error?: PlaybackError;
|
|
25
30
|
};
|
|
26
31
|
/**
|
|
@@ -29,9 +34,9 @@ export type Playback = {
|
|
|
29
34
|
*/
|
|
30
35
|
export declare function getPlayback(): Playback;
|
|
31
36
|
/**
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
37
|
+
* Emits the {@link Playback} each time the playback state or error changes.
|
|
38
|
+
* Subscribe with `onPlaybackChanged.addListener(cb)`, which returns an
|
|
39
|
+
* unsubscribe function.
|
|
35
40
|
*/
|
|
36
41
|
export declare const onPlaybackChanged: NativeUpdatedValue<Playback>;
|
|
37
42
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAKnE;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,OAAO,GACP,SAAS,GACT,QAAQ,GACR,SAAS,GACT,SAAS,GACT,WAAW,GACX,OAAO,GACP,OAAO,CAAA;AAEX,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,aAAa,CAAA;IACpB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAID;;;GAGG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAEtC;AAID;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,8BAE7B,CAAA;AAID;;;GAGG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAEtC"}
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAKnE;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,OAAO,GACP,SAAS,GACT,QAAQ,GACR,SAAS,GACT,SAAS,GACT,WAAW,GACX,OAAO,GACP,OAAO,CAAA;AAEX,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,aAAa,CAAA;IACpB;;;;OAIG;IACH,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAID;;;GAGG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAEtC;AAID;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,8BAE7B,CAAA;AAID;;;GAGG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAEtC"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import type { Track } from '../../types/browser-nodes';
|
|
2
|
+
/** What a {@link trackPlaybackTime} callback receives each period. */
|
|
2
3
|
export interface PlaybackElapsed {
|
|
3
4
|
/** Cumulative seconds spent `playing` since this subscription started. */
|
|
4
5
|
total: number;
|
|
5
6
|
/** Seconds played since the previous callback (≈ `period`). */
|
|
6
7
|
sinceLast: number;
|
|
7
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* The active track as of the latest track change since the first
|
|
10
|
+
* subscription; `undefined` until one happens.
|
|
11
|
+
*/
|
|
8
12
|
track?: Track;
|
|
9
13
|
}
|
|
10
14
|
/**
|
|
@@ -24,8 +28,11 @@ export interface PlaybackElapsed {
|
|
|
24
28
|
* subscribe to {@link onActiveTrackChanged} and cancel + re-subscribe here on each
|
|
25
29
|
* change, so every track gets a fresh `total` starting at zero.
|
|
26
30
|
*
|
|
31
|
+
* On Android, subscribe after `setupPlayer` resolves. After a service restart
|
|
32
|
+
* no callback fires until every subscription is cancelled and a new one is made.
|
|
33
|
+
*
|
|
27
34
|
* @param callback Invoked once per elapsed `period`, with cumulative play time
|
|
28
|
-
* and the
|
|
35
|
+
* and the active track (see {@link PlaybackElapsed.track}).
|
|
29
36
|
* @param period Seconds of playback between calls. Must be >= 1.
|
|
30
37
|
* @returns A function that cancels this subscription (idempotent — safe to call
|
|
31
38
|
* more than once).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trackPlaybackTime.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/trackPlaybackTime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAMtD,MAAM,WAAW,eAAe;IAC9B,0EAA0E;IAC1E,KAAK,EAAE,MAAM,CAAA;IACb,+DAA+D;IAC/D,SAAS,EAAE,MAAM,CAAA;IACjB
|
|
1
|
+
{"version":3,"file":"trackPlaybackTime.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/trackPlaybackTime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAMtD,sEAAsE;AACtE,MAAM,WAAW,eAAe;IAC9B,0EAA0E;IAC1E,KAAK,EAAE,MAAM,CAAA;IACb,+DAA+D;IAC/D,SAAS,EAAE,MAAM,CAAA;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,CAAA;CACd;AA4CD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,IAAI,EAC5C,MAAM,EAAE,MAAM,GACb,MAAM,IAAI,CAiBZ"}
|
|
@@ -4,7 +4,7 @@ import { NativeUpdatedValue } from '../../utils/NativeUpdatedValue';
|
|
|
4
4
|
*/
|
|
5
5
|
export declare function getVolume(): number;
|
|
6
6
|
/**
|
|
7
|
-
* Gets the current system volume as a number between 0 and 1.
|
|
7
|
+
* Gets the current system volume as a number between 0 and 1. On web, always 1.
|
|
8
8
|
*/
|
|
9
9
|
export declare function getSystemVolume(): number;
|
|
10
10
|
/**
|
|
@@ -15,17 +15,18 @@ export declare function setVolume(level: number): void;
|
|
|
15
15
|
/**
|
|
16
16
|
* Sets the system volume.
|
|
17
17
|
* @param level - The volume as a number between 0 and 1.
|
|
18
|
-
* @remarks
|
|
18
|
+
* @remarks A no-op on iOS, which has no public API for it, and on web.
|
|
19
19
|
*/
|
|
20
20
|
export declare function setSystemVolume(level: number): void;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
22
|
+
* Emits the system volume (0 to 1) each time it changes. Never fires on web.
|
|
23
|
+
* Subscribe with `onSystemVolumeChanged.addListener(cb)`, which returns an
|
|
24
|
+
* unsubscribe function.
|
|
25
25
|
*/
|
|
26
26
|
export declare const onSystemVolumeChanged: NativeUpdatedValue<number>;
|
|
27
27
|
/**
|
|
28
28
|
* Hook that returns the current system volume and updates when it changes.
|
|
29
|
+
* On web, always 1.
|
|
29
30
|
* @returns The current system volume (0 to 1)
|
|
30
31
|
*/
|
|
31
32
|
export declare function useSystemVolume(): number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volume.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/volume.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAGnE;;GAEG;AACH,wBAAgB,SAAS,IAAI,MAAM,CAElC;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAID;;;GAGG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAE7C;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAEnD;AAID;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,4BAEjC,CAAA;AAID
|
|
1
|
+
{"version":3,"file":"volume.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/volume.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAGnE;;GAEG;AACH,wBAAgB,SAAS,IAAI,MAAM,CAElC;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAID;;;GAGG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAE7C;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAEnD;AAID;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,4BAEjC,CAAA;AAID;;;;GAIG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAExC"}
|
|
@@ -62,8 +62,10 @@ export interface PlayerCapabilities {
|
|
|
62
62
|
/**
|
|
63
63
|
* Enable track favoriting.
|
|
64
64
|
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
65
|
+
* - iOS: turns on matching tracks against `setFavorites`. It shows no heart
|
|
66
|
+
* of its own: the CarPlay now-playing heart appears when
|
|
67
|
+
* `ios.carPlayNowPlayingButtons` includes `'favorite'`. Control Center
|
|
68
|
+
* and the lock screen show none.
|
|
67
69
|
* - Android: a place in the {@link RemoteButtonLayout} — the notification,
|
|
68
70
|
* Android Auto and the Android 13+ system media controls — and an
|
|
69
71
|
* (empty or filled) heart on playable browse rows.
|
|
@@ -178,26 +180,27 @@ export type RemoteButtonLayout = {
|
|
|
178
180
|
* AppKilledPlaybackBehavior options:
|
|
179
181
|
* - `'continue-playback'`: This option will continue playing audio in the
|
|
180
182
|
* background when the app is removed from recents. The notification remains.
|
|
181
|
-
* This is the default.
|
|
182
183
|
* - `'pause-playback'`: This option will pause playing audio in the background
|
|
183
184
|
* when the app is removed from recents. The notification remains and can be
|
|
184
185
|
* used to resume playback.
|
|
185
186
|
* - `'stop-playback-and-remove-notification'`: This option will stop playing
|
|
186
187
|
* audio in the background when the app is removed from recents. The
|
|
187
188
|
* notification is removed and can't be used to resume playback. Users would
|
|
188
|
-
* need to open the app again to start playing audio.
|
|
189
|
+
* need to open the app again to start playing audio. This is the default.
|
|
189
190
|
*/
|
|
190
191
|
export type AppKilledPlaybackBehavior = 'continue-playback' | 'pause-playback' | 'stop-playback-and-remove-notification';
|
|
191
192
|
/**
|
|
192
|
-
* Current player options
|
|
193
|
-
*
|
|
193
|
+
* Current player options, as {@link getOptions} reports them. The intervals and the platform
|
|
194
|
+
* block come with their defaults filled in; `capabilities` holds the values set, plus,
|
|
195
|
+
* on Android and iOS, `jumpForward` and `jumpBackward`, which are `false` until set.
|
|
194
196
|
* Platform-specific properties (android/ios) are only available on their respective platforms.
|
|
195
197
|
*
|
|
196
198
|
* @example
|
|
197
199
|
* ```typescript
|
|
198
200
|
* const options = getOptions();
|
|
199
201
|
* console.log(options.forwardJumpInterval); // 15
|
|
200
|
-
* console.log(options.capabilities);
|
|
202
|
+
* console.log(options.capabilities);
|
|
203
|
+
* // { jumpForward: false, jumpBackward: false, shuffleMode: false }
|
|
201
204
|
* console.log(options.android?.skipSilence); // true (Android only)
|
|
202
205
|
* ```
|
|
203
206
|
*/
|
|
@@ -207,9 +210,13 @@ export interface Options {
|
|
|
207
210
|
/**
|
|
208
211
|
* Jump forward interval in seconds when using jump forward controls.
|
|
209
212
|
*
|
|
210
|
-
* On Android,
|
|
211
|
-
*
|
|
212
|
-
* values are
|
|
213
|
+
* On Android, Media3 has icons for intervals of exactly 5, 10, 15 or 30
|
|
214
|
+
* seconds, which show that number; any other interval gets an icon without
|
|
215
|
+
* one. Other values are valid. On iOS a jump with no `handleRemoteJump*`
|
|
216
|
+
* override seeks by the interval. On Android it seeks by Media3's default
|
|
217
|
+
* seek increment (15 seconds forward, 5 seconds back), and the interval sets
|
|
218
|
+
* only the icon and the event's `interval`; to jump by the interval,
|
|
219
|
+
* override the control and call `seekBy`.
|
|
213
220
|
*
|
|
214
221
|
* @default 15
|
|
215
222
|
*/
|
|
@@ -217,9 +224,7 @@ export interface Options {
|
|
|
217
224
|
/**
|
|
218
225
|
* Jump backward interval in seconds when using jump backward controls.
|
|
219
226
|
*
|
|
220
|
-
*
|
|
221
|
-
* showing that number; any other interval gets an icon without one. Other
|
|
222
|
-
* values are perfectly valid — the interval also sets the seek distance.
|
|
227
|
+
* Platform differences as for {@link Options.forwardJumpInterval}.
|
|
223
228
|
*
|
|
224
229
|
* @default 15
|
|
225
230
|
*/
|
|
@@ -231,8 +236,10 @@ export interface Options {
|
|
|
231
236
|
*/
|
|
232
237
|
progressUpdateEventInterval: number | null;
|
|
233
238
|
/**
|
|
234
|
-
* The capabilities
|
|
235
|
-
*
|
|
239
|
+
* The capabilities as set, plus, on Android and iOS, `jumpForward` and
|
|
240
|
+
* `jumpBackward`, which are `false` until set. An absent field means its
|
|
241
|
+
* default: off for `jumpForward`, `jumpBackward` and `favorite`, on for the
|
|
242
|
+
* rest.
|
|
236
243
|
*/
|
|
237
244
|
capabilities: PlayerCapabilities;
|
|
238
245
|
/** iOS-specific player options with resolved defaults (only present on iOS). */
|
|
@@ -255,7 +262,7 @@ export interface IOSOptions {
|
|
|
255
262
|
*/
|
|
256
263
|
carPlayUpNextButton: boolean;
|
|
257
264
|
/**
|
|
258
|
-
* Buttons shown on the CarPlay Now Playing screen (left
|
|
265
|
+
* Buttons shown on the CarPlay Now Playing screen (left to right, at most one of each kind).
|
|
259
266
|
* @default []
|
|
260
267
|
*/
|
|
261
268
|
carPlayNowPlayingButtons: CarPlayNowPlayingButton[];
|
|
@@ -266,11 +273,16 @@ export interface IOSOptions {
|
|
|
266
273
|
*/
|
|
267
274
|
carPlayPlayingIndicatorLocation: CarPlayPlayingIndicatorLocation;
|
|
268
275
|
}
|
|
276
|
+
/**
|
|
277
|
+
* Android runtime options as {@link getOptions} reports them.
|
|
278
|
+
* @platform android
|
|
279
|
+
*/
|
|
269
280
|
export interface AndroidOptions {
|
|
270
281
|
/**
|
|
271
|
-
*
|
|
272
|
-
*
|
|
273
|
-
*
|
|
282
|
+
* What happens to playback and the notification when the user removes the
|
|
283
|
+
* app from recents.
|
|
284
|
+
*
|
|
285
|
+
* @default 'stop-playback-and-remove-notification'
|
|
274
286
|
*/
|
|
275
287
|
appKilledPlaybackBehavior: AppKilledPlaybackBehavior;
|
|
276
288
|
/**
|
|
@@ -290,11 +302,16 @@ export interface AndroidOptions {
|
|
|
290
302
|
*/
|
|
291
303
|
remoteButtonLayout: RemoteButtonLayout | null;
|
|
292
304
|
}
|
|
305
|
+
/**
|
|
306
|
+
* Android options {@link updateOptions} can change at runtime.
|
|
307
|
+
* @platform android
|
|
308
|
+
*/
|
|
293
309
|
export interface AndroidUpdateOptions {
|
|
294
310
|
/**
|
|
295
|
-
*
|
|
296
|
-
*
|
|
297
|
-
*
|
|
311
|
+
* What happens to playback and the notification when the user removes the
|
|
312
|
+
* app from recents.
|
|
313
|
+
*
|
|
314
|
+
* @default 'stop-playback-and-remove-notification'
|
|
298
315
|
*/
|
|
299
316
|
appKilledPlaybackBehavior?: AppKilledPlaybackBehavior;
|
|
300
317
|
/**
|
|
@@ -332,8 +349,9 @@ export interface IOSUpdateOptions {
|
|
|
332
349
|
*/
|
|
333
350
|
carPlayUpNextButton?: boolean;
|
|
334
351
|
/**
|
|
335
|
-
* Configure
|
|
336
|
-
* array order (left to
|
|
352
|
+
* Configure buttons, at most one of each {@link CarPlayNowPlayingButton}
|
|
353
|
+
* kind, on the CarPlay Now Playing screen, arranged in array order (left to
|
|
354
|
+
* right).
|
|
337
355
|
*
|
|
338
356
|
* @example
|
|
339
357
|
* ```typescript
|
|
@@ -380,9 +398,7 @@ export interface UpdateOptions {
|
|
|
380
398
|
/**
|
|
381
399
|
* Jump forward interval in seconds when using jump forward controls.
|
|
382
400
|
*
|
|
383
|
-
*
|
|
384
|
-
* showing that number; any other interval gets an icon without one. Other
|
|
385
|
-
* values are perfectly valid — the interval also sets the seek distance.
|
|
401
|
+
* See {@link Options.forwardJumpInterval} for how iOS and Android treat it.
|
|
386
402
|
*
|
|
387
403
|
* @default 15
|
|
388
404
|
*/
|
|
@@ -390,9 +406,7 @@ export interface UpdateOptions {
|
|
|
390
406
|
/**
|
|
391
407
|
* Jump backward interval in seconds when using jump backward controls.
|
|
392
408
|
*
|
|
393
|
-
*
|
|
394
|
-
* showing that number; any other interval gets an icon without one. Other
|
|
395
|
-
* values are perfectly valid — the interval also sets the seek distance.
|
|
409
|
+
* See {@link Options.forwardJumpInterval} for how iOS and Android treat it.
|
|
396
410
|
*
|
|
397
411
|
* @default 15
|
|
398
412
|
*/
|
|
@@ -404,8 +418,10 @@ export interface UpdateOptions {
|
|
|
404
418
|
*/
|
|
405
419
|
progressUpdateEventInterval?: number | null;
|
|
406
420
|
/**
|
|
407
|
-
* Player capabilities to enable or disable.
|
|
408
|
-
*
|
|
421
|
+
* Player capabilities to enable or disable. Most default to on;
|
|
422
|
+
* `jumpForward`, `jumpBackward` and `favorite` default to off. On Android
|
|
423
|
+
* and iOS, fields you omit keep their current value; on web, the object
|
|
424
|
+
* passed replaces the previous one.
|
|
409
425
|
*
|
|
410
426
|
* @example
|
|
411
427
|
* ```typescript
|
|
@@ -437,10 +453,10 @@ export interface UpdateOptions {
|
|
|
437
453
|
*/
|
|
438
454
|
export declare function updateOptions(options: UpdateOptions): void;
|
|
439
455
|
/**
|
|
440
|
-
* Gets the current player options
|
|
441
|
-
*
|
|
456
|
+
* Gets the current player options. `capabilities` holds the values set, plus, on Android
|
|
457
|
+
* and iOS, `jumpForward` and `jumpBackward` (`false` until set); a missing capability
|
|
458
|
+
* means its default.
|
|
442
459
|
*
|
|
443
|
-
* @returns The current player options with all properties resolved to their current values
|
|
444
460
|
* @example
|
|
445
461
|
* ```typescript
|
|
446
462
|
* const options = getOptions();
|
|
@@ -451,8 +467,7 @@ export declare function updateOptions(options: UpdateOptions): void;
|
|
|
451
467
|
*/
|
|
452
468
|
export declare function getOptions(): Options;
|
|
453
469
|
/**
|
|
454
|
-
*
|
|
455
|
-
* @param callback - Called when the player options change
|
|
470
|
+
* Emits each time the player options change.
|
|
456
471
|
* @returns An emitter — subscribe with `addListener(callback)`, which returns a cleanup function
|
|
457
472
|
*/
|
|
458
473
|
export declare const onOptionsChanged: NativeUpdatedValue<Options>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../src/features/player/options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,+BAA+B,EAChC,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAMnE;;;;;;;;;;;;;;;GAeG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IACd;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IACd;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../src/features/player/options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,+BAA+B,EAChC,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC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