Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/darknessomi/musicbox
/ functions
Functions
500 in github.com/darknessomi/musicbox
⨍
Functions
500
◇
Types & classes
26
↓ 251 callers
Method
get
(self, name)
NEMbox/config.py:239
↓ 61 callers
Method
addstr
(self, *args)
NEMbox/ui.py:139
↓ 30 callers
Method
dig_info
(self, data, dig_type)
NEMbox/api.py:907
↓ 25 callers
Method
emit_ok
( self, data: Any, human: str, *, quiet_value: str | None = None,
NEMbox/cli.py:140
↓ 25 callers
Method
request
( self, method, path, params: dict[str, Any] | None = None, default: d
NEMbox/api.py:482
↓ 24 callers
Method
emit_err
( self, error_type: str, message: str, hint: str = "", *, exit
NEMbox/cli.py:161
↓ 20 callers
Method
move
(self, *_args)
tests/test_ui_login_qr.py:12
↓ 18 callers
Function
notify
Show system notification with duration t (ms)
NEMbox/utils.py:88
↓ 16 callers
Function
_add_common_flags
(parser: argparse.ArgumentParser)
NEMbox/cli.py:790
↓ 16 callers
Function
_run
(monkeypatch, argv, api_cls=FakeNetEase)
tests/test_cli.py:106
↓ 15 callers
Method
poll
(self)
tests/test_player.py:15
↓ 15 callers
Method
refresh
(self)
tests/test_ui_login_qr.py:18
↓ 14 callers
Method
clear
(self)
tests/test_api_endpoint_updates.py:211
↓ 14 callers
Method
replay
(self)
NEMbox/player.py:740
↓ 14 callers
Method
start
(self)
NEMbox/menu.py:643
↓ 13 callers
Function
_add_control_flags
(parser: argparse.ArgumentParser)
NEMbox/cli.py:776
↓ 13 callers
Function
_rpc
Dispatch a control command to the daemon, mapping responses to CLI I/O.
NEMbox/cli.py:570
↓ 13 callers
Method
save
(self)
NEMbox/storage.py:102
↓ 13 callers
Method
stop
(self)
NEMbox/player.py:246
↓ 12 callers
Function
make_api
()
tests/test_api_endpoint_updates.py:12
↓ 11 callers
Function
_safe_curs_set
(visibility)
NEMbox/ui.py:49
↓ 11 callers
Function
is_daemon_running
True if a daemon is reachable on the socket.
NEMbox/daemon.py:84
↓ 11 callers
Method
send
(self, method, params=None)
tests/test_cli.py:287
↓ 10 callers
Method
_status
(self)
NEMbox/daemon.py:288
↓ 10 callers
Method
stop
(self)
NEMbox/menu.py:636
↓ 9 callers
Method
__new__
(cls, *args, **kwargs)
NEMbox/singleton.py:15
↓ 9 callers
Function
_patch_daemon
(monkeypatch, fake)
tests/test_cli.py:294
↓ 9 callers
Method
load
(self)
NEMbox/storage.py:90
↓ 8 callers
Method
_advance_on_playback_failure
Skip after playback failure; stop when no other track would be tried.
NEMbox/player.py:231
↓ 8 callers
Method
build_menu_processbar
(self)
NEMbox/menu.py:614
↓ 8 callers
Method
login
(self)
NEMbox/menu.py:213
↓ 8 callers
Method
request_api
(self, func, *args)
NEMbox/menu.py:1251
↓ 7 callers
Method
clrtobot
(self)
tests/test_ui_login_qr.py:15
↓ 7 callers
Method
exit
(self)
NEMbox/osdlyrics.py:126
↓ 7 callers
Method
new_player_list
(self, type, title, datalist, offset)
NEMbox/player.py:763
↓ 7 callers
Method
play_or_pause
(self, idx, switch_flag)
NEMbox/player.py:777
↓ 7 callers
Method
switch
(self)
NEMbox/player.py:320
↓ 7 callers
Function
truelen
It appears one Asian character takes two spots, but __len__ counts it as three, so this function counts the dispalyed length of the strin
NEMbox/scrollstring.py:33
↓ 6 callers
Method
_get_cookie_value
(self, name)
NEMbox/api.py:383
↓ 6 callers
Method
_is_current_playback
(self, token, process=None)
NEMbox/player.py:380
↓ 6 callers
Method
notify_copyright_issue
(self)
NEMbox/player.py:178
↓ 6 callers
Function
send_request
Send one JSON-RPC request and return the parsed response. Raises ``ConnectionError`` when no daemon is listening.
NEMbox/daemon.py:97
↓ 6 callers
Method
songs_url
(self, ids)
NEMbox/api.py:814
↓ 5 callers
Function
_format_search_results
(items: list[dict[str, Any]], search_type: str)
NEMbox/cli.py:249
↓ 5 callers
Function
acquire_lock
Grab the single-owner flock. Returns the open fd, or None if held. The fd must stay open for the owner's whole lifetime; closing it (or the p
NEMbox/daemon.py:57
↓ 5 callers
Function
decode_terminal_input
Decode curses getstr bytes, ignoring broken UTF-8 from byte-wise backspace.
NEMbox/utils.py:53
↓ 5 callers
Method
eapi_request
POST eapi 接口(interface.music.163.com)。
NEMbox/api.py:543
↓ 5 callers
Method
get_account_info
获取当前登录账号信息(含 account.id 与 profile.nickname)。
NEMbox/api.py:660
↓ 5 callers
Method
next
(self)
NEMbox/player.py:844
↓ 5 callers
Function
truelen_cut
(string, length)
NEMbox/scrollstring.py:51
↓ 5 callers
Method
tune_volume
(self, up=0)
NEMbox/player.py:283
↓ 4 callers
Method
_format_audio_params
(cls, params)
NEMbox/player.py:443
↓ 4 callers
Function
_is_backspace_key
(ch)
NEMbox/ui.py:31
↓ 4 callers
Method
_send_mpv_command
(self, command)
NEMbox/player.py:385
↓ 4 callers
Function
_update_notice
()
NEMbox/cli.py:185
↓ 4 callers
Method
build_playinfo
(self)
NEMbox/player.py:185
↓ 4 callers
Function
cmd_simple_control
(ctx: CliContext, ns: argparse.Namespace, method: str)
NEMbox/cli.py:627
↓ 4 callers
Method
playlist_songlist
(self, playlist_id)
NEMbox/api.py:767
↓ 4 callers
Method
song_url
(cls, song)
NEMbox/api.py:183
↓ 4 callers
Method
songs_detail
(self, ids)
NEMbox/api.py:809
↓ 4 callers
Method
update
(self)
NEMbox/scrollstring.py:12
↓ 4 callers
Method
update_size
(self)
NEMbox/ui.py:904
↓ 3 callers
Method
_cleanup_mpv_ipc
(self, path=None)
NEMbox/player.py:367
↓ 3 callers
Method
_ensure_anon_cookies
登录前注入匿名设备上下文,对照 api-enhanced processCookieObject。
NEMbox/api.py:595
↓ 3 callers
Function
_player_with_queue
(song_ids, *, mode=4, idx=0)
tests/test_player.py:85
↓ 3 callers
Function
_prepare_search_items
(datalist: list[Any])
NEMbox/menu.py:126
↓ 3 callers
Method
_refresh_mpv_audio_info
(self, ipc_path, token, process)
NEMbox/player.py:452
↓ 3 callers
Function
_require_logged_in
(api: NetEase, ctx: CliContext)
NEMbox/cli.py:204
↓ 3 callers
Method
album
(self, album_id)
NEMbox/api.py:799
↓ 3 callers
Method
back_page_event
(self)
NEMbox/menu.py:469
↓ 3 callers
Function
carousel
(left, right, x)
NEMbox/menu.py:43
↓ 3 callers
Function
create_file
(path, default="\n")
NEMbox/utils.py:47
↓ 3 callers
Method
fetch_toplists
(self)
NEMbox/api.py:405
↓ 3 callers
Method
get_new_fm
(self)
NEMbox/menu.py:1263
↓ 3 callers
Method
get_version
(self)
NEMbox/api.py:899
↓ 3 callers
Method
next_idx
(self)
NEMbox/player.py:804
↓ 3 callers
Function
parse_keylist
'2' '3' '4' 'j' ----> 234 j supoort keys [ ] j k <KEY_UP> <KEY_DOWN>
NEMbox/cmd_parser.py:74
↓ 3 callers
Method
quit
(self)
NEMbox/cache.py:160
↓ 3 callers
Function
release_lock
(fd: int | None)
NEMbox/daemon.py:76
↓ 3 callers
Method
serve
(self)
NEMbox/daemon.py:167
↓ 3 callers
Method
shuffle_order
(self)
NEMbox/player.py:757
↓ 3 callers
Method
song_lyric
(self, music_id)
NEMbox/api.py:869
↓ 3 callers
Method
song_tlyric
(self, music_id)
NEMbox/api.py:873
↓ 3 callers
Function
spawn_daemon
Double-fork a background daemon and wait until it is reachable.
NEMbox/daemon.py:513
↓ 3 callers
Method
start_playing
Runs the given args in subprocess.Popen, and then calls the function on_exit when the subprocess completes. on_exit is a call
NEMbox/player.py:676
↓ 3 callers
Function
stop_lyrics_process
()
NEMbox/osdlyrics.py:141
↓ 3 callers
Function
stop_thread
(thread)
NEMbox/kill_thread.py:24
↓ 3 callers
Method
up_key_event
(self)
NEMbox/menu.py:375
↓ 3 callers
Function
utf8_data_to_file
(f, data)
NEMbox/utils.py:64
↓ 2 callers
Function
_cmd_parser
A generator receive key value typed by user return constant keylist. 输入键盘输入流,输出指令流,以curses默认-1为信号终止.
NEMbox/cmd_parser.py:30
↓ 2 callers
Function
_ensure_runtime_dir
()
NEMbox/daemon.py:53
↓ 2 callers
Function
_fake_toplist_response
()
tests/test_api_endpoint_updates.py:184
↓ 2 callers
Function
_format_time
(seconds: float | int | None)
NEMbox/cli.py:526
↓ 2 callers
Function
_is_enter_key
(ch)
NEMbox/ui.py:37
↓ 2 callers
Function
_item_search_text
(item: Any)
NEMbox/menu.py:107
↓ 2 callers
Method
_load_songs
(self, song_ids: list[int])
NEMbox/daemon.py:319
↓ 2 callers
Method
_login_retry
(self)
NEMbox/menu.py:266
↓ 2 callers
Method
_need_to_shuffle
(self)
NEMbox/player.py:796
↓ 2 callers
Method
_parse_lyric_lines
拆分歌词文本,过滤逐字歌词的 JSON 元信息行(如 {"t":14000,"c":[...]})。
NEMbox/api.py:858
↓ 2 callers
Method
_play
(self, params: dict[str, Any])
NEMbox/daemon.py:323
next →
1–100 of 500, ranked by callers