How Media player execution works

  • Hi,


    I'm studding Dream Explorer II code to understand some problem.


    This plugin use code:

    Code
    fileRef = eServiceReference("1:0:0:0:0:0:0:0:0:0:" + filename)
    self.session.open(MoviePlayer, fileRef)


    to execute Media Player.


    My question is what fileRef string ("1:0:0:0:0:0:0:0:0:0:") means?
    I tried to study eServiceReference but I don't understand it.


    From other hand GP3 ExMoviePlayer initi function is def __init__(self, session, file)


    But when I execute this player from my plugin by routine:


    Python
    filename = self["fileList"].getCurrentDirectory() + self["fileList"].getFilename()
    from Plugins.Bp.geminimain.gMoviePlayer import ExMoviePlayer
    self.session.open(ExMoviePlayer, filename)


    It initiate ExMoviePlayer with black screen ant don't want to play movie.

    "Reasonable people adapt themselves to the world.
    Unreasonable people attempt to adapt the world to themselves.
    All progress, therefore, depends on unreasonable people"


    ============
    SubsDownloader