openblackhole/openblackhole-enigma2.git
6 years agoAdded TransponderInfo parameter for Servicename in skin. It can be limite for using...
ims [Sun, 22 Feb 2015 13:59:35 +0000 (14:59 +0100)]
Added TransponderInfo parameter for Servicename in skin. It can be limite for using for All services only with optionaly InRootOnly parameter: <convert type="ServiceName">TransponderInfo;InRootOnly</convert>

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agorefresh Service info too in case, when is changed bouquet and service is same
ims [Sun, 22 Feb 2015 13:51:38 +0000 (14:51 +0100)]
refresh Service info too in case, when is changed bouquet and service is same

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agodivide CZ numericaltextinput into standallone CZ and SK
ims [Sun, 22 Feb 2015 12:18:02 +0000 (13:18 +0100)]
divide CZ numericaltextinput into standallone CZ and SK

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoAdd Latvian layout in VirtualKeyBoard
Taapat [Sun, 22 Feb 2015 10:43:18 +0000 (12:43 +0200)]
Add Latvian layout in VirtualKeyBoard

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoSolve focus to hiden service/bouquet issue
Littlesat [Sun, 22 Feb 2015 11:26:32 +0000 (12:26 +0100)]
Solve focus to hiden service/bouquet issue

6 years agoKeep focus on current selected while unhide parental locked services
littlesat [Sun, 22 Feb 2015 09:31:02 +0000 (10:31 +0100)]
Keep focus on current selected while unhide parental locked services

And simplify the code

6 years agoTimerList - SCOPE_CURRENT_SKIN instead SCOPE_SKIN_IMAGE
ims [Sat, 21 Feb 2015 23:49:43 +0000 (00:49 +0100)]
TimerList - SCOPE_CURRENT_SKIN instead SCOPE_SKIN_IMAGE

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoInstantly hide services when you add them to the blacklist
littlesat [Sun, 22 Feb 2015 08:30:40 +0000 (09:30 +0100)]
Instantly hide services when you add them to the blacklist

And hideBlacklist services is ON

6 years agoAdd option to hide services that are parental protected
littlesat [Sun, 22 Feb 2015 08:15:24 +0000 (09:15 +0100)]
Add option to hide services that are parental protected

6 years agoSolve bug in addFlag function of db.cpp
Littlesat [Sun, 22 Feb 2015 06:38:32 +0000 (07:38 +0100)]
Solve bug in addFlag function of db.cpp
Z

6 years agoRevert "Input: fixed typo, don't decode unicode but encode it"
littlesat [Sat, 21 Feb 2015 22:21:58 +0000 (23:21 +0100)]
Revert "Input: fixed typo, don't decode unicode but encode it"

This reverts commit 42e3d6974aa5e5b582d31779935ec7bfe1f9cb8c.

It was not TYPO, it must be there due nat. chars for LAT2, cyrilic etc...

Thanks IMS!!!

6 years agosmall changes for the et8500 display
technl [Sat, 21 Feb 2015 14:05:54 +0000 (15:05 +0100)]
small changes for the et8500 display

6 years agoencoding.conf: update to fix epg encoding for BBC Brit HD Pl channel on 13E
blzr [Wed, 4 Feb 2015 22:51:01 +0000 (23:51 +0100)]
encoding.conf: update to fix epg encoding for BBC Brit HD Pl channel on 13E

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoRevert "PLiExtraInfo: Add MHz to DVB-C frequencies"
littlesat [Thu, 19 Feb 2015 17:32:28 +0000 (18:32 +0100)]
Revert "PLiExtraInfo: Add MHz to DVB-C frequencies"

This reverts commit c6697ad6d9ee67ac98edfe2611039e047309e688.

Sorry committed by accident

6 years agoPLiExtraInfo: Add MHz to DVB-C frequencies
littlesat [Thu, 19 Feb 2015 16:42:35 +0000 (17:42 +0100)]
PLiExtraInfo: Add MHz to DVB-C frequencies

