openblackhole/openblackhole-enigma2.git
3 years agoGet rid of "--with-colorlcd" parameter
Mike Looijmans [Sat, 2 Jan 2016 09:56:14 +0000 (10:56 +0100)]
Get rid of "--with-colorlcd" parameter

Don't special case the skinning just for one box that's out of production,
use the regular skinning system. Makes it easier to add new boxes with
different panels too.

The LCD being color or not is detected runtime anyway.

3 years agoScreens/LocationBox.py: Get rid of "from Directories import *"
Mike Looijmans [Fri, 1 Jan 2016 09:56:56 +0000 (10:56 +0100)]
Screens/LocationBox.py: Get rid of "from Directories import *"

It actually only uses three methods. Just using their "os" equivalents
won't make a real difference, so that's for later.

3 years agoGraphMultiEpgSetup.py: Remove unused Directories.* import
Mike Looijmans [Fri, 1 Jan 2016 09:44:30 +0000 (10:44 +0100)]
GraphMultiEpgSetup.py: Remove unused Directories.* import

3 years agoTools/Directories.py: Get rid of "fallback" in resolveFilename
Mike Looijmans [Thu, 31 Dec 2015 09:28:59 +0000 (10:28 +0100)]
Tools/Directories.py: Get rid of "fallback" in resolveFilename

Nothing really uses the fallback mechanism, so just remove it.

3 years agoTools/Directories.py: Refactor evil imports
Athanasios Oikonomou [Thu, 31 Dec 2015 06:41:49 +0000 (08:41 +0200)]
Tools/Directories.py: Refactor evil imports

Get rid of "from os import path as os_path" and similar badness.

Don't check for chmod and utime existance, they exist..

>>> import os
>>> os.utime
<built-in function utime>
>>> os.chmod
<built-in function chmod>

Finnaly avoid os.system and use resource friendly eConsoleAppContainer

Signed-off-by: Mike Looijmans <milo@openpli.org>

3 years agoSystemPlugins/FastScan/plugin.py: Refactor evil imports
Athanasios Oikonomou [Thu, 31 Dec 2015 06:21:17 +0000 (08:21 +0200)]
SystemPlugins/FastScan/plugin.py: Refactor evil imports

Get rid of "from os import path as os_path" and similar badness.

Signed-off-by: Mike Looijmans <milo@openpli.org>

3 years agoVideoEnhancement/plugin.py: Refactor evil imports
Athanasios Oikonomou [Thu, 31 Dec 2015 06:17:12 +0000 (08:17 +0200)]
VideoEnhancement/plugin.py: Refactor evil imports

Get rid of "from os import path as os_path" and similar badness.

Signed-off-by: Mike Looijmans <milo@openpli.org>

3 years agoVideoEnhancement/VideoEnhancement.py: Refactor evil imports
Athanasios Oikonomou [Thu, 31 Dec 2015 06:15:01 +0000 (08:15 +0200)]
VideoEnhancement/VideoEnhancement.py: Refactor evil imports

Get rid of "from os import path as os_path" and similar badness.

Signed-off-by: Mike Looijmans <milo@openpli.org>

3 years agoComponents/InputDevice.py: Refactor evil imports
Athanasios Oikonomou [Thu, 31 Dec 2015 06:09:11 +0000 (08:09 +0200)]
Components/InputDevice.py: Refactor evil imports

Get rid of "from os import open as os_open" and similar badness.

Signed-off-by: Mike Looijmans <milo@openpli.org>

3 years agoWirelessLan/plugin.py: Remove unused imports
Mike Looijmans [Wed, 30 Dec 2015 15:29:06 +0000 (16:29 +0100)]
WirelessLan/plugin.py: Remove unused imports

Imports from os were not even used.
Just import "re".

3 years agoComponents/config.py: Refactor evil imports
Mike Looijmans [Wed, 30 Dec 2015 15:23:44 +0000 (16:23 +0100)]
Components/config.py: Refactor evil imports

Get rid of "from os import path as os_path" and similar badness.

3 years agoComponents/Keyboard.py: Refactor code
Mike Looijmans [Wed, 30 Dec 2015 15:15:33 +0000 (16:15 +0100)]
Components/Keyboard.py: Refactor code

Get rid of evil "from x import y as z" imports.
Evaluate expressions just once and keep the result.
Use os.path.join to stitch pathnames together.

