Start timeshifting from browser (1 Viewer)

Dragy

Portal Pro
April 27, 2009
778
333
32
Home Country
Netherlands Netherlands
I wonder how to start timeshifting on a remote TVserver. I want to make something similar to MP TV Client. The MySQL things are done by PHP.
What command or so do I have to send to the TV server so that it will stream?

Thnx
 

jameson_uk

Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    I wonder how to start timeshifting on a remote TVserver. I want to make something similar to MP TV Client. The MySQL things are done by PHP.
    What command or so do I have to send to the TV server so that it will stream?

    Thnx

    Not really looked at the TV side too much I am fairly sure you would need to create a TV server plugin that would act as the interface between your app and the TV server. (ie. I think starting to timeshift needs to be done within the TV server itself). I would create a plugin that listened on a certain port for your message and then just connect to that port and send your message as appropiate.

    The TV plugin code would be a bit like the example in the wiki
    TV-Server_Development/TV-Server_devexample2 - MediaPortal Manual Documentation
     

    Dragy

    Portal Pro
    April 27, 2009
    778
    333
    32
    Home Country
    Netherlands Netherlands
    Hmm.. But the MPTVclient doesn't need a plugin to start timeshifting.. So it is also possible without a plugin, right?
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    You can either use a tvserver plugin that runs within tvserver's process and listens for commands you will define, or you can use .net remoting like MP TV Client does but I don't know how you could do that from PHP.
     

    Users who are viewing this thread

    Top Bottom