Commit Graph

1018 Commits

Author SHA1 Message Date
Sumner Evans
b9284f90a3 Merge branch 'fix_deepdiff' into 'master'
Fix deep diff comparison of GObjects

See merge request sublime-music/sublime-music!76
2022-08-18 18:11:12 +00:00
Sumner Evans
84b8704b6d Merge branch 'master' into 'master'
Add Ctrl-Q keyboard shortcut to quit application

See merge request sublime-music/sublime-music!77
2022-08-02 15:41:48 +00:00
buckmelanoma
6a11a3aefd Add Ctrl-Q keyboard shortcut to quit application 2022-08-02 15:41:48 +00:00
César Enrique García Dabó
05f3cdf296 Fix deep diff comparison of GObjects 2022-07-20 18:27:17 +02:00
Sumner Evans
5ec752d6c0 Merge branch 'mpris_wrong_order' into 'master'
Ignore dbus playlist sorting order via dbus if not supported

See merge request sublime-music/sublime-music!75
2022-07-20 03:33:26 +00:00
César Enrique García Dabó
c4ab40ddb0 Ignore dbus playlist sorting order via dbus if not supported 2022-07-19 18:08:01 +02:00
Sumner Evans
c1f42df493 Merge branch 'fix-playlist-ui' into 'master'
Fix Playlist song list updating

See merge request sublime-music/sublime-music!73
2022-04-27 17:23:27 +00:00
Matt Corallo
e8913d552d Fix Playlist song list updating
When updating the song list in a playlist, we get a list of additions and
removals (in the form of table indexes) to do. We then need to do the removals
first to avoid invalidating the table indexes. The previous code did the
additions first, causing exceptions and bogus songs left in the UI.
2022-04-11 21:09:47 +00:00
Sumner Evans
efe038d36c Merge branch 'gapless-playback-mpv' into 'master'
Added basic Gapless Playback support for mpv

Closes #73

See merge request sublime-music/sublime-music!72
2022-02-14 14:21:14 +00:00
t11230
f13007587d Addressing MR comments
- Inverted conditional in PlayerManager.play_media to flatten code some
- Simplified check for gapless_playback in MPVPlayer
- Removed left-over code in SublimeMusicApp.on_track_end
- Changed song-details lookups for gapless playback to always defer
- Updated on_song_download_complete to use new next_song_index property
2022-01-10 21:41:29 -05:00
Sumner Evans
c93568ee84 Merge branch 'ampache-auto-disable-salt-auth' into 'master'
Auto-disable salt_auth for ampache

See merge request sublime-music/sublime-music!70
2022-01-10 15:48:37 +00:00
t11230
8ff857e0a8 Added basic gapless playback for mpv player
- Added property to Player to check whether gapless playback is supported and enabled
- Added method to Player to inform when the next song in a playlist is cached on the local computer
- Added gapless playback setting to the mpv player
- Updated mpv commands for gapless playback support
- Modified PlayerManager to track whether the current song is ending and what the expected next song is
- Modified PlayerManager to not invoke play_media if gapless playback is in use and the next song is expected
- Modified SublimeMusicApp to notify the player manager when the next song in a playlist is cached
2022-01-08 20:55:06 -05:00
t11230
7643a77019 Added next_song_index property
- Consolidated logic for deciding the next song index to select
2022-01-08 14:04:25 -05:00
Benjamin Schaaf
2f5fd81d8d Auto-disable salt_auth for ampache 2022-01-08 18:06:55 +11:00
Sumner Evans
b6b5d7a272 Merge branch '287-sort-by-tracknumber' into 'master'
UI: Sort songs by track number in Browse mode

See merge request sublime-music/sublime-music!69
2021-12-06 08:42:10 +00:00
Jordan Newport
ae55e3d31d Fix mypy type signature 2021-12-01 23:02:11 -07:00
Jordan Newport
81c3cc0462 UI: Sort songs by track number in Browse mode
This commit may address issue #287. It simply takes the list of songs
provided by the server in Browse mode and sorts it by disc and track
number. Tests seem to have passed except for (unrelated?) mypy issues.
2021-12-01 22:31:24 -07:00
Sumner Evans
4839f02641 readme: update matrix chat URL 2021-11-30 22:54:16 -07:00
Sumner Evans
c0c76fde17 changelog: update for v0.11.16 2021-11-11 00:20:14 -07:00
Sumner Evans
91d753bd46 fix encode/decode of provider configurations again 2021-11-11 00:20:13 -07:00
Sumner Evans
120eeb04a9 ci: don't lint and test when publishing to PyPi 2021-11-11 00:16:03 -07:00
Sumner Evans
04abf7208b changelog: update for v0.11.15 2021-11-10 23:35:34 -07:00
Sumner Evans
8e59702c99 Fix bugs with encoding of providers
* Made ConfigurationStore a dataclass so that it gets encoded correctly
  when using asdict
