- Enableplayer global config and component options:
- set Artplayer.AUTO_PLAYBACK_TIMEOUT to 10000 to reduce autoplay
timeouts.
- enable autoPlayback, playsInline, airplay, backdrop, mutex and set
theme on Artplayer instance to improve playback behaviour and UI.
- add autoSize, autoMini, pip, screenshot, aspectRatio and fullscreen
settings for a consistent feature set.
- Harden channel URL check to avoid null errors:
- use optional chaining when checking channel.url for m3u8.
- Move StreamFormat import ordering and clean unused enum entry:
- remove DPlayer from VideoPlayer enum and related commented code.
- remove DPlayer component imports, declarations and template branch,
simplifying player selection and eliminating dead code.
- Tidy component decorator formatting and fix template array trailing
commas to preserve style consistency.
These changes replace the deprecated/removed DPlayer integration with a
fully configured Artplayer, improve runtime safety, and clean up unused
code.
Refactor the settings management in the SettingsComponent to utilize a new
SettingsStore service for better state management. Remove direct local
storage access and replace it with a method to retrieve settings from the
store. Update the backToHome method to handle dialog navigation. Add
error logging for file reading issues and introduce an input property to
determine dialog context.
Ref the EPG item to directly display the category
and description values instead of accessing the first element of
the arrays. Update the EpgListComponent to improve the handling
of EPG data and selected date filtering. Change references from
Electron to Tauri in the component to reflect the
current framework usage.