Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-musicfox/go-musicfox
/ functions
Functions
1,729 in github.com/go-musicfox/go-musicfox
⨍
Functions
1,729
◇
Types & classes
330
↓ 78 callers
Method
Error
()
internal/netease/error.go:12
↓ 64 callers
Method
String
String implements the fmt.Stringer interface for the Mode type.
internal/types/player.go:17
↓ 63 callers
Method
Run
()
internal/macdriver/cocoa/nsapplication.go:78
↓ 57 callers
Function
String
(str string)
internal/macdriver/core/nsstring.go:48
↓ 45 callers
Method
Close
()
internal/player/player.go:30
↓ 44 callers
Function
Error
(err any)
utils/slogx/slog.go:29
↓ 42 callers
Method
Error
()
internal/playlist/errors.go:14
↓ 39 callers
Method
ID
()
internal/macdriver/cocoa/nsuser_notification_delegate.go:83
↓ 38 callers
Method
Release
()
internal/macdriver/core/core.go:55
↓ 37 callers
Method
Tick
(width int, content string)
utils/app/x_scoll_bar.go:32
↓ 34 callers
Method
String
String returns the string representation of the frame rate (e.g., "30 FPS").
internal/configs/framerate.go:34
↓ 33 callers
Method
SetObjcID
(id objc.ID)
internal/macdriver/core/core.go:51
↓ 33 callers
Function
createTestPlaylist
createTestPlaylist 创建测试用的播放列表
internal/playlist/ordered_test.go:12
↓ 32 callers
Function
Must
(err error)
utils/errorx/error.go:7
↓ 30 callers
Function
Notify
(content NotifyContent)
utils/notify/notification_macapp.go:29
↓ 29 callers
Method
AddTargetAction
(target objc.ID, action objc.SEL)
internal/macdriver/mediaplayer/mpremotecommand.go:29
↓ 28 callers
Method
ToLoginPage
ToLoginPage 需要登录的处理
internal/ui/netease.go:122
↓ 28 callers
Function
boolToToml
(b bool)
internal/commands/migrate.go:629
↓ 27 callers
Method
Initialize
Initialize 初始化播放模式(用于需要特殊初始化的模式,如随机播放)
internal/playlist/interfaces.go:68
↓ 26 callers
Function
Must1
(a T, err error)
utils/errorx/error.go:13
↓ 25 callers
Function
mpdErrorHandler
(err error, ignore bool)
internal/player/mpd_player.go:28
↓ 23 callers
Method
Duration
()
internal/macdriver/avcore/avplayeritem.go:45
↓ 23 callers
Method
Initialize
Initialize 初始化播放列表和当前播放索引
internal/playlist/interfaces.go:12
↓ 23 callers
Method
NextSong
NextSong 根据当前播放模式获取下一首歌曲 manual 参数表示是否为手动切换
internal/playlist/interfaces.go:61
↓ 22 callers
Function
EnterMenuCallback
(m *model.Main)
internal/ui/login_callback.go:7
↓ 21 callers
Function
GetViewFromSongs
GetViewFromSongs 从歌曲列表获取View
utils/menux/menu.go:14
↓ 21 callers
Function
NewPlaylistManager
NewPlaylistManager 创建一个新的播放列表管理器
internal/playlist/manager.go:26
↓ 20 callers
Function
NewTable
NewTable 创建table
internal/storage/table.go:17
↓ 20 callers
Function
assertNotEmpty
(command MPRemoteCommand, err string)
internal/macdriver/mediaplayer/mpremotecommandcenter_test.go:9
↓ 20 callers
Function
newProp
(value any, cb func(*prop.Change) *dbus.Error)
internal/remote_control/remote_control_linux.go:330
↓ 19 callers
Method
Pause
()
internal/player/player.go:16
↓ 19 callers
Method
SetPlayMode
SetPlayMode 设置播放模式
internal/playlist/interfaces.go:39
↓ 19 callers
Method
Start
()
internal/ui/ticker_by_player.go:17
↓ 18 callers
Method
GetPlayMode
GetPlayMode 获取当前播放模式
internal/playlist/interfaces.go:42
↓ 18 callers
Method
client
()
internal/player/mpd_player.go:124
↓ 18 callers
Function
newPlaylistError
newPlaylistError 创建一个新的播放列表错误
internal/playlist/errors.go:50
↓ 17 callers
Method
SetVolume
(volume int)
internal/player/player.go:27
↓ 17 callers
Method
Stop
()
internal/player/player.go:18
↓ 15 callers
Method
Execute
Execute 按照配置执行操作。 它会按顺序处理:加载状态 -> 认证检查 -> 核心逻辑。
internal/ui/executor.go:46
↓ 15 callers
Function
NewOperation
NewOperation 创建一个新操作。 参数 m 是 Netease 主模型,coreFunc 是要执行的核心业务逻辑。
internal/ui/executor.go:21
↓ 15 callers
Method
ShowLoading
ShowLoading 将操作标记为在执行期间应显示加载状态。 如果不调用此方法,则默认为不显示加载状态。 返回 Operation 指针以支持链式调用。
internal/ui/executor.go:39
↓ 14 callers
Method
Add
添加一个 Scrobble
internal/storage/lastfm_scrobble.go:36
↓ 14 callers
Method
Playlist
()
internal/ui/player.go:67
↓ 13 callers
Method
PreviousSong
PreviousSong 根据当前播放模式获取上一首歌曲 manual 参数表示是否为手动切换
internal/playlist/interfaces.go:65
↓ 13 callers
Method
SetByKVModel
SetByKVModel edit one line by KVModel
internal/storage/table.go:107
↓ 13 callers
Method
SetMode
SetMode 设置播放模式
internal/ui/player.go:394
↓ 13 callers
Function
getTargetSong
getTargetSong 根据上下文获取目标歌曲。 isSelected: true 获取当前选择歌曲,false 获取当前播放歌曲 返回获取到的歌曲和一个布尔值,表示是否成功获取。
internal/ui/operate.go:38
↓ 13 callers
Function
newBaseMenu
(netease *Netease)
internal/ui/menu.go:50
↓ 12 callers
Method
GetPlayModeName
GetPlayModeName 获取当前播放模式的名称 Deprecated: please use GetPlayMode().Name() instead.
internal/playlist/interfaces.go:47
↓ 12 callers
Method
Name
Name returns the human-readable name of the play mode.
internal/types/player.go:37
↓ 12 callers
Function
close
(num: number)
script/github/close-issues.ts:28
↓ 11 callers
Method
Get
Get 尝试从缓存中获取一首歌的数据流
internal/track/cache.go:188
↓ 11 callers
Method
GetCurrentIndex
GetCurrentIndex 获取当前播放歌曲的索引
internal/playlist/interfaces.go:21
↓ 11 callers
Function
MPRemoteCommandCenter_sharedCommandCenter
()
internal/macdriver/mediaplayer/mpremotecommandcenter.go:48
↓ 11 callers
Function
NewInfiniteRandomPlayMode
NewInfiniteRandomPlayMode 创建新的无限随机播放模式实例
internal/playlist/infinite_random.go:21
↓ 11 callers
Method
NextSong
NextSong 切换到下一首歌曲 manual 参数表示是否为手动切换
internal/playlist/interfaces.go:28
↓ 11 callers
Method
Songs
()
internal/ui/menu.go:27
↓ 11 callers
Function
importFramework
()
internal/macdriver/mediaplayer/mediaplayer.go:15
↓ 11 callers
Function
max
max 返回两个整数中的较大值
internal/playlist/infinite_random.go:219
↓ 10 callers
Function
NewListRandomPlayMode
NewListRandomPlayMode 创建新的列表随机播放模式实例
internal/playlist/list_random.go:20
↓ 10 callers
Method
Playlist
()
internal/ui/player.go:313
↓ 10 callers
Method
RemoveSong
RemoveSong 从播放列表中移除指定索引的歌曲 返回移除后应该播放的歌曲(如果有的话)
internal/playlist/interfaces.go:36
↓ 10 callers
Method
Seek
(duration time.Duration)
internal/player/player.go:20
↓ 10 callers
Function
blendColorFast
blendColorFast mixes two pre-computed RGB colors with ratio t (0.0 - 1.0).
internal/ui/lyric_color.go:37
↓ 10 callers
Method
doSOAP
(service, action, body string)
internal/player/dlna_player.go:353
↓ 10 callers
Function
importFramework
()
internal/macdriver/core/core.go:24
↓ 9 callers
Method
ArtistName
()
internal/structs/song.go:23
↓ 9 callers
Function
Autorelease
(body func())
internal/macdriver/core/core.go:73
↓ 9 callers
Method
GetByKVModel
GetByKVModel 通过KVModel获取value
internal/storage/table.go:167
↓ 9 callers
Method
GetCurrentSong
GetCurrentSong 获取当前播放的歌曲
internal/playlist/interfaces.go:24
↓ 9 callers
Function
Go
(f func(), ignorePanic ...bool)
utils/errorx/recover.go:26
↓ 9 callers
Method
Set
Set edit one line
internal/storage/table.go:76
↓ 9 callers
Method
SetPassed
SetPassed update passed.
utils/timex/timer.go:42
↓ 9 callers
Method
State
()
internal/ui/player.go:64
↓ 9 callers
Method
String
()
internal/macdriver/core/nsstring.go:44
↓ 8 callers
Method
CurSongIndex
()
internal/ui/player.go:62
↓ 8 callers
Method
CurSongIndex
()
internal/ui/player.go:321
↓ 8 callers
Method
CurrentItem
()
internal/macdriver/avcore/avplayer.go:69
↓ 8 callers
Method
Execute
Execute 安全地执行一个模板
internal/composer/manager.go:60
↓ 8 callers
Method
GetPlaylist
GetPlaylist 获取当前播放列表
internal/playlist/interfaces.go:18
↓ 8 callers
Function
GetViewFromDjRadios
GetViewFromDjRadios DjRadio列表获取View
utils/menux/menu.go:73
↓ 8 callers
Function
NSNumber_numberWithInt
(val int32)
internal/macdriver/core/nsnumber.go:29
↓ 8 callers
Function
NewArtist
(json []byte)
internal/structs/artist.go:13
↓ 8 callers
Function
NewSingleLoopPlayMode
NewSingleLoopPlayMode 创建新的单曲循环播放模式实例
internal/playlist/single_loop.go:13
↓ 8 callers
Method
NextSong
NextSong 获取下一首歌曲的索引 单曲循环模式下,自动播放时返回当前索引,手动切换时正常切换
internal/playlist/single_loop.go:19
↓ 8 callers
Method
PassedTime
()
internal/ui/player.go:63
↓ 8 callers
Method
PreviousSong
PreviousSong 获取上一首歌曲的索引 单曲循环模式下,自动播放时返回当前索引,手动切换时正常切换
internal/playlist/single_loop.go:41
↓ 8 callers
Method
Release
()
internal/remote_control/remote_control_darwin.go:162
↓ 8 callers
Method
Status
()
internal/lastfm/track.go:138
↓ 8 callers
Function
WaitGoStart
(f func(), ignorePanic ...bool)
utils/errorx/recover.go:34
↓ 8 callers
Method
addToHistory
addToHistory 添加索引到历史记录
internal/playlist/infinite_random.go:199
↓ 8 callers
Method
errorHandle
(e error)
internal/lastfm/api.go:75
↓ 8 callers
Function
firstCharOrDefault
(s, defaultStr string)
internal/configs/theme.go:8
↓ 8 callers
Function
firstCharOrDefault
(s, defaultStr string)
internal/commands/migrate.go:443
↓ 8 callers
Function
tickLogin
(duration time.Duration)
internal/ui/login_page.go:60
↓ 7 callers
Method
AddObserverSelectorNameObject
(observer objc.ID, selector objc.SEL, name core.NSString, object core.NSObject)
internal/macdriver/cocoa/nsnotificationcenter.go:37
↓ 7 callers
Method
Build
Build 返回最终生成的 ItemProps 结构体。
internal/composer/common.go:60
↓ 7 callers
Method
CtrlPause
()
internal/remote_control/play_controller.go:8
↓ 7 callers
Method
CurSong
()
internal/ui/player.go:61
↓ 7 callers
Method
MenuViews
()
internal/ui/lastfm.go:23
next →
1–100 of 1,729, ranked by callers