MCPcopy Create free account

hub / github.com/dev-topsoil/slopsoil / functions

Functions394 in github.com/dev-topsoil/slopsoil

Methodepoch
(self)
davey_compat.py:251
Functionfetch_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
Methodget_encryption_stats
(self)
davey_compat.py:259
Methodget_user_ids
(self)
davey_compat.py:256
Methodhas_any_role
(ctx: commands.Context)
bot.py:58
Methodhello
(self, ctx: commands.Context)
cogs/general.py:17
Methodhelp_command
(self, ctx: commands.Context)
cogs/general.py:22
Methodis_opus
(self)
streaming/video_player.py:763
Methodis_reply
(m: discord.Message)
cogs/tv.py:329
Methodis_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
Methodleave
(self, ctx: commands.Context)
cogs/voice.py:50
Methodmax_dave_protocol_version
(self)
streaming/golive.py:143
Methodmedia
Search Jellyfin for a movie, series, or episode. Accepts an optional sXXeYY suffix to target a specific episode directly.
cogs/jellyfin.py:226
Methodmode
(self)
streaming/golive.py:404
Methodon_command
(self, ctx: commands.Context)
bot.py:97
Methodon_command_error
( self, ctx: commands.Context, error: commands.CommandError )
bot.py:107
Methodon_ready
(self)
bot.py:92
Functionpatch_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
Methodping
(self, ctx: commands.Context)
cogs/general.py:12
Functionpredicate
(ctx: commands.Context)
permissions.py:76
Methodprocess_commit
Called by gateway.py. Raises on rejection so gateway can recover.
davey_compat.py:200
Methodprocess_welcome
Called by gateway.py. Raises on failure so gateway can recover.
davey_compat.py:209
Methodready
(self)
davey_compat.py:247
Methodremove_socket_listener
(self, callback)
streaming/golive.py:339
Functionrequire_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
Methodsafe_stream_url
Stream URL with password redacted — safe to log.
services/tvheadend.py:147
Methodse
(self, val: int)
streaming/video_player.py:157
Methodsecret_key
(self)
streaming/golive.py:408
Methodsession_id
(self)
streaming/golive.py:125
Methodset_external_sender
(self, data: bytes)
davey_compat.py:174
Methodset_source
List sources, or enable/disable one by name. !sources — list all sources !sources enable <name> — enable
cogs/iptv.py:61
Functionsetup
(bot: commands.Bot)
cogs/general.py:70
Functionsetup
(bot: commands.Bot)
cogs/iptv.py:166
Functionsetup
(bot: commands.Bot)
cogs/jellyfin.py:293
Functionsetup
(bot: commands.Bot)
cogs/voice.py:141
Functionsetup
(bot: commands.Bot)
cogs/tv.py:703
Methodsetup_hook
(self)
bot.py:57
Functionstart_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
Methodstop
(self)
streaming/video_player.py:830
Methodsupported_modes
(self)
streaming/golive.py:139
Functiontest_admin_beats_friend
If a user is both in allowed_ids and friends list, they get ADMIN.
tests/test_permissions.py:107
Functiontest_admin_user_returns_admin
()
tests/test_permissions.py:87
Functiontest_auto_leave_no_golive_connection
Auto-leave works cleanly when no go-live stream is active.
tests/test_voice.py:89
Functiontest_bitrate_blank_falls_back_to_preset
(monkeypatch)
tests/test_video_player.py:106
Functiontest_bitrate_follows_720p_preset
(monkeypatch)
tests/test_video_player.py:95
Functiontest_bitrate_follows_preset
()
tests/test_video_player.py:91
Functiontest_bitrate_override_beats_preset
(monkeypatch)
tests/test_video_player.py:100
Functiontest_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
Functiontest_channels_filter_case_insensitive
()
tests/test_tv.py:37
Functiontest_channels_filter_empty_channel_list
()
tests/test_tv.py:55
Functiontest_channels_filter_empty_query_passes_all
()
tests/test_tv.py:47
Functiontest_channels_filter_matches_multiple
()
tests/test_tv.py:32
Functiontest_channels_filter_no_match_returns_empty
()
tests/test_tv.py:51
Functiontest_channels_filter_partial_match
()
tests/test_tv.py:41
Functiontest_commit_welcome_empty_bytes
()
tests/test_davey_compat.py:54
Functiontest_commit_welcome_stores_commit
()
tests/test_davey_compat.py:39
Functiontest_commit_welcome_welcome_is_none
()
tests/test_davey_compat.py:47
Functiontest_dave_session_repr
()
tests/test_davey_compat.py:224
Functiontest_dm_author_found_in_second_guild
Author not in first guild's voice states but found in second.
tests/test_utils.py:118
Functiontest_dm_author_in_guild_voice_found
()
tests/test_utils.py:89
Functiontest_dm_author_not_in_any_guild_voice
()
tests/test_utils.py:97
Functiontest_dm_no_guilds_returns_none_triple
()
tests/test_utils.py:106
Functiontest_encrypt_opus_passthrough_when_no_key
()
tests/test_davey_compat.py:187
Functiontest_encrypt_opus_returns_encrypted_when_key_ready
()
tests/test_davey_compat.py:203
Functiontest_encryption_stats_missing_attributes_default_zero
()
tests/test_davey_compat.py:80
Functiontest_encryption_stats_reads_attributes
()
tests/test_davey_compat.py:66
Functiontest_ensure_voice_connects_when_no_client
()
tests/test_utils.py:163
Functiontest_ensure_voice_moves_when_connected_elsewhere
()
tests/test_utils.py:182
Functiontest_ensure_voice_reconnects_stale_client_other_channel
()
tests/test_utils.py:206
Functiontest_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
Functiontest_ensure_voice_stays_when_already_in_channel
()
tests/test_utils.py:171
Functiontest_extract_hls_picks_highest_bandwidth
()
tests/test_iptv.py:157
Functiontest_extract_hls_preserves_absolute_variant_urls
()
tests/test_iptv.py:185
Functiontest_extract_hls_resolves_relative_urls
()
tests/test_iptv.py:173
Functiontest_extract_hls_returns_original_for_non_hls
()
tests/test_iptv.py:141
Functiontest_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
Functiontest_extract_hls_returns_original_on_fetch_error
()
tests/test_iptv.py:197
Functiontest_find_episode_no_matching_season
(client)
tests/test_jellyfin.py:341
Functiontest_find_episode_no_series_found
(client)
tests/test_jellyfin.py:355
Functiontest_find_episode_resolves_via_series
find_episode should search for a series, then navigate seasons → episode.
tests/test_jellyfin.py:307
Functiontest_fmt_episode_with_season_and_ep
()
tests/test_jellyfin.py:124
Functiontest_fmt_episode_without_season_ep
()
tests/test_jellyfin.py:146
Functiontest_fmt_episode_zero_padded
()
tests/test_jellyfin.py:135
Functiontest_fmt_movie_with_year
()
tests/test_jellyfin.py:109
Functiontest_fmt_movie_without_year
()
tests/test_jellyfin.py:114
Functiontest_fmt_series_with_year
()
tests/test_jellyfin.py:119
Functiontest_fmt_time_known_utc_timestamp
2000-01-01 00:00 UTC → midnight in UTC timezone.
tests/test_tv.py:135
Functiontest_fmt_time_leading_zero_stripped
Times like '07:30 PM' should display as '7:30 PM'.
tests/test_tv.py:149
Functiontest_fmt_time_noon_utc
(monkeypatch)
tests/test_tv.py:143
Functiontest_fmt_time_respects_timezone_offset
Same UTC instant reads differently in two different timezones.
tests/test_tv.py:156
Functiontest_fps_follows_720p_preset
(monkeypatch)
tests/test_video_player.py:120
Functiontest_fps_follows_preset
()
tests/test_video_player.py:116
Functiontest_fps_non_numeric_falls_back_to_preset
(monkeypatch)
tests/test_video_player.py:136
Functiontest_fps_out_of_range_falls_back_to_preset
(monkeypatch)
tests/test_video_player.py:131
Functiontest_fps_override_beats_preset
(monkeypatch)
tests/test_video_player.py:125
Functiontest_friend_beats_guild_member
If a user is both a friend and a guild member, they get FRIEND.
tests/test_permissions.py:113
Functiontest_friend_user_returns_friend
()
tests/test_permissions.py:92
Functiontest_get_display_tz_empty_string_falls_back_to_local
(monkeypatch)
tests/test_tv.py:78
Functiontest_get_display_tz_invalid_name_falls_back_to_local
(monkeypatch)
tests/test_tv.py:85
Functiontest_get_display_tz_unset_falls_back_to_local
(monkeypatch)
tests/test_tv.py:70
← previousnext →201–300 of 394, ranked by callers