a simple web player for subsonic tinysub.devins.page
subsonic navidrome javascript
9
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: ratings again

+1 -1
+1 -1
src/js/player.js
··· 111 111 112 112 // set song rating (0-5) 113 113 const setSongRating = async (song, rating) => { 114 - if (!song || !state.api || !state.settings.enableRatings) return; 114 + if (!song || !state.api) return; 115 115 if (rating < 0 || rating > 5) return; 116 116 117 117 await state.api.setRating(song.id, rating);