Package Details: sublime-music 0.12.0-2

Git Clone URL: https://aur.archlinux.org/sublime-music.git (read-only, click to copy)
Package Base: sublime-music
Description: A native Subsonic/Airsonic/*sonic client for Linux. Built using Python and GTK+.
Upstream URL: https://sublimemusic.app
Licenses: GPL3
Submitter: sumner
Maintainer: sumner (edwargix)
Last Packager: edwargix
Votes: 16
Popularity: 0.000810
First Submitted: 2019-10-29 04:33 (UTC)
Last Updated: 2023-06-17 20:13 (UTC)

Latest Comments

1 2 3 Next › Last »

lwndow commented on 2024-05-11 21:18 (UTC)

here's a diff that's worked for me building today:

diff --git a/PKGBUILD b/PKGBUILD
index 3281a33..312cd56 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -50,13 +50,14 @@ build() {
 }

 package() {
+    local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
     pushd "${_module}-${pkgver}"
     python -m installer --destdir="${pkgdir}" dist/*.whl

     # Move all of the package data resources to ${pkgdir}/usr/share/sublime-music
     data_dir=${pkgdir}/usr/share/sublime-music
     mkdir -p ${data_dir}/adapters/subsonic ${data_dir}/dbus ${data_dir}/ui
-    pushd ${pkgdir}/usr/lib/python3.11/site-packages/sublime_music
+    pushd ${pkgdir}/usr/lib/python${python_version}/site-packages/sublime_music
     mv adapters/icons ${data_dir}/adapters
     mv adapters/images ${data_dir}/adapters
     mv adapters/subsonic/icons ${data_dir}/adapters/subsonic

marcool04 commented on 2024-05-04 09:07 (UTC)

I think best practice would be not to hardcode the python version in the PKGBUILD. See https://wiki.archlinux.org/title/Python_package_guidelines#Using_Python_version

adam900710 commented on 2024-05-02 05:18 (UTC) (edited on 2024-05-02 05:22 (UTC) by adam900710)

And the PKGBUILD needs another update for python 3.12.

Despite that modification, the deepdiff doesn't seem to work correctly either.

StefanT commented on 2023-05-05 10:11 (UTC) (edited on 2023-05-05 10:11 (UTC) by StefanT)

PKGBUILD needs a patch for Python 3.11:

diff --git a/PKGBUILD b/PKGBUILD
index d587df1..4f292e1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -54,7 +54,7 @@ package() {
     # Move all of the package data resources to ${pkgdir}/usr/share/sublime-music
     data_dir=${pkgdir}/usr/share/sublime-music
     mkdir -p ${data_dir}/adapters/subsonic ${data_dir}/dbus ${data_dir}/ui
-    pushd ${pkgdir}/usr/lib/python3.10/site-packages/sublime_music
+    pushd ${pkgdir}/usr/lib/python3.11/site-packages/sublime_music
     mv adapters/icons ${data_dir}/adapters
     mv adapters/images ${data_dir}/adapters
     mv adapters/subsonic/icons ${data_dir}/adapters/subsonic

CupricReki commented on 2022-12-21 17:39 (UTC) (edited on 2022-12-21 18:14 (UTC) by CupricReki)

@iavalos It has never worked in KDE Plasma as far as I can tell. Created an issue here.

exu commented on 2022-12-09 08:17 (UTC)

@adam900710 That issue has been fixed in the upstream git repository.
You'll have to wait until the next release or use sublime-music-git in the meantime.

Merge Request fixing this issue

One issue I found

Another one

adam900710 commented on 2022-09-12 08:37 (UTC)

The "Now playing" block (bottom left corner) never got updated, and call trace triggered on start up:

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/sublime_music/app.py", line 1039, in <lambda>
    lambda: self.window.update(
  File "/usr/lib/python3.10/site-packages/sublime_music/ui/main.py", line 363, in update
    active_panel.update(app_config, force=force)
  File "/usr/lib/python3.10/site-packages/sublime_music/ui/playlists.py", line 117, in update
    self.playlist_list.update(app_config=app_config, force=force)
  File "/usr/lib/python3.10/site-packages/sublime_music/ui/playlists.py", line 232, in update
    self.update_list(app_config=app_config, force=force)
  File "/usr/lib/python3.10/site-packages/sublime_music/ui/util.py", line 435, in wrapper
    result.add_done_callback(
  File "/usr/lib/python3.10/site-packages/sublime_music/adapters/manager.py", line 151, in add_done_callback
    fn(self, *args)
  File "/usr/lib/python3.10/site-packages/sublime_music/ui/util.py", line 423, in future_callback
    fn()
  File "/usr/lib/python3.10/site-packages/sublime_music/ui/playlists.py", line 273, in update_list
    util.diff_model_store(self.playlists_store, new_store)
  File "/usr/lib/python3.10/site-packages/sublime_music/ui/util.py", line 166, in diff_model_store
    diff = DeepDiff(old_store, new_store)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 296, in __init__
    self._diff(root, parents_ids=frozenset({id(t1)}), _original_type=_original_type)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 1351, in _diff
    self._diff_iterable(level, parents_ids, _original_type=_original_type)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 594, in _diff_iterable
    self._diff_iterable_in_order(level, parents_ids, _original_type=_original_type)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 713, in _diff_iterable_in_order
    self._diff(next_level, parents_ids_added)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 1354, in _diff
    self._diff_obj(level, parents_ids)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 407, in _diff_obj
    self._diff_dict(
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 547, in _diff_dict
    self._diff(next_level, parents_ids_added)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 1351, in _diff
    self._diff_iterable(level, parents_ids, _original_type=_original_type)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 594, in _diff_iterable
    self._diff_iterable_in_order(level, parents_ids, _original_type=_original_type)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 713, in _diff_iterable_in_order
    self._diff(next_level, parents_ids_added)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 1338, in _diff
    elif isinstance(level.t1, Mapping):
  File "/usr/lib/python3.10/abc.py", line 119, in __instancecheck__
    return _abc_instancecheck(cls, instance)
AttributeError: __class__
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/sublime_music/app.py", line 1039, in <lambda>
    lambda: self.window.update(
  File "/usr/lib/python3.10/site-packages/sublime_music/ui/main.py", line 363, in update
    active_panel.update(app_config, force=force)
  File "/usr/lib/python3.10/site-packages/sublime_music/ui/playlists.py", line 117, in update
    self.playlist_list.update(app_config=app_config, force=force)
  File "/usr/lib/python3.10/site-packages/sublime_music/ui/playlists.py", line 232, in update
    self.update_list(app_config=app_config, force=force)
  File "/usr/lib/python3.10/site-packages/sublime_music/ui/util.py", line 435, in wrapper
    result.add_done_callback(
  File "/usr/lib/python3.10/site-packages/sublime_music/adapters/manager.py", line 151, in add_done_callback
    fn(self, *args)
  File "/usr/lib/python3.10/site-packages/sublime_music/ui/util.py", line 423, in future_callback
    fn()
  File "/usr/lib/python3.10/site-packages/sublime_music/ui/playlists.py", line 273, in update_list
    util.diff_model_store(self.playlists_store, new_store)
  File "/usr/lib/python3.10/site-packages/sublime_music/ui/util.py", line 166, in diff_model_store
    diff = DeepDiff(old_store, new_store)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 296, in __init__
    self._diff(root, parents_ids=frozenset({id(t1)}), _original_type=_original_type)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 1351, in _diff
    self._diff_iterable(level, parents_ids, _original_type=_original_type)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 594, in _diff_iterable
    self._diff_iterable_in_order(level, parents_ids, _original_type=_original_type)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 713, in _diff_iterable_in_order
    self._diff(next_level, parents_ids_added)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 1354, in _diff
    self._diff_obj(level, parents_ids)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 407, in _diff_obj
    self._diff_dict(
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 547, in _diff_dict
    self._diff(next_level, parents_ids_added)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 1351, in _diff
    self._diff_iterable(level, parents_ids, _original_type=_original_type)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 594, in _diff_iterable
    self._diff_iterable_in_order(level, parents_ids, _original_type=_original_type)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 713, in _diff_iterable_in_order
    self._diff(next_level, parents_ids_added)
  File "/usr/lib/python3.10/site-packages/deepdiff/diff.py", line 1338, in _diff
    elif isinstance(level.t1, Mapping):
  File "/usr/lib/python3.10/abc.py", line 119, in __instancecheck__
    return _abc_instancecheck(cls, instance)
AttributeError: __class__

iavalos commented on 2022-04-21 05:01 (UTC) (edited on 2022-04-24 03:02 (UTC) by iavalos)

Is D-Bus integration working for anyone? It's not working for me.

Edit: it is seemingly half working, because I can control playback using KDE Connect, but Plasma itself doesn't show the media widget.

Venom1991 commented on 2021-12-14 18:09 (UTC) (edited on 2021-12-14 18:11 (UTC) by Venom1991)

Python got updated to version 3.10 and consequently the following dependencies need to be rebuilt: python-stringcase, python-dataclasses-json, python-marshmallow-enum and python-mpv.
Sublime Music runs just fine, afterwards.