Reviving CepiPerez's FlowPlayer

Yeah, don’t run apps as root. Do it as defaultuser.

And the original error shows that the package providing org.nemomobile.mpris is not installed.

Try installing:

devel-su pkcon install mpris-qt5-qml-plugin

and then run it again.

@olf probably a dependency update is needed in the .spec - although usually rpmbuild should detect qml imports and add the correct dependencies as Requires: lines

Requires: qml(org.nemomobile.mpris)

or:

Requires: mpris-qt5-qml-plugin
6 Likes

thanks nephros, I installed mpris-qt5…and it now works fine!

Please open an issue report at GitHub for tracking this properly; otherwise your remark is likely to get lost.

1 Like

I did it. I just hope I did it correctly. :slight_smile:

2 Likes

More than that: perfectly!

2 Likes

First impressions:

XA2, 32-bit. I’m being extremely critical and give it 10 out of 10. Migrating from Cepi’s version was a piece of cake: after starting and closing the new version (to see what the new locations are), move/copy/symlink the conf and db files from ~/.config/cepiperez/ to ~/.config/flowplayer/flowplayer/ and move the files in ~/.cache/flowplayer/ to ~/.cache/flowplayer/flowplayer. For some reason the active conf file is now in cepiperez and the active database in flowplayer.

10 III, 64-bit. After a successfull migration from 32-bit nemo to 64-bit defaultuser I give it 11/10. I used rsync -rtuv over WiFi to copy the FlowPlayer files and the media-art cache (slow but elegant) and created symlinks so that the paths match - maybe I should look into SQLite3 to be able to fix the paths…


It would be nice to be able to add artist and album pics from file - not all local amateur bands show up in the search, and for some Joe Jackson albums I was offered pics of Michael Jackson’s dad.

2 Likes

You may want to open a feature request at GitHub to ensure that your wish is not lost.

Very nice idea, to revive this player!

After installing the mpris plugin, the app starts up with a nice UI but without any content. Feedback from the terminal:

[defaultuser@Xperia10III ~]$ flowplayer
[D] unknown:0 - Getting language from locale: “en_GB”
[D] unknown:0 - Using Wayland-EGL
library “libutils.so” not found
library “libcutils.so” not found
library “libhardware.so” not found
library “android.hardware.graphics.mapper@2.0.so” not
found
library “android.hardware.graphics.mapper@2.1.so” not
found
library “android.hardware.graphics.mapper@3.0.so” not
found
library “android.hardware.graphics.mapper@4.0.so” not
found
library “libc++.so” not found
library “libhidlbase.so” not found
library “libgralloctypes.so” not found
library “android.hardware.graphics.common@1.2.so” not
found
library “libion.so” not found
library “libz.so” not found
library “libhidlmemory.so” not found
library “android.hidl.memory@1.0.so” not found
library “vendor.qti.qspmhal@1.0.so” not found
[D] unknown:0 - Loading preset: “”
[W] unknown:284 - file:///usr/share/flowplayer/qml/fl
owplayer.qml:284:5: QML DockedPanel: Binding loop det
ected for property “visibleSize”
[D] onStatusChanged:19 - Loaded: false - main: false
[D] unknown:0 - DATABASES: “”
[D] unknown:0 - Database: “/home/defaultuser/.config
/flowplayer/flowplayer/flowplayer.db”
[D] startTimers:95 - Starting timers
[W] unknown:87 - file:///usr/share/flowplayer/qml/pag
es/CoverArtList.qml:87:5: QML Image: Cannot open: fil
e:///home/defaultuser/.cache/media-art/album-d41d8cd9
8f00b204e9800998ecf8427e-d41d8cd98f00b204e9800998ecf8
427e.jpeg
[W] unknown:87 - file:///usr/share/flowplayer/qml/pag
es/CoverArtList.qml:87:5: QML Image: Cannot open: fil
e:///home/defaultuser/.cache/media-art/album-d41d8cd9
8f00b204e9800998ecf8427e-d41d8cd98f00b204e9800998ecf8
427e.jpeg
[W] unknown:43 - file:///usr/share/flowplayer/qml/pag
es/CoverPage.qml:43:15: Unable to assign [undefined]
to QString
[W] unknown:56 - file:///usr/share/flowplayer/qml/pag
es/CoverPage.qml:56:15: Unable to assign [undefined]
to QString
[W] unknown:433 - file:///usr/share/flowplayer/qml/pa
ges/NowPlaying.qml:433:23: Unable to assign [undefine
d] to QString
[W] unknown:444 - file:///usr/share/flowplayer/qml/pa
ges/NowPlaying.qml:444:23: Unable to assign [undefine
d] to QString
[W] unknown:454 - file:///usr/share/flowplayer/qml/pa
ges/NowPlaying.qml:454:23: Unable to assign [undefine
d] to QString
[W] unknown:175 - file:///usr/share/flowplayer/qml/pa
ges/Lyrics.qml:175:23: Unable to assign [undefined] t
o QString
[W] unknown:192 - file:///usr/share/flowplayer/qml/pa
ges/Lyrics.qml:192:20: Unable to assign [undefined] t
o double

