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
Method
epoch
(self)
davey_compat.py:251
Function
fetch_xmltv_now_playing
Fetch an XMLTV file and return {channel_id: title} for airing programmes. Uses iterparse so only one <programme> element lives in memory at a tim
services/epg.py:36
Method
get_encryption_stats
(self)
davey_compat.py:259
Method
get_user_ids
(self)
davey_compat.py:256
Method
has_any_role
(ctx: commands.Context)
bot.py:58
Method
hello
(self, ctx: commands.Context)
cogs/general.py:17
Method
help_command
(self, ctx: commands.Context)
cogs/general.py:22
Method
is_opus
(self)
streaming/video_player.py:763
Method
is_reply
(m: discord.Message)
cogs/tv.py:329
Method
is_source_active
True while the player may still produce output, including the brief FIFO gap between a failed hardware attempt and the software-fallback
streaming/video_player.py:836
Method
leave
(self, ctx: commands.Context)
cogs/voice.py:50
Method
max_dave_protocol_version
(self)
streaming/golive.py:143
Method
media
Search Jellyfin for a movie, series, or episode. Accepts an optional sXXeYY suffix to target a specific episode directly.
cogs/jellyfin.py:226
Method
mode
(self)
streaming/golive.py:404
Method
on_command
(self, ctx: commands.Context)
bot.py:97
Method
on_command_error
( self, ctx: commands.Context, error: commands.CommandError )
bot.py:107
Method
on_ready
(self)
bot.py:92
Function
patch_reinit
Monkey-patch VoiceConnectionState.reinit_dave_session so that every freshly-created DaveSession gets a back-reference (_voice_state) to the
davey_compat.py:278
Method
ping
(self, ctx: commands.Context)
cogs/general.py:12
Function
predicate
(ctx: commands.Context)
permissions.py:76
Method
process_commit
Called by gateway.py. Raises on rejection so gateway can recover.
davey_compat.py:200
Method
process_welcome
Called by gateway.py. Raises on failure so gateway can recover.
davey_compat.py:209
Method
ready
(self)
davey_compat.py:247
Method
remove_socket_listener
(self, callback)
streaming/golive.py:339
Function
require_role
Decorator that restricts a command to users whose role satisfies *role*. Passes when ``(user_role & role) == role``, i.e. the user's role contain
permissions.py:62
Method
safe_stream_url
Stream URL with password redacted — safe to log.
services/tvheadend.py:147
Method
se
(self, val: int)
streaming/video_player.py:157
Method
secret_key
(self)
streaming/golive.py:408
Method
session_id
(self)
streaming/golive.py:125
Method
set_external_sender
(self, data: bytes)
davey_compat.py:174
Method
set_source
List sources, or enable/disable one by name. !sources — list all sources !sources enable <name> — enable
cogs/iptv.py:61
Function
setup
(bot: commands.Bot)
cogs/general.py:70
Function
setup
(bot: commands.Bot)
cogs/iptv.py:166
Function
setup
(bot: commands.Bot)
cogs/jellyfin.py:293
Function
setup
(bot: commands.Bot)
cogs/voice.py:141
Function
setup
(bot: commands.Bot)
cogs/tv.py:703
Method
setup_hook
(self)
bot.py:57
Function
start_stream
Connect to voice and begin streaming a URL. send — async callable for status messages (ctx.send or channel.send) title — primary
streaming/engine.py:75
Method
stop
(self)
streaming/video_player.py:830
Method
supported_modes
(self)
streaming/golive.py:139
Function
test_admin_beats_friend
If a user is both in allowed_ids and friends list, they get ADMIN.
tests/test_permissions.py:107
Function
test_admin_user_returns_admin
()
tests/test_permissions.py:87
Function
test_auto_leave_no_golive_connection
Auto-leave works cleanly when no go-live stream is active.
tests/test_voice.py:89
Function
test_bitrate_blank_falls_back_to_preset
(monkeypatch)
tests/test_video_player.py:106
Function
test_bitrate_follows_720p_preset
(monkeypatch)
tests/test_video_player.py:95
Function
test_bitrate_follows_preset
()
tests/test_video_player.py:91
Function
test_bitrate_override_beats_preset
(monkeypatch)
tests/test_video_player.py:100
Function
test_bot_id_used_not_bot_flag
Uses member ID to identify the bot, not member.bot, because selfbot accounts have bot=False.
tests/test_voice.py:214
Function
test_channels_filter_case_insensitive
()
tests/test_tv.py:37
Function
test_channels_filter_empty_channel_list
()
tests/test_tv.py:55
Function
test_channels_filter_empty_query_passes_all
()
tests/test_tv.py:47
Function
test_channels_filter_matches_multiple
()
tests/test_tv.py:32
Function
test_channels_filter_no_match_returns_empty
()
tests/test_tv.py:51
Function
test_channels_filter_partial_match
()
tests/test_tv.py:41
Function
test_commit_welcome_empty_bytes
()
tests/test_davey_compat.py:54
Function
test_commit_welcome_stores_commit
()
tests/test_davey_compat.py:39
Function
test_commit_welcome_welcome_is_none
()
tests/test_davey_compat.py:47
Function
test_dave_session_repr
()
tests/test_davey_compat.py:224
Function
test_dm_author_found_in_second_guild
Author not in first guild's voice states but found in second.
tests/test_utils.py:118
Function
test_dm_author_in_guild_voice_found
()
tests/test_utils.py:89
Function
test_dm_author_not_in_any_guild_voice
()
tests/test_utils.py:97
Function
test_dm_no_guilds_returns_none_triple
()
tests/test_utils.py:106
Function
test_encrypt_opus_passthrough_when_no_key
()
tests/test_davey_compat.py:187
Function
test_encrypt_opus_returns_encrypted_when_key_ready
()
tests/test_davey_compat.py:203
Function
test_encryption_stats_missing_attributes_default_zero
()
tests/test_davey_compat.py:80
Function
test_encryption_stats_reads_attributes
()
tests/test_davey_compat.py:66
Function
test_ensure_voice_connects_when_no_client
()
tests/test_utils.py:163
Function
test_ensure_voice_moves_when_connected_elsewhere
()
tests/test_utils.py:182
Function
test_ensure_voice_reconnects_stale_client_other_channel
()
tests/test_utils.py:206
Function
test_ensure_voice_reconnects_stale_client_same_channel
A stale (disconnected) client in the same channel must NOT be trusted — this is the bug: the bot 'plays' without actually being connected.
tests/test_utils.py:193
Function
test_ensure_voice_stays_when_already_in_channel
()
tests/test_utils.py:171
Function
test_extract_hls_picks_highest_bandwidth
()
tests/test_iptv.py:157
Function
test_extract_hls_preserves_absolute_variant_urls
()
tests/test_iptv.py:185
Function
test_extract_hls_resolves_relative_urls
()
tests/test_iptv.py:173
Function
test_extract_hls_returns_original_for_non_hls
()
tests/test_iptv.py:141
Function
test_extract_hls_returns_original_for_variant_playlist
A playlist with EXTM3U but no EXT-X-STREAM-INF is already a variant — return as-is.
tests/test_iptv.py:148
Function
test_extract_hls_returns_original_on_fetch_error
()
tests/test_iptv.py:197
Function
test_find_episode_no_matching_season
(client)
tests/test_jellyfin.py:341
Function
test_find_episode_no_series_found
(client)
tests/test_jellyfin.py:355
Function
test_find_episode_resolves_via_series
find_episode should search for a series, then navigate seasons → episode.
tests/test_jellyfin.py:307
Function
test_fmt_episode_with_season_and_ep
()
tests/test_jellyfin.py:124
Function
test_fmt_episode_without_season_ep
()
tests/test_jellyfin.py:146
Function
test_fmt_episode_zero_padded
()
tests/test_jellyfin.py:135
Function
test_fmt_movie_with_year
()
tests/test_jellyfin.py:109
Function
test_fmt_movie_without_year
()
tests/test_jellyfin.py:114
Function
test_fmt_series_with_year
()
tests/test_jellyfin.py:119
Function
test_fmt_time_known_utc_timestamp
2000-01-01 00:00 UTC → midnight in UTC timezone.
tests/test_tv.py:135
Function
test_fmt_time_leading_zero_stripped
Times like '07:30 PM' should display as '7:30 PM'.
tests/test_tv.py:149
Function
test_fmt_time_noon_utc
(monkeypatch)
tests/test_tv.py:143
Function
test_fmt_time_respects_timezone_offset
Same UTC instant reads differently in two different timezones.
tests/test_tv.py:156
Function
test_fps_follows_720p_preset
(monkeypatch)
tests/test_video_player.py:120
Function
test_fps_follows_preset
()
tests/test_video_player.py:116
Function
test_fps_non_numeric_falls_back_to_preset
(monkeypatch)
tests/test_video_player.py:136
Function
test_fps_out_of_range_falls_back_to_preset
(monkeypatch)
tests/test_video_player.py:131
Function
test_fps_override_beats_preset
(monkeypatch)
tests/test_video_player.py:125
Function
test_friend_beats_guild_member
If a user is both a friend and a guild member, they get FRIEND.
tests/test_permissions.py:113
Function
test_friend_user_returns_friend
()
tests/test_permissions.py:92
Function
test_get_display_tz_empty_string_falls_back_to_local
(monkeypatch)
tests/test_tv.py:78
Function
test_get_display_tz_invalid_name_falls_back_to_local
(monkeypatch)
tests/test_tv.py:85
Function
test_get_display_tz_unset_falls_back_to_local
(monkeypatch)
tests/test_tv.py:70
← previous
next →
201–300 of 394, ranked by callers