Mediascanner throws runtime exception when playing local video file from qml app

Bug #1449296 reported by Josh Arenson
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Undecided
Unassigned
Ubuntu RTM
Fix Released
High
Jim Hodapp
qtubuntu-media (Ubuntu)
Fix Released
High
Jim Hodapp

Bug Description

When running the attached app on mako, the following error is produced

Doing a mediascanner lookup of file: "///home/phablet/wth-02.mpg"
Caught runtime exception from mediascanner: Could not find media ///home/phablet/wth-02.mpg

However the application runs just fine on desktop.

Steps to reproduce
1. josh@localmachine:~$ adb push bad_video /home/phablet
2. phablet@ubuntu-phablet:~$ qmlscene active-app.qml --desktop_file_hint=/usr/share/applications/mediaplayer-app.desktop

Expected results: video plays
Actual results: media scanner cannot find video

Feel free to try running on desktop with
$ qmlscene active-app.qml
and observe expected behavior

Revision history for this message
Josh Arenson (josharenson) wrote :
affects: mediascanner → qtubuntu-media
Revision history for this message
Jim Hodapp (jhodapp) wrote :

This is not really an issue as it doesn't actually affect anything. I'll be completely refactoring this code in qtubuntu-media when delivering the full background playlist experience. Marking this as triaged though just so others can track my progress.

Changed in qtubuntu-media (Ubuntu):
status: New → Confirmed
assignee: nobody → Jim Hodapp (jhodapp)
Jim Hodapp (jhodapp)
Changed in qtubuntu-media (Ubuntu):
status: Confirmed → In Progress
affects: qtubuntu-media → ubuntu-rtm
Changed in ubuntu-rtm:
status: New → Triaged
assignee: nobody → Jim Hodapp (jhodapp)
importance: Undecided → High
Changed in qtubuntu-media (Ubuntu):
importance: Undecided → High
Changed in canonical-devices-system-image:
status: New → Confirmed
Jim Hodapp (jhodapp)
Changed in canonical-devices-system-image:
status: Confirmed → Fix Released
Changed in ubuntu-rtm:
status: Triaged → Fix Released
Changed in qtubuntu-media (Ubuntu):
status: In Progress → Fix Released
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.