spicetify / cli

Command-line tool to customize Spotify client. Supports Windows, MacOS, and Linux.
https://spicetify.app
GNU Lesser General Public License v2.1
18.14k stars 715 forks source link

"New Releases" extensions for v2 #626

Closed siffreinsg closed 3 years ago

siffreinsg commented 3 years ago

Hi, Some extensions including newReleases.js and queueAll.js are no longer available when upgrading to v2. Using files from the "legacy" branch does not work (I haven't tested much, only new Releases button which does not show up). Is there plans to upgrade them to v2 ? Many thanks

snjyr123 commented 3 years ago

I think you also have to downgrade spotify...

Steccah commented 3 years ago

I really hope that newReleases.js will not be abandoned

Idyllwilde commented 3 years ago

Me too, I miss the newReleases.js extension so much

khanhas commented 3 years ago

Can't work on this til next 2 week, sorry.

siffreinsg commented 3 years ago

No problem! Take the time needed, there is no hurry :D Thanks for your work on Spicetify, it is awesome !

khanhas commented 3 years ago

You know what. I spent an hour to refurbished old code and reddit app code, it's easier than I thought so here it is: image

Download: new-releases-0.1.zip Extract this to CustomApps folder. Preferably in where spicetify binary file is. Make sure folder name is new-releases Then run

spicetify config custom_apps new-releases
spicetify apply

Fetch tracks only by default. I don't have time to make setting menu yet, so, to turn on podcast, open DevTool console and execute:

localStorage.setItem("new-release:tracks", "true")
localStorage.setItem("new-release:podcast", "true")
nils-kt commented 3 years ago

@khanhas you're crazy! Thanks. 👍🏼

Idyllwilde commented 3 years ago

@khanhas Thanks a lot for your work on this. However, I have noticed that it only works once during each session. When I click on it a second time, I get a never-ending "loading" icon. When I close and open spotify, it works again. No rush to fix this of course!

FiftyFour7250 commented 3 years ago

@khanhas Hey, will it be possible to upgrade this version of the new releases? https://github.com/khanhas/spotify-release-list

khanhas commented 3 years ago

@FiftyFour7250 Nah, I don't think I will. It's too complicated to bring everything over. Time range picker doesn't make sense in "New Releases" context. But I can make it fetches everything from the artists tho since those information comes with the latest_releases request anyway.

@Idyllwilde Thank you for your report. I hardly can leave a problem unsolved so here the quick fix

Download: new-releases-0.2.zip To get everything from artists, execute this in devtool console:

localStorage.setItem("new-release:everything", "true")
FiftyFour7250 commented 3 years ago

Wow, cool. It's just a pity that it doesn't show for more than a month. I have the oldest entry from April 27. And the size would like to be smaller, and then without the scroll I see only 2 days.

siffreinsg commented 3 years ago

Wow you're awesome !! Many thanks you rock

Idyllwilde commented 3 years ago

@khanhas Thanks so much!

Idyllwilde commented 3 years ago

@khanhas Just one more question: How can I get the page to refresh?