Menu

Change TV Source and get the current volume level

2013-10-17
2013-10-18
  • Renato Riolino

    Renato Riolino - 2013-10-17

    Is it possible to change the TV to a specific source (ex: HDM1)? Another question: Is it possible to get the current volume level? I can set volume up or down by injecting the respective keys via jointSPACE, but how can I know what is the current volume level?

    Thanks

     
  • Matthias Ihmig

    Matthias Ihmig - 2013-10-18

    Not sure if you can switch to a specific source using Jointspace through DirectFB.
    In jslibrc_types.h, there is an enum {..., amLib_ACT_WatchExt, ...} amLib_EnumActivityId.
    Maybe you can use this?
    Also not sure if you can query the volume level through Jointspace/DirectFB.

    But if you have a 2k11 model or newer, have a look at Jointspace through JSON:
    http://jointspace.sourceforge.net/projectdata/documentation/jasonApi/1/doc/API.html

    Using JSON, you can get and set both source and volume level.

    And it's also much easier to use than through DirectFB :-)

    Have fun,
    Matthias

     
  • Renato Riolino

    Renato Riolino - 2013-10-18

    Unfortunately my tv (42pfl7007g - that is a 2k12 model!) doesn't have JSON available. If I open port 1925 of it, there is a web server running in there, but if I try to get any of the examples URL I get a 404 from it.

    Looks like philips forgot to upload the content of the webserver on it.

    I have already updated to latest firmware but still no JSON for me :(

     

Log in to post a comment.