6 years agoInput: fixed typo, don't decode unicode but encode it
mx3L [Thu, 19 Feb 2015 13:54:48 +0000 (14:54 +0100)]
Input: fixed typo, don't decode unicode but encode it

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agofix australian - numbers fro dvb-t only
ims [Wed, 18 Feb 2015 19:01:16 +0000 (20:01 +0100)]
fix australian - numbers fro dvb-t only

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoDish: new screen Dishpip for rotor if use pipzap
dima73 [Wed, 18 Feb 2015 12:31:09 +0000 (13:31 +0100)]
Dish: new screen Dishpip for rotor if use pipzap

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoParentalControl: Clone more configs for backwards compatibility
littlesat [Tue, 17 Feb 2015 12:42:18 +0000 (13:42 +0100)]
ParentalControl: Clone more configs for backwards compatibility

6 years agoParentalControl: Solve typo in comment line
littlesat [Tue, 17 Feb 2015 10:47:13 +0000 (11:47 +0100)]
ParentalControl: Solve typo in comment line

plygin -> plugin

6 years agoParentalControl: Add more config clones (settuppin, settuppinactive)
littlesat [Tue, 17 Feb 2015 10:41:30 +0000 (11:41 +0100)]
ParentalControl: Add more config clones (settuppin, settuppinactive)

There are still some 3rd party plugins which we cannot fix that depend on
it and these plugins do have users.

6 years agoChannelSelection: Remove a double imported function
littlesat [Tue, 17 Feb 2015 09:55:01 +0000 (10:55 +0100)]
ChannelSelection: Remove a double imported function

6 years agoParentalControl: Add configured config as clone from servicepinactive
littlesat [Tue, 17 Feb 2015 09:11:16 +0000 (10:11 +0100)]
ParentalControl: Add configured config as clone from servicepinactive

As some plugins seems to need it and there are also some 3rd party plugins
which we cannot adapt.

6 years agomytest.py: Remove error masking code
Mike Looijmans [Mon, 16 Feb 2015 10:02:23 +0000 (11:02 +0100)]
mytest.py: Remove error masking code

The guideline: Don't catch exceptions when you cannot resolve the problem.

Just pass exceptions on, and the top level handler will do the gsod. Remove the
try..except blocks from the dialog initialization code, so that we get a proper
trace instead of a halfway interrupted one.

This also gets rid of the weird "dlg.isTmp = True" crash that usually follows
any exception, with a backtrace divided into two blocks.

And it reduces the code size.

6 years agobsod: Remove the never used "detailed" crash log and network info
Mike Looijmans [Mon, 16 Feb 2015 09:19:48 +0000 (10:19 +0100)]
bsod: Remove the never used "detailed" crash log and network info

Remove the "detailed crash log" feature, it hasn't been asked for in
over five years, so it's safe to conclude it doesn't add anything useful.

Also remove the references to "crashlogautosubmit", there is no such thing.

6 years agoServiceScan: make error descriptions translatable
blzr [Sun, 15 Feb 2015 15:25:28 +0000 (16:25 +0100)]
ServiceScan: make error descriptions translatable

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoback to TV with Menu button from choose tuner screen
ims [Sat, 14 Feb 2015 23:57:08 +0000 (00:57 +0100)]
back to TV with Menu button from choose tuner screen

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoPluginbrowser - menu button close pluginbrowser and whole menu
ims [Sat, 14 Feb 2015 23:47:25 +0000 (00:47 +0100)]
Pluginbrowser - menu button close pluginbrowser and whole menu

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoHotkey: When panic zap also reset the MovieSelection directory
littlesat [Sat, 14 Feb 2015 14:44:53 +0000 (15:44 +0100)]
Hotkey: When panic zap also reset the MovieSelection directory

6 years agoInfoBar: EPG and Info functions are defined via Hotkey
littlesat [Sat, 14 Feb 2015 14:35:33 +0000 (15:35 +0100)]
InfoBar: EPG and Info functions are defined via Hotkey

6 years agoInputDeviceSetup: avoid GSOD when selecting standard for ET8500
littlesat [Sat, 14 Feb 2015 13:58:07 +0000 (14:58 +0100)]
InputDeviceSetup: avoid GSOD when selecting standard for ET8500

