GithubHelp home page GithubHelp logo

org.gnome.lollypop's Introduction

Lollypop

Codec support

You can use proprietary codecs like .wma and .ra by using an optional extension provided by FFmpeg.

To install the extension, run the following command:

flatpak install flathub org.freedesktop.Platform.ffmpeg-full//22.08

Platform support

With the release of Lollypop 1.4.8, the sandboxing of Lollypop has been improved. Sadly, this requires Flatpak 1.8.x or higher, which is not available on all platforms by default.

Ubuntu derivatives

For Ubuntu 18.04 and 20.04, you must add the official PPA so that flatpak can be properly updated:

$ sudo add-apt-repository ppa:alexlarsson/flatpak
$ sudo apt update
$ sudo apt install flatpak

Other options

You can also remove the additional sandboxing by reverting the sandboxing altogether:

flatpak override --user org.gnome.Lollypop --filesystem=host

org.gnome.lollypop's People

Contributors

alex285 avatar alosarjos avatar anton-z-s avatar asavartzeth avatar barthalion avatar bbhtt avatar bellegarde-c avatar bilelmoussaoui avatar bochecha avatar eonfge avatar flathubbot avatar nedrichards avatar pp3345 avatar tingping avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

org.gnome.lollypop's Issues

Adding List songs by folder

Hello,
I'm a Pinephone Mobian user. Lollypop is great software, I use it everyday. There is a common and useful option missing in the main menu where the user chooses from Suggestions, Compilations, Genres, Artists... There could be an option for playing files from a folder. Is this possible?

Thank you

Crash on startup

Running commit 4a1e0da0f7aa9d7ea818149e5c0e58d2c2a0e0b3efb6fd93149df1f5e0fb2b95 of Lollypop in an X login with the i3 window-manager crashes immediately with the following output. This is on a Debian 10 system running flatpak from buster-backports, 1.8.4-2~bpo10+1.

$ flatpak run org.gnome.Lollypop 
Traceback (most recent call last):
  File "/app/lib/python3.8/site-packages/lollypop/application.py", line 187, in do_startup
    self.init()
  File "/app/lib/python3.8/site-packages/lollypop/application.py", line 160, in init
    self.ws_director = DirectorWebService()
  File "/app/lib/python3.8/site-packages/lollypop/ws_director.py", line 30, in __init__
    self.__token_ws = TokenWebService()
  File "/app/lib/python3.8/site-packages/lollypop/ws_token.py", line 43, in __init__
    self.__passwords_helper = PasswordsHelper()
  File "/app/lib/python3.8/site-packages/lollypop/helper_passwords.py", line 36, in __init__
    Secret.password_lookup_sync(schema, SecretAttributes)
gi.repository.GLib.Error: g-dbus-error-quark: The name org.freedesktop.secrets was not provided by any .service files (2)

Lollpop FUBAR. Almost never plays music, scans for music files on every launch, loses the music collection occasionally, errors about being unable to access files, etc.

As the title says. Lately Lollpop has not been functioning properly at all. It almost never plays music, scans for music files on every launch, loses the music collection occasionally, errors about being unable to access files, etc.

I am not sure whether this is an issue with Lollypop itself, or the Flatpak package. I posted a comment on the Lollypop issue tracker and was told to report the issue against Flathub instead. As far as I can tell they don't seem to support the modern Flatpak package for some reason.

So I'm posting the issue here. Unfortunately I'm not able to provide much information beyond the description above. I can say that at times, I get error messages in the form of GNOME notifications, saying things such as:

../plugins/elements/gstfilesrc.c(532): gst_file_src_start (): /GstPlayBin:player/GstURIDecodeBin:uridecodebin0/-GstFileSrc:source:
No such file "/run/user/1000/doc/e4c299e6/Music/SomeFilenameHere.mp3"

Sometimes when I open the preferences window, I see that the music collection is set to "None" instead of my preferred location. When I point it back to my preferred location, Lollypop spends a long time scanning the entire directory, but eventually it completes and I can play music again... until I close Lollypop. On the next launch, it's all broken again.

My music is not stored in the home directory, and is instead under something along the lines of /var/mnt/X/Y/Z.

Please let me know how I can provide any more information to troubleshoot this.

libgi too old on Debian stretch

The current flatpak version of Lollypop 0.9.604 does not transmit listening data to listenbrainz or others.

I did this in the Python3 interpreter, since Lollypop does the same:

