Skip to content

Commit 602d545

Browse files
committed
Update references to rntp.dev for docs
1 parent 8f1b90e commit 602d545

15 files changed

Lines changed: 50 additions & 51 deletions

File tree

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<img src="https:/rntp.dev/img/optimized-logo.svg" width="300" />
1+
<img src="https://doublesymmetry.github.io/react-native-track-player/img/optimized-logo.svg" width="300" />
22

33
[![downloads](https://img.shields.io/npm/dw/react-native-track-player.svg)](https://www.npmjs.com/package/react-native-track-player)
44
[![npm](https://img.shields.io/npm/v/react-native-track-player.svg)](https://www.npmjs.com/package/react-native-track-player)
@@ -25,14 +25,14 @@ _[Blaze](https://runblaze.dev) sponsors RNTP by providing super fast Apple Silic
2525

2626
## Overview
2727

28-
- [Documentation](https://rntp.dev)
29-
* [Installation](https://rntp.dev/docs/basics/installation/)
30-
* [Getting Started](https://rntp.dev/docs/basics/getting-started/)
31-
* [API Docs](https://rntp.dev/docs/api/events)
32-
* [Platform Support](https://rntp.dev/docs/basics/platform-support)
33-
* [Background Mode](https://rntp.dev/docs/basics/background-mode)
34-
* [Build Preferences](https://rntp.dev/docs/basics/build-preferences)
35-
* [v2 Migration Guide](https://rntp.dev/docs/v2-migration)
28+
- [Documentation](https://doublesymmetry.github.io/react-native-track-player/)
29+
* [Installation](https://doublesymmetry.github.io/react-native-track-player/docs/basics/installation/)
30+
* [Getting Started](https://doublesymmetry.github.io/react-native-track-player/docs/basics/getting-started/)
31+
* [API Docs](https://doublesymmetry.github.io/react-native-track-player/docs/api/events)
32+
* [Platform Support](https://doublesymmetry.github.io/react-native-track-player/docs/basics/platform-support)
33+
* [Background Mode](https://doublesymmetry.github.io/react-native-track-player/docs/basics/background-mode)
34+
* [Build Preferences](https://doublesymmetry.github.io/react-native-track-player/docs/basics/build-preferences)
35+
* [v2 Migration Guide](https://doublesymmetry.github.io/react-native-track-player/docs/v2-migration)
3636
- [Sponsors](#sponsors)
3737
- [Features](#features)
3838
- [Why another music module?](#why-another-music-module)
@@ -44,8 +44,8 @@ _[Blaze](https://runblaze.dev) sponsors RNTP by providing super fast Apple Silic
4444

4545
Not sure where to start?
4646

47-
1. Try [Getting Started](https://rntp.dev/docs/basics/getting-started).
48-
2. Peruse the [API Docs](https://rntp.dev/docs/api/events).
47+
1. Try [Getting Started](https://doublesymmetry.github.io/react-native-track-player/docs/basics/getting-started).
48+
2. Peruse the [API Docs](https://doublesymmetry.github.io/react-native-track-player/docs/api/events).
4949
3. Run the [Example Project](/example).
5050

5151
## Commerical Usage
@@ -78,7 +78,7 @@ All audio modules (like `react-native-sound`) don't play in a separated service
7878

7979
## Example Setup
8080

81-
First please take a look at the [Getting Started](https://rntp.dev/docs/basics/getting-started/) guide, but a basic example of how to play a track:
81+
First please take a look at the [Getting Started](https://doublesymmetry.github.io/react-native-track-player/docs/basics/getting-started/) guide, but a basic example of how to play a track:
8282

8383
```javascript
8484
import TrackPlayer from 'react-native-track-player';

docs/docs/basics/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const track3 = {
6969
duration: 411
7070
};
7171

72-
// You can then [add](https://rntp.dev/docs/api/functions/queue#addtracks-insertbeforeindex) the items to the queue
72+
// You can then [add](https://doublesymmetry.github.io/react-native-track-player/docs/api/functions/queue#addtracks-insertbeforeindex) the items to the queue
7373
await TrackPlayer.add([track1, track2, track3]);
7474
```
7575

docs/static/CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/versioned_docs/version-2.1/basics/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const track3 = {
6969
duration: 411
7070
};
7171

72-
// You can then [add](https://rntp.dev/docs/api/functions/queue#addtracks-insertbeforeindex) the items to the queue
72+
// You can then [add](https://doublesymmetry.github.io/react-native-track-player/docs/api/functions/queue#addtracks-insertbeforeindex) the items to the queue
7373
await TrackPlayer.add([track1, track2, track3]);
7474
```
7575

docs/versioned_docs/version-3.1/basics/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const track3 = {
6969
duration: 411
7070
};
7171

72-
// You can then [add](https://rntp.dev/docs/api/functions/queue#addtracks-insertbeforeindex) the items to the queue
72+
// You can then [add](https://doublesymmetry.github.io/react-native-track-player/docs/api/functions/queue#addtracks-insertbeforeindex) the items to the queue
7373
await TrackPlayer.add([track1, track2, track3]);
7474
```
7575

docs/versioned_docs/version-3.2/basics/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const track3 = {
6969
duration: 411
7070
};
7171

72-
// You can then [add](https://rntp.dev/docs/api/functions/queue#addtracks-insertbeforeindex) the items to the queue
72+
// You can then [add](https://doublesymmetry.github.io/react-native-track-player/docs/api/functions/queue#addtracks-insertbeforeindex) the items to the queue
7373
await TrackPlayer.add([track1, track2, track3]);
7474
```
7575

docs/versioned_docs/version-4.0/basics/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const track3 = {
6969
duration: 411
7070
};
7171

72-
// You can then [add](https://rntp.dev/docs/api/functions/queue#addtracks-insertbeforeindex) the items to the queue
72+
// You can then [add](https://doublesymmetry.github.io/react-native-track-player/docs/api/functions/queue#addtracks-insertbeforeindex) the items to the queue
7373
await TrackPlayer.add([track1, track2, track3]);
7474
```
7575

docs/versioned_docs/version-4.1/basics/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const track3 = {
6969
duration: 411
7070
};
7171

72-
// You can then [add](https://rntp.dev/docs/api/functions/queue#addtracks-insertbeforeindex) the items to the queue
72+
// You can then [add](https://doublesymmetry.github.io/react-native-track-player/docs/api/functions/queue#addtracks-insertbeforeindex) the items to the queue
7373
await TrackPlayer.add([track1, track2, track3]);
7474
```
7575

docs/versioned_docs/version-5.0/basics/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const track3 = {
6969
duration: 411
7070
};
7171

72-
// You can then [add](https://rntp.dev/docs/api/functions/queue#addtracks-insertbeforeindex) the items to the queue
72+
// You can then [add](https://doublesymmetry.github.io/react-native-track-player/docs/api/functions/queue#addtracks-insertbeforeindex) the items to the queue
7373
await TrackPlayer.add([track1, track2, track3]);
7474
```
7575

src/constants/Event.ts

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export enum Event {
1818
PlaybackPlayWhenReadyChanged = 'playback-play-when-ready-changed',
1919
/**
2020
* Fired when playback progress has been updated.
21-
* See https://rntp.dev/docs/api/events#playbackprogressupdated
21+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#playbackprogressupdated
2222
**/
2323
PlaybackProgressUpdated = 'playback-progress-updated',
2424
/**
@@ -28,7 +28,7 @@ export enum Event {
2828
PlaybackResume = 'android-playback-resume',
2929
/**
3030
* Fired when the user presses the play button.
31-
* See https://rntp.dev/docs/api/events#remoteplay
31+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#remoteplay
3232
**/
3333
RemotePlay = 'remote-play',
3434
/**
@@ -37,93 +37,93 @@ export enum Event {
3737
RemotePlayPause = 'remote-play-pause',
3838
/**
3939
* Fired when the user presses the pause button.
40-
* See https://rntp.dev/docs/api/events#remotepause
40+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#remotepause
4141
**/
4242
RemotePause = 'remote-pause',
4343
/**
4444
* Fired when the user presses the stop button.
45-
* See https://rntp.dev/docs/api/events#remotestop
45+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#remotestop
4646
**/
4747
RemoteStop = 'remote-stop',
4848
/**
4949
* Fired when the user presses the next track button.
50-
* See https://rntp.dev/docs/api/events#remotenext
50+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#remotenext
5151
**/
5252
RemoteNext = 'remote-next',
5353
/**
5454
* Fired when the user presses the previous track button.
55-
* See https://rntp.dev/docs/api/events#remoteprevious
55+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#remoteprevious
5656
**/
5757
RemotePrevious = 'remote-previous',
5858
/**
5959
* Fired when the user presses the jump forward button.
60-
* See https://rntp.dev/docs/api/events#remotejumpforward
60+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#remotejumpforward
6161
**/
6262
RemoteJumpForward = 'remote-jump-forward',
6363
/**
6464
* Fired when the user presses the jump backward button.
65-
* See https://rntp.dev/docs/api/events#remotejumpbackward
65+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#remotejumpbackward
6666
**/
6767
RemoteJumpBackward = 'remote-jump-backward',
6868
/**
6969
* Fired when the user changes the position of the timeline.
70-
* See https://rntp.dev/docs/api/events#remoteseek
70+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#remoteseek
7171
**/
7272
RemoteSeek = 'remote-seek',
7373
/**
7474
* Fired when the user changes the rating for the track remotely.
75-
* See https://rntp.dev/docs/api/events#remotesetrating
75+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#remotesetrating
7676
**/
7777
RemoteSetRating = 'remote-set-rating',
7878
/**
7979
* Fired when the app needs to handle an audio interruption.
80-
* See https://rntp.dev/docs/api/events#remoteduck
80+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#remoteduck
8181
**/
8282
RemoteDuck = 'remote-duck',
8383
/**
8484
* (iOS only) Fired when the user presses the like button in the now playing
8585
* center.
86-
* See https://rntp.dev/docs/api/events#remotelike-ios-only
86+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#remotelike-ios-only
8787
**/
8888
RemoteLike = 'remote-like',
8989
/**
9090
* (iOS only) Fired when the user presses the dislike button in the now playing
9191
* center.
92-
* See https://rntp.dev/docs/api/events#remotedislike-ios-only
92+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#remotedislike-ios-only
9393
**/
9494
RemoteDislike = 'remote-dislike',
9595
/** (iOS only) Fired when the user presses the bookmark button in the now
9696
* playing center.
97-
* See https://rntp.dev/docs/api/events#remotebookmark-ios-only
97+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#remotebookmark-ios-only
9898
**/
9999
RemoteBookmark = 'remote-bookmark',
100100
/**
101101
* (Android only) Fired when the user selects a track from an external device.
102-
* See https://rntp.dev/docs/api/events#remoteplayid
102+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#remoteplayid
103103
**/
104104
RemotePlayId = 'remote-play-id',
105105
/**
106106
* (Android only) Fired when the user searches for a track (usually voice search).
107-
* See https://rntp.dev/docs/api/events#remoteplaysearch
107+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#remoteplaysearch
108108
**/
109109
RemotePlaySearch = 'remote-play-search',
110110
/**
111111
* (Android only) Fired when the user presses the skip button.
112-
* See https://rntp.dev/docs/api/events#remoteskip
112+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#remoteskip
113113
**/
114114
RemoteSkip = 'remote-skip',
115115
/** (iOS only) Fired when chapter metadata is received.
116-
* See https://rntp.dev/docs/api/events#chaptermetadatareceived
116+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#chaptermetadatareceived
117117
**/
118118
MetadataChapterReceived = 'metadata-chapter-received',
119119
/**
120120
* Fired when metadata is received at a specific time in the audio.
121-
* See https://rntp.dev/docs/api/events#timedmetadatareceived
121+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#timedmetadatareceived
122122
**/
123123
MetadataTimedReceived = 'metadata-timed-received',
124124
/**
125125
* Fired when common (static) metadata is received.
126-
* See https://rntp.dev/docs/api/events#commonmetadatareceived
126+
* See https://doublesymmetry.github.io/react-native-track-player/docs/api/events#commonmetadatareceived
127127
**/
128128
MetadataCommonReceived = 'metadata-common-received',
129129
/**

0 commit comments

Comments
 (0)