3 years agoScreens/About.py: Calculate correct value for "Free" memory, avoid crash
Mike Looijmans [Wed, 30 Dec 2015 14:03:22 +0000 (15:03 +0100)]
Screens/About.py: Calculate correct value for "Free" memory, avoid crash

Lines in /proc/meminfo may not always have 3 entries (e.g. huge pages) handle
this gracefully instead of crashing.

Use "enumerate" instead of handcrafting a counter.

Use simpler string match (startswith instead of "in").

Consider "Cached" and "Buffers" as free memory too.

3 years agoAvoid os.system and use resource friendly eConsoleAppContainer
Athanasios Oikonomou [Wed, 30 Dec 2015 12:48:33 +0000 (14:48 +0200)]
Avoid os.system and use resource friendly eConsoleAppContainer

Also change import of os_path into os.path in Wlan.py

Finally use python to write "/proc/sys/vm/drop_caches" instead of forking shell to do that.

Signed-off-by: Mike Looijmans <milo@openpli.org>

3 years agoMerge pull request #150 from Dima73/translation
Mike Looijmans [Wed, 30 Dec 2015 13:47:05 +0000 (14:47 +0100)]
Merge pull request #150 from Dima73/translation

update ru.po

3 years agoMerge pull request #149 from Dima73/pull2
littlesat [Tue, 29 Dec 2015 23:27:34 +0000 (00:27 +0100)]
Merge pull request #149 from Dima73/pull2

Pull2

3 years agoupdate ru.po
Dima73 [Tue, 29 Dec 2015 16:57:18 +0000 (18:57 +0200)]
update ru.po

-use the original letter

3 years agoCommonInterfaceAssignment: delete replace unicode
Dima73 [Mon, 28 Dec 2015 19:37:33 +0000 (21:37 +0200)]
CommonInterfaceAssignment: delete replace unicode

-c286 and c287 are unicode control characters and imho they should not
appear in service names

3 years agoSatfinder: fix set value "nothing" if not sat list for tuner
Dima73 [Sat, 26 Dec 2015 21:16:00 +0000 (23:16 +0200)]
Satfinder: fix set value "nothing" if not sat list for tuner

(cherry picked from commit 38a9fe1ec350dd93bb0b5bfcc8ff2035ec59ab88)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoChannelSelection: fix zapBack if use "Enable OK as preview in channel selection"
Dima73 [Sun, 27 Dec 2015 15:38:09 +0000 (17:38 +0200)]
ChannelSelection: fix zapBack if use "Enable OK as preview in channel selection"

-https://github.com/openatv/enigma2/commit/a0ebdd39cb324a912a887f6f5bdba1175364724c
(cherry picked from commit d55955b95c89433db35ddde60a615605f6bd835f)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoMove filepush from lib/base to lib/dvb
Mike Looijmans [Mon, 28 Dec 2015 10:27:47 +0000 (11:27 +0100)]
Move filepush from lib/base to lib/dvb

The filepush sources do not belong in "base", they are exclusively referred in
the DVB subsystem, so move them there.

3 years agoservicedvb.h: Remove unused include filepush.h
Mike Looijmans [Mon, 28 Dec 2015 10:22:01 +0000 (11:22 +0100)]
servicedvb.h: Remove unused include filepush.h

3 years agoMerge pull request #145 from Dima73/tuner
Mike Looijmans [Mon, 28 Dec 2015 09:48:46 +0000 (10:48 +0100)]
Merge pull request #145 from Dima73/tuner

frontend: correct snr/db value for tuner "Si216x" (dvb-t mode)

3 years agoCommonInterfaceAssignment: force set value if edit setting
Dima73 [Sun, 27 Dec 2015 11:50:35 +0000 (13:50 +0200)]
CommonInterfaceAssignment: force set value if edit setting

3 years agofilepush.h: Get rid of IO priority parameters
Mike Looijmans [Sun, 27 Dec 2015 10:35:21 +0000 (11:35 +0100)]
filepush.h: Get rid of IO priority parameters

No need to pass these around when the only client always sets them
to the same value.

3 years agofilepush.h: Remove unused default buffersize parameters
Mike Looijmans [Sun, 27 Dec 2015 10:19:58 +0000 (11:19 +0100)]
filepush.h: Remove unused default buffersize parameters