* Simplified the code around encoding providers

Fixes #325
Fixes #320
2021-11-10 23:35:15 -07:00
Sumner Evans
cf46fe8b5e changelog: update for v0.11.14 2021-11-03 00:48:58 -06:00
Sumner Evans
ebabe4a253 Merge branch 'wangd2/sublime-music-issue-320-candidate' 2021-11-03 00:42:56 -06:00
Sumner Evans
b3679d25fa allow for providers dictionary keys to be either a ProviderConfiguration or a dict 2021-10-18 21:46:12 -06:00
Daniel L. Wang
8eb5f73289 minimal patch for fedora34
addresses ProviderConfiguration is  not a mapping problem
2021-10-18 16:29:06 -07:00
Sumner Evans
a4e6f19a33 /bin/sh -> /usr/bin/env sh
Better compatibility with NixOS
2021-08-23 14:35:19 -06:00
Sumner Evans
e57e5d7cf8 changelog: update for 0.11.13 2021-08-23 14:13:05 -06:00
Sumner Evans
83500f1838 deps: change bleach dependency to >=3.3.0
This allows compatibility with the 4.0.0 release
2021-08-23 14:12:49 -06:00
Sumner Evans
cc9ca65fd0 Merge branch 'thelostpolaris:master' into 'master'
Fix confusing issues when hostname has no protocol

Closes #302

See merge request sublime-music/sublime-music!63
2021-06-13 08:55:14 -06:00
Sitansh Rajput
7cf13a90b5 Fix for Issue 302 2021-06-13 14:54:41 +00:00
Sumner Evans
2679539efb readme: update screenshot link 2021-06-06 09:58:42 -06:00
Sumner Evans
1c099532d4 doc: moved type documentation to description to unclutter signatures 2021-06-03 06:52:15 -06:00
Sumner Evans
08935749be shell: remove libhandy 2021-06-03 06:49:33 -06:00
Sumner Evans
afbb1d8ef9 Merge branch 'deprecate-official-flatpak' 2021-05-30 22:52:31 -06:00
Sumner Evans
2ed4106e5e flatpak: deprecate official support
See #309
2021-05-30 22:47:29 -06:00
Sumner Evans
cd2450a838 ci: re-enable failure emails 2021-05-05 11:23:44 -06:00
Sumner Evans
faaa6503e8 ci: use sourcehut for PyPi deploy 2021-05-05 11:06:53 -06:00
Sumner Evans
3976bffe81 contributing: commit message format spec
Add specification for desired commit message format
2021-05-05 09:51:30 -06:00
Sumner Evans
083dfb058c Use repology to show package version info 2021-04-17 16:27:19 -06:00
Sumner Evans
8d3883a897 Add sourcehut builds status badge 2021-04-17 11:00:07 -06:00
Sumner Evans
908689922e Update CHANGELOG 2021-04-17 10:37:17 -06:00
Sumner Evans
133b2b8fb9 Merge branch '276-use-bleach' 2021-04-17 10:32:50 -06:00
Sumner Evans
08f4224014 Closes #276: util.esc -> bleach.clean
Deprecates util.esc and replaces it with bleach.clean
which is way more featureful and stable
2021-04-17 10:22:26 -06:00
Sumner Evans
73990e5a1e Merge branch 'update-deps' 2021-04-17 09:52:26 -06:00
Sumner Evans
d5929917c7 explicitly specify path to python for coc, enable autoImportCompletions 2021-04-17 09:47:24 -06:00
Sumner Evans
6ba663f37d Update some deps 2021-04-17 09:31:38 -06:00
Sumner Evans
536d239d71 Merge branch 'SuperSandro2000-master-patch-75279' into 'master'
Switch to poetry-core

See merge request sublime-music/sublime-music!60
2021-04-17 15:23:54 +00:00
Sandro
9b0af19dbd Switch to poetry-core 2021-04-17 15:12:11 +00:00