openblackhole/openblackhole-enigma2.git
4 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>

4 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>

4 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>

4 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>

4 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>

4 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

4 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>

4 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

4 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>

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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.

4 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.

4 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).

4 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.

4 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

4 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.

4 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.

4 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>

4 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>

4 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

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 years agoTimerlist - added eventNameFont for timername size
ims [Sun, 25 Jan 2015 13:34:43 +0000 (14:34 +0100)]
Timerlist - added eventNameFont for timername size

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

4 years agoChannelSelection: We need to rename/remove from the correct directory
littlesat [Sun, 25 Jan 2015 11:45:07 +0000 (12:45 +0100)]
ChannelSelection: We need to rename/remove from the correct directory

4 years agoAdd purge and restored removed userbouquets functionality
littlesat [Sun, 25 Jan 2015 10:43:41 +0000 (11:43 +0100)]
Add purge and restored removed userbouquets functionality

4 years agoRemove userbouquets are renamed so remove is not required anymore
littlesat [Sun, 25 Jan 2015 10:13:38 +0000 (11:13 +0100)]
Remove userbouquets are renamed so remove is not required anymore

4 years agoMake load unlinked bouquets configurable
Littlesat [Sun, 25 Jan 2015 09:21:23 +0000 (10:21 +0100)]
Make load unlinked bouquets configurable

We induce a feature months ago that loaded "unlinked" userbouquets. This
means that userbouquets that are not in bouquets.tv and bouquets.radio
are also loaded into the service list on top of it. This was intended
when you install settings and have your own added userbouquets that those
own added userbouquets are still loaded after an upgrade via opkg of the
installed settings. This is some kind of intelligent algorythm. It also
helps you to clean userbouquets that are unlinked and left behind as they
are added in the list you were able to remove then (ghost bouquets)

But some users do not understand/like this issue. So for now I make it
configurable and you are able to disable this feature.

4 years agoepgcache: Move savetofile routine from servicedvbrecord to epgcache
Mike Looijmans [Sat, 24 Jan 2015 08:40:02 +0000 (09:40 +0100)]
epgcache: Move savetofile routine from servicedvbrecord to epgcache

servicedvbrecord was the one and only user for two lookup functions
that required the cache to be locked from the outside. Move this
save-EIT-to-file routine to the epgcache, so that other objects no
longer need to know about the internal workings of the cache.

Remove the now unused lookupEvents methods that were recursively
locking the cache mutex.

This also removes lowlevel/eit.h from the header, only epgcache needs
to know about the EIT internals.

4 years agoInputDeviceSetup: Use RC Code '5' for ET9000/9100
dima73 [Fri, 23 Jan 2015 17:23:57 +0000 (18:23 +0100)]
InputDeviceSetup: Use RC Code '5' for ET9000/9100

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

4 years agoSkinSelector: Only switch skin when you really do restart Enigma2
littlesat [Fri, 23 Jan 2015 16:41:50 +0000 (17:41 +0100)]
SkinSelector: Only switch skin when you really do restart Enigma2

WHen you change the skin between e.g. a 720 and a 1080 after you
select the skin you get a message that the UI should be restarted
At this message you already get a png from the new skin. Now the skin
will be switched after you select yes on rebote so you will keep
the png there from the current selected skin. In addition we do
only switch the skin when you perform the reboot. So not store the
new skin and suddenly discover after a next reboot that the skin
was changed.

4 years agoRevert "ChannelSelection: Make it possible to hide userbouquets"
littlesat [Fri, 23 Jan 2015 15:51:58 +0000 (16:51 +0100)]
Revert "ChannelSelection: Make it possible to hide userbouquets"

This reverts commit 323f89f3487a9f9a8c8f12e840c6c47825183286.

As this patch was not really required. In OpenPLi hide bouquets was functioning
directly within the service list already a long time ago.
There was only an anomaly in case the first service in a list was hidden. As this
anomaly was solved this patch is really not required anymore.

4 years agoChannelSelection: Sanity check current running service
dima73 [Fri, 23 Jan 2015 14:56:59 +0000 (15:56 +0100)]
ChannelSelection: Sanity check current running service

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

4 years agoTimerSanityCheck: Add an additional constraint to double check timer
dima73 [Fri, 23 Jan 2015 10:49:29 +0000 (11:49 +0100)]
TimerSanityCheck: Add an additional constraint to double check timer

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

4 years agoTimeSanityCheck: cosmetic.
dima73 [Fri, 23 Jan 2015 10:49:09 +0000 (11:49 +0100)]
TimeSanityCheck: cosmetic.

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

