كود:
Features:
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 you view.
For unlimited recording is shown for the remainder of the UNDEND icon.
The information will always be with the one-InfoBar and hidden.
When 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.
The InfoBar will not be overwritten.
The plugin should also work with any image and have no incompatibilities with other plugins.
The plugin is written so that any input / dialogues / screens are blocked.
Setup:
Extract the zip and copied the files onto your box in the following folder
/ Usr/lib/enigma2/python/Plugins/Extensions/InfoBarTunerState
Development:
We used a DM8000 DMM current experimental and GP3
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?
In the first experiment I wanted to represent all information in a MultiContentListBox.
The problem was that the ListBox always gets the input focus, and thus overrides the keys of the InfoBar.
This is sure to be prevented by not unbind, so now every line is represented as a dialogue with a pixmap and 5 Lables.
Are there other solutions? I would use the ListBox Geren?
Roadmap:
beta test (only pyo files)
IPKG
Streaming Tests
PiP Test
Code Cleanup
Config dialog
Skin Support
PTS tests
GIT
PS:
Post your experiences and suggestions, I'm looking forward to your feedback
Who else has a better name, I'm open to anything ...
ChangeLog:
0.2
Unnecessary things away (If the message: prevent "No free tuner available")
Finished recordings will be the last time shown in the list, and only then removed: Stop green icon
Finished recordings have a remaining time as "-"
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.
thx betonme