1.1.11 - UI changes, volume curve etc
This commit is contained in:
@ -89,7 +89,7 @@ class Playlist {
|
||||
this.id = json.PLAYLIST_ID.toString(),
|
||||
this.title = json.TITLE,
|
||||
this.trackCount = json.NB_SONG ? json.NB_SONG : tracksJson.total;
|
||||
this.image = new DeezerImage(json.PLAYLIST_PICTURE, 'playlist');
|
||||
this.image = new DeezerImage(json.PLAYLIST_PICTURE, json.PICTURE_TYPE);
|
||||
this.fans = json.NB_FAN;
|
||||
this.duration = parseInt((json.DURATION ? json.DURATION : 0).toString(), 10) * 1000;
|
||||
this.description = json.DESCRIPTION;
|
||||
|
@ -69,8 +69,9 @@ app.post('/settings', async (req, res) => {
|
||||
app.post('/authorize', async (req, res) => {
|
||||
if (!req.body.arl || req.body.arl.length < 100) return res.status(500).send('Invalid ARL');
|
||||
|
||||
//Check if arl valid
|
||||
deezer.arl = req.body.arl;
|
||||
//Check if ARL valid
|
||||
let electron = deezer.electron;
|
||||
deezer = new DeezerAPI(req.body.arl, electron);
|
||||
settings.arl = req.body.arl;
|
||||
|
||||
if (await (deezer.authorize())) {
|
||||
|
@ -36,7 +36,6 @@ class Settings {
|
||||
this.language = 'en';
|
||||
|
||||
this.crossfadeDuration = 3000;
|
||||
this.lightTheme = false;
|
||||
this.playlistFolder = false;
|
||||
|
||||
this.forceWhiteTrayIcon = false;
|
||||
|
Reference in New Issue
Block a user