diff --git a/package-lock.json b/package-lock.json index 9a84384..c6f43a2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "subsonics-web", - "version": "2.0.0", + "version": "2.0.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "subsonics-web", - "version": "2.0.0", + "version": "2.0.4", "dependencies": { "cookie": "^0.5.0", "cookie-parser": "^1.4.6", diff --git a/src/modules/sub-player.js b/src/modules/sub-player.js index aae0e63..ac05185 100644 --- a/src/modules/sub-player.js +++ b/src/modules/sub-player.js @@ -241,8 +241,11 @@ module.exports.addSong = async function (data, userId, quick, playlist) { } else { songs = await client.manager.search(data.uri) + + } + if(quick) { player.play(songs.tracks[0]) diff --git a/src/web/public/stylesheets/style.css b/src/web/public/stylesheets/style.css index 28c3d06..81bbc59 100644 --- a/src/web/public/stylesheets/style.css +++ b/src/web/public/stylesheets/style.css @@ -306,7 +306,7 @@ button:hover { } .durationBar { - /* display: flex; */ + display: flex; align-items: center; }