But still this box is somehowe not capable of changing the remote type

6 years agoParentalControlSetup: Remove 'some' not required code
littlesat [Sat, 14 Feb 2015 13:21:51 +0000 (14:21 +0100)]
ParentalControlSetup: Remove 'some' not required code

6 years agoRevert "ParentalControl: Solution for OpenWebIf"
littlesat [Fri, 13 Feb 2015 12:17:57 +0000 (13:17 +0100)]
Revert "ParentalControl: Solution for OpenWebIf"

This reverts commit ddaa10bdde9e5f0568e4072728a0484fe26de3ab.

As this is not required anymore after the latest changes in e2openwebif

6 years agoRevert "It seems openWebIf also needs config.ParentalControl.configured"
littlesat [Fri, 13 Feb 2015 12:17:09 +0000 (13:17 +0100)]
Revert "It seems openWebIf also needs config.ParentalControl.configured"

This reverts commit 5ab1ae710c4947ce1eb1472fca52e4c60be45541.

As it is not required anymore after the latest e2OpenWebif changes

6 years agoParentalContrlSetup: Change description of a config
littlesat [Fri, 13 Feb 2015 10:40:09 +0000 (11:40 +0100)]
ParentalContrlSetup: Change description of a config

As whitelists do not exist anymore

6 years agoIt seems openWebIf also needs config.ParentalControl.configured
littlesat [Wed, 11 Feb 2015 22:56:50 +0000 (23:56 +0100)]
It seems openWebIf also needs config.ParentalControl.configured

Add it also for at least tomorrow...

6 years agoParentalControl: Solution for OpenWebIf
littlesat [Wed, 11 Feb 2015 22:48:17 +0000 (23:48 +0100)]
ParentalControl: Solution for OpenWebIf

It seems OpenWebif needs some pictures defined in ParentalControl that are
not really required anymore in OpenPLi's enigma2. To not break OpenWebif
for tomorrow I added these picture definitions.

6 years agoParentalControlSetup: solve issue when no pincode is available
littlesat [Wed, 11 Feb 2015 19:24:14 +0000 (20:24 +0100)]
ParentalControlSetup: solve issue when no pincode is available

I broke this in my previous commit

6 years agoSimplify and hopefully improve parental lock
littlesat [Wed, 11 Feb 2015 19:00:15 +0000 (20:00 +0100)]
Simplify and hopefully improve parental lock

-use one pincode servicepin, do not use seperate setup pin that only blocked the parental lock config menu. So once you define and enable a pincode the parentel lock menu is also protected.
-remove service lists and bouquets list as the channels can be locked and unlocked via the normal configs (this was a 'source' of gsods anyway)
-remove whitelists, so only blacklists can be configured now. I suggest this makes more sense
-slighly improvement in channel selector when lock on channel is removed and cancel is pressed
-Remove lever feature that was not really implemented yet. Note that I left one leftover of this feature as otherwise after an upgrade services are not protected. So we have now a pincode list in config with just one pincode (I suggest I will change this later in a smart phase)
-Probable tiny stuff I might forget.

It might also be that it could break some plugins. But hopefully these plugins will adapt to these changes. And I'm also sure this can be made even more simpler

6 years agoCorrections on 5746c3291ba9b570de99e206401bfa38371ef01f.
Erik Slagter [Wed, 11 Feb 2015 15:04:13 +0000 (16:04 +0100)]
Corrections on 5746c3291ba9b570de99e206401bfa38371ef01f.

6 years agoAdd configure switch for compiling with either gstreamer-0.10
Erik Slagter [Wed, 11 Feb 2015 12:45:50 +0000 (13:45 +0100)]
Add configure switch for compiling with either gstreamer-0.10
or gstreamer 1. New approach from fa9c03a1ec01c807186810d7ac8d176612d6b392.

Based upon patch from christophecvr <stefansat@telenet.be>

