←  [EN] Third-Party Development

Forums

»

Plug-in Record Infobar

Dimitrij's Photo Dimitrij 3 Mar 2012

Author vlamo (dream.altmaster.net)
Setting
Menu -> Setup -> System -> Record Infobar
Here you can:
-enable / disable the Record Infobar (disabled by default)
-Record Infobar adjust the position on the screen oci X and Y (the default X = 60, Y = 360)
-adjust the direction of expansion Record Infobar (the default top)

Additional adjustment under your skin.
We have four main plugin widget (widget):
chNum - displays the number of the recording (s) of the channel (s) in bouquets
chName - displays the name of the recording (s) of the channel (s)
chProv - displays the name of the provider recording (s) of the channel (s)
chBouq - displays the name of the recording of the bouquet (s) of the channel (s)
recName - displays the name of the record (s)
chTuner - Tuner displays the letter (A, B, C, etc.) recording (s) of the channel (s)
timelen - displays the recording time (s) in the format of Minutes: Seconds
Widget chName is mandatory, all others can be added at its discretion.

Example:
	 <screen name="RecInfoBar" position="240,440" size="800,50" zPosition="-1" title="Records Info" backgroundColor="transparent" flags="wfNoBorder" >
    <ePixmap pixmap="infinity-hd-full-info/recinfobar-fs8.png" position="0,0" zPosition="-1" size="800,200" />
    <widget source="session.RecordState" render="Pixmap" pixmap="skin_default/icons/record.png" position="40,36" zPosition="2" size="14,14" alphatest="on" >
	 <convert type="ConditionalShowHide">Blink</convert>
    </widget>
<widget name="chNum"   position="208,35"  size="40,18"  zPosition="1" font="Regular;18" halign="right" transparent="1" noWrap="1" foregroundColor="white" backgroundColor="black"  />
	    <widget name="chTuner"  position="60,35" size="20,18" zPosition="1" font="Regular;18" halign="left" transparent="1" noWrap="1" foregroundColor="blue" backgroundColor="black"  />
<widget name="chProv"  position="90,35" size="118,18" zPosition="1" font="Regular;18" halign="left" transparent="1" noWrap="1" foregroundColor="yellow" backgroundColor="black"  />
<widget name="chName"  position="260,35" size="191,18" zPosition="1" font="Regular;18" halign="left"  transparent="1" noWrap="1" foregroundColor="white" backgroundColor="black"  />
<widget name="timelen" position="710,35" size="60,18"  zPosition="1" font="Regular;18" halign="right" transparent="1" noWrap="1" foregroundColor="white" backgroundColor="black"  />
	    <widget name="recName" position="458,35" size="261,18"  zPosition="1" font="Regular;18" halign="left" transparent="1" noWrap="1" foregroundColor="grey" backgroundColor="black"  />
</screen>

Modified by Dima73.
-Zap on start service recording
1)default
2)always
3)ask the user(message with a choice of 20 seconds before the timer recording)

P.S.My modification of an experimental.
Please write about the test results.
Quote

littlesat's Photo littlesat 3 Mar 2012

Should that skin part be added somewhere or is it included in the plugin?
Do you find some link to the sources of this plugin?
Edited by littlesat, 3 March 2012 - 10:52.
Quote

Dimitrij's Photo Dimitrij 3 Mar 2012

Should that skin part be added somewhere or is it included in the plugin?

Default option skin registered plug-in code.
There's only the name of the channel and time..
More options on the screen under my skin.

Do you find some link to the sources of this plugin?

http://dream.altmast...01&postcount=23

Nothing more.
Edited by Dima73, 3 March 2012 - 11:26.
Quote

Dimitrij's Photo Dimitrij 15 Mar 2012

Version 1.0-rc11
-fix message from a deep standby
-cosmetic changes
Quote

halflife's Photo halflife 17 Mar 2012

tryed on pli hd and scarllet hd skin, not working. no any record info bar
Quote

Dimitrij's Photo Dimitrij 17 Mar 2012

tryed on pli hd and scarllet hd skin, not working. no any record info bar

I do not know.
On the other image is no problem.
Sorry, only for the remake of PLi will not.
Quote

halflife's Photo halflife 17 Mar 2012

What skin did you use on picture above?
Quote

Dimitrij's Photo Dimitrij 17 Mar 2012

