← Back to team overview

touch-packages team mailing list archive

[Bug 1405766] [NEW] metaData not working on Ubuntu Touch

 

Public bug reported:

Ubuntu 14.10 (r12) on mako

metaData from live stream working fine on desktop but not working on Ubuntu Touch.
here is the code you can use to test it:


import QtQuick 2.0
import Ubuntu.Components 1.1
import QtMultimedia 5.0

MainView {
    objectName: "mainView"
    applicationName: "com.ubuntu.developer.majster-pl.audio-test"
    useDeprecatedToolbar: false
    width: units.gu(100)
    height: units.gu(75)

    Page {
        title: i18n.tr("metaData")

        Column {
            spacing: units.gu(1)
            anchors {
                margins: units.gu(2)
                fill: parent
            }

            Label {
                id: label
                objectName: "label"

                text: i18n.tr("Now playing:")
            }

            Label {
                id: label2

            }

            Button {
                objectName: "button"
                width: parent.width

                text: i18n.tr("Get metaData.title")

                onClicked: {
                    if(audioHub.metaData.title === undefined) {
                        label2.text = "click again"
                    } else {
                        label2.text = audioHub.metaData.title
                    }
                }
            }
        }
    }


    Audio {
        id: audioHub
        autoPlay: true
        source: "http://7659.live.streamtheworld.com:80/977_OLDIES_SC";
    }
}

** Affects: qtmultimedia-opensource-src-touch (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtmultimedia-opensource-
src-touch in Ubuntu.
https://bugs.launchpad.net/bugs/1405766

Title:
  metaData not working on Ubuntu Touch

Status in qtmultimedia-opensource-src-touch package in Ubuntu:
  New

Bug description:
  Ubuntu 14.10 (r12) on mako

  metaData from live stream working fine on desktop but not working on Ubuntu Touch.
  here is the code you can use to test it:

  
  import QtQuick 2.0
  import Ubuntu.Components 1.1
  import QtMultimedia 5.0

  MainView {
      objectName: "mainView"
      applicationName: "com.ubuntu.developer.majster-pl.audio-test"
      useDeprecatedToolbar: false
      width: units.gu(100)
      height: units.gu(75)

      Page {
          title: i18n.tr("metaData")

          Column {
              spacing: units.gu(1)
              anchors {
                  margins: units.gu(2)
                  fill: parent
              }

              Label {
                  id: label
                  objectName: "label"

                  text: i18n.tr("Now playing:")
              }

              Label {
                  id: label2

              }

              Button {
                  objectName: "button"
                  width: parent.width

                  text: i18n.tr("Get metaData.title")

                  onClicked: {
                      if(audioHub.metaData.title === undefined) {
                          label2.text = "click again"
                      } else {
                          label2.text = audioHub.metaData.title
                      }
                  }
              }
          }
      }

  
      Audio {
          id: audioHub
          autoPlay: true
          source: "http://7659.live.streamtheworld.com:80/977_OLDIES_SC";
      }
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtmultimedia-opensource-src-touch/+bug/1405766/+subscriptions


Follow ups

References