Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dev-topsoil/slopsoil
/ functions
Functions
394 in github.com/dev-topsoil/slopsoil
⨍
Functions
394
◇
Types & classes
24
↳
Endpoints
1
Function
test_get_display_tz_valid_timezone
(monkeypatch)
tests/test_tv.py:64
Function
test_get_display_tz_whitespace_only_falls_back
(monkeypatch)
tests/test_tv.py:93
Function
test_get_episodes_sorted
(client)
tests/test_jellyfin.py:293
Function
test_get_seasons_sorted
(client)
tests/test_jellyfin.py:279
Function
test_get_stream_url_falls_back_to_direct_stream
(client)
tests/test_jellyfin.py:232
Function
test_get_stream_url_overrides_subtitle_index
Jellyfin may set SubtitleStreamIndex=0 in the URL from user profile settings; we must override it.
tests/test_jellyfin.py:218
Function
test_get_stream_url_returns_none_on_empty_sources
(client)
tests/test_jellyfin.py:242
Function
test_get_stream_url_returns_none_on_request_failure
(client)
tests/test_jellyfin.py:250
Function
test_get_stream_url_uses_playback_info
(client)
tests/test_jellyfin.py:204
Function
test_get_user_id_fetches_and_caches
(client)
tests/test_jellyfin.py:176
Function
test_get_user_id_returns_none_on_failure
(client)
tests/test_jellyfin.py:188
Function
test_guild_author_in_voice_returns_channel
()
tests/test_utils.py:53
Function
test_guild_author_not_in_voice_channel_is_none
()
tests/test_utils.py:62
Function
test_guild_bot_in_voice_client_returned
()
tests/test_utils.py:70
Function
test_guild_bot_not_in_voice_client_is_none
()
tests/test_utils.py:77
Function
test_guild_member_returns_viewer
()
tests/test_permissions.py:97
Function
test_h264_payload_type
()
tests/test_video_compat.py:22
Function
test_ignores_join_events
Member joining (before.channel is None) should not trigger auto-leave.
tests/test_voice.py:158
Function
test_ignores_leave_from_different_channel
Member leaving a channel the bot is NOT in should be ignored.
tests/test_voice.py:175
Function
test_ignores_mute_deafen_events
Voice state changes that keep the member in the same channel are ignored.
tests/test_voice.py:139
Function
test_ignores_when_bot_not_in_voice
If the bot has no active voice client, do nothing.
tests/test_voice.py:195
Function
test_leaves_when_last_human_disconnects
Bot disconnects when the only human leaves its channel.
tests/test_voice.py:61
Function
test_media_command_not_configured
!media should send a helpful error if JELLYFIN_URL/API_KEY are not set.
tests/test_jellyfin.py:440
Function
test_member_moves_to_another_channel_no_leave
Member moving between channels (before and after both non-None, different) is a leave from before.channel.
tests/test_voice.py:238
Function
test_multiple_guilds_member_found_in_second
User found in a later guild still returns VIEWER.
tests/test_permissions.py:137
Function
test_no_guilds_returns_none
()
tests/test_permissions.py:131
Function
test_non_friend_relationship_ignored
Only RelationshipType.friend relationships count.
tests/test_permissions.py:119
Function
test_pace_clamps_negative_to_zero
(monkeypatch)
tests/test_video_player.py:160
Function
test_pace_clamps_to_max
(monkeypatch)
tests/test_video_player.py:155
Function
test_pace_default_is_disabled
()
tests/test_video_player.py:146
Function
test_pace_non_numeric_falls_back_to_disabled
(monkeypatch)
tests/test_video_player.py:165
Function
test_pace_override
(monkeypatch)
tests/test_video_player.py:150
Function
test_parse_code_not_on_word_boundary_ignored
Substrings like 'season01ep01' should not match.
tests/test_jellyfin.py:96
Function
test_parse_leading_trailing_whitespace_stripped
()
tests/test_jellyfin.py:67
Function
test_parse_lowercase
()
tests/test_jellyfin.py:46
Function
test_parse_mixed_case
()
tests/test_jellyfin.py:60
Function
test_parse_multi_digit_season_and_episode
()
tests/test_jellyfin.py:81
Function
test_parse_no_episode_code
()
tests/test_jellyfin.py:39
Function
test_parse_only_episode_code_gives_empty_show
()
tests/test_jellyfin.py:74
Function
test_parse_uppercase
()
tests/test_jellyfin.py:53
Function
test_parse_uses_first_match_only
Extra sXXeYY tokens after the first are ignored.
tests/test_jellyfin.py:88
Function
test_patch_video_replaces_methods
patch_video should swap in the three patched methods on the class.
tests/test_video_compat.py:37
Function
test_patched_client_connect_ssrc_offsets
()
tests/test_video_compat.py:142
Function
test_patched_client_connect_stream_fields
()
tests/test_video_compat.py:157
Function
test_patched_identify_op_code
()
tests/test_video_compat.py:74
Function
test_patched_identify_sends_video_flag
()
tests/test_video_compat.py:56
Function
test_patched_select_protocol_address
()
tests/test_video_compat.py:110
Function
test_patched_select_protocol_h264_payload_type
()
tests/test_video_compat.py:124
Function
test_patched_select_protocol_includes_h264_codec
()
tests/test_video_compat.py:95
Function
test_preset_4k_case_insensitive
(monkeypatch)
tests/test_video_player.py:46
Function
test_preset_720p
(monkeypatch)
tests/test_video_player.py:41
Function
test_preset_default_is_1080p
()
tests/test_video_player.py:37
Function
test_preset_unknown_falls_back_to_default
(monkeypatch)
tests/test_video_player.py:51
Function
test_probe_stream_bad_fps_defaults_to_25
()
tests/test_iptv.py:118
Function
test_probe_stream_returns_dict_on_success
()
tests/test_iptv.py:78
Function
test_probe_stream_returns_none_on_exception
()
tests/test_iptv.py:64
Function
test_probe_stream_returns_none_on_invalid_json
()
tests/test_iptv.py:129
Function
test_probe_stream_returns_none_on_nonzero_exit
()
tests/test_iptv.py:51
Function
test_probe_stream_returns_none_on_timeout
()
tests/test_iptv.py:58
Function
test_probe_stream_returns_none_when_no_video_streams
()
tests/test_iptv.py:70
Function
test_probe_stream_video_only_has_no_audio
()
tests/test_iptv.py:106
Function
test_process_proposals_exception_returns_none
()
tests/test_davey_compat.py:167
Function
test_process_proposals_prepends_append_byte
append optype → byte 0x00 prepended before the proposals payload.
tests/test_davey_compat.py:96
Function
test_process_proposals_prepends_revoke_byte
revoke optype → byte 0x01 prepended.
tests/test_davey_compat.py:116
Function
test_process_proposals_returns_commit_welcome_when_result
()
tests/test_davey_compat.py:136
Function
test_process_proposals_returns_none_when_no_result
()
tests/test_davey_compat.py:152
Function
test_proposals_operation_type_values
()
tests/test_davey_compat.py:14
Function
test_resolution_follows_720p_preset
(monkeypatch)
tests/test_video_player.py:65
Function
test_resolution_follows_preset
()
tests/test_video_player.py:61
Function
test_resolution_invalid_falls_back_to_preset
(monkeypatch)
tests/test_video_player.py:81
Function
test_resolution_override_beats_preset
(monkeypatch)
tests/test_video_player.py:70
Function
test_resolution_x_form_normalized
(monkeypatch)
tests/test_video_player.py:76
Function
test_role_check_logic
(user_role: Role, required: Role, passes: bool)
tests/test_permissions.py:41
Function
test_role_values_are_supersets
ADMIN ⊇ FRIEND ⊇ VIEWER ⊇ NONE (each contains all lower bits).
tests/test_permissions.py:16
Function
test_search_empty_result
(client)
tests/test_jellyfin.py:272
Function
test_search_returns_items
(client)
tests/test_jellyfin.py:258
Function
test_session_status_values
()
tests/test_davey_compat.py:26
Function
test_ssrc_offsets_are_sequential
()
tests/test_video_compat.py:26
Function
test_stays_when_other_humans_remain
Bot stays if at least one non-bot member is still in the channel.
tests/test_voice.py:110
Function
test_unknown_user_returns_none
()
tests/test_permissions.py:102
Function
test_wait_for_number_boundary_values
()
tests/test_jellyfin.py:421
Function
test_wait_for_number_command_cancels
Typing a new command while a prompt is active cancels the selection.
tests/test_jellyfin.py:406
Function
test_wait_for_number_out_of_range_returns_none
()
tests/test_jellyfin.py:380
Function
test_wait_for_number_timeout_returns_none
()
tests/test_jellyfin.py:394
Function
test_wait_for_number_valid_selection
()
tests/test_jellyfin.py:368
Function
test_yt_format_custom_override
(monkeypatch)
tests/test_tv.py:119
Function
test_yt_format_empty_string_falls_back_to_default
(monkeypatch)
tests/test_tv.py:109
Function
test_yt_format_strips_surrounding_whitespace
(monkeypatch)
tests/test_tv.py:125
Function
test_yt_format_unset_uses_default
(monkeypatch)
tests/test_tv.py:104
Function
test_yt_format_whitespace_only_falls_back_to_default
(monkeypatch)
tests/test_tv.py:114
Method
tvh_enabled
(self)
services/sources.py:64
Method
u
(self, n: int, val: int)
streaming/video_player.py:145
Method
user
(self)
streaming/golive.py:129
Method
voice_client
(self)
streaming/golive.py:133
← previous
301–394 of 394, ranked by callers