What skin did you use on picture above?

infinity-hd
Quote

Dimitrij's Photo Dimitrij 18 Mar 2012

What skin did you use on picture above?

DMConcinnity-HD
Quote

halflife's Photo halflife 18 Mar 2012

When I install infinity hd, infobar become visible, like on your picture. I see latest rotor position, how to get that?
Quote

Dimitrij's Photo Dimitrij 18 Mar 2012

When I install infinity hd, infobar become visible, like on your picture. I see latest rotor position, how to get that?

It is quite another matter :D .
Can you edit skins?
If so, an example:
   <eLabel text="Rotor:" position="930, 512" size="60,18" font="Regular; 17" zPosition="2" backgroundColor="black" transparent="1"  foregroundColor="grey" />
	<widget source="session.CurrentService" render="Label" position="983, 512" zPosition="2" size="60, 18" font="Regular; 16" transparent="1" foregroundColor="grey" backgroundColor="black">
	  <convert type="Dish"/>
	</widget>

and converter Dish the archive...
Quote

Dimitrij's Photo Dimitrij 2 Apr 2012

Version 1.0-rc12
-Go into standby mode when the automatic inclusion of a timer recording from the deep standby
-Time-message display to the standby
-For what-timer recording (after the event) to use this mode

For the timer to the type of car, the message about the transition to the standby mode does not appear.
The transition occurs immediately after switching on.
Quote

Dimitrij's Photo Dimitrij 1 May 2012

Version 1.0-rc13
-Fixed initialization infobara on some skins.
Quote

Dimitrij's Photo Dimitrij 19 May 2012

New example:
  <screen name="RecInfoBar" position="240,540" size="800,20" zPosition="1"  title="Records Info"  flags="wfNoBorder" >
	<widget source="session.RecordState" render="Pixmap" pixmap="skin_default/icons/record.png" position="15,8" zPosition="1" size="14,14" alphatest="on" >
	  <convert type="ConditionalShowHide">Blink</convert>
	</widget>
<widget name="chNum"   position="208,5"  size="40,18"  zPosition="1" font="Regular;18" halign="right" transparent="1" noWrap="1" foregroundColor="white" backgroundColor="black"  />
<widget name="chTuner"  position="60,5" size="20,18" zPosition="1" font="Regular;18" halign="left" transparent="1" noWrap="1" foregroundColor="blue" backgroundColor="black"  />
<widget name="chProv"  position="90,5" size="118,18" zPosition="1" font="Regular;18" halign="left" transparent="1" noWrap="1" foregroundColor="yellow" backgroundColor="black"  />
<widget name="chName"  position="260,5" size="225,18" zPosition="1" font="Regular;18" halign="left"  transparent="1" noWrap="1" foregroundColor="white" backgroundColor="black"  />
<widget name="timelen" position="735,5" size="60,18"  zPosition="1" font="Regular;18" halign="right" transparent="1" noWrap="1" foregroundColor="white" backgroundColor="black"  />
 <widget name="recName" position="458,5" size="261,18"  zPosition="1" font="Regular;18" halign="left" transparent="1" noWrap="1" foregroundColor="grey" backgroundColor="black"  />
  </screen>
Example for PLi-HD the archive...
Edited by Dima73, 19 May 2012 - 10:18.
Quote

littlesat's Photo littlesat 19 May 2012

Please push the required modifications of the PLiHD skin to github....
Quote

Dimitrij's Photo Dimitrij 15 Sep 2012

Version 1.0-rc14
changes:
-Fixed to openPli(StbHardware)
-Added support for alternative numbering openPli

P.S.Plugin as earlier works on all image
Edited by Dima73, 15 September 2012 - 16:28.
Quote

rtzhjgg0's Photo rtzhjgg0 15 Sep 2012

...Please write about the test results.

works great here on dm8000/PLi3 :)
Quote

Rob van der Does's Photo Rob van der Does 16 Sep 2012

Maybe you can add the po and/or pot file to the plugin, so we can support localisation?
Quote

Dimitrij's Photo Dimitrij 16 Sep 2012

Maybe you can add the po and/or pot file to the plugin, so we can support localisation?

Ok
Quote

Rob van der Does's Photo Rob van der Does 16 Sep 2012

Do you want xx.po-files to be posted here?
Quote