Video file must be passed as argument in first position

Bug #1204469 reported by Javier Collado
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mediaplayer-app
Triaged
Low
Unassigned

Bug Description

When running the media player application using the example video file included in the testing package, the order in which the arguments are provided is relevant.

For example, when running the media player as follows:
/usr/bin/mediaplayer-app -testability file:///usr/share/mediaplayer-app/videos/small.mp4 --fullscreen --desktop_file_hint=/usr/share/applications/mediaplayer-app.desktop

the video file is played correctly. However, if the URL to the video file is passed after the options:
/usr/bin/mediaplayer-app -testability --fullscreen --desktop_file_hint=/usr/share/applications/mediaplayer-app.desktop file:///usr/share/mediaplayer-app/videos/small.mp4

then the file isn't played.

The usage description provided by the application when passing --help is:
Usage: executable [--form_factor_hint={desktop, phone, tablet}] [--stage_hint={main_stage, side_stage, share_stage}] [--desktop_file_hint=absolute_path_to_desktop_file]

Which doesn't really make clear how the file is expected be passed.

Tags: qa-touch
Jim Hodapp (jhodapp)
Changed in mediaplayer-app:
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.