openblackhole/openblackhole-enigma2.git
6 years agoOnly start/stop sleeptimer when the focus is on the sleeptimer
Littlesat [Thu, 28 Feb 2013 21:45:41 +0000 (22:45 +0100)]
Only start/stop sleeptimer when the focus is on the sleeptimer

This allows you to change the inactivity timer without starting or
stopping the sleeptimer.

6 years agoRemove SleepTimerEdit Screen from skin_default.xmk
Littlesat [Thu, 28 Feb 2013 20:58:34 +0000 (21:58 +0100)]
Remove SleepTimerEdit Screen from skin_default.xmk

As it is not required anymore

6 years agoMediaPlayer: Add exit protection
Littlesat [Thu, 28 Feb 2013 20:42:16 +0000 (21:42 +0100)]
MediaPlayer: Add exit protection

Because I thought it was enoying it just quits with exit while you
were watching.

6 years agoRemove inactivity timer setting from userinterface setting
Littlesat [Thu, 28 Feb 2013 20:03:18 +0000 (21:03 +0100)]
Remove inactivity timer setting from userinterface setting

As it is currently available in SleeptimerEdit

6 years agoSimplify the Sleeptimer.
Littlesat [Thu, 28 Feb 2013 20:00:02 +0000 (21:00 +0100)]
Simplify the Sleeptimer.

6 years agoLimit choices visiable at once to 5 for MessageBox
Littlesat [Thu, 28 Feb 2013 06:52:45 +0000 (07:52 +0100)]
Limit choices visiable at once to 5 for MessageBox

As there is limited space on a screen...
And also center it in hight.

6 years agoAdjustments for more choices of Messagebox at skin_default.xml
Littlesat [Wed, 27 Feb 2013 18:55:48 +0000 (19:55 +0100)]
Adjustments for more choices of Messagebox at skin_default.xml

6 years agoMessageBox: Add possibility to get more choices than only yes/no
Littlesat [Wed, 27 Feb 2013 18:41:38 +0000 (19:41 +0100)]
MessageBox: Add possibility to get more choices than only yes/no

In addition remove a whitespace. Now you can give a list with options.
Could e.g. later be used to add save timeshift as recording at the
Timeshift protection.

6 years agoGive the About screen a label on the green button.
Stephen R. van den Berg [Sat, 23 Feb 2013 22:30:47 +0000 (23:30 +0100)]
Give the About screen a label on the green button.

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

6 years agoOn all screens: Move from green to key_green etc.
Stephen R. van den Berg [Sat, 23 Feb 2013 23:02:24 +0000 (00:02 +0100)]
On all screens: Move from green to key_green etc.

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

6 years agoDisplay remaining time since an event was aired as negative.
Stephen R. van den Berg [Fri, 15 Feb 2013 00:20:28 +0000 (01:20 +0100)]
Display remaining time since an event was aired as negative.

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

6 years agoMediaPlayer: Do not show inforbar when going to menu
Littlesat [Mon, 25 Feb 2013 06:53:58 +0000 (07:53 +0100)]
MediaPlayer: Do not show inforbar when going to menu

6 years agoFix intermittent missing first character in plugindescription
Littlesat [Fri, 22 Feb 2013 19:00:17 +0000 (20:00 +0100)]
Fix intermittent missing first character in plugindescription

6 years agofrontend: Add SNR approximation in dB for VU+ Solo2 NIMs.
Erik Slagter [Fri, 22 Feb 2013 13:56:00 +0000 (14:56 +0100)]
frontend: Add SNR approximation in dB for VU+ Solo2 NIMs.

Thanks to jacques1971 for the percentage data. The approximation
might improve with more data, currently it's a very loose
approximation.

6 years agoAdd question mark as "Do you want to abort this" is a question
Littlesat [Thu, 21 Feb 2013 23:37:36 +0000 (00:37 +0100)]
Add question mark as "Do you want to abort this" is a question

6 years agoRevert "Make choicebox default 'yes' to abort inactivity"
Littlesat [Thu, 21 Feb 2013 23:33:57 +0000 (00:33 +0100)]
Revert "Make choicebox default 'yes' to abort inactivity"

This reverts commit 7d975ed42d625b4d0eacb0f2ac3fafbd4a8f6516.