import gi
gi.require_version('Secret', '1')

It does not work for me on Debian stretch with Lollypop installed from the ppa. Flatpak uses its own Python interpreter and libs but I guess it is the same issue.

See https://gitlab.gnome.org/World/lollypop/issues/1516 for reference.

Lollypop is not responding to dark theme variant

OS: Ubuntu bionic
Kernel: 5.0.0-37-generic
DE: GNOME 3.28.4
WM Theme: Adwaita
Theme: Ambiance [GTK2/3]
Graphic driver: nvidia-driver-390.116

I recently upgraded my Lollypop from Ubuntu PPA to Flatpak and everything is going great (regular updating and user experience) except the Use dark theme variant from Preferences menu. This feature was doing well when I used the PPA version.

This is all I installed according to this issue but still the dark theme is not working.

org.freedesktop.Platform.GL.nvidia-390-116
org.freedesktop.Platform.VAAPI.Intel      
org.freedesktop.Platform.openh264         
org.gnome.Lollypop                        
org.gnome.Platform                        
org.gtk.Gtk3theme.Adapta                  
org.gtk.Gtk3theme.Ambiance
org.gtk.Gtk3theme.Arc-Darker

image

Phone integration not supported

When using Lollypop 1.4.1, I see that there are some features who don't seem to work. These include:

  • Synchronizing albums or playlists to devices
  • Converting to mp3 or AAC before synchronizing (They're unselectable)
  • Converting to ogg or Flac before synchronizing (/tmp/ file access error)

Further logging

[WARNING] 2020-10-13 17:52:50 SyncMenu::__add_sync_action(): 'OnePlus 7 Pro' is not in list
[ERROR] 2020-10-13 17:52:55 MtpSyncDb::load(): g-io-error-quark: File doesn’t exist (1)
[WARNING] 2020-10-13 17:53:03 DeviceWidget::__get_device_index(): 'OnePlus 7 Pro' is not in list
[WARNING] 2020-10-13 17:53:08 DeviceWidget::__get_device_index(): 'OnePlus 7 Pro' is not in list
[WARNING] 2020-10-13 17:53:11 DeviceWidget::__get_device_index(): 'OnePlus 7 Pro' is not in list
[ERROR] 2020-10-13 17:53:26 MtpSyncDb::__save(): g-io-error-quark: Error when getting information for file “/tmp/.GG4AS0”: No such file or directory (1)
[ERROR] 2020-10-13 17:53:26 MtpSyncDb::__save(): g-io-error-quark: Error when getting information for file “/tmp/.DKQAS0”: No such file or directory (1)
[WARNING] 2020-10-13 17:53:28 DeviceWidget::__get_device_index(): 'OnePlus 7 Pro' is not in list

Lollypop settings reset

With the migration of 3.34, DConf access has been changed. As such, it caused all Lollypop settings to reset.

This is something to reconsider. While it is easy to re-configure a music player, this change can be quite annoying for more complex applications. It also introduces a new issue: Using DConf 3.32, I can now no longer analyze the values in the register.

Lollypop flatpak not recognising theme adapta

I am on KDE Neon 5.12.5 and have kvantum theme installed in addition to adapta gtk theme and adapta flatpak theme.

But lollypop is not recognising the theme. What do I need to do?

Can't connect to Libre.fm and Last.fm

Hi,
I tested with Lollypop non-Flatpak (Ubuntu 20.04) and I successfully connected to Libre.fm and Last.fm. (Works and appears something like a at the side of the button Connect)
But when I tried with Flatpak of Lollypop ... it fails at connect (and doesn't appear the feedback of a at the side of the button Connect).

Youtube-dl not working

Traceback (most recent call last):
  File "/app/bin/youtube-dl", line 33, in <module>
    sys.exit(load_entry_point('youtube-dl==2021.12.17', 'console_scripts', 'youtube-dl')())
  File "/app/bin/youtube-dl", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 957, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 548, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for youtube-dl

Any idea ? I'm trying to move Lollypop to yt-dlp but facing exactly the same issue.

After update to 1.4.0, it doesn't start (valueError: Namespace Handy not available)

After the update to 1.4.0 version, the app doesn't start:

$ flatpak run org.gnome.Lollypop 
Traceback (most recent call last):
  File "/app/bin/lollypop", line 45, in <module>
    from lollypop.application import Application
  File "/app/lib/python3.7/site-packages/lollypop/application.py", line 18, in <module>
    gi.require_version("Handy", "1")
  File "/usr/lib/python3.7/site-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Handy not available
$

Info about the flatpak used:

$ flatpak info org.gnome.Lollypop 

Lollypop - Play and organize your music collection

         ID: org.gnome.Lollypop
        Ref: app/org.gnome.Lollypop/x86_64/stable
       Arch: x86_64
     Branch: stable
    Version: 1.4.0
    License: GPL-3.0+
     Origin: flathub
 Collection: org.flathub.Stable
Installation: system
  Installed: 37,2 MB
    Runtime: org.gnome.Platform/x86_64/3.36
        Sdk: org.gnome.Sdk/x86_64/3.36

     Commit: 88f86c95cb04359535e9440a78c6c70a2b13bb286dbbdf67b3b092c627f11879
     Parent: f8aa4ad609fe7e1a3bc55c8d7a87e6e4becd84ce785f9f98a24bc6ced325407e
    Subject: Update Lollypop to 1.4.0 (54a6ed96)
       Date: 2020-09-26 06:34:13 +0000
$

Radio icons don’t show up

When I search for a station, the icon is shown in the search results overview. But after adding a station, this is not saved to the local radio overview. I tried this on the RPM version and there it works fine.

Running the flatpak fails: 'Failed to load module "xapp-gtk3-module"'

On the newly released Mint 21 (Cinnamon flavour), the flatpak of Lollypop does not run.

$ flatpak install lollypop
Looking for matches…
Found ref ‘app/org.gnome.Lollypop/x86_64/stable’ in remote ‘flathub’ (system).
Use this ref? [Y/n]: 

org.gnome.Lollypop permissions:
    ipc        network        fallback-x11          pulseaudio            wayland
    x11        dri            file access [1]       dbus access [2]       bus ownership [3]

    [1] xdg-music, xdg-run/gvfs, xdg-run/gvfsd
    [2] org.freedesktop.Flatpak, org.freedesktop.Notifications, org.freedesktop.secrets,
        org.gnome.OnlineAccounts, org.gtk.vfs, org.gtk.vfs.*
    [3] org.mpris.MediaPlayer2.Lollypop


        ID                                          Branch       Op       Remote        Download
 1. [✓] org.freedesktop.Platform.ffmpeg-full        21.08        i        flathub        4.7 MB / 4.2 MB
 2. [✓] org.gnome.Lollypop.Locale                   stable       i        flathub        8.2 kB / 589.1 kB
 3. [✓] org.gnome.Lollypop                          stable       i        flathub       22.7 MB / 17.6 MB

Installation complete.
$ flatpak run org.gnome.Lollypop
Gtk-Message: 02:39:35.241: Failed to load module "xapp-gtk3-module"

global gnome search doesn't work for lollypop in flatpak version

hello! Cedric told me to ask here instead of the main lollypop gitlab.
So, this is not a technical limitation because many flatpak applications can have global gnome search (example: web technical preview, files development flatpak) but lollypop doesn't show with search in gnome settings or overview in the flatpak, but it works in the normal packaged lollypop. why?

1.4.0 fails to open: Namespace Handy not available

The Lollypop flatpak fails to open after #103

Output of: flatpak run org.gnome.Lollypop
Traceback (most recent call last):
  File "/app/bin/lollypop", line 45, in 
    from lollypop.application import Application
  File "/app/lib/python3.7/site-packages/lollypop/application.py", line 18, in 
    gi.require_version("Handy", "1")
  File "/usr/lib/python3.7/site-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Handy not available

This was also reported upstream.

I believe the issue is that this upstream version depends on libhandy1 which I think is part of Gnome 3.38 but the flatpak uses the 3.36 runtime.

[Flatpak] Lollypop not showing certain Japanese characters

Hi all, been using the flatpak version of lollypop for a bit now and like it a lot! I'm having an issue where Japanese fonts appear as boxes, not all of them - artists appear correctly (one didn't, but that one had malformed tags), only things that don't appear correctly are song and album titles. I'm at a loss as to why this happens.

For instance, this file:

Filename: /home/ryan/Storage/Music/Runa Miyoshida/美吉田 月 - Ska Flavor #2 【320K】 (2009.9.16)/03 やさしさに包まれたなら.mp3
Format: MPEG-1 Layer 3 - ID3v2.3
Size: 10.2 MB (9.7 MiB)
Length: 4:14
Bitrate: 320.0 kbps
Sample rate: 44100 Hz
Channels: Stereo

The artist appears correctly, but the song titles are all boxes.

Is there a font I need to install or something? I have fonts-takao-mincho installed (was installed by default on my distribution) and japanese fonts work flawlessly in other applications such as the terminal based mpd client ncmpcpp. I have allowed lollypop full access to the host filesystem. I've attached a screenshot of the two programs both displaying the same album, as you can see the English characters appear correctly but in lollypop it's just boxes for the Japanese characters.
Screenshot from 2021-04-01 18-08-27

OS Information: elementary OS "Odin" Development Preview, based on Ubuntu 20.04.x
Lollypop version: 1.4.18

Typefind element not found

Lollypop song library is never populated by the files I have in my music library. This is due to something wrong in the SDK gstreamer installation. Decodebin element needs a typefind element which is missing.

flatpak run --command=sh org.gnome.Lollypop 
[pacaud@lappc-p620-in2p3-fr ~]$ gst-launch-1.0 decodebin

** (gst-launch-1.0:4): WARNING **: can't find typefind element, decodebin will not work
Définition du pipeline à PAUSED...
ERREUR : le pipeline refuse de se mettre en pause.
Élément manquant : Élément GStreamer typefind
ERREUR : de l’élément /GstPipeline:pipeline0/GstDecodeBin:decodebin0 : Il manque un greffon dans votre installation de GStreamer.
Information de débogage supplémentaire :
gstdecodebin2.c(5379): gst_decode_bin_change_state (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0:
no typefind!
Définition du pipeline à NULL…
Libération du pipeline…
[pacaud@lappc-p620-in2p3-fr ~]$ 

But in the GNOME Platform SDK, it seems to work fine:

[pacaud@lappc-p620-in2p3-fr ~]$ flatpak run --command=sh org.gnome.Platform//3.26
[pacaud@lappc-p620-in2p3-fr ~]$ gst-launch-1.0 decodebin
Définition du pipeline à PAUSED...
Le pipeline est en phase de PREROLL…

Version not up to date

At his moment the flatpak version is at 0.9.507, while the latest release is 0.9.522.

Library missing after restarting machine; Flatpak looped directory missing

I have a music directory that is not in ~/Music, but rather ~/Storage/Music, which is another drive (~/Storage/) mounted in the home directory.

I had the issue of Lollypop always saying "Scan disabled - missing collection" after ever reboot (and perhaps every relaunch of the application) of the system. I used Flatseal (great app for flatpak permissions) to allow it access to the home (~) directory, which solved the issue. You could also do the same with the command line with flatpak override.

Just wondering if maybe that could be added to the README for instance, just in case others run into the same issue maybe they will find this post. I know there is already a mention of allowing access to the host's full filesystem but perhaps this would be helpful. Thanks for packaging this excellent program, thank you!

Update to 0.9.905

Hello!

Lollypop has been updated to version 0.9.905

Could you update the flatpack version also? Thank you :-)

ps: I just noticed that the last flatpack version is 0.9.900, I believed it was still 0.9.612, my fault.

Flatpak version doesn't find "kid3-cli" from host

Environment

  • Lollypop version: 1.4.31, Flatpak Commit b577a13258732597745727c70d8fd01cc2ca526938d98680a6b7b48212e7a3bd (Date: 2022-05-02 15:06:28 +0000)
  • GTK+ version: org.gnome.Platform/x86_64/42
  • Operating system: Silverblue 36.20220514.0 with kid3-common layered package

Bug

Lollypop Flatpak version doesn't find kid3-cli from host.

My Silverblue host:

$ rpm-ostree status
State: idle
Deployments:
● fedora:fedora/36/x86_64/silverblue
                   Version: 36.20220514.0 (2022-05-14T00:45:42Z)
                BaseCommit: 37a03048e5cebd64eb20ad9ff42ad4b7672a7722e9d1f3a6705927c64bb8bbfa
              GPGSignature: Valid signature by 53DED2CB922D8B8D9E63FD18999F7CBF38AB71F4
           LayeredPackages: kid3-common

I accessing kid3-cli from host:

$ which kid3-cli
/usr/bin/kid3-cli
$ kid3-cli
kid3-cli> 

Lollypop Flatpak version doesn't find kid3-cli from host:

$ flatpak run org.gnome.Lollypop 
[INFO] 2022-05-14 12:40:54 Collection web service started
[INFO] 2022-05-14 12:40:54 Collection download started
[INFO] 2022-05-14 12:40:54 Last.fm web service started
[INFO] 2022-05-14 12:40:54 Collection download finished
[INFO] 2022-05-14 12:40:54 Libre.fm web service started
[INFO] 2022-05-14 12:40:54 ListenBrainz web service started
[INFO] 2022-05-14 12:40:55 Scan started
[INFO] 2022-05-14 12:40:55 lollypop.collection_scanner::__get_objects_for_uris: execution time 0:0.007901
[INFO] 2022-05-14 12:40:55 lollypop.collection_scanner::__scan: execution time 0:0.424732
[INFO] 2022-05-14 12:40:55 Scan finished
[INFO] 2022-05-14 12:40:55 Collection download started
[INFO] 2022-05-14 12:40:55 Collection download finished
[ERROR] 2022-05-14 12:41:02 RatingWidget::__on_can_set_popularity(): g-exec-error-quark: Failed to execute child process “kid3-cli” (No such file or directory) (8)

What I expect:

The mentioned behavior of calling kid3-cli from host via flatpak-spawn.
I can access the kid3-cli from host manually:

$ flatpak run --command=sh org.gnome.Lollypop
[📦 org.gnome.Lollypop ~]$ flatpak-spawn  --host kid3-cli
kid3-cli> 

From what I know, the flatpak-spawn way is the only way to Save changes to file option to work in the Flatpak version.

Observation: I opened this issue at upstream, but the developer ask me to open it here.

Lollypop does not see anything else other than "music" in the home directory

(originally reported on the Lollypop repo but Cédric said it is a Flatpak issue)

Environment

  • Lollypop version: 1.4.8
  • GTK+ version: 2.24.32 and 3.22.30
  • Operating system: Ubuntu 18.04

Bug

Since the last update (1.4.8), and after a prompt about re-adding the library folders, Lollypop does not see my music library in ~/Musique, and doesn't see anything else than the ~/Music folder in my home, so I can't pick the right directory again.

flatpak run org.gnome.Lollypop --debug
Gtk-Message: 14:27:13.499: Failed to load module "canberra-gtk-module"
[INFO] 2021-01-08 14:27:13 Collection web service started
[INFO] 2021-01-08 14:27:13 Collection download started
[INFO] 2021-01-08 14:27:13 Collection download finished
[INFO] 2021-01-08 14:27:13 Last.fm web service started
[INFO] 2021-01-08 14:27:13 ListenBrainz web service started
[INFO] 2021-01-08 14:27:13 Scan started
[INFO] 2021-01-08 14:27:14 lollypop.collection_scanner::__get_objects_for_uris: execution time 0:0.005454
[DEBUG] 2021-01-08 14:27:14 Importing audio file:///home/stragu/Music/Mixxx/Recordings/2019-02-04_23h17m33s.flac
[DEBUG] 2021-01-08 14:27:14 Importing audio file:///home/stragu/Music/Mixxx/Recordings/2019-03-04_21h56m34s.flac
[DEBUG] 2021-01-08 14:27:14 Importing audio file:///home/stragu/Music/Mixxx/Recordings/2018-12-15_14h19m49s.flac
[ERROR] 2021-01-08 14:27:14 AlbumArtwork::__get_pixbuf_from_tags(): gst-resource-error-quark: Resource not found. (3)
[WARNING] 2021-01-08 14:27:14 AlbumArtwork::get(): None -> g-io-error-quark: Error opening directory '/home/stragu/Musique/El Guincho/(2007) Alegranza': No such file or directory (1)
[DEBUG] 2021-01-08 14:27:14 LazyLoadingView::lazy_loading(): 0.7348673343658447
[WARNING] 2021-01-08 14:27:14 Removed, not in collection anymore: file:///home/stragu/Musique/Deru/(2003)%20Pushing%20Air/10%20Timebox.flac -> ['file:///home/stragu/Music']
[WARNING] 2021-01-08 14:27:14 Removed, not in collection anymore: file:///home/stragu/Musique/Deru/(2003)%20Pushing%20Air/14%20Flux%20of%20Humour.flac -> ['file:///home/stragu/Music']
[WARNING] 2021-01-08 14:27:14 Removed, not in collection anymore: file:///home/stragu/Musique/Deru/(2003)%20Pushing%20Air/04%20Echos%20of%20Me.flac -> ['file:///home/stragu/Music']
[...]

... and it keeps going for the rest of the collection.

When trying to add the right directory:

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.