InfoBarTunerState Plugin

baha2

Super VIP
Messages
6,530
InfoBarTunerState 0.1

Code:
Now it is time for me to imagine a plugin, at least the first beta of it

The plugin is designed to complement the InfoBar and represent all current shots clear. Just look at the screenshots, they say yes well known from more than ...

Each row contains the following information:
Record symbol - Tuner - Channel Number - Channel Name - Title - Remaining Time

The column width is adjusted dynamically.
The remaining time will be updated automatically when viewing
Get unlimited recordings for the remaining time UNDEND icon

The InfoBar will not be overwritten.
The plugin should also work with any image and have no incompatibilities with other plugins.

Setup:
Extract the zip and copied the files onto your box in the following folder
/ Usr/lib/enigma2/python/Plugins/Extensions/InfoBarTunerState

Development:
Currently I am working on the assignment of the display of streaming tuner.
(Attention pseudo-code)
Via
Navigation.record_event.append (self.MyFunction) I get a new stream with the start,
I only get there only one
enigma.iRecordableServicePtr
And from that I get out just the tuner,
but no further information regarding the channel, or the streamed service.
Anyone who has any ideas?

The same applies to the PIP tuner assignment, but I do not even get a reliable event.
The only thing would be:
eDVBResourceManager.frontendUseMaskChanged.get (). append (self.__onTunerUseMa
skChanged)
Here you get an event when changing the occupied tuner.
Only if all are occupied, one can still be opened with a PiP channel on the same transponder.
In this situation you do not get more events.
Suggestions?

Roadmap:
beta test (only pyo files)
IPKG
Streaming Tests
PiP Test
Code Cleanup
Config dialog
Skin Support
PTS tests
GIT

Thx betonme
 

marce

VIP
Messages
7,115
InfoBarTunerState 0.3

Code:
ChangeLog
0.3
Finished recordings now have a green check mark
Finished recordings remain for 1 minute in the list, so you have enough time to open the InfoBar again.
For completed recordings for the tuner is another character "-" is displayed, the tuner's also been released
The background width is adjusted dynamically
The entries are then displayed the sort:
First, by type: Continuous shots, finished recordings
Then after the remaining time: Ascending
If the recording time or the end time of a timer changed, the display is updated immediately
(If anything is changed, the current recording is terminated and a new start)
For unlimited recording, the title automatically updated (only affects the display)
Shift timer will be ignored
Fix: Fixed display bug with direct-recording recording length
Infobar display time displayed is closed without TimeOut, InfoBarTunerState remains until the InfoBar: Bugfix
Bugfix: recordings were started before the plugin was loaded, were not listed.
 

baha2

Super VIP
Messages
6,530
Code:
[B]0.4[/B]
skin changes
after left-shifted
-new background
Skin-zPosition increased because of incompatibility problems InfoBar
Internal: eTimer revised
Bugfix: Entries are now properly removed after one minute
BugFix: When shooting, which began before the plugin start, missed the channel number
 

Serjoga

Latvian satfat
Staff member
Moderator
Messages
6,085
enigma2-plugin-extensions-infobartunerstate_v0.4.ipk (9.3 KB)
 

baha2

Super VIP
Messages
6,530
InfoBarTunerState 0.5

Code:
[B]ChangeLog[/B]:

0.5
For now finished shooting the recording time is displayed
IPKG release (Thanks coolman for instructions)
Skin: zPosition increased to 5 due to incompatibility with the InfoBar in some skins (Thanks for your tests Joachim_Ernst skin with Infinity HD)
Skin: InfoBarTunerState adjusted position, because of the volume bar (Thanks for pointing zombie with skin HD1R3)
ConfigScreen over extended menu (no plugin extensions) can be achieved
- Enable (restart required)
- Show With InfoBar
- After Show Events (recording starts / ends) without InfoBar
- Number of shots = maximum number of complete recordings in the list (FIFO, sorted by the end of the timer)
- TimeOut = Maximum recording time in seconds that a recording is finished in the list (0 remains as long to reach the maximum number)
-> Depending on what comes first, an entry is removed
Bugfix: InfoBarTunerState has been hidden too early when the InfoBar was displayed and the user then zaps to another channel
 