As this was afterall a bad idea as when 'yes' is default it is
also default after the timeout...

6 years agoMake choicebox default 'yes' to abort inactivity
Littlesat [Thu, 21 Feb 2013 21:16:23 +0000 (22:16 +0100)]
Make choicebox default 'yes' to abort inactivity

As I think that is more logical. When you see that message you press
more easily OK on the remote instead of selecting no first or press the
green button

6 years agoMake the TryQuitMainloop Messagebox simple
Littlesat [Thu, 21 Feb 2013 21:11:44 +0000 (22:11 +0100)]
Make the TryQuitMainloop Messagebox simple

6 years agoBetter description for inactivity timer configuration
Littlesat [Thu, 21 Feb 2013 21:05:41 +0000 (22:05 +0100)]
Better description for inactivity timer configuration

Per accident I committed the incorrect setup.xml in the previous commit
sorry for that

6 years agoCombine inactivity timer stuff to one config setting
Littlesat [Thu, 21 Feb 2013 21:01:05 +0000 (22:01 +0100)]
Combine inactivity timer stuff to one config setting

6 years agoInfoBarGenerics: Also use maxint for undhandled key detection
Littlesat [Thu, 21 Feb 2013 20:21:10 +0000 (21:21 +0100)]
InfoBarGenerics: Also use maxint for undhandled key detection

6 years agoGME: Use SelectedEvent.png when service selected without EPG
Littlesat [Wed, 20 Feb 2013 20:00:29 +0000 (21:00 +0100)]
GME: Use SelectedEvent.png when service selected without EPG

6 years agoGME: Change handling selecting services a bit
Littlesat [Wed, 20 Feb 2013 19:34:11 +0000 (20:34 +0100)]
GME: Change handling selecting services a bit

Better handling of services with parental lock and invalidate
GME at the first OK press to get the EPG upgraded

6 years agoInfoBarGenerics: Fix zapping to stream while timeshift enabled
Littlesat [Wed, 20 Feb 2013 07:59:03 +0000 (08:59 +0100)]
InfoBarGenerics: Fix zapping to stream while timeshift enabled

6 years agoInfoBarGenerics: Do not numberzap when timeshift is active
Littlesat [Wed, 20 Feb 2013 07:25:45 +0000 (08:25 +0100)]
InfoBarGenerics: Do not numberzap when timeshift is active

But still allow numberzap when in timeshift live mode

6 years agoExport timeshift helper functions
betacentauri [Fri, 15 Feb 2013 20:35:40 +0000 (21:35 +0100)]
Export timeshift helper functions

Signed-off-by: pieterg <pieterg@users.sourceforge.net>

6 years agoInfoBarGenerics: Enable Numberzap when in timeshift livemode
Littlesat [Tue, 19 Feb 2013 20:08:15 +0000 (21:08 +0100)]
InfoBarGenerics: Enable Numberzap when in timeshift livemode

To backstap you need to pause the timeshift first or use reverse.

6 years agoShuts downs or standby receiver when not controlled for a while
Littlesat [Mon, 18 Feb 2013 19:51:02 +0000 (20:51 +0100)]
Shuts downs or standby receiver when not controlled for a while

Now it can be configured that the receiver shuts down or goes to standby
(also configurable) when the receiver is turned on but not controlled for
a specific number of hours. Default this feature is currently OFF.

6 years agoChannelSelection: Simplify some code
Littlesat [Mon, 18 Feb 2013 18:39:59 +0000 (19:39 +0100)]
ChannelSelection: Simplify some code

6 years agoInfoBarGenerics: Small adjugements on timeshift
Littlesat [Mon, 18 Feb 2013 18:34:29 +0000 (19:34 +0100)]
InfoBarGenerics: Small adjugements on timeshift

6 years agoChannelSelection: Change behaviour number keys
Littlesat [Mon, 18 Feb 2013 18:23:34 +0000 (19:23 +0100)]
ChannelSelection: Change behaviour number keys

Now when we are in a userbouquet the number keys do not search anymore
on alphabeth but 1 means no go to the current service when available and
2 means go to a service that is available based on the history zap data
(probably later this could be probably extended with shortcuts to context
menu options)

