@asleepynerd/spices@4.1.5
Adds a track or array of tracks to prioritized queue.
Interface for interacting with Spotify client's app title
Get current default app title
Reset app title to default
Set default app title. This has no effect if the player is running. Will override any previous forced title.
Subscribe to title changes. This event is not fired when the player changes app title.
classnames
Fetch interesting colors from URI.
A filtered copy of user's config-xpui file.
Async wrappers of CosmosAPI
Analyse and extract color presets from an image. Works for any valid image URL/URI.
Fetch track analyzed audio data. Beware, not all tracks have audio data.
Return font styling used by Spotify.
Spicetify's QraphQL wrapper for Spotify's GraphQL API endpoints
Context for GraphQL queries.
Collection of GraphQL definitions.
Handler for GraphQL queries.
GraphQL mutation definitions. Subset of Definitions that are used as mutation requests.
Possible types of entities.
GraphQL query definitions. Subset of Definitions that are used as query requests.
Sends a GraphQL query to Spotify.
GraphQL response definitions. Subset of Definitions that are used as response types.
Set of APIs method to register, deregister hotkeys/shortcuts
Spotify internal library for localization
Registered date time formats in the current session
Dictionary of localized strings
Current locale of the client
Relative time format
Collection of supported locales
Format date into locale string
Format number into locale string
Format number into compact locale string
Format time into relative locale string
Get localized string
Get date time format of the passed options.
Get the current locale dictionary
Get the current locale
Get the current relative time format
Get the separator for the current locale
Get the current locale code for Smartling
Get the current locale code for URL
Set the dictionary for the current locale
Set the current locale
Set the current locale code for URL
Transform text into locale lowercase
Transform text into locale uppercase
Empties the list associated with the object of all key/value pairs, if there are any.
Get key value
Delete key
Set new value for key
Keyboard shortcut library
Contains vast array of internal APIs. Please explore in Devtool Console.
Add button in player controls
Create a widget next to track info
Register a listener type on Spicetify.Player.
Skip to previous track.
An object contains all information about current track and player.
Decrease a small amount of volume.
Dispatches an event at Spicetify.Player.
Convert milisecond to mm:ss format
Return song total duration in milisecond.
Return track heart state.
Return mute state
Return elapsed duration in milisecond.
Return elapsed duration in percentage (0 to 1).
Return current Repeat state (No repeat = 0/Repeat all = 1/Repeat one = 2).
Return current shuffle state.
Return current volume level (0 to 1).
Increase a small amount of volume.
Return a boolean whether player is playing.
Skip to next track.
Pause track.
Resume track.
Play a track, playlist, album, etc. immediately
Unregister added event listener type.
Seek track to position.
Set track heart state.
Turn mute on/off
Change Repeat mode
Turn shuffle on/off.
Set volume level
Seek to previous amount of milisecond
Seek to next amount of milisecond
Toggle Heart (Favourite) track state.
Toggle Mute/No mute.
Toggle Play/Pause.
Toggle No repeat/Repeat all/Repeat one.
Toggle Shuffle/No shuffle.
Popup Modal
Queue object contains list of queuing tracks, history of played tracks and current track metadata.
React instance to create components
Stock React components exposed from Spotify library
Component to render Spotify-style confirm dialog
Component to render Spotify-style icon
Component to render Spotify slider
Component to render Spotify-style text
Component to display tooltip when hovering over element Useful for accessibility
React DOM instance to render and mount components
React DOM Server instance to render components to string
react-flip-toolkit
React Hook to create interactive drag-and-drop element
React Hook to use extracted color from GraphQL
React Query v3
Remove a track or array of tracks from current queue.
- canPause
- canResume
- canSeek
- canSkipNext
- canSkipPrevious
- canToggleRepeatContext
- canToggleRepeatTrack
- canToggleShuffle
- disallowPausingReasons
- disallowResumingReasons
- disallowSeekingReasons
- disallowSkippingNextReasons
- disallowSkippingPreviousReasons
- disallowTogglingRepeatContextReasons
- disallowTogglingRepeatTrackReasons
- disallowTogglingShuffleReasons
- disallowTransferringPlaybackReasons
Display a bubble of notification. Useful for a visual feedback.
SVG icons
Tippy.js instance used by Spotify
Spicetify's predefined props for Tippy.js Used to mimic Spotify's tooltip behavior
Add button in top bar next to navigation buttons
- actions.skipping_next_past_track
- actions.skipping_prev_past_track
- album_artist_name
- album_disc_count
- album_disc_number
- album_title
- album_track_count
- album_track_number
- album_uri
- artist_name
- artist_name:1
- artist_uri
- artist_uri:1
- collection.can_add
- collection.can_ban
- collection.in_collection
- collection.is_banned
- context_uri
- duration
- entity_uri
- has_lyrics
- image_large_url
- image_small_url
- image_url
- image_xlarge_url
- interaction_id
- is_explicit
- iteration
- marked_for_download
- page_instance_id
- popularity
- title
- track_player
Set of APIs method to parse and validate URIs.
- Type
- album
- albumURI
- anchor
- applicationURI
- args
- artist
- artistURI
- category
- clone
- collectionAlbumURI
- collectionURI
- concertURI
- context
- country
- disc
- duration
- episodeURI
- folderURI
- from
- fromString
- getPath
- global
- hasBase62Id
- hexToId
- id
- idToHex
- isAd
- isAlbum
- isApplication
- isArtist
- isArtistConcerts
- isArtistToplist
- isAudioFile
- isCollection
- isCollectionAlbum
- isCollectionArtist
- isCollectionMissingAlbum
- isCollectionTrackList
- isConcert
- isContextGroup
- isDailyMix
- isEmpty
- isEpisode
- isExpression
- isFacebook
- isFolder
- isFollowers
- isFollowing
- isGenre
- isImage
- isInbox
- isInterruption
- isLibrary
- isLive
- isLocal
- isLocalAlbum
- isLocalArtist
- isLocalTrack
- isMedia
- isMerch
- isMosaic
- isPlaylist
- isPlaylistV1OrV2
- isPlaylistV2
- isPoll
- isPrerelease
- isProfile
- isPublishedRootlist
- isQuestion
- isQueue
- isRadio
- isRoom
- isRootlist
- isSameIdentity
- isSearch
- isShow
- isSocialSession
- isSpecial
- isStarred
- isStation
- isTempPlaylist
- isToplist
- isTrack
- isTrackset
- isUnknown
- isUserTopTracks
- isUserToplist
- localAlbumURI
- localArtistURI
- play
- playlistV2URI
- prereleaseURI
- profileURI
- query
- searchURI
- showURI
- stationURI
- toString
- toURI
- toURL
- toURLPath
- toplist
- track
- trackURI
- type
- userToplistURI
- username
- album_artist_name
- album_disc_count
- album_disc_number
- album_title
- album_track_count
- album_track_number
- album_uri
- artist_name
- artist_uri
- canvas.artist.avatar
- canvas.artist.name
- canvas.artist.uri
- canvas.canvasUri
- canvas.entityUri
- canvas.explicit
- canvas.fileId
- canvas.id
- canvas.type
- canvas.uploadedBy
- canvas.url
- collection.can_add
- collection.can_ban
- collection.in_collection
- collection.is_banned
- context_uri
- duration
- entity_uri
- has_lyrics
- image_large_url
- image_small_url
- image_url
- image_xlarge_url
- interaction_id
- is_local
- iteration
- local_file_path
- local_file_size
- marked_for_download
- page_instance_id
- popularity
- title
- track_player