Skip to content

Commit

Permalink
v17.1.1
Browse files Browse the repository at this point in the history
- Now text input fields read URLs in clipboard automatically
- Allow vertical layouts by setting 1 horizontal item only under Tools > Themes > Create theme > Grid size layout > Portrait mode
- Improved channel grid extraction from lists
- Faster list parsing
  • Loading branch information
EdenwareApps committed Aug 3, 2023
1 parent 9ab7c34 commit 5d3fac7
Show file tree
Hide file tree
Showing 37 changed files with 5,558 additions and 194 deletions.
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<widget android-versionCode="373" id="tv.megacubo.app" version="17.1.0" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<widget android-versionCode="376" id="tv.megacubo.app" version="17.1.1" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Megacubo</name>
<description>
An intuitive, free and open source IPTV player.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tv.megacubo.app",
"displayName": "Megacubo",
"version": "17.1.0",
"version": "17.1.1",
"description": "A intuitive and multi-language IPTV player.",
"main": "index.js",
"scripts": {
Expand Down
30 changes: 30 additions & 0 deletions www/nodejs-project/assets/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ body.video #explorer header .explorer-omni {
}
body.home #explorer content a.entry-2x {
width: calc(200% / var(--entries-per-row));
max-width: 100%;
}
@media (orientation: portrait) {
#explorer header .explorer-omni > span:not(.selected) input {
Expand All @@ -222,6 +223,35 @@ body.home #explorer content a.entry-2x {
#explorer header .explorer-omni > span {
min-width: 0;
}
body.explorer-vertical #explorer content a.entry-2x {
height: calc(200% / var(--entries-per-col));
}
body.explorer-vertical span.entry-icon-image {
height: 100% !important;
justify-content: left !important;
bottom: 0 !important;
margin-left: 1%;
}
body.explorer-vertical span.entry-icon-image img {
background-position: center left !important;
max-width: calc(var(--explorer-entry-height) * 0.94);
}
body.explorer-vertical #explorer content a span.entry-data-in {
--explorer-entry-name-font-size: calc(((100vmin + 100vmax) * 0.45) * 0.032) !important;
--explorer-entry-details-font-size: calc(var(--explorer-entry-name-font-size) * 0.8);
height: -webkit-fill-available;
display: flex;
align-items: start;
justify-content: center;
flex-direction: column;
padding-left: calc(var(--explorer-entry-height) * 1.25);
box-sizing: border-box;
padding-bottom: 0;
top: 0;
}
body.explorer-vertical #explorer content a .entry-name, body.explorer-vertical #explorer content a .entry-details {
text-align: left !important;
}
}
@media (orientation: landscape) {
#explorer content a.entry-2x {
Expand Down
4 changes: 2 additions & 2 deletions www/nodejs-project/assets/js/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function configUpdated(keys, c){
config = c
parent.updateConfig && parent.updateConfig.apply(parent, [config])
uiSoundsEnable = config['ui-sounds']
explorer.setViewSize(config['view-size-x'], config['view-size-y'])
explorer.setViewSize(config['view-size-x'], config['view-size-y'], config['view-size-portrait-x'], config['view-size-portrait-y'])
hideBackButton(config['hide-back-button'])
parent.animateBackground(config['animate-background'])
idle.setTimeoutAwayState(config['timeout-secs-energy-saving'])
Expand Down Expand Up @@ -366,7 +366,7 @@ function initApp(){
parent.updateConfig && parent.updateConfig.apply(parent, [config])

window.osd = new OSD(document.getElementById('osd-root'), app)
explorer.setViewSize(config['view-size-x'], config['view-size-y']);
explorer.setViewSize(config['view-size-x'], config['view-size-y'], config['view-size-portrait-x'], config['view-size-portrait-y']);

([
{
Expand Down
2 changes: 1 addition & 1 deletion www/nodejs-project/electron.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</style>
</head>
<body>
<iframe src="about:blank" frameborder="0" scrolling="no" allow="geolocation" allowFullScreen></iframe>
<iframe src="about:blank" frameborder="0" scrolling="no" allow="clipboard-read; fullscreen; autoplay; geolocation"></iframe>
<script type="text/javascript" src="assets/js/index/electron.js"></script>
<script>
process.on('warning', e => {
Expand Down
2 changes: 1 addition & 1 deletion www/nodejs-project/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
</player>
<div class="curtain curtain-a"></div>
<div class="curtain curtain-b"></div>
<iframe id="app" src="about:blank" allowFullScreen scrolling="no" frameborder="0"></iframe>
<iframe id="app" src="about:blank" allow="clipboard-read; fullscreen; autoplay; geolocation" scrolling="no" frameborder="0"></iframe>
<script type="text/javascript" src="assets/js/libs/events.js"></script>
<script type="text/javascript" src="assets/js/index/index.js"></script>
<script type="text/javascript" src="node_modules/jquery/dist/jquery.min.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions www/nodejs-project/lang/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@
"KEEP_WATCHING": "استمر بالمشاهدة",
"KEY_MAPPING": "تخطيط المفاتيح",
"KNOW_MORE": "تعرف أكثر",
"LANDSCAPE_MODE": "وضعية الشاشة العريضة",
"LANGUAGE": "لغة",
"LANGUAGE_NAME": "عربي",
"LAYOUT_GRID_SIZE": "تخطيط حجم الشبكة",
Expand Down Expand Up @@ -312,6 +313,7 @@
"PLAYBACK_UNSUPPORTED_STREAM": "بث غير صالح أو غير مدعوم",
"PLAY_FROM_START": "تشغيل من البداية",
"PLAY_UI_SOUNDS": "تفعيل أصوات الواجهة",
"PORTRAIT_MODE": "وضع الصورة",
"PREFERRED_LIVESTREAM_FMT": "التنسيق المفضل للتيارات الحية",
"PREMIUM_ALREADY_ENABLED": "الميزات الخاصة مفعلة من قبل، هل تريد ابقاءهم مفعلين؟",
"PREMIUM_BALLOON_HINT": "شاهد على التلفاز باستخدامه وسجل البث",
Expand Down
2 changes: 2 additions & 0 deletions www/nodejs-project/lang/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@
"KEEP_WATCHING": "Pass auf",
"KEY_MAPPING": "Schlüsselzuordnung",
"KNOW_MORE": "Mehr wissen",
"LANDSCAPE_MODE": "Landschaftsmodus",
"LANGUAGE": "Sprache",
"LANGUAGE_NAME": "Deutsch",
"LAYOUT_GRID_SIZE": "Gittergröße-Layout.",
Expand Down Expand Up @@ -312,6 +313,7 @@
"PLAYBACK_UNSUPPORTED_STREAM": "Ungültige oder nicht unterstützte Sendung",
"PLAY_FROM_START": "Von Anfang an spielen",
"PLAY_UI_SOUNDS": "Spieleroberfläche Sounds",
"PORTRAIT_MODE": "Portraitmodus",
"PREFERRED_LIVESTREAM_FMT": "Bevorzugter Format für Live -Streams",
"PREMIUM_ALREADY_ENABLED": "Besonderheiten sind bereits aktiviert. Möchten Sie sie aktiviert halten?",
"PREMIUM_BALLOON_HINT": "Beobachten Sie auf Ihrem Fernseher mit Live-Streams",
Expand Down
2 changes: 2 additions & 0 deletions www/nodejs-project/lang/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@
"KEEP_WATCHING": "Συνεχισε να κοιτας",
"KEY_MAPPING": "Χαρτογράφηση κλειδιού",
"KNOW_MORE": "Μάθετε περισσότερα",
"LANDSCAPE_MODE": "Λειτουργία τοπίου",
"LANGUAGE": "Γλώσσα",
"LANGUAGE_NAME": "Ελληνικά",
"LAYOUT_GRID_SIZE": "Διάταξη μεγέθους πλέγματος",
Expand Down Expand Up @@ -312,6 +313,7 @@
"PLAYBACK_UNSUPPORTED_STREAM": "Μη έγκυρη ή μη υποστηριζόμενη εκπομπή",
"PLAY_FROM_START": "Παίξτε από την αρχή",
"PLAY_UI_SOUNDS": "Αναπαραγωγή ήχων διεπαφής",
"PORTRAIT_MODE": "Λειτουργία πορτρέτου",
"PREFERRED_LIVESTREAM_FMT": "Προτιμώμενη μορφή για ζωντανές ροές",
"PREMIUM_ALREADY_ENABLED": "Ειδικά χαρακτηριστικά έχουν ήδη ενεργοποιηθεί. Θέλετε να τα διατηρήσετε ενεργοποιημένα;",
"PREMIUM_BALLOON_HINT": "Παρακολουθήστε την τηλεόρασή σας με και καταγράψτε ζωντανά ρεύματα",
Expand Down
2 changes: 2 additions & 0 deletions www/nodejs-project/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@
"KEEP_WATCHING": "Keep watching",
"KEY_MAPPING": "Key mapping",
"KNOW_MORE": "Know more",
"LANDSCAPE_MODE": "Landscape mode",
"LANGUAGE": "Language",
"LANGUAGE_NAME": "English",
"LAYOUT_GRID_SIZE": "Grid size layout",
Expand Down Expand Up @@ -312,6 +313,7 @@
"PLAYBACK_UNSUPPORTED_STREAM": "Invalid or unsupported broadcast",
"PLAY_FROM_START": "Play from start",
"PLAY_UI_SOUNDS": "Play interface sounds",
"PORTRAIT_MODE": "Portrait mode",
"PREFERRED_LIVESTREAM_FMT": "Preferred format for live streams",
"PREMIUM_ALREADY_ENABLED": "Special features are already enabled. Do you want to keep them enabled?",
"PREMIUM_BALLOON_HINT": "Watch on your TV with and record live streams",
Expand Down
2 changes: 2 additions & 0 deletions www/nodejs-project/lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@
"KEEP_WATCHING": "Seguir viendo",
"KEY_MAPPING": "Asignación de teclas",
"KNOW_MORE": "Saber más",
"LANDSCAPE_MODE": "Modo paisaje",
"LANGUAGE": "Idioma",
"LANGUAGE_NAME": "Español",
"LAYOUT_GRID_SIZE": "Tamaño de la cuadrícula de layout",
Expand Down Expand Up @@ -312,6 +313,7 @@
"PLAYBACK_UNSUPPORTED_STREAM": "Transmisión no válida o no admitida",
"PLAY_FROM_START": "Jugar desde el inicio",
"PLAY_UI_SOUNDS": "Reproducir sonidos de la interfaz",
"PORTRAIT_MODE": "Modo retrato",
"PREFERRED_LIVESTREAM_FMT": "Formato preferido para transmisiones en vivo",
"PREMIUM_ALREADY_ENABLED": "Los recursos especiales ya están activados. ¿Desea mantenerlos activados?",
"PREMIUM_BALLOON_HINT": "Mire en su TV y grabe transmisiones en vivo",
Expand Down
2 changes: 2 additions & 0 deletions www/nodejs-project/lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@
"KEEP_WATCHING": "Continuer de regarder",
"KEY_MAPPING": "Cartographie clé",
"KNOW_MORE": "Savoir plus",
"LANDSCAPE_MODE": "Mode paysage",
"LANGUAGE": "Langue",
"LANGUAGE_NAME": "Français",
"LAYOUT_GRID_SIZE": "Disposition de la taille de la grille",
Expand Down Expand Up @@ -312,6 +313,7 @@
"PLAYBACK_UNSUPPORTED_STREAM": "Diffusion invalide ou non prise en charge",
"PLAY_FROM_START": "Jouer depuis le début",
"PLAY_UI_SOUNDS": "Jouer des sons d'interface",
"PORTRAIT_MODE": "Mode portrait",
"PREFERRED_LIVESTREAM_FMT": "Format préféré pour les flux en direct",
"PREMIUM_ALREADY_ENABLED": "Les fonctionnalités spéciales sont déjà activées. Voulez-vous les garder activées?",
"PREMIUM_BALLOON_HINT": "Regardez votre téléviseur avec et enregistrer des flux en direct",
Expand Down
2 changes: 2 additions & 0 deletions www/nodejs-project/lang/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@
"KEEP_WATCHING": "देखते रहो",
"KEY_MAPPING": "मुख्य मानचित्रण",
"KNOW_MORE": "ज्यादा जानें",
"LANDSCAPE_MODE": "लैंडस्केप मोड",
"LANGUAGE": "भाषा",
"LANGUAGE_NAME": "हिन्दी",
"LAYOUT_GRID_SIZE": "ग्रिड आकार लेआउट",
Expand Down Expand Up @@ -312,6 +313,7 @@
"PLAYBACK_UNSUPPORTED_STREAM": "अमान्य या असमर्थित प्रसारण",
"PLAY_FROM_START": "शुरू से ही खेलें",
"PLAY_UI_SOUNDS": "इंटरफ़ेस की आवाज़ खेलें",
"PORTRAIT_MODE": "पोर्ट्रेट मोड",
"PREFERRED_LIVESTREAM_FMT": "लाइव स्ट्रीम के लिए पसंदीदा प्रारूप",
"PREMIUM_ALREADY_ENABLED": "विशेष सुविधाएँ पहले से ही सक्षम हैं। क्या आप उन्हें सक्षम रखना चाहते हैं?",
"PREMIUM_BALLOON_HINT": "अपने टीवी पर देखें और लाइव स्ट्रीम रिकॉर्ड करें",
Expand Down
2 changes: 2 additions & 0 deletions www/nodejs-project/lang/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@
"KEEP_WATCHING": "Continua a guardare",
"KEY_MAPPING": "Mappatura della tastiera",
"KNOW_MORE": "Saperne di più",
"LANDSCAPE_MODE": "Modalità panoramica",
"LANGUAGE": "Lingua",
"LANGUAGE_NAME": "Italiano",
"LAYOUT_GRID_SIZE": "Dimensioni della griglia di layout",
Expand Down Expand Up @@ -312,6 +313,7 @@
"PLAYBACK_UNSUPPORTED_STREAM": "Trasmissione non valida o non supportata",
"PLAY_FROM_START": "Gioca dall'inizio",
"PLAY_UI_SOUNDS": "Riproduci i suoni dell'interfaccia",
"PORTRAIT_MODE": "Modalità ritratto",
"PREFERRED_LIVESTREAM_FMT": "Formato preferito per i streaming live",
"PREMIUM_ALREADY_ENABLED": "Le funzioni Premium sono già abilitate. Vuoi mantenerle abilitate?",
"PREMIUM_BALLOON_HINT": "Guarda sulla TV con e registra streaming live",
Expand Down
Loading

0 comments on commit 5d3fac7

Please sign in to comment.