Sublime Music issueshttps://gitlab.com/sublime-music/sublime-music/-/issues2022-12-28T02:53:53Zhttps://gitlab.com/sublime-music/sublime-music/-/issues/349MPRIS not working in KDE Plasma 5.26.42022-12-28T02:53:53ZSkyler OgdenMPRIS not working in KDE Plasma 5.26.4Cannot control sublime text with media keys, and plasmashell does not register media being played. KDE connect works fine.
- Arch Linux
- KDE Plasma 5.26.4
- Sublime Music v0.11.16 installed from aur
```
plasmashell[15351]: kde.dataen...Cannot control sublime text with media keys, and plasmashell does not register media being played. KDE connect works fine.
- Arch Linux
- KDE Plasma 5.26.4
- Sublime Music v0.11.16 installed from aur
```
plasmashell[15351]: kde.dataengine.mpris: "org.mpris.MediaPlayer2.sublimemusic" does not implement org.freedesktop.DBus.Properties correctly Error message was "org.freedesktop.DBus.Error.UnknownMethod" "Object does not exist at path “/org/mpris/MediaPlayer2”"
````
```
plasmashell[15351]: kde.dataengine.mpris: Failed to find working MPRIS2 interface for "org.mpris.MediaPlayer2.sublimemusic"
```https://gitlab.com/sublime-music/sublime-music/-/issues/347Song's notification entry remains after next song started playing2022-09-30T11:54:29ZHomer SimpsonSong's notification entry remains after next song started playingGnome 42.4. In the notification menu (top bar -> click the date/time), it seems that each new song adds an entry for it. That is, after playing 3 songs, I have 3 entries. Is this an intended behaviour, not a bug?Gnome 42.4. In the notification menu (top bar -> click the date/time), it seems that each new song adds an entry for it. That is, after playing 3 songs, I have 3 entries. Is this an intended behaviour, not a bug?https://gitlab.com/sublime-music/sublime-music/-/issues/342RFE: Add more visual separation and information for multi-disc albums2022-08-05T18:27:58ZStanislav OchotnickýRFE: Add more visual separation and information for multi-disc albumsCurrently multi-disc albums are not displayed properly. https://gitlab.com/sublime-music/sublime-music/-/merge_requests/78 will (hopefully) fix up ordering of tracks, but they are still on a single "pile" and the discs are not visually s...Currently multi-disc albums are not displayed properly. https://gitlab.com/sublime-music/sublime-music/-/merge_requests/78 will (hopefully) fix up ordering of tracks, but they are still on a single "pile" and the discs are not visually separated.
As a minimal improvement - separating out discs visually & numbering them would be good first step to improve things.
In addition Navidrome (and possibly other subsonic servers?) can contain additional disc names for multi-disc albums - https://github.com/navidrome/navidrome/issues/272
So I believe something like this UI from Navidrom would be possible & a nice UX improvement over current state:
![image](/uploads/75d277531bb0f99303f177e3808833f1/image.png)https://gitlab.com/sublime-music/sublime-music/-/issues/339Strange albums view selection issue2022-04-09T01:08:27ZDavid GesselStrange albums view selection issueDescription: Linux Mint 19.3 Tricia
Python 3.8.13
When i select albums view and any sort, lets say by genre, then get a view of album covers say 1-13 in 3 rows 6 across (just for picturing) and I click on album 1 (row 1, column 1)
It h...Description: Linux Mint 19.3 Tricia
Python 3.8.13
When i select albums view and any sort, lets say by genre, then get a view of album covers say 1-13 in 3 rows 6 across (just for picturing) and I click on album 1 (row 1, column 1)
It highlights and pushes row two down showing the track list of 1,1 between row 1 and 2 as it should.
click on 1,2 and (weridly) album 2,6 highlights pushing row 3 down to show the track list of 2,6 between row 2 and 3.
Click on 1,2 again and 2,6 highlights again (flicker, stays highlighted).
Click on 2,6 (which is highlighted) and the track list collapses and 2,6 de-highlights.
the rest of the click -> highlight mapping is as follows.
1,3 -> 2,5
1,4 -> 2,4
1,5 -> 2,3
1,6 -> 2,2
2,1 -> 1,5
2,2 -> 1,4
2,3 -> 1,1
Now this might be predictable, but the mapping doesn't stick. click around a few times and the mapping changes. only 1,1 -> 1,1 seems consistent.
-davidhttps://gitlab.com/sublime-music/sublime-music/-/issues/338Problem Connecting to Nextcloud Music Server2022-06-05T13:10:50ZAgile FoxProblem Connecting to Nextcloud Music ServerServer: Nextcloud Music
The sublime client is getting html back from the server for some reason, but this nextcloud music server instance works with other subsonic clients without issue, so I don't know what to try next. Here is the fir...Server: Nextcloud Music
The sublime client is getting html back from the server for some reason, but this nextcloud music server instance works with other subsonic clients without issue, so I don't know what to try next. Here is the first stack trace below. Does anyone have thoughts?
```
(sublime-music:294300): Gtk-CRITICAL **: 04:23:21.599: gtk_widget_set_size_request: assertion 'width >= -1' failed
/home/username/.local/lib/python3.8/site-packages/secretstorage/util.py:46: UserWarning: Passing unwrap= to .send_and_get_reply() is deprecated and will break in a future version of Jeepney.
return self._connection.send_and_get_reply(msg, unwrap=True)
/home/username/.local/lib/python3.8/site-packages/sublime_music/ui/albums.py:270: Warning: g_value_get_int: assertion 'G_VALUE_HOLDS_INT (value)' failed
self.page_entry.set_text(str(self.album_page + 1))
(sublime-music:294300): Gtk-WARNING **: 04:23:22.204: Negative content height -5 (allocation 1, extents 3x3) while allocating gadget (node flowboxchild, owner GtkFlowBoxChild)
(sublime-music:294300): Gtk-WARNING **: 04:23:22.204: Negative content height -5 (allocation 1, extents 3x3) while allocating gadget (node flowboxchild, owner GtkFlowBoxChild)
(sublime-music:294300): Gtk-WARNING **: 04:23:22.204: Negative content height -5 (allocation 1, extents 3x3) while allocating gadget (node flowboxchild, owner GtkFlowBoxChild)
(sublime-music:294300): Gtk-WARNING **: 04:23:22.204: Negative content height -5 (allocation 1, extents 3x3) while allocating gadget (node flowboxchild, owner GtkFlowBoxChild)
(sublime-music:294300): Gtk-WARNING **: 04:23:22.204: Negative content height -5 (allocation 1, extents 3x3) while allocating gadget (node flowboxchild, owner GtkFlowBoxChild)
/home/username/.local/lib/python3.8/site-packages/secretstorage/util.py:46: UserWarning: Passing unwrap= to .send_and_get_reply() is deprecated and will break in a future version of Jeepney.
return self._connection.send_and_get_reply(msg, unwrap=True)
(sublime-music:294300): Gtk-CRITICAL **: 04:23:47.440: gtk_entry_set_text: assertion 'text != NULL' failed
(sublime-music:294300): Gtk-CRITICAL **: 04:23:47.441: gtk_entry_set_text: assertion 'text != NULL' failed
2022-04-05 04:23:56,108:ERROR:concurrent.futures:_base:exception calling callback for <Future at 0x7f7c241c7070 state=finished raised CacheMissError>
Traceback (most recent call last):
File "/home/username/.local/lib/python3.8/site-packages/requests/models.py", line 910, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 518, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/username/.local/lib/python3.8/site-packages/sublime_music/adapters/manager.py", line 375, in future_fn
return fn(*params, **kwargs)
File "/home/username/.local/lib/python3.8/site-packages/sublime_music/adapters/subsonic/adapter.py", line 763, in get_genres
if genres := self._get_json(self._make_url("getGenres")).genres:
File "/home/username/.local/lib/python3.8/site-packages/sublime_music/adapters/subsonic/adapter.py", line 517, in _get_json
subsonic_response = result.json().get("subsonic-response")
File "/home/username/.local/lib/python3.8/site-packages/requests/models.py", line 917, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: [Errno Expecting value]
<!-- NEXTCLOUD SERVER LOGIN PAGE HTML DOCUMENT LOADED HERE FROM THE SERVER -->
```https://gitlab.com/sublime-music/sublime-music/-/issues/337Multiple CDs are not displayed properly in the 'Album' tab2022-08-04T20:51:24ZLouis-Philippe VéronneauMultiple CDs are not displayed properly in the 'Album' tabHi!
I have some albums that have multiple CDs. For example:
```
foo@bar:$ tree "Arjen Anthony Lucassen's Star One"
.
└── Revel in Time
├── CD1
│ ├── 01 - Fate of Man.flac
│ ├── 02 - 28 Days (Till the End of Time).flac
...Hi!
I have some albums that have multiple CDs. For example:
```
foo@bar:$ tree "Arjen Anthony Lucassen's Star One"
.
└── Revel in Time
├── CD1
│ ├── 01 - Fate of Man.flac
│ ├── 02 - 28 Days (Till the End of Time).flac
│ ├── 03 - Prescient.flac
│ ├── 04 - Back from the Past.flac
│ ├── 05 - Revel in Time.flac
│ ├── 06 - The Year of '41.flac
│ ├── 07 - Bridge of Life.flac
│ ├── 08 - Today is Yesterday.flac
│ ├── 09 - A Hand on the Clock.flac
│ ├── 10 - Beyond the Edge of it All.flac
│ ├── 11 - Lost Children of the Universe.flac
│ └── cover.jpg
├── CD2
│ ├── 01 - Fate of Man (alternate version).flac
│ ├── 02 - 28 Days (Till the End of Time) (alternate version).flac
│ ├── 03 - Prescient (alternate version).flac
│ ├── 04 - Back from the Past (alternate version).flac
│ ├── 05 - Revel in Time (alternate version).flac
│ ├── 06 - The Year of '41 (alternate version).flac
│ ├── 07 - Bridge of Life (alternate version).flac
│ ├── 08 - Today is Yesterday (alternate version).flac
│ ├── 09 - A Hand on the Clock (alternate version).flac
│ ├── 10 - Beyond the Edge of it All (alternate version).flac
│ ├── 11 - Lost Children of the Universe (alternate version).flac
│ └── cover.jpg
└── cover.jpg
```
Those files are tagged properly and show what disc they are and how many discs in total there should be:
```
ALBUM=Revel in Time
ALBUMARTIST=Arjen Anthony Lucassen's Star One
ARTIST=Arjen Anthony Lucassen's Star One
AUTHOR=Arjen Anthony Lucassen
BARCODE=886449443574
COMPOSER=Arjen Anthony Lucassen
DATE=2022
DISCNUMBER=1
DISCTOTAL=2
DURATION=05:29
GENRE=Metal
ISRC=NLR492100001
LABEL=InsideOut Music
MEDIA=Digital Media
ORGANIZATION=InsideOut Music
TITLE=Fate of Man
TOTALDISCS=2
TOTALTRACKS=11
TRACKNUMBER=1
TRACKTOTAL=11
UPC=886449443574
```
Sadly, in sublime's UI, files are not separated by CDs and are all bunched up based on track number alone:
Here's a screenshot:
![sublime](/uploads/1005e90f22d727a26bcb11372e45ac8d/sublime.png)
Weirdly, pressing "Play all song in this album" does take in account the CD number and plays the files in the right order...
Not sure if this is a problem with my Subsonic server (supysonic) or if the info is available to Sublime.https://gitlab.com/sublime-music/sublime-music/-/issues/336Reindex/rescan button?2022-03-27T22:14:06ZWilliam WoodruffReindex/rescan button?This would be a small, nice-to-have feature: the Subsonic API versions 1.15.0 and newer supports the `startScan` and `getScanStatus` routes, which start an async library re-index and yield the status of the index, respectively.
It'd be ...This would be a small, nice-to-have feature: the Subsonic API versions 1.15.0 and newer supports the `startScan` and `getScanStatus` routes, which start an async library re-index and yield the status of the index, respectively.
It'd be great to have a small button + status indicator in the server dropdown for triggering this endpoint (and polling for completion).
If there's interest in this feature, I'd be happy to work on it!https://gitlab.com/sublime-music/sublime-music/-/issues/335[feature request] Make columns sortable and editable in Playlist view.2022-03-26T14:19:29Zcocoonkid[feature request] Make columns sortable and editable in Playlist view.As a user I'd love to be able to toggle certain columns on\off and especially be able to sort according to column.
Especially the duration column so I can have the longest playing tracks on the top.
And in my example hide the Artist ...As a user I'd love to be able to toggle certain columns on\off and especially be able to sort according to column.
Especially the duration column so I can have the longest playing tracks on the top.
And in my example hide the Artist and Album.
Thank you for your consideration.
![image](/uploads/bb93587b34cb581c2d6432b2db1729f8/image.png)https://gitlab.com/sublime-music/sublime-music/-/issues/333[BUG] Scrambled audio with some MP3s2022-05-28T03:58:27ZWilliam Woodruff[BUG] Scrambled audio with some MP3sFirst of all, thanks a ton for writing Sublime Music! It's a fantastic client, and I've been a very happy user on Linux (via a Navidrome server).
I've noticed some badly scrambled audio on a couple of playbacks. At first I thought the f...First of all, thanks a ton for writing Sublime Music! It's a fantastic client, and I've been a very happy user on Linux (via a Navidrome server).
I've noticed some badly scrambled audio on a couple of playbacks. At first I thought the files themselves were corrupted, but `mp3val` reports no errors and all other playback techniques work (Navidrome's web player, using `mpv` directly).
Subjectively, the audio glitch sounds like very rapid, medium pitched static. None of the song's actual audio is perceptible. The entire album doesn't play correctly (and sounds like the same scrambling), making me think that it's a case of Sublime Music mis-caching the files (although clearing the downloads doesn't change things).
I'm attaching a sample capture of the output (be warned, it's very loud): ![glitch](/uploads/e498c3d154b6ade372c4e3ab0a2f363a/glitch.wav)
I'm also happy to share the offending MP3s themselves, if you think it'll help. I can do that over a direct channel, to avoid any potential IP infringement.https://gitlab.com/sublime-music/sublime-music/-/issues/331Chromecast functionality unreliable2022-02-10T08:32:50ZAndrej ShaduraChromecast functionality unreliableI’m trying to use the Chromecast functionality with an Android TV device, and casting stops within a couple of seconds from starting, music doesn’t actually play at all. The UI disappears, leaving only a generic "casting" throbber. A cou...I’m trying to use the Chromecast functionality with an Android TV device, and casting stops within a couple of seconds from starting, music doesn’t actually play at all. The UI disappears, leaving only a generic "casting" throbber. A couple of times if I pressed the Home button at that point and restarted casting, it would start playing in background, and I would be able to re-open it from the Now Playing tab on the home screen.
I tested this with pychromecast 7.1.1 and 9.4.0 (with and without reliability fixes backported from 10.*).https://gitlab.com/sublime-music/sublime-music/-/issues/330libhandy2022-01-02T01:54:15ZjunocomplibhandyNice app, it would be nice if libhandy was included in the app. This way it can be used on linux phones.Nice app, it would be nice if libhandy was included in the app. This way it can be used on linux phones.https://gitlab.com/sublime-music/sublime-music/-/issues/328[Feature Request] Add support for timed lyrics2021-11-21T13:31:56ZTim Hollmann[Feature Request] Add support for timed lyricsHello everyone
In this feature request I suggest the functionality of displaying (timed) song lyrics.
As far as I know there are two ways of getting lyrics for a song:
* [Subsonic Lyrics API](http://www.subsonic.org/pages/api.jsp#get...Hello everyone
In this feature request I suggest the functionality of displaying (timed) song lyrics.
As far as I know there are two ways of getting lyrics for a song:
* [Subsonic Lyrics API](http://www.subsonic.org/pages/api.jsp#getLyrics)
* Just plain text without timing information
* Lyrics embedded into the music file (e.g. FLAC: `LYRICS`)
* May have timing information in LRC notation, or just plain text.
I know this is a pretty heavy feature request, so feel free to close it if it's too much :)
Greetings,
Timhttps://gitlab.com/sublime-music/sublime-music/-/issues/323[Feature Request] Support for `originaldate` tag2021-10-03T14:18:58ZRyan Walder[Feature Request] Support for `originaldate` tagThis tag gets used with Musicbranz Picard when tagging files. It is preferable over `Year` in that it can contain a full date EG: `2009-04-20` which allows for better sorting by date.This tag gets used with Musicbranz Picard when tagging files. It is preferable over `Year` in that it can contain a full date EG: `2009-04-20` which allows for better sorting by date.https://gitlab.com/sublime-music/sublime-music/-/issues/322[Feature Request] Allow "Artist" functions to use "Album Artist" tag2021-10-03T14:14:08ZRyan Walder[Feature Request] Allow "Artist" functions to use "Album Artist" tagI would like to be able to tell Sublime Music to use the `Album Artist` tag instead of the `Artist` tag when performing "Artist" operations like sorting/grouping.
This would allow better sorting of artists when you have artists that hav...I would like to be able to tell Sublime Music to use the `Album Artist` tag instead of the `Artist` tag when performing "Artist" operations like sorting/grouping.
This would allow better sorting of artists when you have artists that have multiple variations of their artist name.
Example:
Amanda Palmer has an album with the `Artist` set to "Amanda Palmer and the Grand Theft Orchestra" and the `Album Artist` Set to "Amanda Palmer" for organizational purposes.
There are more annoying examples like "Godspeed You Black Emperor!" also being spelt "Godspeed You! Black Emperor". Or even more annoying having all the following artist names under the same band:
* A Silver Mt. Zion
* The Silver Mt. Zion Memorial Orchestra & Tra-La-La Band
* The Silver Mt. Zion Memorial Orchestra & Tra-La-La Band With Chior
* Thee Silver Mt. Zion Memorial Orchestra
So Using `Album Artist` = "A Silver Mt. Zion" and `Artist` as whatever flavour of the week they are using for individual releases is the only sane way to group them.https://gitlab.com/sublime-music/sublime-music/-/issues/321[Bug] state.pickle load error results in completely broken app2021-10-03T07:30:34Zmetronidazole[Bug] state.pickle load error results in completely broken appI am using version 0.11.12 compiled from the arch linux AUR and I have an issue in which the app is completely broken. Only a few artists/album load, however no songs are present in any album. Furthermore, the app configuration is lost a...I am using version 0.11.12 compiled from the arch linux AUR and I have an issue in which the app is completely broken. Only a few artists/album load, however no songs are present in any album. Furthermore, the app configuration is lost after the app is closed. I have the same server configured on a separate desktop/install of sublime music and it works fine.
Here is the relevant log output:
[log.txt](/uploads/3d3c29af9b6b3580e9f9f1f350fe53b3/log.txt)
You can see
> 2021-10-03 17:19:59,292:ERROR:root:config:Couldn't load state from /home/user/.local/share/sublime-music/1bfd1237-2efd-4018-9760-3de30f883dad/state.pickle
> Traceback (most recent call last):
> File "/usr/lib/python3.9/site-packages/sublime_music/config.py", line 215, in load_state
> self._state = pickle.load(f)
> EOFError: Ran out of inputhttps://gitlab.com/sublime-music/sublime-music/-/issues/318disable download functionality when subsonic doesn't support it2021-06-19T19:28:07ZSumner Evansdisable download functionality when subsonic doesn't support itin Subsonic implementations there's a permission for downloading. We should be checking that and disabling downloads if the logged in user doesn't have permission to download.in Subsonic implementations there's a permission for downloading. We should be checking that and disabling downloads if the logged in user doesn't have permission to download.https://gitlab.com/sublime-music/sublime-music/-/issues/317Upgrade to Python 3.92021-10-12T15:47:02ZSumner EvansUpgrade to Python 3.9Python 3.9 has a lot of nice improvements to how type annotations are handled. This would really improve the code if we could take advantage of those new type annotation abilities instead of relying on `typing` so heavily.
- [ ] make su...Python 3.9 has a lot of nice improvements to how type annotations are handled. This would really improve the code if we could take advantage of those new type annotation abilities instead of relying on `typing` so heavily.
- [ ] make sure that the tooling all works
- [ ] Sphinx autodoc
- [ ] mypy
- [ ] flake8
- [ ] black
- [ ] etc.
- [ ] convert everything to use the new type annotations
Packaging considerations:
- Arch Linux is already on Python 3.9
- NixOS has `python39` packaged already (although it's not default) so I can just change the package dependency to be explicitly 3.9
- Debian Bullseye already has python3.9 as default
- Alpine Linux uses Python 3.9 as the default `python3` since v3.14https://gitlab.com/sublime-music/sublime-music/-/issues/316Minimize to tray on closing the application window2022-08-16T13:29:52ZDmitry BogdanovMinimize to tray on closing the application windowIt will be handy to have an option to minimize to tray on closing the application window, similar to other music players.It will be handy to have an option to minimize to tray on closing the application window, similar to other music players.https://gitlab.com/sublime-music/sublime-music/-/issues/315Show audio codec metadata for tracks2021-06-16T06:39:09ZDmitry BogdanovShow audio codec metadata for tracksIs it possible to show additional audio metadata such as codec, bitrate, and sample rate? It can be shown in the release overview, for example:
- Show a popup with metadata on right click on a track
- Add columns in the tracklist (may lo...Is it possible to show additional audio metadata such as codec, bitrate, and sample rate? It can be shown in the release overview, for example:
- Show a popup with metadata on right click on a track
- Add columns in the tracklist (may look too cluttered)
- Show a popup with metadata on mouse hover over a track
- Add an info button for a release (which would open a window with all detailed release metadata)
Or it can be shown in the current track info in the bottom bar.https://gitlab.com/sublime-music/sublime-music/-/issues/314add dependency scanning2021-06-15T19:26:38ZSumner Evansadd dependency scanninghttps://docs.gitlab.com/ee/user/application_security/dependency_scanning/index.htmlhttps://docs.gitlab.com/ee/user/application_security/dependency_scanning/index.html