From bc11e3eaceb629fbf5dee7ed7bfdf696839ddb12 Mon Sep 17 00:00:00 2001 From: Kien Dinh Date: Mon, 4 Dec 2017 14:32:15 +0900 Subject: Updated to cover music playing Added descriptions how to play music with MediaPlayer sample app in AGL --- getting-started/troubleshooting.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'getting-started') diff --git a/getting-started/troubleshooting.md b/getting-started/troubleshooting.md index 4438e57..9d36a2b 100644 --- a/getting-started/troubleshooting.md +++ b/getting-started/troubleshooting.md @@ -94,3 +94,14 @@ To disable IVI-Shell and revert to the "plain old" weston desktop, you can follo ``` * Reboot your target and you should then be able to start apps on the standard weston screen using afm-util + +## Adding media files to play with MediaPlayer + +AGL include the default MediaPlayer sample app which can be used to play music. The lightmediascanner.service by default will search for media under /media folder. So if you plugin any USB stick containing music, they would be recognized and showed in the playlist of the MediaPlayer app menu. + +In case you want to store music in another place, modify the /usr/lib/systemd/user/lightmediascanner.service file and change the --directory parameter to the path of the folder. + +If you don’t want to touch the ligthmediascanner service, you can also add a folder named “Music” uder /home/root and put your music files there. + +The current supported format is OGG. Please convert your files to ogg to play with MediaPlayer. +AGL include the default MediaPlayer sample app which can be used to play music. The lightmediascanner.service by default will search for media under /media folder. So if you plugin any USB stick containing music, they would be recognized and showed in the playlist of the MediaPlayer app menu. -- cgit 1.2.3-korg