brimell / spicetify-star-ratings

Rate your music out of 5 stars (interactive)!
12 stars 1 forks source link

Rating an album #2

Closed Akasiek closed 3 months ago

Akasiek commented 6 months ago

Hi! Continuing my little rant...

In the original extension there was an indicator on the album page that added up the stars of all the songs, calculated the average of the ratings and displayed it as the album rating.

It was my idea and the issue is here: https://github.com/duffey/spicetify-star-ratings/issues/3

Can you bring it back? Or maybe add an option to rate the album yourself and have the calculation visible somewhere else? Appreciate it!

brimell commented 3 months ago

Hi there,

So sorry for the late reply. It seems not to be working when using it through the spicetify marketplace however works fine when you download the star-ratings.js file from the dist folder and place it in your ...\AppData\Roaming\spicetify\Extensions folder with a spicetify config that looks like the following:

[AdditionalOptions]
extensions            = star-ratings.js
custom_apps           = marketplace
sidebar_config        = 1
home_config           = 1
experimental_features = 1

image

brimell commented 3 months ago

Again, sorry for the late reply but I was also wondering about changing the album rating to just a rating and not an average - the only problem with this is storage. Currently, the song ratings are stored through spotify in folders but I'm not sure about storing a rating for an album at the moment. If anyone has some good suggestions please let me know maybe in another issue?

Akasiek commented 3 months ago

Thanks for the replay, but I wouldn't consider it closed. Most people use the Marketplace to install extensions. Can you try to fix it for Marketplace?

brimell commented 3 months ago

On it!

brimell commented 3 months ago

Will check back in tomorrow - jsdelivr cdn takes 12 hours to update so the development/debugging process is annoyingly slow 😢 but I think my fixes should work 👍

brimell commented 3 months ago

Seems to be working through spicetify marketplace now! Thanks for letting me know about the issue ❤️

Akasiek commented 3 months ago

image

Working great! Thank you!

Akasiek commented 2 months ago

Again, sorry for the late reply but I was also wondering about changing the album rating to just a rating and not an average - the only problem with this is storage. Currently, the song ratings are stored through spotify in folders but I'm not sure about storing a rating for an album at the moment. If anyone has some good suggestions please let me know maybe in another issue?

I was recently thinking about this and maybe SQLite would work for this. You could enable this option by plugging in SQLite hosting address. Something like https://sqlitecloud.io?

brimell commented 2 months ago

Yeah so would you not still need users to have accounts then to login and sync etc. Could do it by IP ig but I prefer accounts to that. If I have time I might get round to it but unfortunately I'm quite busy atm