The only users of eFilePushThreadRecorder and eFilePushThread always
supply the buffer size explicitly, so there's no reason to have a default.

3 years agofrontend: eDebug showing used DVB API per frontend
Mirakels [Sun, 27 Dec 2015 09:25:08 +0000 (10:25 +0100)]
frontend: eDebug showing used DVB API per frontend

fix typo in 4392ac054647e8bf95cfe2ebb25cb570bd01d28a

3 years agoCommonInterfaceAssignment: add option 'Add all services provider'
Dima73 [Sat, 26 Dec 2015 20:46:15 +0000 (22:46 +0200)]
CommonInterfaceAssignment: add option 'Add all services provider'

-small update set config in setDescrambleRules

3 years agofrontend: correct snr/db value for tuner Sundtek MediaTV Digital Home III (dvb-t...
Dima73 [Sat, 26 Dec 2015 13:00:55 +0000 (15:00 +0200)]
frontend: correct snr/db value for tuner Sundtek MediaTV Digital Home III (dvb-t mode)

3 years agofilepush: convert default buffersize into a #define
Mirakels [Sat, 26 Dec 2015 11:06:52 +0000 (12:06 +0100)]
filepush: convert default buffersize into a #define

3 years agofrontend: eDebug showing used DVB API per frontend
Mirakels [Sat, 26 Dec 2015 11:04:54 +0000 (12:04 +0100)]
frontend: eDebug showing used DVB API per frontend

3 years agodvb: cosmetic
Mirakels [Sat, 26 Dec 2015 11:04:40 +0000 (12:04 +0100)]
dvb: cosmetic

3 years agofrontend: correct snr/db value for tuner "Si216x" (dvb-t mode)
Dima73 [Fri, 25 Dec 2015 19:52:31 +0000 (21:52 +0200)]
frontend: correct snr/db value for tuner "Si216x" (dvb-t mode)

3 years agoMerge pull request #143 from Dima73/pull1
mirakels [Fri, 25 Dec 2015 14:51:44 +0000 (15:51 +0100)]
Merge pull request #143 from Dima73/pull1

fix commit  https://github.com/OpenPLi/enigma2/commit/0237136ce955899
Thanks for spotting this

3 years agoMerge pull request #144 from Dima73/translation
technl [Fri, 25 Dec 2015 13:34:31 +0000 (14:34 +0100)]
Merge pull request #144 from Dima73/translation

update ru.po

3 years agoupdate ru.po
Dima73 [Fri, 25 Dec 2015 12:59:05 +0000 (14:59 +0200)]
update ru.po

3 years agofix commit https://github.com/OpenPLi/enigma2/commit/0237136ce955899bca6fc5837b6d71a...
Dima73 [Fri, 25 Dec 2015 12:56:05 +0000 (14:56 +0200)]
fix commit  https://github.com/OpenPLi/enigma2/commit/0237136ce955899bca6fc5837b6d71ad16909341

3 years agoMerge pull request #142 from Taapat/translation
technl [Fri, 25 Dec 2015 12:50:56 +0000 (13:50 +0100)]
Merge pull request #142 from Taapat/translation

Update Latvian translation

3 years agoUpdate Latvian translation
Taapat [Fri, 25 Dec 2015 10:48:34 +0000 (12:48 +0200)]
Update Latvian translation

3 years agoMerge pull request #141 from Dima73/pull1
littlesat [Thu, 24 Dec 2015 12:35:59 +0000 (13:35 +0100)]
Merge pull request #141 from Dima73/pull1

PictureInPicture: update text if error to start pip (not need to tran…

3 years agoPictureInPicture: update text if error to start pip (not need to translate it)
Dima73 [Thu, 24 Dec 2015 10:53:47 +0000 (12:53 +0200)]
PictureInPicture: update text if error to start pip (not need to translate it)

-e.g. run PiP from the channel list/it more clear

3 years agoMerge pull request #140 from Dima73/timer
littlesat [Thu, 24 Dec 2015 10:20:27 +0000 (11:20 +0100)]
Merge pull request #140 from Dima73/timer

RecordTimer: try to disable pip when start record failed (not free tu…

3 years agoUpdate Greek translations, thnx glamourservices.
technl [Wed, 23 Dec 2015 09:27:26 +0000 (10:27 +0100)]
Update Greek translations, thnx glamourservices.

3 years agoNimManager: make sure that summary_stack has items before pop
littlesat [Mon, 21 Dec 2015 20:45:58 +0000 (21:45 +0100)]
NimManager: make sure that summary_stack has items before pop

IndexError: pop from empty list error can occur if we are trying
to pop from summary_stack without checking that has items.

Cherry picked but slightly changed from: https://github.com/athoik/enigma2/commit/e107c43d0aead3286f13abcdafac7eda0b40f304

Thanks Adhoik!!!!

3 years agoUpdate Norwegian Bokmal translations, by andy1.
technl [Mon, 21 Dec 2015 09:08:25 +0000 (10:08 +0100)]
Update Norwegian Bokmal translations, by andy1.

3 years agoUpdate for the French translations, by Pr2.
technl [Mon, 21 Dec 2015 09:07:20 +0000 (10:07 +0100)]
Update for the French translations, by Pr2.

3 years agoRecordTimer: try to disable pip when start record failed (not free tuner)
Dima73 [Sun, 20 Dec 2015 15:06:59 +0000 (17:06 +0200)]
RecordTimer: try to disable pip when start record failed (not free tuner)

3 years agoRevert "Unpause gst after media settings are known."
littlesat [Sun, 20 Dec 2015 13:45:27 +0000 (14:45 +0100)]
Revert "Unpause gst after media settings are known."

This reverts commit 2fd4abeb19e42f6482577a27b2e4d13c5abb2a1f.

As it breakes playing of some streams via gstreamer

3 years agoRevert "DVB-S sat config: set default nothing connected"
Dima73 [Sat, 19 Dec 2015 16:44:01 +0000 (18:44 +0200)]
Revert "DVB-S sat config: set default nothing connected"

This reverts commit 70745dfeb997998e02a6359cf5532115562a97d8.

(cherry picked from commit 7d2f8ada808bdafe80b0cb75256b0b990b322ea1)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoMerge pull request #137 from Dima73/pull3
littlesat [Sat, 19 Dec 2015 13:58:41 +0000 (14:58 +0100)]
Merge pull request #137 from Dima73/pull3

InfoBarSubserviceSelection: update code

3 years agoMerge pull request #136 from Dima73/tuner
littlesat [Sat, 19 Dec 2015 13:57:46 +0000 (14:57 +0100)]
Merge pull request #136 from Dima73/tuner

Satfinder: set DVB-S tuner config value 'nothing' if list sat for thi…

3 years agoadd missing code 'and'
Dima73 [Sat, 19 Dec 2015 12:29:12 +0000 (14:29 +0200)]
add missing code 'and'

3 years agoSubservicesQuickzap: update code
Dima73 [Sat, 19 Dec 2015 12:23:04 +0000 (14:23 +0200)]
SubservicesQuickzap: update code

-correct return to the previous service if close menu
SubservicesQuickzap
-if run menu SubservicesQuickzap and show ChoiceBox,for first entry add
icon "0"

3 years agoInfoBarSubserviceSelection: update code
Dima73 [Sat, 19 Dec 2015 12:17:41 +0000 (14:17 +0200)]
InfoBarSubserviceSelection: update code

-do not use getCurrentlyPlayingServiceOrGroup() to change subservices
-if subservices ref.getUnsignedData(6) == 0: not show option "Add to
bouquet" and set ref name " " if play this subservice

3 years agoSatfinder: set DVB-S tuner config value 'nothing' if list sat for this tuner empty
Dima73 [Sat, 19 Dec 2015 11:56:17 +0000 (13:56 +0200)]
Satfinder: set DVB-S tuner config value 'nothing' if list sat for this tuner empty

3 years agoUpdated Turkish translation, thnx asiBenlik
technl [Fri, 18 Dec 2015 23:20:29 +0000 (00:20 +0100)]
Updated Turkish translation, thnx asiBenlik

3 years agoalsa: fix build, missing library
Mirakels [Fri, 18 Dec 2015 12:55:56 +0000 (13:55 +0100)]
alsa: fix build, missing library

3 years agoactionmap: Implement key translations
Mirakels [Fri, 18 Dec 2015 12:28:05 +0000 (13:28 +0100)]
actionmap: Implement key translations

Some remotes lack support for certian buttons or have buttons
with different key codes. This translation feature allows to
translate specific keys into a different one reducing to need
to create bloated keymaps to map several buttons to the same function.

Some remotes are very small and lack certain keys. Using a toggle
feature based on a specific button, buttons can be multi functional

The definitions are like a keymap.xml and the translations can be added
to the default keymap.xml. But to keep keymap.xml clean and to let it serve
as a standard keymap, enigma2 will look for a keytranslation.xml file.
In is just like a keymap.xml but can be used for STB specific mappings
and translations.

An example keytranslation.xml in which the number keys are mapped
to specific other keys is shown below.  The toggle="1" means that
translation will only be done after the toggle key has been pressed. The
toggle element defines the toggle button, in this case the BACKSPACE key.
key definitions without the toggle= attribute (or with a value not equal
to "1") will always be translated regardless the toggle state.

The device name is taken from the /dev/input identifications. Check your
enigma2 log to find the proper names.

<keymap>
      <translate>
              <device name="Small remote device name">
                      <toggle from="KEY_BACKSPACE"/>
                      <key from="KEY_1" to="KEY_RED" toggle="1"/>
                      <key from="KEY_2" to="KEY_GREEN" toggle="1"/>
                      <key from="KEY_3" to="KEY_YELLOW" toggle="1"/>
                      <key from="KEY_4" to="KEY_BLUE" toggle="1"/>
                      <key from="KEY_5" to="KEY_PREVIOUS" toggle="1"/>
                      <key from="KEY_6" to="KEY_NEXT" toggle="1"/>
                      <key from="KEY_7" to="KEY_REWIND" toggle="1"/>
                      <key from="KEY_8" to="KEY_STOP" toggle="1"/>
                      <key from="KEY_9" to="KEY_FASTFORWARD" toggle="1"/>
                      <key from="KEY_0" to="KEY_PLAYPAUSE" toggle="1"/>

                      <key from="KEY_F7" to="KEY_MENU"/>
                      <key from="KEY_F1" to="KEY_VIDEO"/>
                      <key from="KEY_HOME" to="KEY_INFO"/>
                      <key from="KEY_BACK" to="KEY_EXIT"/>
                      <key from="KEY_F2" to="KEY_EPG"/>
                      <key from="KEY_ENTER" to="KEY_OK"/>
              </device>
      </translate>
      <translate>
              <device name="dreambox advanced remote control (native)">
                      <key from="KEY_PLAY" to="KEY_PLAYPAUSE"/>
              </device>
      </translate>
</keymap>

3 years agoactionmap: cosmetics/debugs
Mirakels [Fri, 18 Dec 2015 09:59:36 +0000 (10:59 +0100)]
actionmap: cosmetics/debugs

3 years agoAvoid crash in servicescan on boxes without LCD device
Mirakels [Fri, 18 Dec 2015 09:44:01 +0000 (10:44 +0100)]
Avoid crash in servicescan on boxes without LCD device

3 years agobuild configure options to select framebuffer and lcd device
Mirakels [Fri, 18 Dec 2015 09:37:26 +0000 (10:37 +0100)]
build configure options to select framebuffer and lcd device

--with-fbdev=devicename
use devicename for framebuffer device, default /dev/fb0
Example: --with-fbdev=/dev/fb10
--with-lcddev=devicename
use devicename for lcd framebuffer device, default /dev/fb1
Example: --with-lcddev=/dev/lcd0

3 years agoenable alsa support through build time configure
Mirakels [Fri, 18 Dec 2015 09:33:27 +0000 (10:33 +0100)]
enable alsa support through build time configure

--with-alsa
will enable alsa support in enigma2
--with-alsacard=card
will define the als card (default 'default')
        Example: --with-alsacard=hw:0
--with-alsamixer=mixername
Defines the als mixer device (defailt 'Master')
Example --with-alsamixer=Master

3 years agoNimManager: Add class name in print messages to aid when debugging
Athanasios Oikonomou [Thu, 17 Dec 2015 18:48:21 +0000 (20:48 +0200)]
NimManager: Add class name in print messages to aid when debugging

(cherry picked from commit 799eb48477e00a46d57aebf83ef236b75282809e)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoNimManager: Remove dm7025 powerThreshold check
Athanasios Oikonomou [Thu, 17 Dec 2015 18:19:48 +0000 (20:19 +0200)]
NimManager: Remove dm7025 powerThreshold check

(cherry picked from commit 29974f6b1952893a43b4047dd4a324c7fd4171af)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoNimManager: delete duplicate import of boundFunction
Athanasios Oikonomou [Thu, 17 Dec 2015 18:05:23 +0000 (20:05 +0200)]
NimManager: delete duplicate import of boundFunction

(cherry picked from commit ac983868638d9f66371e32476f36d23e978b6483)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoNimSelection: use slot_name from NIM class to get slot name
Athanasios Oikonomou [Thu, 17 Dec 2015 17:28:32 +0000 (19:28 +0200)]
NimSelection: use slot_name from NIM class to get slot name

IndexError: list index out of range will occur if there are more that 4 tuners.

Instead use slot_name from NIM class that already provides the same information.
and works without issues for 26 slot positions (A to Z).

(cherry picked from commit 4303fcd4144d0aad588c585e6ab54f824e2a50a6)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoDVB-S sat config: set default nothing connected
Dima73 [Mon, 14 Dec 2015 19:41:36 +0000 (21:41 +0200)]
DVB-S sat config: set default nothing connected

-this solves the problem empty list of satellites
File "/usr/lib/enigma2/python/Screens/ScanSetup.py", line 604, in
__init__
File
"/usr/lib/enigma2/python/Plugins/SystemPlugins/Satfinder/plugin.py",
line 101, in createSetup
if len(nimmanager.getTransponders(int(self.tuning_sat.value))) < 1: #
Only offer 'predefined transponder' if some transponders exist
ValueError: invalid literal for int() with base 10: ''

(cherry picked from commit aa279418f87e58c5841a3ed553b509526e11021c)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoupdate ru.po
Dima73 [Mon, 14 Dec 2015 20:00:54 +0000 (22:00 +0200)]
update ru.po

(cherry picked from commit 8bf7ccd2dee0a04ce060a7e1a22d4243ddda40a0)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoMovieBrowserConfiguration: add missing setTitle()
Dima73 [Sun, 13 Dec 2015 18:19:51 +0000 (20:19 +0200)]
MovieBrowserConfiguration: add missing setTitle()

(cherry picked from commit f7712982852e8a9a36389d70652cb305a8a3ea80)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoSatelliteEquipmentControl: update plugin
Dima73 [Sun, 13 Dec 2015 15:28:58 +0000 (17:28 +0200)]
SatelliteEquipmentControl: update plugin

-fix BSOD set tiltle
-small update size skin
-add for key menu "Set default settings?" yes/no

(cherry picked from commit a375133c7868ed9614b3037d88df4a3ff63ace89)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoConverter ClientSstreaming: add three query modes.
Erik Slagter [Thu, 17 Dec 2015 21:19:02 +0000 (22:19 +0100)]
Converter ClientSstreaming: add three query modes.

INFO: get a complete list of all clients including streaming/transcoding,
client's address and the service (resolved)
INFO_RESOLVE: same as above but resolve the client's address (slow!)
INFO_RESOLVE_SHORT: same as INFO_RESOLVE but only show the host part of
the client's address, no domain part.

3 years agoConverter ClientSstreaming: a few small/trivial/cosmetic changes.
Erik Slagter [Thu, 17 Dec 2015 21:17:58 +0000 (22:17 +0100)]
Converter ClientSstreaming: a few small/trivial/cosmetic changes.

3 years agoConverter ClientSstreaming: remove kludgy ipv4-in-ipv6 address replacement.
Erik Slagter [Thu, 17 Dec 2015 21:14:25 +0000 (22:14 +0100)]
Converter ClientSstreaming: remove kludgy ipv4-in-ipv6 address replacement.

The ipv4-in-ipv6 address starting with ::ffff: is already cleaned up in
the C++ code now.

3 years agoConverter ClientSstreaming: remove cryptic/unnecessary unicode character replacement.
Erik Slagter [Thu, 17 Dec 2015 21:11:45 +0000 (22:11 +0100)]
Converter ClientSstreaming: remove cryptic/unnecessary unicode character replacement.

3 years agoConverter ClientSstreaming: fix small/trivial cosmetic typo.
Erik Slagter [Thu, 17 Dec 2015 21:08:21 +0000 (22:08 +0100)]
Converter ClientSstreaming: fix small/trivial cosmetic typo.

NUMBEP -> NUMBER.

3 years agoeServerSocket: trivial cosmetic.
Erik Slagter [Thu, 17 Dec 2015 19:37:42 +0000 (20:37 +0100)]
eServerSocket: trivial cosmetic.

The variable is initialised twice.

3 years agoeServerSocket: fix remote client's address being garbage
Erik Slagter [Thu, 17 Dec 2015 19:34:02 +0000 (20:34 +0100)]
eServerSocket: fix remote client's address being garbage
when we're on a dualstack host.

Two issues fixed:
 - If we're going to request a client's remote address from accept()
   and we supply a sockaddr to store it, the size will incidently
   suffice for an ipv4 address, but an ipv6 address will not fit and
   result in garbage and accept() will not mention it, no error.
   Fix: use a sockaddr_in6 instead (well actually use a union
   that contains all of sockaddr, sockaddr_in and sockaddr_in6, to
   be always safe).
 - inet_ntop() is not socket family agnostic. You cannot supply it
   the generic sa_addr member from sockaddr, the offset is wrong
   for both ipv4 and ipv6. Fix: use specific code for PF_LOCAL,
   PF_INET and PF_INET6 to supply inet_ntop the correct struct
   offset. This also prevents ugly static pointer casts that often
   introduce these sorts of bugs and the compiler not complaining
   about it.

Also added translation from ::ffff:a.b.c.d (ipv4 mapped address
in ipv6 socket address) to a simple  a.b.c.d which I think is more
appropriate for most users.

3 years agoVideoMode: add 2160p mode if hardware supports it
Athanasios Oikonomou [Mon, 14 Dec 2015 20:24:18 +0000 (22:24 +0200)]
VideoMode: add 2160p mode if hardware supports it

Add 2160p video mode to VideoHardware and to VideoWizard.
Use intersection to widescreen modes and supported modes, to get only supported widescreen modes.

(cherry picked from commit 30fc4983704fde72997d56935b329792669f6d4a)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoVideomode: Add class name in print messages to aid when debugging
Athanasios Oikonomou [Mon, 14 Dec 2015 20:04:29 +0000 (22:04 +0200)]
Videomode: Add class name in print messages to aid when debugging

(cherry picked from commit f43fd862f82cd9302e91d272c7386340eaed6be4)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoAdd windowTitle when open ChoiceBox
Dima73 [Sun, 13 Dec 2015 13:36:01 +0000 (15:36 +0200)]
Add windowTitle when open ChoiceBox

-for more informative menu and understandability
users
-if skin title ="" set windowTitle ''

(cherry picked from commit 9cf47ab54e56e0c3e2c392617a33a2a152233bb6)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoGUISkin: add getSkinTitle
Dima73 [Sat, 12 Dec 2015 20:22:09 +0000 (22:22 +0200)]
GUISkin: add getSkinTitle

(cherry picked from commit 6f0dc116daba6e89b0fa01d30cb13f30cbdc0461)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoChoiceBox: add check for the original title of the skin
Dima73 [Sat, 12 Dec 2015 20:20:11 +0000 (22:20 +0200)]
ChoiceBox: add check for the original title of the skin

if title is '' or not title not set new title

(cherry picked from commit 4005d7ebb48d92c544768a58e64886ed42e906c0)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoEnigma2: Make User-Agent header HbbTV compliant
Athanasios Oikonomou [Sun, 13 Dec 2015 08:36:52 +0000 (10:36 +0200)]
Enigma2: Make User-Agent header HbbTV compliant

Apparently there are some HbbTV providers that require valid HbbTV User-Agent.

According to HbbTV specification http://www.etsi.org/deliver/etsi_ts/102700_102799/102796/01.01.01_60/ts_102796v010101p.pdf the User-Agent shall include:

HbbTV/1.1.1 (<capabilities>; [<vendorName>]; [<modelName>]; [<softwareVersion>];  [<hardwareVersion>]; <reserved>)

Maybe we can fill valid vendorName (eg Xtrend/VU+), modelName (eg ET10000/Solo4K), softwareVersion (Enigma2 version) and hardwareVersion (only for STB that provide such information), if we like to provide more statistics to providers.

More info: http://forums.openpli.org/topic/39444-hbbtv-issue/page-5#entry518642

(cherry picked from commit 2d824dfa6749c81f45b2b82945ba21e1014bf7b3)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoLocale: fix 23dd65d3f message duplication.
Erik Slagter [Sat, 12 Dec 2015 16:13:45 +0000 (17:13 +0100)]
Locale: fix 23dd65d3f message duplication.

3 years agoMerge pull request #127 from Taapat/translation
technl [Sat, 12 Dec 2015 15:22:06 +0000 (16:22 +0100)]
Merge pull request #127 from Taapat/translation

Update Latvian translation

3 years agoMerge pull request #126 from Dima73/translation
technl [Sat, 12 Dec 2015 15:15:36 +0000 (16:15 +0100)]
Merge pull request #126 from Dima73/translation

update ru.po

3 years agoCommonInterfaceAssignment: fix check the value
Dima73 [Fri, 11 Dec 2015 21:09:18 +0000 (23:09 +0200)]
CommonInterfaceAssignment: fix check the value

(cherry picked from commit 3afc6796fb918126fd24cd47b4cdeabc6e14bccd)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoCommonInterfaceAssignment: fix read xml file
Dima73 [Fri, 11 Dec 2015 19:39:46 +0000 (21:39 +0200)]
CommonInterfaceAssignment: fix read xml file

-remove it if file spoiled

(cherry picked from commit 68b2be793f33489342ef65ab69b02f23043829a3)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoUpdate Latvian translation
Taapat [Sat, 12 Dec 2015 13:58:36 +0000 (15:58 +0200)]
Update Latvian translation

3 years agoupdate ru.po
Dima73 [Sat, 12 Dec 2015 11:13:31 +0000 (13:13 +0200)]
update ru.po

3 years agoUpdate Greek translations, thnx glamourservices....
technl [Sat, 12 Dec 2015 07:39:14 +0000 (08:39 +0100)]
Update Greek translations, thnx glamourservices....

3 years agoChange some title translations, to avoid add a new very similar and repeating
Taapat [Fri, 4 Dec 2015 21:14:04 +0000 (23:14 +0200)]
Change some title translations, to avoid add a new very similar and repeating

(cherry picked from commit e81080b5481090c2bf9421ef4b781d83d926b689)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoChoiceBox: add set window title
Dima73 [Tue, 8 Dec 2015 20:05:30 +0000 (22:05 +0200)]
ChoiceBox: add set window title

e.g. Extensions menu and etc

(cherry picked from commit ef3e5370fbb8acf7a71784abcc304ca49888267a)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agoAdd workarounds for invalid transponder ID's on 7.0E and 26.0E
Erik Slagter [Fri, 11 Dec 2015 11:02:48 +0000 (12:02 +0100)]
Add workarounds for invalid transponder ID's on 7.0E and 26.0E

- 11221H and 11387H on Utelsat 7.0E with same ONID/TSID (126/40700)
- 11881H and 12284V on Badr 26.0E with same ONID/TSID (3622/100)

Contributed by kam10.

3 years agoFix rgb profile and optimize added timer_autotimer.png
Taapat [Thu, 10 Dec 2015 17:31:47 +0000 (19:31 +0200)]
Fix rgb profile and optimize added timer_autotimer.png

Use pngquant to fix rgb profile and optipng to optimize png

(cherry picked from commit 405e85a97335a92b2c39b67d3100d580655298f5)
Signed-off-by: Erik Slagter <erik@openpli.org>

3 years agofb: fix check for framebuffer size
Mirakels [Thu, 10 Dec 2015 12:55:41 +0000 (13:55 +0100)]
fb: fix check for framebuffer size

3 years agoMerge pull request #121 from Dima73/timer
littlesat [Thu, 10 Dec 2015 11:02:18 +0000 (12:02 +0100)]
Merge pull request #121 from Dima73/timer

TimerList: add icon Autotimer

3 years agoMerge pull request #116 from Dima73/pull1
littlesat [Thu, 10 Dec 2015 11:01:50 +0000 (12:01 +0100)]
Merge pull request #116 from Dima73/pull1

add stream client gui info

3 years agoLCD: fix for devices without LCD
Mirakels [Wed, 9 Dec 2015 07:45:09 +0000 (08:45 +0100)]
LCD: fix for devices without LCD

3 years agoTimerList: add icon Autotimer
Dima73 [Tue, 8 Dec 2015 18:33:14 +0000 (20:33 +0200)]
TimerList: add icon Autotimer