Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Fix deactivated play button for v24.30+ #121

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions managers/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,36 @@ module.exports = (app) => {
})
)

app.get("/links/api/fn/mnemonic/:playlist/related", (req, res) => {
var response = {
"parentLinks": [],
"links": {}
};

response.links[req.params.playlist] = {
"namespace": "fn",
"accountId": "epic",
"creatorName": "Epic",
"mnemonic": req.params.playlist,
"linkType": "BR:Playlist",
"metadata": {
"matchmaking": {
"override_playlist": req.params.playlist
}
},
"version": 93,
"active": true,
"disabled": false,
"created": "2021-08-16T16:43:18.268Z",
"published": "2021-08-03T15:27:17.540Z",
"descriptionTags": [

]
}

res.json(response)
})

app.get('/links/api/fn/mnemonic/:playlist', (req, res) =>
res.json({
"namespace": "fn",
Expand Down