baha2

Super VIP
Messages
6,530
InfoBarTunerState 0.6

Code:
[B]ChangeLog[/B]:

0.6
Movie player integration
config:
Movie player integration is off by default, but can be anktiviert without rebooting. Reason: need to override parts of the InfoBar
Preset number is complete timer is now 5
Bugfix: Message: Enable InfoBarTunerState
Bugfix: Repeating timers do not block more after admission, the tuner
Bugfix: Repeating timers are marked as finished after shooting
 

baha2

Super VIP
Messages
6,530
InfoBarTunerState 0.7

Code:
[B]ChangeLog[/B]:
[B]0.7[/B]
config:
Plugin can be enabled or disabled without a reboot /
Fields can be individually configured (ie switched off fields, can be reordered)
The icon is always fixed
The existing information fields:
- Tuner
- Channel Number
- Channel Name
- Name
- Time Left
Come to the following information fields:
- Elapsed Time
- Timer Begin
- End Timer
- Duration Timer
- Destination
- File Size
- Free Space
The timer for Datum-/Zeitformat Begin / End can be adjusted
Other: For unlimited recording is updated, the name is no longer (E2 renames the file not to)
 

hilton

Registered
Messages
7,622
InfoBarTunerState 0.8

Code:
0.8
LiveTV Stream Anzeige
Beendete Streams werden wie beendete Filme je nach Einstellung aufgelistet
Fortschrittsbalken für Aufnahmen
Icon und Fortschritsbalken können als Feld ausgewählt werden
- Eine doppelte Auswahl ist nicht erlaubt und wird beim Beenden geprüft
Unbegrenzte Aufnahmen haben keine Dauer, keine Restlaufzeit und keinen Fortschrittsbalken
Neue Felder:
Tuner Type: DVB-S, DVB-C, ...
Stream Client: Name des Cleints. Wenn der Name nicht ermittelt werden kann, wird die IP dargestellt.
Geänderte Felder:
Begin, End, Duration: Wird auch für Streams berechnet
Kombinierte Felder:
Time Left / Duration: Während der Aufnahme: Verbleibende Zeit, danach: Gesamtzeit
Destination / Client: Für Aufnahmen: Aufnahmeordner, für Streams: Client Rechner
Skin Änderungen:
Achtung Skin Update notwendig!
Optinal screen padding
Optinal screen spacing
widget name="Type" ist nun ein MultiPixmap
widget name="Progress"
Neue PNGs Stream und Info
ProgressBar wird innerhalb der Zeile vertikal zentriert.
backgroundColor="#ffrrggbb" ff should be fix
Config Änderungen:
Horizontal Offset
Vertical Offset
Text Offset
Add to extension menu
Background transparency
Bugfix: Timer blocking weiter minimiert, liegt an den lokalen timer und iRecordableService Objekt Kopien
BugFix: Berechnung der Kanalnummer bei langen Kanallisten verursachte Verzögerungen der InfoBar Anzeige
BugFix: getTuner
Danke Zombi für das Streaming Icon
 

baha2

Super VIP
Messages
6,530
InfoBarTunerState 0.8.2

Code:
[B]ChangeLog[/B]:
Patch 0.8.2
Spacing config offset parameters
BugFix: getTuner is None check
BugFix: Display the finished recordings with TimeOut 0

Patch 0.8.1
A tuner is not shown
If "Show on events" is set to "No", then no recordings shown
 

baha2

Super VIP
Messages
6,530
InfoBarTunerState_0.8.3

Code:
[B]ChangeLog[/B]:
0.8.3 Patch
BugFix: Wiederholdende Timeraufnahmen wurden nicht als beendet markiert
 

baha2

Super VIP
Messages
6,530
InfoBarTunerState_0.8.4

Code:
[B]ChangeLog[/B]:
0.8.4 Patch
BugFix: WebIf StreamingODE]
 

baha2

Super VIP
Messages
6,530
27/12/2011

InfoBarTunerState 0.9.3

