Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Musish/Musish
/ functions
Functions
272 in github.com/Musish/Musish
⨍
Functions
272
◇
Types & classes
146
↓ 14 callers
Function
artworkForMediaItem
(item: MusicKit.MediaItem, size: number)
src/app/utils/Utils.ts:26
↓ 9 callers
Function
withMK
( WrappedComponent: React.ComponentType<P>, bindings: { [k: string]: any } = {}, )
src/app/hoc/withMK.tsx:4
↓ 8 callers
Function
useModal
()
src/app/components/Providers/ModalProvider.tsx:58
↓ 7 callers
Function
setQueueItems
(items: MusicKit.MediaItem[], index = 0, container: any = null)
src/app/services/MusicPlayerApi.ts:178
↓ 6 callers
Function
addToLibrary
(mediaType: string, mediaIds: string[])
src/app/services/MusicApi.ts:65
↓ 6 callers
Function
getHeaders
()
src/app/services/MusicApi.ts:78
↓ 5 callers
Function
useMK
(bindings: B = {} as B)
src/app/hooks/useMK.tsx:3
↓ 4 callers
Function
createMediaItem
(song: MusicKit.MediaItem, container: any = null)
src/app/utils/Utils.ts:3
↓ 4 callers
Function
isShuffled
()
src/app/services/MusicPlayerApi.ts:170
↓ 4 callers
Function
withContext
( Component: React.ComponentType<P>, WrapperContext: Context<T>, )
src/app/hoc/withContext.tsx:3
↓ 3 callers
Function
addSongsToPlaylist
(playlistId: any, songs: MusicKit.MediaItem[])
src/app/services/MusicApi.ts:14
↓ 3 callers
Function
getPlayingItem
()
src/app/services/MusicPlayerApi.ts:126
↓ 3 callers
Function
getPositionValue
(e: React.SyntheticEvent<HTMLInputElement>)
src/app/components/Common/Player/PlayerTime.tsx:51
↓ 3 callers
Function
getSK
()
src/app/components/Providers/LastfmProvider.tsx:34
↓ 3 callers
Function
getTime
(ms: number)
src/app/utils/Utils.ts:34
↓ 3 callers
Function
isPlaying
()
src/app/services/MusicPlayerApi.ts:220
↓ 3 callers
Function
playLater
(item: MusicKit.MediaItem)
src/app/services/MusicPlayerApi.ts:80
↓ 3 callers
Function
playNext
(item: MusicKit.MediaItem)
src/app/services/MusicPlayerApi.ts:53
↓ 3 callers
Function
reset
()
src/app/components/Providers/LastfmProvider.tsx:165
↓ 3 callers
Function
withModal
( Component: React.ComponentType<T>, )
src/app/components/Providers/ModalProvider.tsx:48
↓ 2 callers
Function
getRatingUrl
(type: string, id: any)
src/app/utils/Utils.ts:72
↓ 2 callers
Function
humanifyMillis
(duration: number)
src/app/utils/Utils.ts:44
↓ 2 callers
Function
humanifyTrackNumbers
(trackNumber: number)
src/app/utils/Utils.ts:57
↓ 2 callers
Function
isCurrentTrack
(track: MusicKit.MediaItem)
src/app/services/MusicPlayerApi.ts:210
↓ 2 callers
Function
normalizeSring
(s)
src/backend/utils.js:6
↓ 2 callers
Function
play
()
src/app/services/MusicPlayerApi.ts:107
↓ 2 callers
Method
playTrack
({ tracks, index, }: { track: MusicKit.MediaItem; tracks: MusicKit.MediaItem[]; index: n
src/app/components/Routes/Search/SearchPage.tsx:31
↓ 2 callers
Function
request
(isWrite: boolean, method: ApiMethod, callParams = {}, sk = true)
src/app/components/Providers/LastfmProvider.tsx:54
↓ 2 callers
Function
sendUpdate
(type: ApiMethod, item: MusicKit.MediaItem)
src/app/components/Providers/LastfmProvider.tsx:85
↓ 2 callers
Function
setPseudoRoute
(route: string)
src/app/utils/Utils.ts:95
↓ 2 callers
Function
usePlaylists
()
src/app/components/Providers/PlaylistsProvider.tsx:30
↓ 2 callers
Function
withPseudoRoute
( Component: React.ComponentType<P>, route: (props: RouteComponentProps & P) => string | string, )
src/app/hoc/withPseudoRoute.tsx:10
↓ 2 callers
Function
withQueueModal
( Component: React.ComponentType<T>, )
src/app/components/Providers/QueueProvider.tsx:33
↓ 1 callers
Function
addAlbumToPlaylist
(playlistId: any, albumId: any)
src/app/services/MusicApi.ts:35
↓ 1 callers
Function
addPlaylistToPlaylist
(playlistId: any, sourcePlaylistId: any)
src/app/services/MusicApi.ts:50
↓ 1 callers
Function
appendQueueItems
(items: MusicKit.MediaItem[], container = null)
src/app/services/MusicPlayerApi.ts:194
↓ 1 callers
Function
charts
({ storefront })
src/backend/browse/browse.js:4
↓ 1 callers
Function
collect
(props: any, render: any)
src/app/components/Common/ContextMenu/ContextMenuTrigger.tsx:5
↓ 1 callers
Function
fetchArtist
(hit)
src/backend/genius/artist.js:26
↓ 1 callers
Function
fetchGeniusSong
()
src/app/components/Common/Player/Lyrics/Lyrics.tsx:79
↓ 1 callers
Function
fetchHits
(artist)
src/backend/genius/artist.js:35
↓ 1 callers
Function
fetchHits
(name, artist)
src/backend/genius/song.js:31
↓ 1 callers
Function
fetchItems
(ids: string[])
src/app/components/Routes/Catalog/Browse/ItemList.tsx:30
↓ 1 callers
Method
fetchPlaylists
(playlists: MusicKit.Resource[])
src/app/components/Routes/Catalog/Browse/Genres/Genre/GenrePage.tsx:41
↓ 1 callers
Function
fetchSK
(token: string)
src/app/components/Providers/LastfmProvider.tsx:153
↓ 1 callers
Function
fetchSong
(hit)
src/backend/genius/song.js:25
↓ 1 callers
Function
fetchToken
()
src/app/components/Providers/LastfmProvider.tsx:171
↓ 1 callers
Function
findMatch
(hits, name)
src/backend/genius/artist.js:6
↓ 1 callers
Function
findMatch
(hits, { name, artist })
src/backend/genius/song.js:5
↓ 1 callers
Method
flattenDesc
(object: any, props = {})
src/app/components/Routes/Catalog/Artist/ArtistPage.tsx:22
↓ 1 callers
Function
getCurrentBufferedProgress
()
src/app/components/Common/Player/PlayerTime.tsx:36
↓ 1 callers
Function
getCurrentPlaybackDuration
()
src/app/components/Common/Player/PlayerTime.tsx:28
↓ 1 callers
Function
getCurrentPlaybackTime
()
src/app/components/Common/Player/PlayerTime.tsx:32
↓ 1 callers
Method
getDerivedStateFromProps
(props: QueueListProps)
src/app/components/Common/Player/Queue/QueueList.tsx:29
↓ 1 callers
Function
getDuration
()
src/app/components/Common/Player/PlayerTime.tsx:41
↓ 1 callers
Function
getNextSongs
(path: string)
src/app/services/MusicApi.ts:6
↓ 1 callers
Function
getQueueItems
()
src/app/services/MusicPlayerApi.ts:174
↓ 1 callers
Function
getRating
(type: string, id: any)
src/app/services/MusicApi.ts:150
↓ 1 callers
Function
getScrubberValue
()
src/app/components/Common/Player/PlayerTime.tsx:71
↓ 1 callers
Function
handle
({ artistId })
src/backend/genius/artist.js:49
↓ 1 callers
Function
handle
({ name, artist })
src/backend/genius/song.js:46
↓ 1 callers
Function
handleEventChange
(key: string, e: MKEvent)
src/app/hooks/useMK.tsx:9
↓ 1 callers
Function
isSame
(a: any, b: any)
src/app/services/MusicPlayerApi.ts:200
↓ 1 callers
Function
isTrackPlaying
(track: MusicKit.MediaItem)
src/app/services/MusicPlayerApi.ts:224
↓ 1 callers
Function
load
(params: MusicKit.QueryParameters)
src/app/components/Routes/Library/Songs/SongsPage.tsx:9
↓ 1 callers
Function
playAlbum
(album: MusicKit.Resource, index: number)
src/app/services/MusicPlayerApi.ts:12
↓ 1 callers
Function
playPlaylist
(playlist: MusicKit.Resource, index: number)
src/app/services/MusicPlayerApi.ts:34
↓ 1 callers
Function
playTrack
(tracks: MusicKit.MediaItem[], index: number)
src/app/services/MusicPlayerApi.ts:6
↓ 1 callers
Function
playlists
({ storefront })
src/backend/browse/browse.js:9
↓ 1 callers
Function
prependQueueItems
(items: MusicKit.MediaItem[], container = null)
src/app/services/MusicPlayerApi.ts:189
↓ 1 callers
Method
queueState
(index: number, position: number)
src/app/components/Common/Player/Queue/QueueList.tsx:17
↓ 1 callers
Method
render
()
src/app/components/Common/Player/Player.tsx:105
↓ 1 callers
Method
render
()
src/app/hoc/withMK.tsx:45
↓ 1 callers
Method
renderContent
( _: InfiniteLoaderOnScroll, state: InfiniteLoaderState<MusicKit.Resource>, )
src/app/components/Routes/Library/Albums/AlbumsPage.tsx:36
↓ 1 callers
Method
renderItems
({ items }: InfiniteLoaderState<any>)
src/app/components/Routes/Library/RecentlyAdded/RecentlyAddedPage.tsx:20
↓ 1 callers
Method
renderItems
({ items }: InfiniteLoaderState<MusicKit.Resource>)
src/app/components/Routes/Library/Albums/AlbumsPage.tsx:26
↓ 1 callers
Function
renderProgress
()
src/app/components/Common/Player/PlayerTime.tsx:83
↓ 1 callers
Function
scheduleScrobble
()
src/app/components/Providers/LastfmProvider.tsx:217
↓ 1 callers
Function
seekToTime
(time: number)
src/app/services/MusicPlayerApi.ts:122
↓ 1 callers
Function
setRating
(type: string, id: any, rating: number)
src/app/services/MusicApi.ts:170
↓ 1 callers
Function
shuffle
()
src/app/services/MusicPlayerApi.ts:130
↓ 1 callers
Function
sign
(params: any)
src/app/components/Providers/LastfmProvider.tsx:136
↓ 1 callers
Function
timeToPercent
(time: number, duration: number)
src/app/components/Common/Player/PlayerTime.tsx:20
↓ 1 callers
Function
unShuffle
()
src/app/services/MusicPlayerApi.ts:149
↓ 1 callers
Function
useLyricsModal
()
src/app/components/Providers/LyricsModalProvider.tsx:43
↓ 1 callers
Function
withLyricsModal
( Component: React.ComponentType<T>, )
src/app/components/Providers/LyricsModalProvider.tsx:33
Function
AlbumContextMenu
({ album })
src/app/components/Common/ContextMenu/Types/Album/AlbumContextMenu.tsx:16
Function
AlbumItem
(props: AlbumItemProps)
src/app/components/Common/AlbumItem/AlbumItem.tsx:22
Function
AlbumPage
({ match }: AlbumPageProps)
src/app/components/Routes/Album/AlbumPage.tsx:12
Function
AlbumResultItem
({ album, size, connectDragSource })
src/app/components/Common/NavigationBar/Search/AlbumResultItem.tsx:18
Function
App
()
src/app/components/App.tsx:33
Function
ArtistItem
({ artist, size }: ArtistItemProps)
src/app/components/Common/ArtistItem/ArtistItem.tsx:10
Function
ArtistResultItem
({ artist })
src/app/components/Common/NavigationBar/Search/ArtistResultItem.tsx:10
Function
ArtistsList
({ history, location }: ArtistsListProps)
src/app/components/Routes/Library/Artists/ArtistsList.tsx:47
Function
ArtistsPage
()
src/app/components/Routes/Library/Artists/ArtistsPage.tsx:7
Function
AuthorizationButton
({ mk, authorized })
src/app/components/Common/NavigationBar/AuthorizationButton/AuthorizationButton.tsx:12
Function
BrowsePage
()
src/app/components/Routes/Catalog/Browse/BrowsePage.tsx:14
Function
ContextMenuTrigger
({ render, ...rest }: ContextMenuTrigger)
src/app/components/Common/ContextMenu/ContextMenuTrigger.tsx:21
Function
CrashPage
()
src/app/components/Providers/SentryBoundary.tsx:4
Function
CuratorItem
({ size, history, curator, id, }: CuratorItemProps)
src/app/components/Common/CuratorItem/CuratorItem.tsx:14
next →
1–100 of 272, ranked by callers