6 years agoSatfinder / Automatic scan / Manual scan / Fastscan: Add
pingflood [Fri, 15 Feb 2013 14:43:13 +0000 (15:43 +0100)]
Satfinder / Automatic scan / Manual scan / Fastscan: Add
transponder scan to Satfinder plugin, add related visual
buttons for "OK"- and "Cancel"-functions to all above
(using default skin).

From pingflood: `Besides some minor cosmetics changes in
the code, the main new feature is that now you can start
scanning the transponder directly from the Satfinder. This
way you can find a satellite, fine tune it and scan the
current TP all from the same screen. In order to do this,
you just need to press "OK".'

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

6 years agoRe-add support for foregroundcolors in eslider()
Littlesat [Fri, 15 Feb 2013 13:07:02 +0000 (14:07 +0100)]
Re-add support for foregroundcolors in eslider()

In the previous reverted commit the boolean
m_have_foreground_color was not initiated to False
this results in randomly appearing esliders.
Thanks Dima73 for reporting on the forum

6 years agoRevert "Add support for specific foregroundcolours in eslider()."
Littlesat [Fri, 15 Feb 2013 12:33:06 +0000 (13:33 +0100)]
Revert "Add support for specific foregroundcolours in eslider()."

This reverts commit 41aefb09c8be554b7483c7080b59a204d3246ecc.

As it has side effects that esliders may disappear.

6 years agoEventTime: Shows that have aired already should have remaining set to zero.
Stephen R. van den Berg [Thu, 14 Feb 2013 14:08:57 +0000 (15:08 +0100)]
EventTime: Shows that have aired already should have remaining set to zero.

6 years agoGMEPG: Make the timeline borderwidth apply to the text.
Stephen R. van den Berg [Wed, 13 Feb 2013 00:30:18 +0000 (01:30 +0100)]
GMEPG: Make the timeline borderwidth apply to the text.

6 years agoeListbox: Support bordercolor and borderwidth.
Stephen R. van den Berg [Tue, 12 Feb 2013 10:50:51 +0000 (11:50 +0100)]
eListbox: Support bordercolor and borderwidth.

6 years agoChannelSelection: Fix editmode reference.
Stephen R. van den Berg [Thu, 14 Feb 2013 00:27:21 +0000 (01:27 +0100)]
ChannelSelection: Fix editmode reference.

6 years agoChannelSelection: Add parental control to pipzap
Littlesat [Thu, 14 Feb 2013 14:13:01 +0000 (15:13 +0100)]
ChannelSelection: Add parental control to pipzap

Before my children discover this work-a-round :D
They are smart....

6 years agotstools: add sanity check on pts offset calculation (without accesspoints)
pieterg [Thu, 14 Feb 2013 13:06:05 +0000 (14:06 +0100)]
tstools: add sanity check on pts offset calculation (without accesspoints)

Avoid poisoning the sample list with values beyond the end of file.
This improves rewinding from the live point of the timeshift.

6 years agovideomode: do not allow auto letterbox detection to be used
pieterg [Thu, 14 Feb 2013 10:19:01 +0000 (11:19 +0100)]
videomode: do not allow auto letterbox detection to be used

The broadcom auto letterbox detection does not handle fast
movements very well, video might freeze.
So do not allow to select it, to avoid confusion.

6 years agohdmi_cec: add third recorder address (9)
pieterg [Thu, 14 Feb 2013 09:53:06 +0000 (10:53 +0100)]
hdmi_cec: add third recorder address (9)

6 years agohdmi_cec: fix typos
pieterg [Wed, 13 Feb 2013 23:09:52 +0000 (00:09 +0100)]
hdmi_cec: fix typos

introduced in 9a6411a2424f5ff0bfffd08a608417015d4ade99

6 years agohdmi_cec: determine device type based on logical address
pieterg [Wed, 13 Feb 2013 21:41:35 +0000 (22:41 +0100)]
hdmi_cec: determine device type based on logical address

dreambox only, with other hardware we can read the device type

6 years agoFix stopping timeshift when timeshift protection is disabled
Littlesat [Wed, 13 Feb 2013 12:08:55 +0000 (13:08 +0100)]
Fix stopping timeshift when timeshift protection is disabled

6 years agoShave off some ms from parsing.
Stephen R. van den Berg [Sun, 18 Nov 2012 02:11:03 +0000 (03:11 +0100)]
Shave off some ms from parsing.

6 years agoGetEcmInfo cosmetic tweak.
Stephen R. van den Berg [Thu, 7 Feb 2013 16:29:28 +0000 (17:29 +0100)]
GetEcmInfo cosmetic tweak.

Suggested by Bernado.

6 years agoAdd support for specific foregroundcolours in eslider().
Stephen R. van den Berg [Mon, 24 Dec 2012 13:34:33 +0000 (14:34 +0100)]
Add support for specific foregroundcolours in eslider().

6 years agoRevert "ChannelSelection: Change bouquets over the previous service in history"
Littlesat [Tue, 12 Feb 2013 12:19:07 +0000 (13:19 +0100)]
Revert "ChannelSelection: Change bouquets over the previous service in history"

This reverts commit 07168f989b87c9b45369d6716a478b1f1aa6aeb0.

As it has not wanted side effects

6 years agoMake Timeshift Protection configurable
Littlesat [Sun, 10 Feb 2013 18:23:04 +0000 (19:23 +0100)]
Make Timeshift Protection configurable

6 years agoAdd Timeshift Protection to scan setup
Littlesat [Sat, 9 Feb 2013 21:54:28 +0000 (22:54 +0100)]
Add Timeshift Protection to scan setup

6 years agoAdd timeshift protection in mediaplayer plugin
Littlesat [Sat, 9 Feb 2013 21:09:49 +0000 (22:09 +0100)]
Add timeshift protection in mediaplayer plugin

6 years agoTimeshift Protection Improve Movieplayer handling
Littlesat [Sat, 9 Feb 2013 18:08:51 +0000 (19:08 +0100)]
Timeshift Protection Improve Movieplayer handling

6 years agoTimeshift protection fix for PTS and simplify some code
Littlesat [Sat, 9 Feb 2013 18:05:39 +0000 (19:05 +0100)]
Timeshift protection fix for PTS and simplify some code

Now use Stop Timeshift which was already translatable and use
the same messagebox as for stop timeshift. This might also fix
some other plugins that hack into the InfoBar

6 years agoelistboxcontents: add sanitycheck on template color lookup
pieterg [Sat, 9 Feb 2013 16:39:48 +0000 (17:39 +0100)]
elistboxcontents: add sanitycheck on template color lookup

Template colors abuse an alpha channel of 0xff, to indicate
the color value should be used as an index in the template data.
However, when a full-transparent color is used, we we will
not have template data. In that case, assume the color
value should be used as-is.

6 years agoProtect timeshift when selecting a movie
Littlesat [Fri, 8 Feb 2013 21:39:13 +0000 (22:39 +0100)]
Protect timeshift when selecting a movie

6 years agoMake the timeshift protection code a bit more readable
Littlesat [Fri, 8 Feb 2013 21:01:58 +0000 (22:01 +0100)]
Make the timeshift protection code a bit more readable

6 years agoProtect timeshift at least during normal zapping
Littlesat [Fri, 8 Feb 2013 20:50:49 +0000 (21:50 +0100)]
Protect timeshift at least during normal zapping

But still the movieplayer, scanning for (new) channels and a lot of
plugins might abort a timeshift in progress. Usually any time when
stopService is called the timeshift will be stopped. I could not find
a general way to protect a timeshift in progress. At least I hope
that the function I did create in InfoBarGenerics could be used in
some kind of universal way in case the timeshift protection will be
extended to other functionality.

6 years agopt_BR: translation updates by pingflood
pieterg [Fri, 8 Feb 2013 15:39:55 +0000 (16:39 +0100)]
pt_BR: translation updates by pingflood

6 years agoMovieInfo renderer: allow to show full pathname
Mirakels [Tue, 5 Feb 2013 14:41:29 +0000 (15:41 +0100)]
MovieInfo renderer: allow to show full pathname

- MetaDescription only showed short description. Skins use Event info for
  recordings to show some usefull info. But for files without event data
  nothing was shown.
  In this change MetaDescription will check for event info, short
  description and full file pathname to get some usefull info.
  SKins can now use MovieInfo MetaDescription instead of EventName
  extendedDescription
- cosmetics: use defined variables
- Maybe the short description should not check for directories to
  show full pathname anymore ...

6 years agotstools: calcEnd corrections
pieterg [Thu, 7 Feb 2013 21:42:30 +0000 (22:42 +0100)]
tstools: calcEnd corrections

-use temporary variables for getLastFrame and fixupPTS,
current values might be invalidated when the function
fails, in which case we should stick to our previous
values

-m_offset_end should not change without m_pts_end, they
are always used as a pair

issues reported by betacentauri

6 years agoservicedvb: allow timeshift on radio services
pieterg [Thu, 7 Feb 2013 21:40:18 +0000 (22:40 +0100)]
servicedvb: allow timeshift on radio services

6 years agoInfoBar/InfoBarGenerics: Enable TIMER Button on RemoteControl
daddelfalk [Thu, 7 Feb 2013 13:03:20 +0000 (14:03 +0100)]
InfoBar/InfoBarGenerics: Enable TIMER Button on RemoteControl

Signed-off-by: pieterg <pieterg@users.sourceforge.net>

6 years agoRevert "Protect timeshift at least during normal zapping"
Littlesat [Thu, 7 Feb 2013 20:11:08 +0000 (21:11 +0100)]
Revert "Protect timeshift at least during normal zapping"

This reverts commit f857ad6bd9c6720980257848e79da862dea12a3d.

Sorry I committed this as accident... there are still side
effects

6 years agoProtect timeshift at least during normal zapping
Littlesat [Thu, 7 Feb 2013 19:44:24 +0000 (20:44 +0100)]
Protect timeshift at least during normal zapping

But still the movieplayer, scanning for (new) channels and
a lot of plugins might abort a timeshift in progress

6 years agoEventView: Add support for FullDescription.
Stephen R. van den Berg [Thu, 7 Feb 2013 01:22:41 +0000 (02:22 +0100)]
EventView: Add support for FullDescription.

6 years agoEventView: Add support for Service and Event sources.
Stephen R. van den Berg [Tue, 5 Feb 2013 23:25:07 +0000 (00:25 +0100)]
EventView: Add support for Service and Event sources.

6 years agoChannelSelection: Add support for the Event source.
Stephen R. van den Berg [Tue, 5 Feb 2013 21:59:14 +0000 (22:59 +0100)]
ChannelSelection: Add support for the Event source.

6 years agoChannelSelection: Skin support for Editmode and EditReference.
Stephen R. van den Berg [Mon, 4 Feb 2013 00:54:29 +0000 (01:54 +0100)]
ChannelSelection: Skin support for Editmode and EditReference.

6 years agoGetEcmInfo finetuning parsing of statusfile.
Stephen R. van den Berg [Wed, 6 Feb 2013 23:06:00 +0000 (00:06 +0100)]
GetEcmInfo finetuning parsing of statusfile.

6 years agoUsageConfig: use the same range for all subtitle delay settings
pieterg [Wed, 6 Feb 2013 22:34:10 +0000 (23:34 +0100)]
UsageConfig: use the same range for all subtitle delay settings

6 years agoservicedvb: use stream type -1 when using audio pid as 'timing pid'
pieterg [Wed, 6 Feb 2013 22:28:08 +0000 (23:28 +0100)]
servicedvb: use stream type -1 when using audio pid as 'timing pid'

using the audio stream type causes tstools to parse audio pes,
and look for video start codes

issue found by betacentauri

6 years agoNot goto current service when going to userbouquet
Littlesat [Wed, 6 Feb 2013 14:35:49 +0000 (15:35 +0100)]
Not goto current service when going to userbouquet

6 years agoNavigation: Continue playing old service when incorrect PIN
Littlesat [Mon, 4 Feb 2013 22:27:18 +0000 (23:27 +0100)]
Navigation: Continue playing old service when incorrect PIN

When incorrect PIN is entered for the parental check previously
the screen went black. Now the current played service continued to
play and when that service is available in the channel list it will
also keep/set the focus to it. Why should we give a black screen here
This is also valid when the parental control is in timeout.

6 years agoMediaPlayer: Remove more not required code
Littlesat [Mon, 4 Feb 2013 20:45:51 +0000 (21:45 +0100)]
MediaPlayer: Remove more not required code

6 years agoGMEPG and ChannelSelection, ServiceEvent -> Service.
Stephen R. van den Berg [Fri, 1 Feb 2013 19:58:55 +0000 (20:58 +0100)]
GMEPG and ChannelSelection, ServiceEvent -> Service.

This avoids conflicts in combination with the EPGSearch, AutoTimer
and TMBD plugin which otherwise sometimes result in lost key-remappings.

6 years agoServiceName: Try to fix the <n/a> GSOD issue
Littlesat [Mon, 4 Feb 2013 20:33:02 +0000 (21:33 +0100)]
ServiceName: Try to fix the <n/a> GSOD issue

Thanks BugLess

6 years agoMediaPlayer: Stop timeout once the InfoBar was toggled
Littlesat [Mon, 4 Feb 2013 20:21:20 +0000 (21:21 +0100)]
MediaPlayer: Stop timeout once the InfoBar was toggled

6 years agoMoviePlayer: Remove some not required code
Littlesat [Mon, 4 Feb 2013 20:16:59 +0000 (21:16 +0100)]
MoviePlayer: Remove some not required code

As the shown binaries are standard there

6 years agoMediaPlayer: Reintroduce InfoBar on MediaPlayer
Littlesat [Mon, 4 Feb 2013 20:06:09 +0000 (21:06 +0100)]
MediaPlayer: Reintroduce InfoBar on MediaPlayer

But this time with a much simpler code and not effecting the
orriginal user interface of the Mediaplayer - except for that
you can toggle the InfoBar with the OK button

6 years agoRevert "MediaPlayer: Add Movieplayer infobar"
Littlesat [Mon, 4 Feb 2013 15:02:41 +0000 (16:02 +0100)]
Revert "MediaPlayer: Add Movieplayer infobar"

This reverts commit 89ab30247971c26d2a7811fce3198be8c6b136a1.

As it breaks some functionality from the MediaPlayer

6 years agono.po: translation updates by andy1
pieterg [Sun, 3 Feb 2013 22:40:25 +0000 (23:40 +0100)]
no.po: translation updates by andy1

6 years agofilepush: do not send evtEOF when playback is stopping
pieterg [Sun, 3 Feb 2013 13:33:05 +0000 (14:33 +0100)]
filepush: do not send evtEOF when playback is stopping

While playback is within the last m_buffersize of the file,
the filepush thread will poll the decoder, to detect
when it is empty.
As soon as it is, an evtEOF event will be sent.
For a timeshift, this situation can last for a long time,
because the file will grow with the same rate as the playback
point proceeds.
Now when a seek (skip) is attempted in this situation, the
decoder will be flushed, causing the filepush thread to assume
we have all the required conditions for an EOF event.
However, if an evtEOF event would be sent by the filepush
thread, that would cause the timeshift to switch to the
live point.
Therefore, when the filepush thread is to be stopped, as will
happen for a seek/skip, we should not send an evtEOF event when
the decoder is empty.
Instead, just break out of the thread, and emit an evtStopped.

thanks to betacentauri for pointing out this issue

6 years agopvrparse: do not attempt to parse audio streams
pieterg [Sun, 3 Feb 2013 12:44:51 +0000 (13:44 +0100)]
pvrparse: do not attempt to parse audio streams

Currently, eMPEGStreamParserTS can only parse mpeg2 (type 0)
and h264 (type 1).
Do not try to parse other stream types, which might lead to
false hits, and waste cpu time.

6 years agoAdd "rt" to libraries
Mike Looijmans [Sun, 3 Feb 2013 12:26:00 +0000 (13:26 +0100)]
Add "rt" to libraries

Newer compilers require -lrt for aio_write and related functions.

6 years agoRevert "ServiceName: getName() cannot be called with zero arguments."
Littlesat [Sun, 3 Feb 2013 10:23:50 +0000 (11:23 +0100)]
Revert "ServiceName: getName() cannot be called with zero arguments."

This reverts commit 027d32076d459084f45dde81dd439c12c26e1e99.

It was a fix for the <n/a> channels but it has a big site effect
that the channelname was not available anymore on the OSD when there
was no explecit #description in the settings

6 years agoServiceName: getName() cannot be called with zero arguments.
Stephen R. van den Berg [Sat, 2 Feb 2013 20:45:04 +0000 (21:45 +0100)]
ServiceName: getName() cannot be called with zero arguments.

6 years agotstools: force m_pts_length to be recalculated when m_pts_begin is set
pieterg [Sat, 2 Feb 2013 13:45:50 +0000 (14:45 +0100)]
tstools: force m_pts_length to be recalculated when m_pts_begin is set

m_pts_length can be correctly calculated (by calcEnd) only when
m_pts_begin is known, so calcBegin should have succeeded before
calcEnd is called.
Under certain circumstances, calcEnd could succeed before calcBegin,
leaving m_pts_length at an illegal value.
In that case, eDVBTSTools::calcLen might return an invalid length.

To avoid this, make sure the end value is invalidated, whenever
the begin value is set.
That ensures that begin and end are always calculated in the right
order, and m_pts_length will always be correct when m_begin_valid
and m_end_valid are both set.

thanks to betacentauri for finding this issue

6 years agopmt: always restart m_PAT/m_PMT when frontend state changes to ok
pieterg [Sat, 2 Feb 2013 10:47:47 +0000 (11:47 +0100)]
pmt: always restart m_PAT/m_PMT when frontend state changes to ok

Even if we have already allocated a demux, it could be that
m_PAT / m_PMT have timed out (or returned invalid data) on
the previous attempt.
When that happened, we would not restart them when the
frontend lost and re-gained it's lock, because we already
allocated a demux.

This situation might occur with a rotor setup for instance,
where the frontend gets a lock before the positioner has
reached the correct orbital position.
(as might happen when there is no current measurement, or
current measurement is not reliable)
As a result, no channel would be started, and no retries
would be attempted.

6 years agoGMEPG: Avoid GSOD when parantal control blocks a service
Littlesat [Sat, 2 Feb 2013 10:24:18 +0000 (11:24 +0100)]
GMEPG: Avoid GSOD when parantal control blocks a service

On OK you never get to a parentel controlled channel. You even cannot
exit the GMEPG. Only with exit this is possible this time - but then you
have to enter a PIN.

6 years agoEnsure that we only have one nofication to enter parantel pin
Littlesat [Sat, 2 Feb 2013 10:21:58 +0000 (11:21 +0100)]
Ensure that we only have one nofication to enter parantel pin

As sometimes with preview we could have mulitple instances

6 years agoGMEPG: possibleAlignmentChoises start with lower case letter
Littlesat [Fri, 1 Feb 2013 21:24:38 +0000 (22:24 +0100)]
GMEPG: possibleAlignmentChoises start with lower case letter

6 years agoGMEPG: Make alignments of Service Name and Events configurable
Littlesat [Fri, 1 Feb 2013 21:08:59 +0000 (22:08 +0100)]
GMEPG: Make alignments of Service Name and Events configurable

6 years agoChange some backslash and continue on next line
Littlesat [Fri, 1 Feb 2013 20:10:04 +0000 (21:10 +0100)]
Change some backslash and continue on next line

As it makes the code less readable

6 years agoCleanup SkinSelector to use os.path and follow symlinks.
Stephen R. van den Berg [Sat, 26 Jan 2013 00:58:34 +0000 (01:58 +0100)]
Cleanup SkinSelector to use os.path and follow symlinks.

6 years agoGetEcmInfo make ecm global to support peeking in the raw lines.
Stephen R. van den Berg [Thu, 31 Jan 2013 08:50:38 +0000 (09:50 +0100)]
GetEcmInfo make ecm global to support peeking in the raw lines.

6 years agoMinimise code duplication for isPlayable functions.
Stephen R. van den Berg [Thu, 31 Jan 2013 19:34:39 +0000 (20:34 +0100)]
Minimise code duplication for isPlayable functions.

Pull together several similar routines in places sprinkled throughout
the code and centralise them in one place to minimise code duplication.

6 years agoGMEPG Show channels with a different colour if not playable.
Stephen R. van den Berg [Thu, 31 Jan 2013 21:57:48 +0000 (22:57 +0100)]
GMEPG Show channels with a different colour if not playable.

6 years agoGMEPG Actually honour font statements specified in the skin.
Stephen R. van den Berg [Thu, 31 Jan 2013 00:56:57 +0000 (01:56 +0100)]
GMEPG Actually honour font statements specified in the skin.

6 years agoServiceName Reference resolves alternates.
Stephen R. van den Berg [Tue, 22 Jan 2013 00:51:52 +0000 (01:51 +0100)]
ServiceName Reference resolves alternates.