diff --git a/CHANGELOG.md b/CHANGELOG.md index 0873a92a5..42610976f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # Changelog # 2.1.4 (2025-01-xx) - !BREAKING CHANGE! unique `input` `name` is now mandatory, because rearranging the `source.yml` could lead to wrong results without a playlist update. +_- Added new option to `input` `xtream_live_stream_without_extension`. Default is `false`. Some providers don't like `.ts` extension, some providers need it. +Now you can disable or enable it for a provider. # 2.1.3 (2025-01-26) - Hotfix 2.1.2, forgot to update the stream api code. diff --git a/README.md b/README.md index 491521aa5..6764d71bc 100644 --- a/README.md +++ b/README.md @@ -325,6 +325,7 @@ Each input has the following attributes: + `xtream_skip_live` true or false, live section can be skipped. + `xtream_skip_vod` true or false, vod section can be skipped. + `xtream_skip_series` true or false, series section can be skipped. + + `xtream_live_stream_without_extension` default false, if set to true `.ts` extension is not added to he stream link. `persist` should be different for `m3u` and `xtream` types. For `m3u` use full filename like `./playlist_{}.m3u`. @@ -344,6 +345,7 @@ sources: epg_url: 'test-epg.xml' enabled: false persist: 'playlist_1_{}.m3u' + options: {xtream_skip_series: true} - url: 'https://raw.githubusercontent.com/iptv-org/iptv/master/streams/ad.m3u' - url: 'https://raw.githubusercontent.com/iptv-org/iptv/master/streams/au.m3u' - url: 'https://raw.githubusercontent.com/iptv-org/iptv/master/streams/za.m3u' diff --git a/frontend/src/component/checkbox/checkbox.tsx b/frontend/src/component/checkbox/checkbox.tsx index 4fd1c8024..2e092b85d 100644 --- a/frontend/src/component/checkbox/checkbox.tsx +++ b/frontend/src/component/checkbox/checkbox.tsx @@ -1,4 +1,4 @@ -import React, {useCallback, useRef} from "react"; +import React, {useCallback, useLayoutEffect, useRef} from "react"; import './checkbox.scss'; interface CheckboxProps { @@ -20,14 +20,21 @@ export default function Checkbox(props: CheckboxProps) { onSelect?.(inputRef.current.checked, value, evt); }, [value, onSelect]); + useLayoutEffect(() => { + if (inputRef.current) { + inputRef.current.checked = checked; + } + }, [checked]); + if (label) { return ; } else { return
(client: Arc (client: Arc