I have implemented error handling on app level, is working fine on Desktop but fails on device.
When I try to run a webm video I get this log: mediaplayer-app file:///home/phablet/Videos/Tears_of_Steel-Trailer.webm --desktop_file_hint=/usr/share/applications/mediaplayer-app.desktop unity::action::ActionManager::ActionManager(QObject*): Could not determine application identifier. HUD will not work properly. Provide your application identifier in $APP_ID environment variable. UCUriHandler: Empty "APP_ID" environment variable, ignoring. Initializing AalServicePlugin Creating a new static Service instance virtual int AalMediaPlayerControl::volume() const virtual QMediaPlayer::State AalMediaPlayerControl::state() const virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const virtual int AalMediaPlayerControl::volume() const virtual void AalMediaPlayerControl::stop() PlaybackStatusChanged signal arrived via the bus. virtual void AalMediaPlayerControl::setMedia(const QMediaContent&, QIODevice*) virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const Setting media to: QUrl( "file:///home/phablet/Videos/Tears_of_Steel-Trailer.webm" ) void AalVideoRendererControl::setupSurface() virtual bool AalMediaPlayerControl::isMuted() const virtual int AalMediaPlayerControl::volume() const virtual bool AalMediaPlayerControl::isMuted() const virtual int AalMediaPlayerControl::volume() const virtual bool AalMediaPlayerControl::isMuted() const virtual int AalMediaPlayerControl::volume() const virtual void AalMediaPlayerControl::setMuted(bool) virtual void AalMediaPlayerControl::setVolume(int) virtual int AalMediaPlayerControl::volume() const virtual void AalMediaPlayerControl::play() virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const UbuntuWindow - fullscreen geometry virtual QSGVideoNode* ShaderVideoNodePlugin::createNode(const QVideoSurfaceFormat&) void AalVideoRendererControl::onTextureCreated(unsigned int) : textureId: 1 Creating video sink ** Setting GLConsumer instance UbuntuWindow::handleSurfaceFocusChange(focused=true) void AalVideoRendererControl::onGLConsumerSet() virtual void core::ubuntu::media::ServiceStub::pause_other_sessions(core::ubuntu::media::Player::PlayerKey) Actually calling m_hubPlayerSession->play() Failed to start playback: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus) Failed to get current playback position: org.freedesktop.DBus.Error.ServiceUnknown: The name core.ubuntu.media.Service was not provided by any .service files Failed to get current playback position: org.freedesktop.DBus.Error.ServiceUnknown: The name core.ubuntu.media.Service was not provided by any .service files ** (process:551): WARNING **: Unable to register app: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Invalid application ID Failed to get current playback position: org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist Failed to get current playback position: org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist Failed to get current playback position: org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist Failed to get current playback position: org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist Failed to get current playback position: org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist Failed to get current playback position: org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist ^C phablet@ubuntu-phablet:~$ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1365497 Title: Inform user when a video format is not supported To manage notifications about this bug go to: https://bugs.launchpad.net/media-hub/+bug/1365497/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs