Update plex.tv

This commit is contained in:
freearhey
2023-11-26 12:52:57 +03:00
parent 948495df13
commit 9d92665918
4 changed files with 81 additions and 231 deletions

View File

@@ -32,9 +32,9 @@ module.exports = {
return programs
},
async channels() {
async channels({ token }) {
const data = await axios
.get(`${API_ENDPOINT}/lineups/plex/channels?X-Plex-Token=zb85PfdNQLmsry9kQLBR`)
.get(`${API_ENDPOINT}/lineups/plex/channels?X-Plex-Token=${token}`)
.then(r => r.data)
.catch(console.error)