4 years agoAlternatives: Fix alternative being shown as unavailable service.
dima73 [Fri, 23 Jan 2015 10:42:14 +0000 (11:42 +0100)]
Alternatives: Fix alternative being shown as unavailable service.

Signed-off-by: Erik Slagter <erik@slagter.name>

4 years agolistboxservice: Simplify some code
Littlesat [Fri, 23 Jan 2015 06:37:29 +0000 (07:37 +0100)]
listboxservice: Simplify some code

Sorry yesterday I was too much focused on the issue itself. The extra
iterator and counter variables were not required at all

4 years agolistboxservice: first try to solve anomaly when service list starts with number markers
Littlesat [Thu, 22 Jan 2015 22:49:56 +0000 (23:49 +0100)]
listboxservice: first try to solve anomaly when service list starts with number markers

When we use cable scan we also get a radio service, but the service numbers there do not
start with channel number 1. This leads to a side effect that you cannot correctly zap
through these radio channels via left/right. Only one direction works but it will skip
each time a channel. This patch at least solve the zap error. In fact the issue was that
when home was selected and the first service was a hidden service or hidden numbered marker
that this messes with the hole stuff as in fact this hidden service was still selected.
As we now search for the first not hidden service a hidden service cannot be selected
anymore. I tried this with empty list, list with only hidden markers, lists with only one
service and I could not find any further anomalies.

4 years agoRevert "listboxservice: first try to solve anomaly when service list starts with...
littlesat [Thu, 22 Jan 2015 17:18:48 +0000 (18:18 +0100)]
Revert "listboxservice: first try to solve anomaly when service list starts with number markers"

This reverts commit ea14d03b146016bcbd0d2671e9d402e6d1631ea4.

As it has another unexpected site-effect...
http://forums.openpli.org/topic/36693-box-hangt-bij-nieuwe-zenders-in-zenderlijst/

4 years agolistboxservice: first try to solve anomaly when service list starts with number markers
Littlesat [Wed, 21 Jan 2015 23:23:53 +0000 (00:23 +0100)]
listboxservice: first try to solve anomaly when service list starts with number markers

When we use cable scan we also get a radio service, but the service numbers there do not
start with channel number 1. This leads to a side effect that you cannot correctly zap
through these radio channels via left/right. Only one direction works but it will skip
each time a channel. This patch at least solve the zap error, but it still has another
site effect as it makes the first number marker visiable on top which is not intended
and in addition that one could get stuck on indicated as selected. I suggest for now
this is cosmetic, but this new side effect should also be solved later... probably
the open source community might also help here...

4 years agoChannelSelection: Make it possible to hide userbouquets
littlesat [Wed, 21 Jan 2015 19:06:41 +0000 (20:06 +0100)]
ChannelSelection: Make it possible to hide userbouquets

As suggested in this topic
http://forums.openpli.org/topic/36673-e2-failing-to-hide-a-hidden-bouquet/

4 years agoMovielist - size of tree description as parameter
ims [Wed, 21 Jan 2015 18:23:46 +0000 (19:23 +0100)]
Movielist - size of tree description as parameter

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

4 years agoEPGList - aded warning when is wrong size for multiparameter
ims [Wed, 21 Jan 2015 11:14:12 +0000 (12:14 +0100)]
EPGList - aded warning when is wrong size for multiparameter

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

4 years agoMovieList - speed improvement in attribSkin and detection of missing multiparameters
ims [Wed, 21 Jan 2015 10:59:37 +0000 (11:59 +0100)]
MovieList - speed improvement in attribSkin and detection of missing multiparameters

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

4 years agoDo delete userbouquets when they are renamed
Littlesat [Wed, 21 Jan 2015 18:10:41 +0000 (19:10 +0100)]
Do delete userbouquets when they are renamed

This solves the issue on http://forums.openpli.org/topic/36676-rename-bouquet/

When a bouquet was rename actually in the list it was removed and than pushed
back with the renamed name. Removing the bouquet actually add a '.del' to the
actual bouquet file on your box. Due to this this bouquet was not readed again
after an enigma2/box restart. By adding an option to removeService for not
adding the '.del' to the bouquet file and putting this default to true and
call it with False in ChannelSelection.py it can be avoided to add the '.del'
when we are renaming bouquets.

4 years agoadded several parameters into EPGList for better fullhd skineable. Added parameters...
ims [Wed, 21 Jan 2015 09:24:03 +0000 (10:24 +0100)]
added several parameters into EPGList for better fullhd skineable. Added parameters: setIconDistance - distance between timer icon and text setIconShift - y-coordinate setTimeWidth - maximal lenght time field setColWidths - widths for 1st and 2nd column setColGap - space between columns counted as prev. col - space

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