6 years agoPicturePlayer - set pic_frame.png to skin_default/icons
ims [Wed, 11 Feb 2015 10:42:28 +0000 (11:42 +0100)]
PicturePlayer - set pic_frame.png to skin_default/icons

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoPicturePlayer - thumbnails screen adapted with skinparameter to dullhd
ims [Mon, 9 Feb 2015 18:37:32 +0000 (19:37 +0100)]
PicturePlayer - thumbnails screen adapted with skinparameter to dullhd

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoSatconfig: Close setup and return to the line with the selected tuner.
dima73 [Tue, 10 Feb 2015 11:17:16 +0000 (12:17 +0100)]
Satconfig: Close setup and return to the line with the selected tuner.

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agouse a font available....
technl [Tue, 10 Feb 2015 09:19:59 +0000 (10:19 +0100)]
use a font available....

6 years agofirst try to improve the et8500 display, still a lot off work to do.....
technl [Tue, 10 Feb 2015 09:15:40 +0000 (10:15 +0100)]
first try to improve the et8500 display, still a lot off work to do.....

6 years agoDon't disable ParentalControl if use only 'Protect on epg age'
dima73 [Mon, 9 Feb 2015 10:08:37 +0000 (11:08 +0100)]
Don't disable ParentalControl if use only 'Protect on epg age'

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoGraphMultiEPG show help with button setting
dima73 [Mon, 9 Feb 2015 10:07:17 +0000 (11:07 +0100)]
GraphMultiEPG show help with button setting

And reset offset time if switch bouquet (e.g. first 'Goto next day of events')

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoTimeDateInput: add change time key P+/P-
dima73 [Mon, 9 Feb 2015 10:06:08 +0000 (11:06 +0100)]
TimeDateInput: add change time key P+/P-

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agogsod in fullhd too
ims [Sun, 8 Feb 2015 23:02:41 +0000 (00:02 +0100)]
gsod in fullhd too

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoPixmap changed SCOPE_SKIN_IMAGE to SCOPE_CURRENT_SKIN
ims [Sun, 8 Feb 2015 20:04:20 +0000 (21:04 +0100)]
Pixmap changed SCOPE_SKIN_IMAGE to SCOPE_CURRENT_SKIN

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoStandby: When a recording is playing resume this recording
littlesat [Sun, 8 Feb 2015 11:48:04 +0000 (12:48 +0100)]
Standby: When a recording is playing resume this recording

6 years agoChannelSelection: Stop hidden bouquets showing in EPGs
Huevos [Sat, 7 Feb 2015 12:33:09 +0000 (13:33 +0100)]
ChannelSelection: Stop hidden bouquets showing in EPGs

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agofix replacing chars in channelselection
ims [Sat, 7 Feb 2015 10:36:44 +0000 (11:36 +0100)]
fix replacing chars in channelselection

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoAbout - do not display GStreamer text in version
ims [Sat, 7 Feb 2015 10:19:15 +0000 (11:19 +0100)]
About - do not display GStreamer text in version

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoChannelList - display item's name in question when is item deleted from bouquet
ims [Sat, 7 Feb 2015 08:25:05 +0000 (09:25 +0100)]
ChannelList - display item's name in question when is item deleted from bouquet

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoMake it also possible to select startservice for Standby
littlesat [Sat, 7 Feb 2015 08:09:57 +0000 (09:09 +0100)]
Make it also possible to select startservice for Standby

6 years agoClockToText - optional parameter for adding or remove initial space when is used...
ims [Fri, 6 Feb 2015 15:19:32 +0000 (16:19 +0100)]
ClockToText - optional parameter for adding or remove initial space when is used %2d formating in Default or WithSeconds. Parameters can be: Proportional and NoSpace separated with ';' Example:<convert type="ClockToText">Default;Proportional</convert>

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoUpdated fonts
littlesat [Fri, 6 Feb 2015 14:49:54 +0000 (15:49 +0100)]
Updated fonts

6 years agoRevert "Do not use kerning between digits "1"."
littlesat [Fri, 6 Feb 2015 14:34:00 +0000 (15:34 +0100)]
Revert "Do not use kerning between digits "1"."

