Reply
Thread Tools
Posts: 209 | Thanked: 31 times | Joined on Oct 2006
#1
I'm trying to control the build in mediaplayer of the N900 within the cli (xterm).

The best way to control the mediaplayer seems to be the dbus interface of mafw (http://maemo.org/api_refs/5.0/beta/mafw/).

Controlling the audio part of the mediaplayer seems to be no problem. Playing files and jumping to next playlist item works. But I'm not able to control the video part of the mediaplayer properly.

Steps leading to problem:
  1. Open mediaplayer
  2. Open video section
  3. Start playing a video file (e.g. "9.mp4")
  4. run dbus-send to jump to next video item

Code:
run-standalone.sh dbus-send --print-reply --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.next
Expected outcome:
  • Next video item is played (more than one video must exist!)

Actual outcome:
  • Mediaplayer stops playback and jumps back to video overview (sometimes the audio stream of next video file starts playing without video stream)
  • Please have a look at attached dbus-montitor log files. The log was started after starting playback of first video file. The ui log shows that pressing next button in ui is working like it should. The cli log shows that playback is stopped after trying to jump to next item.


Any hints? Is this a bug of mafw? Are there other ways to control the mediaplayer within the cli.
Attached Files
File Type: txt dbus_mafw_ui_next.log.txt (9.3 KB, 156 views)
File Type: txt dbus_mafw_cli_next.log.txt (18.4 KB, 219 views)

Last edited by N770-Freak; 2010-03-28 at 12:02.
 

The Following 2 Users Say Thank You to N770-Freak For This Useful Post:
Posts: 209 | Thanked: 31 times | Joined on Oct 2006
#2
Bug opened:
https://bugs.maemo.org/show_bug.cgi?id=9816

Hopefully someone is interested in this.
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:27.