4 years agoMovieList - change SCOPE_SKIN_IMAGE to SCOPE_CURRENT_SKIN
ims [Tue, 20 Jan 2015 00:05:50 +0000 (01:05 +0100)]
MovieList - change SCOPE_SKIN_IMAGE to SCOPE_CURRENT_SKIN

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

4 years agoMovieList - added skin parameters for support fullhd
ims [Tue, 20 Jan 2015 00:13:52 +0000 (01:13 +0100)]
MovieList - added skin parameters for support fullhd

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

4 years agoAdd sanity check to avoid GSOD when starting teletext without an teletext plugin...
dima73 [Mon, 19 Jan 2015 10:49:17 +0000 (11:49 +0100)]
Add sanity check to avoid GSOD when starting teletext without an teletext plugin installed

Very unlikely, but it might happen....

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

4 years agoSolve event when start instant record selected reference when performed from ChannelS...
dima73 [Mon, 19 Jan 2015 10:46:55 +0000 (11:46 +0100)]
Solve event when start instant record selected reference when performed from ChannelSelection

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

4 years agofix incorrectly reference service when changing bouquets when PiPzap is used
dima73 [Mon, 19 Jan 2015 10:44:45 +0000 (11:44 +0100)]
fix incorrectly reference service when changing bouquets when PiPzap is used

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

4 years agoHelp adapted as skineable
ims [Sun, 18 Jan 2015 17:08:20 +0000 (18:08 +0100)]
Help adapted as skineable

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

4 years agoChoiceList - set default y-coordinate to zero. It can be set to non zero value in...
ims [Sun, 18 Jan 2015 20:46:32 +0000 (21:46 +0100)]
ChoiceList - set default y-coordinate to zero. It can be set to non zero value in skin.

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

4 years agoepgcache: Remove unused getNextTimeEntry methods
Mike Looijmans [Sun, 18 Jan 2015 12:47:52 +0000 (13:47 +0100)]
epgcache: Remove unused getNextTimeEntry methods

Two flavors of the getNextTimeEntry methods were never used anywhere,
remove them.

4 years agoepgcache.h: Use std::tr1::unordered_map instead of __gnu_cxx::hash_map
Mike Looijmans [Sun, 18 Jan 2015 12:12:49 +0000 (13:12 +0100)]
epgcache.h: Use std::tr1::unordered_map instead of __gnu_cxx::hash_map

Fix the compiler warning about __gnu_cxx::hash_map being deprecated by
replacing it with std::tr1::unordered_map.

4 years agoepgcache.cpp: Fix possible lock scope error and hide channel_map_lock
Mike Looijmans [Sat, 17 Jan 2015 19:49:06 +0000 (20:49 +0100)]
epgcache.cpp: Fix possible lock scope error and hide channel_map_lock

No need to export channel_map_lock to the outside world, hide it in a static.

The channel_map_lock apparently protects m_knownChannels, but why it sometimes
locks and sometimes doesn't is a riddle. In DVBChannelStateChanged it looks
weird, as it aquires a lock but doesn't release it until after unlocking the
"channel_active". Looks as if a scope is missing here, add it.

4 years agoQuickSubtitleConfigMenu: Auto adjust screen size
littlesat [Sat, 17 Jan 2015 16:33:42 +0000 (17:33 +0100)]
QuickSubtitleConfigMenu: Auto adjust screen size

When no fps are displayed resize the screen to the number of topics
available in the config list.

4 years agoVirtualKeyboard skineable
ims [Sat, 17 Jan 2015 14:07:21 +0000 (15:07 +0100)]
VirtualKeyboard skineable

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

4 years agoskin.py - replaced SCOPE_SKIN_IMAGE with SCOPE_CURRENT_SKIN
ims [Sat, 17 Jan 2015 14:24:28 +0000 (15:24 +0100)]
skin.py - replaced SCOPE_SKIN_IMAGE with SCOPE_CURRENT_SKIN

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

4 years agoservicemp3: Do not show new subtitles when playing is paused
Littlesat [Sat, 17 Jan 2015 14:57:44 +0000 (15:57 +0100)]
servicemp3: Do not show new subtitles when playing is paused

Previously subtitles could play over and over again when in pause so
you saw one subtitle displayed going away and coming back in a
cycle. When we do not go for showtime when in pause we do not see
this 'flikkering' anymore

