ttfm-socket 1.7.13 → 1.7.15
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 +11 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,6 +27,7 @@ Welcome to the Hangout FM Socket Client! This package provides a TypeScript clie
|
|
|
27
27
|
- [`playedOneTimeAnimation`](#playedonetimeanimation)
|
|
28
28
|
- [`kickedFromRoom`](#kickedfromroom)
|
|
29
29
|
- [`roomReset`](#roomreset)
|
|
30
|
+
- [`trackNotPlayable`](#tracknotplayable)
|
|
30
31
|
- [Examples](#examples)
|
|
31
32
|
- [Support](#support)
|
|
32
33
|
|
|
@@ -208,6 +209,16 @@ Sent by the server _only_ to the connection(s) for one specific user in a room.
|
|
|
208
209
|
|
|
209
210
|
Sent by the server after someone hits the `/resetRoom` endpoint for that room. This means that the room's state will be cleared and the server will close all connections that are currenly in the room. In response to this, the clients will need to open a new connection and rejoin the room via the `joinRoom` Action. This message has no `params`.
|
|
210
211
|
|
|
212
|
+
#### `trackNotPlayable`
|
|
213
|
+
|
|
214
|
+
Sent by the server _only_ to the connection(s) for one specific DJ in a room, if that DJ's next song is determined to be unplayable. This indicates that the song in question has been deleted, the DJ's queue should be refetched on the client, and the DJ's next song should be updated again via `updateNextSong`. For this message, `params` takes the following shape:
|
|
215
|
+
|
|
216
|
+
```ts
|
|
217
|
+
{
|
|
218
|
+
songId: string;
|
|
219
|
+
}
|
|
220
|
+
```
|
|
221
|
+
|
|
211
222
|
## Examples
|
|
212
223
|
|
|
213
224
|
- [Discord Bot](https://github.com/TTFM-Labs/TTLIVE-discord-bot)
|