diff --git a/src/app/xtream/category-content-view/category-content-view.component.html b/src/app/xtream/category-content-view/category-content-view.component.html
index eef86f400..6f5509c1f 100644
--- a/src/app/xtream/category-content-view/category-content-view.component.html
+++ b/src/app/xtream/category-content-view/category-content-view.component.html
@@ -11,7 +11,11 @@
{
constructor() {
super({
searchPhrase: '',
+ currentVod: undefined,
+ currentSerial: undefined,
content: [],
hideExternalInfoDialog:
localStorage.getItem('hideExternalInfoDialog') === 'true',
@@ -20,6 +24,8 @@ export class PortalStore extends ComponentStore
{
// selectors
readonly searchPhrase = this.selectSignal((state) => state.searchPhrase);
+ readonly currentSerial = this.selectSignal((state) => state.currentSerial);
+ readonly currentVod = this.selectSignal((state) => state.currentVod);
readonly hideExternalInfoDialog = this.selectSignal(
(state) => state.hideExternalInfoDialog
@@ -43,6 +49,20 @@ export class PortalStore extends ComponentStore {
})
);
+ readonly setCurrentSerial = this.updater(
+ (state, currentSerial: any): PortalState => ({
+ ...state,
+ currentSerial,
+ })
+ );
+
+ readonly setCurrentVod = this.updater(
+ (state, currentVod: any): PortalState => ({
+ ...state,
+ currentVod,
+ })
+ );
+
readonly setHideExternalInfoDialog = this.updater(
(state, hideExternalInfoDialog: boolean): PortalState => {
localStorage.setItem(
diff --git a/src/app/xtream/vod-details/vod-details.component.html b/src/app/xtream/vod-details/vod-details.component.html
index 863c75bf6..60827b70d 100644
--- a/src/app/xtream/vod-details/vod-details.component.html
+++ b/src/app/xtream/vod-details/vod-details.component.html
@@ -47,11 +47,13 @@
{{ item.info.duration }}
@@ -86,7 +88,7 @@