4 years agoMake the size of the subtitles undependent from the skin size
Littlesat [Sat, 17 Jan 2015 14:40:50 +0000 (15:40 +0100)]
Make the size of the subtitles undependent from the skin size

e.g. in 1920x1080 skins the subtitles are very small in comparision with
1280x720 skins. Now the fontsize will be compensated so they look in size
the same in both type of skins. Also the border is taken into account.
So when changing to a 1920x1080 skin you do not need to alter the fontsize
for subtitles

4 years agoStreamline the code around the pango (external) subtitles
Littlesat [Sat, 17 Jan 2015 14:17:24 +0000 (15:17 +0100)]
Streamline the code around the pango (external) subtitles

4 years agoBring back alternative coloring for pango (external) subtitles
Littlesat [Sat, 17 Jan 2015 13:45:25 +0000 (14:45 +0100)]
Bring back alternative coloring for pango (external) subtitles

And in addition add for the fontswitch a separate config

4 years agoAuto adjust slider height in configLists
Littlesat [Sat, 17 Jan 2015 13:10:37 +0000 (14:10 +0100)]
Auto adjust slider height in configLists

e.g. when the height is heigher for 1080 skins

4 years agoepgcache.cpp: Allow other Python threads to run during EPG import
Mike Looijmans [Sat, 17 Jan 2015 09:41:39 +0000 (10:41 +0100)]
epgcache.cpp: Allow other Python threads to run during EPG import

When importing EPG data into the cache from within Python, the GIL
can be released while the data is being processed. This should
improve the GUI responsiveness when for example the EPG importer
plugin is transferring data to the EPG cache.

4 years agoRefactor parseDVBtime
Mike Looijmans [Sat, 17 Jan 2015 08:42:57 +0000 (09:42 +0100)]
Refactor parseDVBtime

Avoid optional parameters and provide proper signatures so the conversions
can all be done in one place.

4 years agofallback tuner: fix for alternatives sometimes shown as fallback service.
Erik Slagter [Sat, 17 Jan 2015 09:27:30 +0000 (10:27 +0100)]
fallback tuner: fix for alternatives sometimes shown as fallback service.

See http://forums.openpli.org/topic/36560-bug-for-show-record-indicator/page-3#entry470232

4 years agoepgcache.cpp: Factor out calculate_crc_hash method
Mike Looijmans [Fri, 16 Jan 2015 19:01:09 +0000 (20:01 +0100)]
epgcache.cpp: Factor out calculate_crc_hash method

Instead of repeating the code, put it into a static method.

4 years agoConfigList: Make slider/text seperation configurable by skin
littlesat [Fri, 16 Jan 2015 17:42:59 +0000 (18:42 +0100)]
ConfigList: Make slider/text seperation configurable by skin

4 years agoPluginList: Scale the plugin icon
littlesat [Fri, 16 Jan 2015 17:16:22 +0000 (18:16 +0100)]
PluginList: Scale the plugin icon

4 years agoAdapted SelectionList to fully skineable
ims [Fri, 16 Jan 2015 15:51:10 +0000 (16:51 +0100)]
Adapted SelectionList to fully skineable

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

4 years agoPluginlist - use SCOPE_CURRENT_SKIN instead SCOPE_CURRENT_IMAGE for icons
ims [Fri, 16 Jan 2015 15:29:41 +0000 (16:29 +0100)]
Pluginlist - use SCOPE_CURRENT_SKIN instead SCOPE_CURRENT_IMAGE for icons

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

4 years agoadapt ServiceInfo as skineable
ims [Fri, 16 Jan 2015 14:50:13 +0000 (15:50 +0100)]
adapt ServiceInfo as skineable

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

4 years agoPluginlist - do not use parameter itemheight for font1
ims [Fri, 16 Jan 2015 15:03:11 +0000 (16:03 +0100)]
Pluginlist - do not use parameter itemheight for font1

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

4 years agoAdapted PluginList to fully skineable
ims [Fri, 16 Jan 2015 13:02:10 +0000 (14:02 +0100)]
Adapted PluginList to fully skineable

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

4 years agoAdapted ChoiceList to fully skineable
ims [Fri, 16 Jan 2015 13:04:48 +0000 (14:04 +0100)]
Adapted ChoiceList to fully skineable

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

4 years agoAdapted FileList to fully skineable
ims [Fri, 16 Jan 2015 13:05:57 +0000 (14:05 +0100)]
Adapted FileList to fully skineable

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

4 years agoskin.py: Add parameter section
littlesat [Fri, 16 Jan 2015 10:17:50 +0000 (11:17 +0100)]
skin.py: Add parameter section

