The Media Player screen contains the following applications: Play Radio, Play Music, Play Video, and Search.
To open the associated application, tap one of the active controls or use voice commands. To go back to the main Media Player screen, tap the Media Player tab in the taskbar.
A menu of media sources is accessible from the Play Radio, Play Music, and Play Video applications. This menu makes it easy to switch between playing music and videos from different sources. See the Media source menu section for details.
The integrated version of Pandora looks and functions like the standalone version.
If Pandora isn't set up, tapping the Radio button takes you directly to the screen that shows a reference UI for a radio application:
On the Panda board, the default profile for the Radio App is high, but you can configure the app to use the mid profile. These profiles (and the profile used by the other HMI components) are defined by a PPS object. For more information about setting the profile type, see the/pps/qnxcar/system/settings entry in the PPS Objects Reference.
All the controls for the radio application, including the slider, dial, AM, FM, Seek, Scan, and presets are functional. But again, the radio itself is only a simulation on the Panda and i.MX6 boards.
Tap the Play Music button to open the Music Player:
The Juke Box database is loaded with several music files that the HMI shows in an active carousel. Using voice or touch controls, you can start, pause, or skip tracks (shuffle and repeat are not available as voice commands). You can use voice commands to play media by the named song, album, or artist.
Tap the Play Video control to open the video player. This release includes the following video:
"The Making of the QNX Reference Vehicle: Jeep Wrangler"
The Play, Pause, Forward, and Backward controls are functional. The Full Screen control isn't functional.
Playing video on the i.MX6
The codecs required for video playback on the i.MX6 Sabre Lite platform are available as a separate package from the QNX CAR platform site.
Tap the Search control to access the search feature. The HMI shows a list of search sources, such as iPod, USB drive, or Juke Box. Tap the entry for the device you want to search. The HMI then shows a text field that lets you find an artist, album, or track by name.
The media player currently supports Digital Living Network Alliance (DLNA) technology using the Twonky DMS. When DLNA is enabled on your target, any local DMS devices will appear in the list of available media sources under Menu.
All playback controls, including Skip and Seek, are functional for DLNA devices.
Starting DLNA
DLNA isn't set up to start by default. To enable the services to start on boot up, edit the file /var/etc/services-enabled and set the DLNA configuration option to true:
DLNA:true
You must reboot your target for the change to take effect.
Verifying that DLNA services are running
Use the following commands to verify that the DLNA services are running. The pidin utility will return the PID of each service.
pidin ar | grep "twonky" pidin ar | grep "dmc" pidin ar | grep "dmr" pidin ar | grep "dmcclient"
PPS interface
Tested hardware
We tested the DLNA implementation with the following hardware setup:
Hardware | Description |
---|---|
Target board | Panda Rev. A3. |
Router | Cisco Linksys EA2700 wireless router. The target board was connected to the router by a Category 6 Ethernet cable. |
Smartphone | A Samsung Galaxy S II (model GT-19100) running Android version 2.3.3 software was used to run the DLNA server software (Twonky DMS). The device was connected by Wi-Fi to the Cisco Linksys wireless router. |
For the DMS in this setup, we used the latest version of the TwonkyServer Mobile v 2.3 DMS for Android.