This reverts commit d27452588f8f993c27907758cd4dd54f10da0342.

6 years agoskineable distances between item in servicelist, skineable margins for nonplayable...
ims [Fri, 6 Feb 2015 11:12:53 +0000 (12:12 +0100)]
skineable distances between item in servicelist, skineable margins for nonplayable item in list. Skin parameters: itemsDistances, nonplayableMargins

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoAdd configure switch for compiling with either gstreamer-0.10
Erik Slagter [Fri, 6 Feb 2015 10:13:03 +0000 (11:13 +0100)]
Add configure switch for compiling with either gstreamer-0.10
or gstreamer 1.

Based upon patch from christophecvr <stefansat@telenet.be>

6 years agoClockToText - Default - if hour is only one digit, then is formated with one space...
ims [Wed, 4 Feb 2015 22:36:58 +0000 (23:36 +0100)]
ClockToText - Default - if hour is only one digit, then is formated with one space on start. But one digit's width is equal width of 2 spaces. Due it is for it added one space before for aligned.

Signed-off-by: Erik Slagter <erik@openpli.org>

6 years agoDo not use kerning between digits "1".
ims [Wed, 4 Feb 2015 21:03:03 +0000 (22:03 +0100)]
Do not use kerning between digits "1".

When is in line more than one digit 1 side by side, then is returned kerning and due it is rest of text moved left.
Then digits in more rows cannot be aligned. This patche sets kerning to zero for this case.

Signed-off-by: Erik Slagter <erik@openpli.org>

6 years agopl.po: translations update
blzr [Mon, 2 Feb 2015 21:07:07 +0000 (22:07 +0100)]
pl.po: translations update

Signed-off-by: Erik Slagter <erik@openpli.org>

6 years agofix default for single parameter in About, when parameter does not exist in skin
ims [Thu, 5 Feb 2015 08:43:24 +0000 (09:43 +0100)]
fix default for single parameter in About, when parameter does not exist in skin

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoRevert "InfoBarTimeshift: allow pause/unpause on streams"
littlesat [Thu, 5 Feb 2015 09:13:38 +0000 (10:13 +0100)]
Revert "InfoBarTimeshift: allow pause/unpause on streams"

This reverts commit 507b9bf5895717408ee5cd3d504e385ca392612a.

As it has sideeffects that a started timeshift could not be paused anymore

6 years agoDivide info about storage devices optionaly as skin parameter
ims [Tue, 3 Feb 2015 18:37:39 +0000 (19:37 +0100)]
Divide info about storage devices optionaly as skin parameter

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoScrollLabel one or two columns configurable via skin parameter, split - split to...
ims [Tue, 3 Feb 2015 18:16:04 +0000 (19:16 +0100)]
ScrollLabel one or two columns configurable via skin parameter, split - split to two column, next 2 params are fuly dependent, dividechar - char in text for split, colposition - if zero or missing, then second column aligned right, else position in pixels and aligned left.

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoPython version in About screen
ims [Tue, 3 Feb 2015 18:34:10 +0000 (19:34 +0100)]
Python version in About screen

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoInto About added date of flash receiver
ims [Mon, 2 Feb 2015 16:53:31 +0000 (17:53 +0100)]
Into About added date of flash receiver

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoupdated cs.po
ims [Sun, 1 Feb 2015 21:42:43 +0000 (22:42 +0100)]
updated cs.po

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agofix typo in text
ims [Sun, 1 Feb 2015 21:37:36 +0000 (22:37 +0100)]
fix typo in text

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoParentalControl: Solve a type.
littlesat [Mon, 2 Feb 2015 17:15:22 +0000 (18:15 +0100)]
ParentalControl: Solve a type.

Thanks for the notification Dimitrij

6 years agoInfoBarTimeshift: allow pause/unpause on streams
Athanasios Oikonomou [Sun, 1 Feb 2015 13:29:27 +0000 (15:29 +0200)]
InfoBarTimeshift: allow pause/unpause on streams

