Jump to content


Photo

Reading info on InfoBar

InfoBar

  • Please log in to reply
4 replies to this topic

#1 Dreambox_user

  • Member
  • 22 posts

0
Neutral

Posted 1 February 2012 - 00:35

Hey

I would like to read infos (channel number, name of channel, what is playing now, time) actually displayed on Info Bar. Where can I grab it?

Thanks in advance!

Re: Reading info on InfoBar #2 mirakels

  • Forum Moderator
    PLi® Core member
  • 7,524 posts

+62
Good

Posted 1 February 2012 - 11:58

if you just want to see that info press the ok button and they will be shown on screen (depending on the skin). But I guess that is not what you mean.

If you want to create a skin showing this info see ho other skins use the renderer/convertor functions on the session.Event_Now source.

Otherwise, look in the I lib/python/Components/Converter/EventName.py how it is done there.

hope this helps a bit
Geen wonder... Had slechts een dm7000, maar wel ook een rotor. eigenlijk al een tijdje ook een dm600 en dm7025. Maar nu kijkend met een et9000 en vuduo

Re: Reading info on InfoBar #3 Dreambox_user

  • Member
  • 22 posts

0
Neutral

Posted 9 February 2012 - 17:51

Thanks mirakels for your reply but I would like to know how to get informations which are displaying on infobar, like on screen below (channel name, what now, what next):

Posted Image

Is this possible to get them in Infobar.py or InfoBarGenerics.py or maybe somewhere else?

Thanks in advance!

Re: Reading info on InfoBar #4 mirakels

  • Forum Moderator
    PLi® Core member
  • 7,524 posts

+62
Good

Posted 9 February 2012 - 23:13

so infact more or less my 2nd and 3th suggestion. Basically InfoBarGenerics.py defines when the infobar is shown or hidden.
The skin defines what is shown (look for InfoBar in your skin.xml). The skin uses source attributes to get data sources and converters to define how the data source is converted/rendered.
Geen wonder... Had slechts een dm7000, maar wel ook een rotor. eigenlijk al een tijdje ook een dm600 en dm7025. Maar nu kijkend met een et9000 en vuduo

Re: Reading info on InfoBar #5 Dreambox_user

  • Member
  • 22 posts

0
Neutral

Posted 10 February 2012 - 21:38

Ok infos which I asked for are in method __eventInfoChanged(self) :)

Thanks mirakels for your tips!





Also tagged with one or more of these keywords: InfoBar

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users