This is helpfull to finetine some dimentions in the code to be able to make finetuning in e.g. Lists
Very nice for Full-HD skins

4 years agoapplySkin improve performance with using try/except
littlesat [Fri, 16 Jan 2015 10:12:08 +0000 (11:12 +0100)]
applySkin improve performance with using try/except

As suggested by Milo...

4 years agoRevert "configurable parameters for plugin browser."
littlesat [Fri, 16 Jan 2015 10:06:24 +0000 (11:06 +0100)]
Revert "configurable parameters for plugin browser."

This reverts commit ba639aaac59ec5d16bdcf415636cc27dbc3a2f7e.

As we discovered a better way to do this

4 years agoRevert "applySkin: avoid to use eval, use local().get(attrib)(value) instead"
littlesat [Fri, 16 Jan 2015 10:06:01 +0000 (11:06 +0100)]
Revert "applySkin: avoid to use eval, use local().get(attrib)(value) instead"

This reverts commit c06cd4649f5376f844aee429f4075dfe35067d26.

As we discovered a better way to do this

4 years agoRevert "applySkin improve performance with using try/except"
littlesat [Fri, 16 Jan 2015 10:04:24 +0000 (11:04 +0100)]
Revert "applySkin improve performance with using try/except"

This reverts commit 3ce7b462c9702cb7a869759bbbbfa11496ebb14e.

As we discovered a better way to do this

4 years agoRevert "FileList: Add itemHeight, font and iconMargin skin attributes"
littlesat [Fri, 16 Jan 2015 10:04:00 +0000 (11:04 +0100)]
Revert "FileList: Add itemHeight, font and iconMargin skin attributes"

This reverts commit 31c382adc67ead4300abeb219f861d15e3172fcb.

As we discovered a better way to do this

4 years agoRevert "Adapted FileList as fully skineable. Parameters in comment in file"
littlesat [Fri, 16 Jan 2015 10:03:33 +0000 (11:03 +0100)]
Revert "Adapted FileList as fully skineable. Parameters in comment in file"

This reverts commit c551819db94efe27f07084e3f65691700852cf20.

As we discovered a better way to do this

4 years agoRevert "prepared SelectionList for full skineable"
littlesat [Fri, 16 Jan 2015 10:03:15 +0000 (11:03 +0100)]
Revert "prepared SelectionList for full skineable"

This reverts commit dde7661ee181ad445033e76db94405c7d3bcabbb.

As we discovered a better way to do this

4 years agoRevert "Pluginlist - fixed plugins icon position, class instead globals, skin paramet...
littlesat [Fri, 16 Jan 2015 10:02:19 +0000 (11:02 +0100)]
Revert "Pluginlist - fixed plugins icon position, class instead globals, skin parameters in comment"

This reverts commit 6efe885377e92c094b8a92251945c72438fff9d6.

As we discovered a better way to do this

4 years agoRevert "Solve typo included in the three previous commits from IMS"
littlesat [Fri, 16 Jan 2015 10:01:39 +0000 (11:01 +0100)]
Revert "Solve typo included in the three previous commits from IMS"

This reverts commit 68d9f8c75d7939a120067e90ae2aa9afb36bfc91.

As we discovered a better way to do this

4 years agoRevert "Try to solve GSOD with Dreamexplorer after latest FileList changes"
littlesat [Fri, 16 Jan 2015 10:00:09 +0000 (11:00 +0100)]
Revert "Try to solve GSOD with Dreamexplorer after latest FileList changes"

This reverts commit 7560fdcfda8f1a4ae79e1480447124bf4df0df7d.

As we found a better method

4 years agofallback tuner: if a fallback tuner service is being recorded,
dima73 [Fri, 16 Jan 2015 09:46:33 +0000 (10:46 +0100)]
fallback tuner: if a fallback tuner service is being recorded,
show it as red instead of the fallback tuner service colour.

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

4 years agoTry to solve GSOD with Dreamexplorer after latest FileList changes
littlesat [Thu, 15 Jan 2015 11:03:01 +0000 (12:03 +0100)]
Try to solve GSOD with Dreamexplorer after latest FileList changes

And solve an additional issue where removing elements from a list while iterating

4 years agoSolve typo included in the three previous commits from IMS
littlesat [Thu, 15 Jan 2015 10:21:32 +0000 (11:21 +0100)]
Solve typo included in the three previous commits from IMS

- self.skinAttributes((attrib, value))
+ self.skinAttributes.remove((attrib, value))