gcompris / GCompris-qt

GCompris in Qt Quick - Mirror of https://invent.kde.org/education/gcompris
227 stars 169 forks source link

Background music do not play #274

Closed mizzunet closed 2 years ago

mizzunet commented 2 years ago

image The button is disabled.

Distro: Arch WM: Sway

I have downloaded its data

gcompris-qt
exeCount set to:  3
qml: enter main.qml (run #3, ratio=1.476923076923077, fontRatio=1.6, dpi=101, userDataPath=/home/missu/.local/share/GCompris)
Downloading resource file "data2/voices-ogg/voices-en_GB.rcc"
Downloading resource file "data2/words/words.rcc"
Download of QUrl("https://cdn.kde.org/gcompris/data2/words/words.rcc") is already running, skipping second attempt.
notifyWordset:  "data2/words/words.rcc"
Downloading resource file "data2/backgroundMusic/backgroundMusic-ogg.rcc"
Successfully registered resource "/home/missu/.cache/KDE/gcompris-qt/data2/backgroundMusic/backgroundMusic-ogg.rcc"
qrc:/gcompris/src/activities/menu/Menu.qml:105:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/gcompris/src/core/Bar.qml:326:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/gcompris/src/core/Bar.qml:279:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/gcompris/src/activities/menu/Menu.qml:705:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Found box2d in  "/usr/lib/qt/qml"
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Error: "The autoaudiosink element is missing."
Local resource is up-to-date: "voices-en_GB.rcc"
Successfully registered resource "/home/missu/.cache/KDE/gcompris-qt/data2/voices-ogg/voices-en_GB.rcc"
Error: "The autoaudiosink element is missing."
Local resource is up-to-date: "words.rcc"
Successfully registered resource "/home/missu/.cache/KDE/gcompris-qt/data2/words/words.rcc"
Local resource is up-to-date: "backgroundMusic-ogg.rcc"
qrc:/gcompris/src/activities/menu/ConfigurationItem.qml:274:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/gcompris/src/activities/menu/ConfigurationItem.qml:74:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
backgroundMusicVolume:  0.2
audioEffectsVolume:  0.7
Downloading resource file "data2/voices-ogg/voices-en_GB.rcc"
qrc:/gcompris/src/core/DownloadDialog.qml:366:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Local resource is up-to-date: "voices-en_GB.rcc"
Downloading resource file "data2/backgroundMusic/backgroundMusic-ogg.rcc"
qrc:/gcompris/src/core/DownloadDialog.qml:366:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Local resource is up-to-date: "backgroundMusic-ogg.rcc"
DownloadManager: shutting down, 0 active jobs
DownloadManager: shutting down, 0 active jobs

Thank you very much

petitlapin commented 2 years ago

Hi,

thanks for the report. To fix the error "The autoaudiosink element is missing.", can you install gstreamer1.0-plugins-good and check if it works better for the background music?

Le sam. 27 nov. 2021 à 21:49, Missu @.***> a écrit :

[image: image] https://user-images.githubusercontent.com/10193999/143678564-ad1d61ff-d597-4738-8c15-09cd5ccd1e54.png The button is disabled.

I have download it's file

gcompris-qt exeCount set to: 3 qml: enter main.qml (run #3, ratio=1.476923076923077, fontRatio=1.6, dpi=101, userDataPath=/home/missu/.local/share/GCompris) Downloading resource file "data2/voices-ogg/voices-en_GB.rcc" Downloading resource file "data2/words/words.rcc" Download of QUrl("https://cdn.kde.org/gcompris/data2/words/words.rcc") is already running, skipping second attempt. notifyWordset: "data2/words/words.rcc" Downloading resource file "data2/backgroundMusic/backgroundMusic-ogg.rcc" Successfully registered resource "/home/missu/.cache/KDE/gcompris-qt/data2/backgroundMusic/backgroundMusic-ogg.rcc" qrc:/gcompris/src/activities/menu/Menu.qml:105:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } qrc:/gcompris/src/core/Bar.qml:326:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } qrc:/gcompris/src/core/Bar.qml:279:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } qrc:/gcompris/src/activities/menu/Menu.qml:705:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } Found box2d in "/usr/lib/qt/qml" qt.qpa.wayland: Wayland does not support QWindow::requestActivate() Error: "The autoaudiosink element is missing." Local resource is up-to-date: "voices-en_GB.rcc" Successfully registered resource "/home/missu/.cache/KDE/gcompris-qt/data2/voices-ogg/voices-en_GB.rcc" Error: "The autoaudiosink element is missing." Local resource is up-to-date: "words.rcc" Successfully registered resource "/home/missu/.cache/KDE/gcompris-qt/data2/words/words.rcc" Local resource is up-to-date: "backgroundMusic-ogg.rcc" qrc:/gcompris/src/activities/menu/ConfigurationItem.qml:274:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } qrc:/gcompris/src/activities/menu/ConfigurationItem.qml:74:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } backgroundMusicVolume: 0.2 audioEffectsVolume: 0.7 Downloading resource file "data2/voices-ogg/voices-en_GB.rcc" qrc:/gcompris/src/core/DownloadDialog.qml:366:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } Local resource is up-to-date: "voices-en_GB.rcc" Downloading resource file "data2/backgroundMusic/backgroundMusic-ogg.rcc" qrc:/gcompris/src/core/DownloadDialog.qml:366:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } Local resource is up-to-date: "backgroundMusic-ogg.rcc" DownloadManager: shutting down, 0 active jobs DownloadManager: shutting down, 0 active jobs

Thank you very much

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gcompris/GCompris-qt/issues/274, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAO56ZVEJTGMT2TTNFIOU7LUOC3G7ANCNFSM5I4CD7BA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mizzunet commented 2 years ago

@petitlapin Thanks for your reply. gstreamer1.0-plugins-good package do not seem to find either by AUR or pacman

gstreamer0.1-plugins-good is available though

mizzunet commented 2 years ago

Well, I got it working, the exact package name is gst-plugins-good for Arch. Thank you very much.

I wonder why this package wasn't installed with gcompris-qt, shouldn't it be installed as a dependency?

petitlapin commented 2 years ago

Great to hear! Yes, it would be great if it could be added as a dependency. Do you have an account on archlinux bugtracker to create it (https://bugs.archlinux.org/?project=5&string=gcompris-qt) or should I create one and report it myself?

mizzunet commented 2 years ago

Do you have an account on archlinux bugtracker to create it (https://bugs.archlinux.org/?project=5&string=gcompris-qt)

I have account. I shall do that (:

mizzunet commented 2 years ago

https://bugs.archlinux.org/task/72863