When a stream is entered on bouquets pause/unpause doesn't work because
pause button tries to create timeshift.

Now when time shift fails and service is streamed it will try to pause/unpause
the stream.

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoFinetuning parental control on EPG information
littlesat [Sun, 1 Feb 2015 12:33:38 +0000 (13:33 +0100)]
Finetuning parental control on EPG information

2 do: what to do when rating is above rating 15 which means broadcaster
defined

6 years agoGMEPG - changed font limits for FullHD
ims [Sat, 31 Jan 2015 21:22:27 +0000 (22:22 +0100)]
GMEPG - changed font limits for FullHD

Signed-off-by: littlesat <littlesat99@yahoo.com>

6 years agoHotkey: Solve typo - thanks for reporting IMS
littlesat [Sat, 31 Jan 2015 13:47:58 +0000 (14:47 +0100)]
Hotkey: Solve typo - thanks for reporting IMS

6 years agoDo not save toggle ToggleLCDLiveTV config
littlesat [Sat, 31 Jan 2015 13:19:30 +0000 (14:19 +0100)]
Do not save toggle ToggleLCDLiveTV config

As via the config it will be the default when (re)starting enigema2

6 years agoRevert "Remove clone live TV from display setup"
littlesat [Sat, 31 Jan 2015 13:16:58 +0000 (14:16 +0100)]
Revert "Remove clone live TV from display setup"

This reverts commit 93f4bb9a571a45d5bea616c986df7a0e045f23fe.

As this will be the default value when you (re)start enigma2

6 years agoWork-a-round for changing LCD screen LiveTV/OSD for PIG skins
littlesat [Sat, 31 Jan 2015 13:13:21 +0000 (14:13 +0100)]
Work-a-round for changing LCD screen LiveTV/OSD for PIG skins

When in a PIG screen in the menu the clone LCD live TV option was disabled
it kept in PIG mode on the LCD display when it was enabled later via
Hotkey. This change in the dummyScreen works-a-round this anomaly

6 years agoMove dummyScreen work-a-round to Lcd.py
littlesat [Sat, 31 Jan 2015 13:07:26 +0000 (14:07 +0100)]
Move dummyScreen work-a-round to Lcd.py

6 years agoHotkey/ET8500: save the config when toggling Live TV/OSD to display
littlesat [Sat, 31 Jan 2015 11:16:34 +0000 (12:16 +0100)]
Hotkey/ET8500: save the config when toggling Live TV/OSD to display

6 years agoRemove clone live TV from display setup
littlesat [Sat, 31 Jan 2015 11:13:32 +0000 (12:13 +0100)]
Remove clone live TV from display setup

As it can now be toggled via a Hotkey

6 years agoMake OSD on display default for ET8500
littlesat [Sat, 31 Jan 2015 11:06:21 +0000 (12:06 +0100)]
Make OSD on display default for ET8500

I suggest this is the best default.

6 years agocosmetic: fix file modes for some files.
Erik Slagter [Sat, 31 Jan 2015 11:05:45 +0000 (12:05 +0100)]
cosmetic: fix file modes for some files.

6 years agoepgcache: Use unordered_map for event data descriptors
Mike Looijmans [Sat, 31 Jan 2015 08:26:22 +0000 (09:26 +0100)]
epgcache: Use unordered_map for event data descriptors

The descriptors are unordered, so store them in an unordered_map. In
general the unordered_map has constant lookup while map has O(log(n)).
Drawback is that the unordered_map iterator is slower than the map's.
Unordered_map has less overhead than map, experiments show that a
map<int,int> uses 12 bytes of heap space per element, while the
unordered_map<int,int> uses 12 at start, which decreases to 8 as the
number of objects grows.
I expect lower memory usage and faster lookup will outweigh a slightly
slower description search.

Use "rehash" when loading EPG data to prevent multiple rehashes during
load. May also reduce fragmentation.

Use typedef instead of #define (proper C++ syntax).

6 years agoHotkey: Add toggle liveTV or OSD on LCDdisplay for ET8500
littlesat [Sat, 31 Jan 2015 10:18:49 +0000 (11:18 +0100)]
Hotkey: Add toggle liveTV or OSD on LCDdisplay for ET8500

