Add Spotify App Plugin#3
Open
LeadFreeCandy wants to merge 44 commits intomainfrom
Open
Conversation
An index.js update that produces headers and subheaders on the spicetify wrapper of spotify, in the SpotifyPlus app. Right now it is only for testing purposes, But baseline code has been written for future changes.
Updated the name and icon so that it lights up when the user hovers over the icon in the UI.
the icon in the UI lights up properly when users hover over it
Update manifest.json
This commit continues to make progress on the spicetify app, starting the implementation of like, dislike, and skip buttons. It also added items for future implementation, like the beginning of a local storage for recent songs.
Added a new button into Index.js and added a few new functions to index for future functionality. created a baseline for future communication with LLM and Spotify Local Storage.
Added functionality to play songs when button is clicked, and began adding functionality for playlists.
retrieve uri function. Allows skip button to work
Added song list for skip button
cleaned up functions and removed unnecessary functions/parts of functions that aren't used anymore.
Added funtionality to the like button which creates a playlist and adds songs to said playlist as the user likes different songs. Currently the user can add a song mutiple times which needs to be changed in the future.
Partially implemented storage.
Created a create playlist button, changed like button to add liked songs to an internal list which create playlist makes a playlist off of.
Small fix to edit button placement.
1/2 working storage update to Spicetify app. Can save information to the local storage and retrieve it, but have not implemented method to save the correct information.
Working storage created using Spotify Local Storage API. calls to storage include getItem(), setItem(), and clearItem(). Send function has been created and stores items in a <key,string[]> method. So when calling getItem() will return an array of strings, with every string being a URI.
Since the beginning of the project, we had to create a minimum of two tabs in the Top Bar for it to function properly, but the second tab was simply irrelevant to the project, and was unused. Therefore, I changed the tabs in topBarContent and removed the map created of the links, changing the <div> creation as well. This fixed the problem.
Fixed spacing issues that were created based on newest spotify update, changing the formatting and pixel offset of the footer element. I also created an image that sits in the center of the page, adding an interesting touch. Eventually, I will implement the image changing with album change.
Image generation almost completed, just need to adjust HandleImageGen to be in scope.
Working image generation that generates the album logo of the currently playing song and presents it in the middle of the page.
Updated functionality, editing button functions to allow for users to know when an Item is selected and clicked.
Added keyboard shortcuts for liking, disliking, playing next, and creating a playlist CTRL+ALT+l = like CTRL+ALT+d = dislike CTRL+ALT+n = play next CTRL+ALT+p = create playlist
Added the song title above the image, making it look more "clean"
Does not work as intended yet.
…t can easily integrate llm in the future. Fixed playlist button as well
… clicked. Also resets liked song list
… does first listed)
…for songs that have been liked
…annot be created if no songs have been liked.
…is play it automatically gets skipped while the explicit toggle is set to not allowed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This plugin should add basic skeleton functionality for an App extension in Spotify.