Merge branch 'bugfix/multi_xtream_input' into feature/multi_xtream_input

# Conflicts:
#	src/api/v1_api.rs
#	src/api/xtream_api.rs
#	src/processing/playlist_processor.rs
#	src/utils/mod.rs
This commit is contained in:
euzu
2024-03-28 16:27:31 +01:00
11 changed files with 240 additions and 90 deletions
+2
View File
@@ -40,6 +40,7 @@ pub(crate) fn parse_xtream_series_info(info: &Value, group_title: &str, input: &
PlaylistItem {
header: RefCell::new(PlaylistItemHeader {
id: Rc::new(episode.id.to_owned()),
stream_id: Rc::new(episode.id.to_owned()),
name: Rc::new(episode.title.to_owned()),
logo: Rc::new(episode.info.movie_image.to_owned()),
logo_small: default_as_empty_rc_str(),
@@ -97,6 +98,7 @@ pub(crate) fn parse_xtream(input: &ConfigInput,
let item = PlaylistItem {
header: RefCell::new(PlaylistItemHeader {
id: Rc::new(stream.get_stream_id()),
stream_id: Rc::new(stream.get_stream_id()),
name: Rc::clone(&stream.name),
logo: Rc::clone(&stream.stream_icon),
logo_small: default_as_empty_rc_str(),