Default on the long HDMI Rx key. short HDMI Rx key is toggle HDMI in -
this function is now also arranged via Hotkey.

TODO: Find a way that we do not need that dummy screen as in fact this is
an "ugly" patch.

6 years agoAdd parental protection on EPG information
littlesat [Sat, 31 Jan 2015 08:23:54 +0000 (09:23 +0100)]
Add parental protection on EPG information

6 years agoet8500: lcd: move lcd config section to appropriate source file.
Erik Slagter [Fri, 30 Jan 2015 18:50:27 +0000 (19:50 +0100)]
et8500: lcd: move lcd config section to appropriate source file.

6 years agoet8500: lcd: add default skin for display.
Erik Slagter [Fri, 30 Jan 2015 10:44:13 +0000 (11:44 +0100)]
et8500: lcd: add default skin for display.

6 years agoTurn on/off tv live modus for et8500 display
betacentauri [Mon, 12 Jan 2015 17:38:15 +0000 (18:38 +0100)]
Turn on/off tv live modus for et8500 display

Signed-off-by: Erik Slagter <erik@openpli.org>

6 years agoAdd support for framebuffer LCDs
betacentauri [Thu, 22 Jan 2015 19:32:24 +0000 (20:32 +0100)]
Add support for framebuffer LCDs

et8500 has such framebuffer LCD

Signed-off-by: Erik Slagter <erik@openpli.org>

6 years agoAdd parental control on recordings made from parental locked channels
littlesat [Fri, 30 Jan 2015 17:35:20 +0000 (18:35 +0100)]
Add parental control on recordings made from parental locked channels

6 years agoUnlinked bouquets will be renamed with .del when load unlinked bouquets is disabled
Littlesat [Mon, 26 Jan 2015 18:19:51 +0000 (19:19 +0100)]
Unlinked bouquets will be renamed with .del when load unlinked bouquets is disabled

This means these bouquets could be purged (completely deleted) or added afterwards
via the context menu in the ChannelSelection screen.

6 years agoScreenSaver: Make background black, and show Tux
Mike Looijmans [Sun, 25 Jan 2015 17:16:33 +0000 (18:16 +0100)]
ScreenSaver: Make background black, and show Tux

If the video was black, the screensaver made it less dark. Set the
background color to black, not a very dark shade of gray.

My wife was complaining that the screensaver image was boring and
that she wanted a Pinguin back. So now Tux will appear on your TV.

6 years agoeEPGCache::channel_data::finishEPG return void
Mike Looijmans [Sat, 24 Jan 2015 20:12:40 +0000 (21:12 +0100)]
eEPGCache::channel_data::finishEPG return void

Nothing ever uses the return value, so return nothing.

6 years agoepgcache.cpp: Remove Lock from public interface
Mike Looijmans [Sat, 24 Jan 2015 20:03:04 +0000 (21:03 +0100)]
epgcache.cpp: Remove Lock from public interface

Now that the internals are kept internal, there's no more need to
publish the implementation of the lock to the outside world.

Next up is to remove the evil "recursive" part from the lock so
that it can be replaced with a read/write lock that allows multiple
threads access to the cache if they're all just readers.

Also fix a minor const removal in a cast.

6 years agoepgcache::privateSectionRead: Search the eventDB just once
Mike Looijmans [Sat, 24 Jan 2015 19:43:58 +0000 (20:43 +0100)]
epgcache::privateSectionRead: Search the eventDB just once

Don't evaluate eventDB[current_service] twice, just do it once and
then use the result twice.

6 years agoepgcache: Don't check on "empty" in cleanLoop
Mike Looijmans [Sat, 24 Jan 2015 19:35:41 +0000 (20:35 +0100)]
epgcache: Don't check on "empty" in cleanLoop

The chances of the eventDB being empty are very very slim, and the
iterator will run out of items quickly enough then. Remove the check
and move the lock to an inner scope, so that the lock is released
before setting the next timer.