@rob_kouw, you may want to open a bug report at GitHub to ensure that your observations are not lost.
The form there also asks you to provide the missing meta-data: device used (likely an Xperia 10 III), SFOS release used, software version used etc.
Please also denote what “the app starts up with a nice UI but without any content” exactly means: Does it work fundamentally, when you browse for a specific music file, i.e. does it play music? Note, that others had better experiences.

Thanks!

I’ve just installed this application this week. Thank you to everyone who has made this possible.
My experience was that there wasn’t any music listed, until I went into the settings and changed the folder to the Music folder (I think the original folder was set to /home/defaultuser), and then clicked on Update Collection.
Clicking on the latter might have been enough on its own for Flowplayer to find the music, I have found that new files moved into the Music folder don’t get picked up until you manually update the collection.
This is the case even after the stock Media app has found the new media (or I suppose more pertinently Tracker has found it), and even restarting Flowplayer makes no difference, you have to press Update Collection for any new files to be recognized.

Third release candidate (v0.3.1) is out @OpenRepos and @GitHub.

Please note, that I only glance over bug reports, feature suggestions or help requests being made here and will ignore them, if a solution is not immediately obvious. If you want your report, suggestion or request to persist and being handled properly, it must be filed at GitHub.
Background / reason: A forum thread is absolutely unsuitable to handle multiple issue reports well.

7 Likes

Now also @SailfishOS:Chum:Testing.

2 Likes

It’s working!
(I didn’t add my music folder yet, this really made a difference :smiley:)
So today I listened to music for two hours in a row. The album list with a lot of art is much more attractive to the eye. :tada:
Thanks, olf and others.

BTW @Ahtisilli, thank you for the migration guide. I created and merged a Pull Request at GitHub with a slightly reworked version in order to make it editable and edits traceable.

You (and everybody else) are welcome to enhance it there.

Well, apparently you have not tried to use the internet radio functionality yet. Additionally there are a couple of other flaws.

Everybody is welcome to document (as an issue report) or address (via a PR) these flaws at GitHub.

Up to now the “others” are primarily @dcaliste fixing a lot of bugs, plus @branja6 [1] and @eson [2] with a nice bug report each.

1 Like

What a great app this is, I really enjoy the eye-pleasing grid view of albums! Thank you for your effort, everyone.

I opened a bug report on Github and related to that, I want to ask others: are you able to sort your music tracks in albums by their track numbers? For some reason, I’m unable to sort any of them by their track number.

EDIT: The bug I reported has been fixed, thank you!

3 Likes

Just wanted to thank everyone involved in updating this, i have been wanting a music player with gapless playback for years, and had given up. Pleasant surprise to find this, and the gapless playback is seamless.

It is working great on my xperia 10iii with a 1tb sd card which is almost full of flac files.

The only thing missing for me is the ability to display local album art from the album folder. I have many custom vinyl rips to flac where i embedded the jpg/file and those are not found, so the majority of my collection is no image found.

If anyone had the ability to implement the existing feature request from above, this app would be perfect to me. Much thanks to all again!

6 Likes

Funny you should mention it, that’s on the top of my list. I’ll see if I can get to it today! Downloads from bandcamp, for instance, also generally include a ‘cover.jpg’ image which is not displayed. Let’s see…

5 Likes

Ok, I’ve done a proof of concept, which makes a copy of album images when found in the directory of a track being imported (if we have artist name and album name metadata). In principle, it doesn’t care ‘which’ jpg/jpeg file it takes, so it’s not production ready. Are you using ‘cover.jpg’ which seems common? Or what did you mean with embedded?

5 Likes

I think he is talking about embedded as in exif meta data.
Common jpg file names are cover, front, folder…
Unplayer read album art from meta data.

6 Likes