MCPcopy Index your code

hub / github.com/dp247/Freeview-EPG / functions

Functions40 in github.com/dp247/Freeview-EPG

↓ 5 callersFunction_pick_text
(*values: Any)
src/providers/youview.py:86
↓ 4 callersFunctionparse_duration
Parse an ISO 8601 duration string into a :class:`timedelta`. Years and months are not handled because they are ambiguous with respect to a co
src/xmltv.py:51
↓ 3 callersFunctionclean_text
Clean a piece of text for inclusion in XML. This function removes control characters, feature tags (e.g. [AD], [HD]) and season/episode annot
src/xmltv.py:31
↓ 2 callersFunction_safe_int
Safely convert a value to a positive integer or return None.
src/xmltv.py:79
↓ 2 callersFunctionbuild_xmltv
Construct an XMLTV document from channels and programmes. Channels and programmes are sorted deterministically to ensure stable output betwee
src/xmltv.py:88
↓ 2 callersFunctiondedupe_programmes
Deduplicate a list of programme dictionaries. A programme is considered duplicate if it has the same channel ID, start timestamp and title as
src/dedupe.py:14
↓ 2 callersFunctionremove_control_characters
Remove all control characters from the given string.
src/xmltv.py:26
↓ 1 callersFunction_extract_entries
(payload: Any)
src/providers/youview.py:29
↓ 1 callersFunction_extract_episode
(payload: Any)
src/providers/youview.py:93
↓ 1 callersFunction_extract_instance_id
(entry: Dict[str, Any])
src/providers/youview.py:118
↓ 1 callersFunction_extract_synopsis
(data: Dict[str, Any])
src/providers/youview.py:106
↓ 1 callersFunction_fetch_episode_details
(instance_id: str, ctx: Context)
src/providers/youview.py:126
↓ 1 callersFunction_intervals
(days: int, step_hours: int = 12)
src/providers/youview.py:21
↓ 1 callersFunction_parse_duration_value
(value: Any)
src/providers/youview.py:67
↓ 1 callersFunction_parse_timestamp
(value: Any)
src/providers/youview.py:39
↓ 1 callersFunctionfetch_programmes
Fetch programme data for a Freeview channel. Args: channel: The channel definition from ``channels.json``. ctx: Shared context ca
src/providers/freeview.py:18
↓ 1 callersFunctionfetch_programmes
Fetch programme data for a Freesat channel. Args: channel: The channel definition from ``channels.json``. ctx: Shared context car
src/providers/freesat.py:15
↓ 1 callersFunctionfetch_programmes
Fetch programme data for a Sky channel. Args: channel: The channel definition from ``channels.json``. ctx: Shared context carryin
src/providers/sky.py:15
↓ 1 callersFunctionfetch_programmes
Fetch programme data for a RadioTimes channel. Args: channel: The channel definition from ``channels.json``. ctx: Shared context
src/providers/radiotimes.py:16
↓ 1 callersFunctionjson_to_markdown
Converts JSON data to a Markdown table.
jsontomd.py:8
↓ 1 callersFunctionjson_to_markdown
Converts JSON data to a Markdown table.
wiki/jsontomd.py:8
↓ 1 callersFunctionload_channels
Load channel definitions from a JSON file. Args: path: Path to the JSON file containing channel definitions. Returns: A list
src/config.py:14
↓ 1 callersFunctionmain
()
jsontomd.py:41
↓ 1 callersFunctionmain
Main orchestration function.
main.py:34
↓ 1 callersFunctionmain
()
wiki/jsontomd.py:41
↓ 1 callersFunctionmake_session
Create and return a configured ``requests.Session``. The returned session is configured with a retry strategy that will automatically retry i
src/http.py:14
↓ 1 callersFunctionsave_markdown
Saves the markdown content into the 'wiki' folder.
jsontomd.py:31
↓ 1 callersFunctionsave_markdown
Saves the markdown content into the 'wiki' folder.
wiki/jsontomd.py:31
↓ 1 callersFunctionwrite_atomic
Write data to a file atomically. Writes to a temporary file and then renames it into place. On POSIX systems the rename is atomic, ensuring r
src/xmltv.py:171
Functionfetch_programmes
Fetch programme data for a YouView channel. Args: channel: The channel definition from ``channels.json``. ctx: Shared context car
src/providers/youview.py:144
Methodtest_build_xmltv_sorting_and_structure
(self)
tests/test_xmltv.py:29
Methodtest_clean_text_removes_tags_and_episode_info
(self)
tests/test_xmltv.py:16
Methodtest_dedupe_preserves_last_occurrence
(self)
tests/test_dedupe.py:7
Functiontest_freesat_fetch_programmes_builds_output
()
tests/test_providers_freesat.py:12
Functiontest_freeview_fetch_programmes_builds_details
()
tests/test_providers_freeview.py:16
Methodtest_parse_duration_invalid_raises
(self)
tests/test_xmltv.py:23
Methodtest_parse_duration_valid
(self)
tests/test_xmltv.py:20
Functiontest_radiotimes_fetch_programmes_includes_details
()
tests/test_providers_radiotimes.py:16
Methodtest_remove_control_characters
(self)
tests/test_xmltv.py:13
Functiontest_sky_fetch_programmes_parses_events
()
tests/test_providers_sky.py:14