spacer
spacer search

SwissCenter

Search
spacer
Main Menu
Home
Documentation + FAQ
Screenshots
Downloads
Forums
Bug Tracking
History
Login
Username

Password

Remember me
?
No account yet?

Locations of visitors to this page

 
Home arrow Forums

SwissCenter Forums  


Re:Ads Medialink - Shortcut A B C buttons? - 2006/03/31 08:15 hmm... it *might* be possible to bind the buttons to STOP, PLAY, etc...

Try changing the code in the "<swisscenter_dir>/base/capabilities.php" file as follows.

Change:
Code:

  function tvid$code ) {   // Define empty array   $map = array();   $code strtoupper($code);   // Depending on hardware player, override default values by storing in the $map array   switch ( get_player_type() )   {     case 'PINNACLE SC200':           $map = array( 'KEY_A'     => 'A'                       'KEY_B'     => 'B'                       'KEY_C'     => 'C' );           break;                case 'IO-DATA':           $map = array( 'BACKSPACE' => 'back'                       'KEY_A'     => 'play'                       'KEY_B'     => 'esc'                       'KEY_C'     => 'repeat' );          break;               case 'ELGATO':     case 'NEUSTON':           $map = array( 'KEY_A'     => 'red'                       'KEY_B'     => 'green'                       'KEY_C'     => 'blue' );          break;   }



To:
Code:

  function tvid$code ) {   // Define empty array   $map = array();   $code strtoupper($code);   // Depending on hardware player, override default values by storing in the $map array   switch ( get_player_type() )   {     case 'PINNACLE SC200':           $map = array( 'KEY_A'     => 'A'                       'KEY_B'     => 'B'                       'KEY_C'     => 'C' );           break;                case 'IO-DATA':     case 'ADSTECH':           $map = array( 'BACKSPACE' => 'back'                       'KEY_A'     => 'play'                       'KEY_B'     => 'esc'                       'KEY_C'     => 'repeat' );          break;               case 'ELGATO':     case 'NEUSTON':           $map = array( 'KEY_A'     => 'red'                       'KEY_B'     => 'green'                       'KEY_C'     => 'blue' );          break;   }



(the new line is the one that reads case 'ADSTECH':)

This should switch your player over to the alternative buttons that work on the linkplayer. It may or may not work, so please let me know if it does and I'll make the change permanent.

Rob
Server : Windows Home Server (HP MediaSmart EX470)
Player #1: Pinnacle Showcenter 200 (wired ethernet)
Player #2: Popcorn Hour A110 (wired ethernet)


  | | The administrator has disabled public write access.

      Topics Author Date
    emo
Ads Medialink - Shortcut A B C buttons?
Legga 2006/03/29 21:40
    thread link
thread linkthread link Re:Ads Medialink - Shortcut A B C buttons?
admin 2006/03/31 08:15
    thread link
thread linkthread linkthread link Re:Ads Medialink - Shortcut A B C buttons?
Legga 2006/04/01 22:24
    thread link
thread linkthread linkthread linkthread link Re:Ads Medialink - Shortcut A B C buttons?
Legga 2006/04/04 23:22
spacer
 

Screenshots

www.flickr.com
This is a Flickr badge showing public photos from swisscenter. Make your own badge here.


 

Mambo is Free Software released under the GNU/GPL License.
spacer