MCPcopy Index your code

hub / github.com/EstrellaXD/Auto_Bangumi / functions

Functions1,732 in github.com/EstrellaXD/Auto_Bangumi

↓ 102 callersMethodpost
(self, url, data=None)
backend/src/test/test_qb_downloader.py:136
↓ 70 callersMethodadd
(self, data: RSSItem)
backend/src/module/database/rss.py:14
↓ 57 callersFunctionmake_bangumi
Create a Bangumi instance with sensible test defaults.
backend/src/test/factories.py:10
↓ 41 callersFunctionraw_parser
(raw: str)
backend/src/module/parser/analyser/raw_parser.py:206
↓ 38 callersMethodsearch
(self, _id: int)
backend/src/module/database/torrent.py:38
↓ 33 callersMethodadd
(self, data: Bangumi)
backend/src/module/database/bangumi.py:200
↓ 30 callersMethodgen_path
( file_info: EpisodeFile | SubtitleFile, bangumi_name: str, method: str, episo
backend/src/module/manager/renamer.py:53
↓ 29 callersMethod_url
(self, endpoint: str)
backend/src/module/downloader/client/qb_downloader.py:24
↓ 29 callersMethodsearch_id
(self, _id: int)
backend/src/module/database/rss.py:90
↓ 28 callersMethodadd_mock_torrent
Add a mock torrent for testing purposes.
backend/src/module/downloader/client/mock_downloader.py:198
↓ 25 callersFunctionlist
* 获取 Passkey 列表
webui/src/api/passkey.ts:73
↓ 24 callersMethodadd
(self, data: Torrent)
backend/src/module/database/torrent.py:14
↓ 24 callersFunctionhandle_resource
Return a JSON string for the given MCP resource URI. Supported URIs: - ``autobangumi://anime/list`` - all tracked anime - ``autobangumi:/
backend/src/module/mcp/resources.py:53
↓ 24 callersFunctionuseApi
( api: TApi, { showMessage = true, onBeforeExecute, onSuccess, onError, onFinally, }
webui/src/hooks/useApi.ts:11
↓ 23 callersFunction_bangumi_to_dict
(b: Bangumi)
backend/src/module/mcp/tools.py:175
↓ 23 callersFunction_invalidate_bangumi_cache
()
backend/src/module/database/bangumi.py:80
↓ 23 callersFunctionu_response
(response_model: ResponseModel)
backend/src/module/api/response.py:7
↓ 22 callersMethodsearch_all
(self)
backend/src/module/database/rss.py:93
↓ 22 callersFunctiontorrent_parser
( torrent_path: str, torrent_name: str | None = None, season: int | None = None, file_type: st
backend/src/module/parser/analyser/torrent_parser.py:73
↓ 21 callersFunction_parse
(raw: str)
backend/src/test/test_mcp_resources.py:47
↓ 21 callersMethodpost_data
(self, _url, data: dict)
backend/src/module/network/request_contents.py:60
↓ 20 callersFunction_dispatch
(name: str, args: dict)
backend/src/module/mcp/tools.py:213
↓ 20 callersFunctioncreate_access_token
(data: dict, expires_delta: timedelta | None = None)
backend/src/module/security/jwt.py:28
↓ 20 callersMethoddelete
(self, _id: int)
backend/src/module/database/rss.py:109
↓ 19 callersFunction_is_allowed
Return True if *host* falls within any CIDR range in *whitelist*.
backend/src/module/mcp/security.py:25
↓ 19 callersFunctionmake_rss_item
Create an RSSItem instance with sensible test defaults.
backend/src/test/factories.py:48
↓ 19 callersFunctionmake_torrent
Create a Torrent instance with sensible test defaults.
backend/src/test/factories.py:36
↓ 18 callersMethoddict
(self, *args, by_alias=True, **kwargs)
backend/src/module/models/config.py:265
↓ 18 callersMethodupdate
(self, _id: int, data: RSSUpdate)
backend/src/module/database/rss.py:41
↓ 16 callersMethodauth
(self, retry=3)
backend/src/module/downloader/client/qb_downloader.py:27
↓ 16 callersMethodcreate_table
(self)
backend/src/module/database/combine.py:125
↓ 16 callersMethodrun_migrations
Run pending schema migrations based on the stored schema version.
backend/src/module/database/combine.py:165
↓ 15 callersFunction_expand
Expand shell environment variables in *value*, returning empty string for None.
backend/src/module/models/config.py:7
↓ 15 callersMethod_migrate_old_config
Migrate old config field names (3.1.x) to current format (3.2.x).
backend/src/module/conf/config.py:57
↓ 15 callersFunctionopen
()
webui/src/api/search.ts:51
↓ 14 callersMethod_gen_save_path
Generate save path for a bangumi. The save path uses the adjusted season number (season + season_offset) so files are saved directly
backend/src/module/downloader/path.py:65
↓ 14 callersFunction_sanitize_dict
Recursively mask string values whose keys contain sensitive keywords.
backend/src/module/api/config.py:21
↓ 14 callersMethodmatch_torrent
(self, torrent: Torrent)
backend/src/module/rss/engine.py:140
↓ 14 callersMethodrefresh_rss
(self, client: DownloadClient, rss_id: Optional[int] = None)
backend/src/module/rss/engine.py:151
↓ 13 callersMethodtest
Test the notification provider configuration. Returns: A tuple of (success, message) where success is True if the test
backend/src/module/notification/base.py:29
↓ 12 callersMethod_parse_bangumi_id_from_tags
Extract bangumi_id from torrent tags. Tags are comma-separated, and we look for 'ab:ID' format.
backend/src/module/manager/renamer.py:246
↓ 12 callersMethodadd_title_alias
Add a new title_raw alias to an existing bangumi. This allows a single bangumi entry to match multiple naming patterns.
backend/src/module/database/bangumi.py:140
↓ 12 callersMethodsearch_all
(self)
backend/src/module/database/bangumi.py:374
↓ 11 callersMethod_create_old_31x_database
Create a database matching the 3.1.x schema (no air_weekday column).
backend/src/test/test_migration.py:202
↓ 11 callersMethod_insert_old_data
Insert sample 3.1.x data.
backend/src/test/test_migration.py:262
↓ 11 callersMethodadd_rss
( self, rss_link: str, name: str | None = None, aggregate: bool = True,
backend/src/module/rss/engine.py:43
↓ 11 callersFunctiondecode_token
(token: str)
backend/src/module/security/jwt.py:40
↓ 10 callersFunction_mock_sync_manager
Return a MagicMock that acts as a sync context-manager TorrentManager.
backend/src/test/test_mcp_tools.py:26
↓ 10 callersFunction_restore_masked
Replace masked sentinel values with real values from current config.
backend/src/module/api/config.py:38
↓ 10 callersMethodadd_tag
Add a tag to a torrent.
backend/src/module/downloader/download_client.py:263
↓ 10 callersMethodload
Load and validate configuration from ``CONFIG_PATH``, applying migrations.
backend/src/module/conf/config.py:47
↓ 10 callersFunctionset
(newVal)
webui/src/store/config.ts:27
↓ 9 callersFunction_groups_are_similar
Check if two group names are similar enough to be considered the same group. Handles cases like: - "LoliHouse" vs "LoliHouse&动漫国字幕组"
backend/src/module/database/bangumi.py:24
↓ 9 callersMethod_lookup_offsets
Look up episode and season offsets for a bangumi. Lookup order (most to least reliable): 1. By qb_hash in Torrent table (links direct
backend/src/module/manager/renamer.py:365
↓ 9 callersFunction_mock_sync_manager
Build a MagicMock that acts as a sync context-manager TorrentManager.
backend/src/test/test_mcp_resources.py:22
↓ 9 callersMethodadd_torrent
Download a torrent (or list of torrents) for the given bangumi entry. Handles both magnet links and .torrent file URLs, fetching file bytes
backend/src/module/downloader/download_client.py:165
↓ 9 callersFunctioncreateUseApi
( api: TApi, options: Options<Awaited<ReturnType<TApi>>> = {} )
webui/src/hooks/__tests__/useApi.test.ts:20
↓ 9 callersFunctionexecute
(...params: Parameters<TApi>)
webui/src/hooks/__tests__/useApi.test.ts:27
↓ 9 callersFunctionget_shared_client
()
backend/src/module/network/request_url.py:31
↓ 9 callersFunctionsearch_url
(site: str, keywords: list[str])
backend/src/module/searcher/provider.py:7
↓ 9 callersFunctiontmdb_parser
(title, language, test: bool = False)
backend/src/module/parser/analyser/tmdb_parser.py:202
↓ 9 callersFunctionvalidateForm
( username: string, password: string )
webui/src/hooks/__tests__/useAuth.test.ts:15
↓ 8 callersFunction_make_app
Build a minimal Starlette app with McpAccessMiddleware applied.
backend/src/test/test_mcp_security.py:115
↓ 8 callersFunction_make_mcp_settings
Create a mock settings.security object.
backend/src/test/test_mcp_security.py:100
↓ 8 callersFunction_patch_client_ip
Return a modified app that overrides the client IP in ASGI scope.
backend/src/test/test_mcp_security.py:126
↓ 8 callersFunctionbufferToBase64Url
(buffer: ArrayBuffer)
webui/src/services/webauthn.ts:24
↓ 8 callersMethodget_json
(self, _url)
backend/src/module/network/request_contents.py:51
↓ 8 callersMethodstop
(self)
backend/src/module/core/program.py:114
↓ 7 callersFunction_ensure_bangumi
确保 bangumi 表中存在指定 id 的记录,满足外键约束。
backend/src/test/test_database.py:24
↓ 7 callersMethod_get_filter_pattern
(self, filter_str: str)
backend/src/module/rss/engine.py:119
↓ 7 callersMethod_mock_request
Create a mock Request with the given Authorization header.
backend/src/test/test_auth.py:155
↓ 7 callersMethod_normalize_path
Normalize path by removing trailing slashes and standardizing separators.
backend/src/module/manager/renamer.py:263
↓ 7 callersMethod_path_to_bangumi
(save_path: PathLike[str] | str, torrent_name: str = "")
backend/src/module/downloader/path.py:39
↓ 7 callersMethodadd_torrents
( self, torrent_urls, torrent_files, save_path, category, tags=None )
backend/src/module/downloader/client/qb_downloader.py:153
↓ 7 callersFunctionget_current_user
FastAPI dependency that validates the current session. Accepts authentication via (in order of precedence): 1. DEV_AUTH_BYPASS when running a
backend/src/module/security/api.py:41
↓ 7 callersFunctionget_group
(name: str)
backend/src/module/parser/analyser/raw_parser.py:50
↓ 7 callersFunctionget_password_hash
(password)
backend/src/module/security/jwt.py:66
↓ 7 callersMethodget_state
Get the current mock state for debugging.
backend/src/module/downloader/client/mock_downloader.py:226
↓ 7 callersMethodmodel_dump
(self, *args, by_alias=True, **kwargs)
backend/src/module/models/config.py:261
↓ 7 callersMethodsave
Write configuration to ``CONFIG_PATH``. Uses current state when no dict supplied.
backend/src/module/conf/config.py:84
↓ 7 callersMethodsearch_all
(self)
backend/src/module/database/torrent.py:42
↓ 7 callersMethodsearch_by_qb_hash
Find torrent by qBittorrent hash.
backend/src/module/database/torrent.py:59
↓ 6 callersMethod_format_message
Format the default notification message. Args: notify: The notification data. Returns: Formatted message str
backend/src/module/notification/base.py:38
↓ 6 callersMethod_get_schema_version
Get the current schema version from the database.
backend/src/module/database/combine.py:142
↓ 6 callersMethodadd_all
(self, data: list[RSSItem])
backend/src/module/database/rss.py:28
↓ 6 callersMethodcheck_files
(files: list[dict])
backend/src/module/downloader/path.py:26
↓ 6 callersMethoddelete_by_bangumi_id
Delete all torrent records associated with a bangumi. Returns the number of deleted records.
backend/src/module/database/torrent.py:73
↓ 6 callersMethodget_torrent_info
( self, category="Bangumi", status_filter="completed", tag=None )
backend/src/module/downloader/download_client.py:129
↓ 6 callersMethodget_torrents
( self, _url: str, _filter: str = None, limit: int = None, retry: int
backend/src/module/network/request_contents.py:15
↓ 6 callersMethodraw_parser
(raw: str)
backend/src/module/parser/title_parser.py:60
↓ 6 callersMethodrename
(self)
backend/src/module/manager/renamer.py:442
↓ 6 callersMethodrename_torrent_file
( self, _hash, old_path, new_path, verify: bool = True )
backend/src/module/downloader/download_client.py:139
↓ 6 callersMethodsend
Send a notification. Args: notification: The notification data containing anime info. Returns: True if the n
backend/src/module/notification/base.py:17
↓ 6 callersMethodstart
(self)
backend/src/module/core/program.py:79
↓ 6 callersMethodtorrents_delete
(self, hash, delete_files: bool = True)
backend/src/module/downloader/client/qb_downloader.py:211
↓ 6 callersMethodupdate_all
(self, datas: list[Torrent])
backend/src/module/database/torrent.py:29
↓ 5 callersFunction_get_aliases_list
Get the list of title aliases from a bangumi's title_aliases JSON field.
backend/src/module/database/bangumi.py:45
↓ 5 callersMethod_post
(self, client, host="192.168.1.100:8080")
backend/src/test/test_setup.py:319
↓ 5 callersMethodaclose
(self)
backend/src/test/test_qb_downloader.py:142
↓ 5 callersMethodauth
(self)
backend/src/module/downloader/download_client.py:69
next →1–100 of 1,732, ranked by callers