Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OhPlayer on Raspberry Pi, and buttons?
13-01-2016, 09:34 PM
Post: #1
OhPlayer on Raspberry Pi, and buttons?
Hi,

Is there a way to control the player other than upnp? It would be great to be able to add some physical buttonsa to the GPIO.

Would something like LPEC or curl commands be possible, or might be implemented?

Thanks
Find all posts by this user
13-01-2016, 10:45 PM
Post: #2
RE: OhPlayer on Raspberry Pi, and buttons?
Hi Latka,

Yes, it would be perfectly feasible to interface to GPIO-based physical buttons.
If you look in OpenHomePlayer.cpp in the ohPlayer/linux directory you'll see calls to control the playback, such as pauseSelectionHandler().
The ohPlayer sample app actually implements an OpenHome control point, and the OpenHomePlayer.cpp menu handlers call the control point to handle playback etc.
Find all posts by this user


Forum Jump: