ubports / media-hub Goto Github PK
View Code? Open in Web Editor NEWMoved to GitLab: https://gitlab.com/ubports/core/media-hub
Home Page: https://gitlab.com/ubports/core/media-hub
License: GNU Lesser General Public License v3.0
Moved to GitLab: https://gitlab.com/ubports/core/media-hub
Home Page: https://gitlab.com/ubports/core/media-hub
License: GNU Lesser General Public License v3.0
there is a duplicate check
Line 52 in 738579e
/usr/bin/ld: cannot find -lhybris-common
collect2: error: ld returned 1 exit status
so should add libhybris-common to pkg_check_modules
Description:
Since the recent merge of the remotemedia branch into xenial media-hub fails to play back ringtones.
Steps to reproduce:
Expected behavior:
Actual behavior:
Steps to get back to a working state:
sudo mount -o remount,rw /
sudo apt update
sudo apt install media-hub=4.6.2+0ubports1+0~20201010065504.5~1.gbp9d51fe
sudo apt install libmedia-hub-client5=4.6.2+0ubports1+0~20201010065504.5~1.gbp9d51fe
sudo apt install libmedia-hub-common5=4.6.2+0ubports1+0~20201010065504.5~1.gbp9d51fe
sudo reboot
To reproduce it, set the display lock to 30 seconds, then install the MiTubo application from the store, play a video (longer than 30 seconds) and you'll see that displays goes off.
This is because since the media is remote, it's initially assumed to be audio only. It's only when the playback starts that gstreamer fetches the remote resource and reports that a video stream is also available. media-hub is currently not handling this event as it should.
Setup a QML Component with two Audio
qml type, try to play them in parallel, One of the stream is stopped.
When playing flac files from my UPnP server the audio is distorted.
I added 'buffer-size' and some flags (download and buffering) to the playbin object and it seems to help. A lot.
As I do not want to hardcode these values in media-hub I am asking for some pointers on how these parameters can be made configurable.
After a few seconds, the screen turns back on and video playback begins behind the lock screen.
When two separate players are created, played, and stopped in rapid succession, the media-hub service requests two system wakelocks from repowerd, one for each player. Repowerd happily issues, say, IDs 9 and 10. When the players clear, media-hub clears wakelock ID 10 twice. This leaves ID 9 dangling, so the device never goes into deep sleep.
This can happen, for example, when Lomiri starts with an SD card with two invalid partitions on it inserted. Nuntium fires two notifications at almost exactly the same time, they both play their audio at almost the same time, and the condition is triggered.
More details: https://bugs.launchpad.net/podbird/+bug/1448670
open Music app
Queue as many songs as possible (the limit is changing, sometimes it's 700+ songs, sometimes 400+, it's weird)
play music from Queue (at least half of track)
close Music app
music stops playing
music keeps playing
when the Music app is started again its state is with triangle icon at right bottom (so music should not be playing) but the music started before the closing app is still playing in the background.
/tests/lib/functional/dbusmock.h line 57
Code:
case QDBusArgument::StructureType: {
value.beginStructure();
QVariantList list;
while (!value.atEnd()) {
list << value.asVariant();
}
value.endStructure();
return list;
break; // <-- unreachable
Audio doesn't play until app is restarted.
http://paste.ubuntu.com/p/F6HTG3GbSK/ from line 34
Tested on Arale dev channel
Er... yeah. That's a title.
Observe that the Podbird interface reflects that Podcast 2 is playing, however Podcast 1 is actually coming out of the speakers. The Sound Indicator shows Podcast 1 is still playing.
As the result of my testing, in music app (not sure about other apps) shuffle seems to disable repeat action. Which I think is not what it should do in all cases.
To reproduce:
set repeat to repeat album
enable shuffle
expected: songs are played randomly, when all have been played once, it does start again
actual behaviour: if all songs are played, the music stops
set repeat to repeat single song
enable shuffle
expected: the selected song keeps being played (in my opinion this should be overriding shuffle)
actual behaviour: shuffle keeps playing random songs from the album
I think
@mardy this is with the old media hub, it has got nothing to do with #50 .
This task is about converting the client library of media-hub to use Qt types. Branches are linked to this issue.
Two issues with album art:
The default image to use in case of missing album art does not exist anymore.
The 'dash image proxy', whatever it was, does not exist anymore.
The result is there is no default album art image shown in the sound indicator.
Not a very big problem I admit.
Steps to reproduce the bug:
Open music-player-->Play music-->Close the music app.
The music doesn't stops.
When I try to build it using crossbuilder it fails and complains about non installed files.
Packages are build after:
cp debian/libmedia-hub-common.install.in debian/libmedia-hub-common5.install
cp debian/libmedia-hub-client.install.in debian/libmedia-hub-client5.install
Develop an app that tries to play audio files from app's temp dir or use this Pure Maps branch. See README on how to build the app. In the app go to Settings -> Test to test TTS.
Sound can be played when file is located at temp dir.
AppArmor prevents app to play sound to be played when file is located at temp dir (e.g. /run/user/32011/confined/pure-maps.jonius/pure-maps-nkz88va5/tmpma4imrj5.wav
).
App is even allowed to create that file, but not to play it. When using another location like the app cache, this issue does not occur.
error.log
relevant line from log:
mpris.Player.Error.InsufficientAppArmorPermissions: Warning: Failed to authenticate necessary apparmor permissions to open uri: Client is not allowed to access: file:///run/user/32011/confined/pure-maps.jonius/pure-maps-nkz88va5/tmpma4imrj5.wav
This issue even occurs when making app unconfined.
[devel 2021-06-08, Xperia X, 64bit]
Open music app, Open an album with several songs. Start to play the whole album.
Expected behaviour:
Actual behaviour:
It is not possible to see the entirety of a long title of a piece of music through the sound drop-down menu of the indicator bar when using Patrick Jane's Radio app, for example : currently, display frozen on a certain maximum number of characters.
Would it be possible to implement a complete scrolling of the title? Thanks
According to the GStreamer playbin documentation, playback should be paused while the buffering value is less than 100.
It has been reported in the forum that while buffering the stream continues to play, causing a jump in the contents.
QtMultimedia allows seeking into a video which is not in playing state (this works on the Linux desktop, at least).
However, this fails in media-hub, because the call to gst_element_seek_simple()
in gstreamer/playbin.cpp returns false.This might be fixed by setting the pipeline to PAUSED state (if the media was not playing already).
media-hub relies on thumbnailer to fetch album art. This only works for local files.
Audio streams (for example from a dlna server) can contain embedded album art. Gstreamer can handle it so media-hub should be able to support them.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.