From 11fd8c78a57593d4036152ebb896ed215be0a295 Mon Sep 17 00:00:00 2001 From: nb557 <> Date: Mon, 2 Dec 2024 22:22:59 +0300 Subject: [PATCH] Fix --- online_mod.js | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/online_mod.js b/online_mod.js index d7980f6..73a25a3 100644 --- a/online_mod.js +++ b/online_mod.js @@ -1,4 +1,4 @@ -//01.12.2024 - Fix +//02.12.2024 - Fix (function () { 'use strict'; @@ -3171,13 +3171,13 @@ } } - function collaps(component, _object) { + function collaps(component, _object, prefer_dash) { var network = new Lampa.Reguest(); var extract = {}; var object = _object; var select_title = ''; - var prefer_http = Lampa.Storage.field('online_mod_prefer_http') === true; - var prefer_dash = Lampa.Storage.field('online_mod_prefer_dash') === true; + var prefer_http = Lampa.Storage.field('online_mod_prefer_http') === true; //let prefer_dash = Lampa.Storage.field('online_mod_prefer_dash') === true + var prox = component.proxy('collaps'); var base = 'api.embess.ws'; var host = 'https://' + base; @@ -16064,7 +16064,14 @@ }, { name: 'collaps', title: 'Collaps', - source: new collaps(this, object), + source: new collaps(this, object, false), + search: false, + kp: true, + imdb: true + }, { + name: 'collaps-dash', + title: 'Collaps (DASH)', + source: new collaps(this, object, true), search: false, kp: true, imdb: true @@ -17351,7 +17358,7 @@ }; } - var mod_version = '01.12.2024'; + var mod_version = '02.12.2024'; console.log('App', 'start address:', window.location.href); var isMSX = !!(window.TVXHost || window.TVXManager); var isTizen = navigator.userAgent.toLowerCase().indexOf('tizen') !== -1; @@ -18432,7 +18439,7 @@ template += "\n