Code:
0.9.3
Bugfix: IBTS will not appear after a reboot with the InfoBar
Bugfix: Extension menu item could not be added
The streaming client IP is now determined directly from the new WebIf
Please use the new WebIf 1.7 (> 28/12/2011)

Thx betonme
 

Serjoga

Latvian satfat
Staff member
Moderator
Messages
6,085
Update 25.05.2012


Code:
Features:
The plugin is intended to supplement the InfoBar and represent all current shots clear. Just look at the screenshots that say yes as it is known as ... more

Each row contains the following information by default:
Icon - Tuner - Sender ID - Sender Name - Name - Graphical progress bar - Remaining time / duration - Streaming Client

The information is with the InfoBar on and hide
If a timer is started or ended, the information is displayed, unless it is just a dialog screen or active
The duration of the fade is coupled to the adjustment of the E2 InfoBar

Entries are now represented by:
- First, by type: Current shots, finished recordings
- Then after the remaining time: Ascending

Shift Timer are ignored

Continuous shooting:
Are marked with a red record icon
The remaining time will be updated automatically when viewing
If the time or the end time of recording changed, the display is updated
For unlimited photos shown for the remainder of the infinifty icon

Instant photos with recording time or end time:
E2 starts first unlimited recording, and then changes the duration accordingly, will therefore also first time unlimited recording shown, which is then updated.

Finished shots:
Are marked with a green check mark
It displays the recording time

Streaming:
TBD

Config:
via extension menu (not extensions plugins) available
- Enable (restart required)
- Add to extension menu:
When called IBTS is shown
Duration corresponds to the E2 InfoBar TimeOut (0 is not allowed because no keys are assigned, therefore, 5 seconds in)
If no event is active: Info PopUp: Nothing running in IBTS style
If IBTS is disabled: MessageBox
- With View InfoBar
- After Show Events (recording starts / ends) without InfoBar
- Movie player integration is off by default, but can be anktiviert without rebooting. Reason: parts of the InfoBar must be overwritten.
- Selectable date format: "HH: MM", "DD.MM HH: MM", "MM / DD HH: MM", "DD.MM.YYYY HH: MM", "YYYY / MM / DD HH: MM"
- Number of shots = maximum number of complete recordings in the list (FIFO, sorted by the end of the timer)
- TimeOut = Maximum recording time in seconds that a recording is finished in the list (0 remains as long as until the maximum number)
-> Depending on what comes first (number or timeout), an entry is removed
- Field Config
- Horizontal Offset: The skin can also be moved horizontally
- Vertical Offset: The skin can also be moved vertically
- Content Offset: Left spacing of the text
Background transparency:
E2-settings:
- Duration of the fade InfoBar
- Notification when pictures start Hide

All settings can be applied without rebooting!

Information fields:
Type (icon)
Type (text)
Tuner
Tuner Type
Channel Number
Channel Name
Name
TimeLeft / Duration
Time Left
Elapsed time
Begin
End
Duration
Timer Progress (Graphical)
Timer Progress (text)
Destination
Stream Client
Destination / Client
File Size
Free Space
None

Skin:
The column width and the background is dynamically adjusted.
The skin defines only one line!

Other:
The InfoBar will not be overwritten with the default settings.
The plugin should also work with any image and do not have any incompatibilities with other plugins.
The plugin is written so that any input / dialogues / screens should be blocked.

Setup:
Simply install the IPKG and reboot.

Experience:
If the InfoBarTunerState does not appear in spite of current recordings, it is possible the InfoBar your skins covered the InfoBarTunerState, then increasing the InfoBarTunerState zPosition the skin.

 ChangeLog:
1.0
Workaround built for text length calculation
Streaming display is initially disabled, as it will be adapted to the needs OpenWebIf.
 

mr.strauss

Registered
Messages
8,414
Pending Timers

Das ist jetzt mal eine erste Machbarkeitsstudie, es wird immer (wenn vorhanden) der nächste Timer angezeigt.
Es kann noch nichts eingestellt werden!

Vergesst nicht:
Im Setup solltet ihr das Feld Begin einschalten und das Datum-Format sollte am Besten auch den Tag beinhalten.

Viel Spaß beim Testen

Thx betonme
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
30,127
InfoBarTunerState
update
 
Top