Jump to content


Photo

MediaPlayer setInfo

mediaplayer eServiceReference

  • Please log in to reply
3 replies to this topic

#1 athoik

  • PLi® Core member
  • 7,923 posts

+295
Excellent

Posted 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
  • 7,923 posts

+295
Excellent

Posted 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.

Edited by 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
  • 7,923 posts

+295
Excellent

Posted 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
  • 7,923 posts

+295
Excellent

Posted 13 December 2012 - 10:25

Please look here:

Attached File  openWebIf.png   5KB   36 downloads

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 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users