Springen naar inhoud


Foto

MediaPlayer setInfo

mediaplayer eServiceReference

  • Please log in to reply
Er zijn 3 reacties in dit onderwerp

#1 athoik

  • PLi® Core member
  • 8458 berichten

+327
Excellent

Geplaatst op 4 november 2012 - 21:50

Dear all,


Using mediaplayer we can play many media files. But when i press the info button on the mediaplayer nothing happens.

The following lines of code is the most common "pattern" in order to start a new video.

myreference = eServiceReference(4097,0,"url of the video")
myreference.setName("name of the video")

Is it possible to introduce a function like setInfo and when we have information about the video, then pass it to setInfo function and display via the info button;

myreference = eServiceReference(4097,0,"url of the video")
myreference.setName("name of the video")
myreference.setInfo("information about the video, visible with info button")

Thanks,
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: MediaPlayer setInfo #2 athoik

  • PLi® Core member
  • 8458 berichten

+327
Excellent

Geplaatst op 13 november 2012 - 16:43

Hi,

is the above possible? Is it all ready implemented? If not what classes involved on this feature.

Once again thanks.

Veranderd door athoik, 13 november 2012 - 16:44

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: MediaPlayer setInfo #3 athoik

  • PLi® Core member
  • 8458 berichten

+327
Excellent

Geplaatst op 12 december 2012 - 08:23

Hello,

On class iStaticServiceInformation there is a method setInfoString.

Can i use this function to set information about the video?

How can i use this function on a python module?

http://openpli.git.s...ef;hb=HEAD#l239

Thanks.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: MediaPlayer setInfo #4 athoik

  • PLi® Core member
  • 8458 berichten

+327
Excellent

Geplaatst op 13 december 2012 - 10:25

Please look here:

Bijlage  openWebIf.png   5K   36 Aantal bijlagen

The name Ert Et3 it is set by setName function.

How can i set the description also?
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916



Also tagged with one or more of these keywords: mediaplayer, eServiceReference

1 gebruiker(s) lezen dit onderwerp

0 leden, 1 bezoekers, 0 anonieme gebruikers