1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-22 17:06:17 +00:00
Commit Graph

789 Commits

Author SHA1 Message Date
Alban Féron
4a0437b5e2
Fix(?) watcher queue sometimes not stopping when asked
Ref #263
2024-04-14 15:59:51 +02:00
Alban Féron
1cfca94109
Move a ListenBrainz test to the net suite
Allow to uncomment it and slightly improves coverage
2024-04-01 12:33:57 +02:00
Iván Ávalos
8d3a31d012
Allow non-admin users to link ListenBrainz account 2024-03-31 20:17:26 -06:00
Iván Ávalos
0f49dfb3ac
Add ListenBrainz documentation and tests 2024-03-18 22:58:03 -06:00
Iván Ávalos
a39f2fb16a
Initial ListenBrainz support 2024-03-18 03:30:56 -06:00
Alban Féron
1feaae7637
Silence auth errors from tests 2024-01-02 15:13:43 +01:00
Alban Féron
2209b65d5d
Add ReadTheDocs configuration file 2024-01-02 14:34:33 +01:00
Alban Féron
c2a9d42772
Fix failing test with Flask >=3.0.0
Fixes #260
2024-01-02 13:22:43 +01:00
Alban Féron
0fa0d55290
Version bump 2023-07-14 15:24:17 +02:00
Alban Féron
a14a7da11d
Log failed login attempts
Closes #257
2023-07-14 12:17:06 +02:00
Louis-Philippe Véronneau
4bc80bfce5
Replace distutils.dir_util.remove_tree() by shutil.rmtree().
In Python 3.10 and 3.11, distutils has been formally marked as deprecated.
Code that imports distutils will no longer work from Python 3.12.

I'm pretty sure distutils.dir_util.remove_tree() and shutil.rmtree() do
the same exact same thing and this should fix the issue :)
2023-06-13 15:50:11 -04:00
Alban Féron
abe0b79968
Properly close database connections when they're not in use
Watcher
Closes #253
2023-04-21 17:04:44 +02:00
Alban Féron
32a74706c2
Properly close database connections when they're not in use
Daemon startup, background scans
Ref #253
2023-04-20 18:17:10 +02:00
Alban Féron
893a007f29
Properly close database connections when they're not in use
CLI and web only
Ref #253
2023-04-20 16:50:54 +02:00
Alban Féron
f3e743dece
Version bump 2023-04-02 16:13:54 +02:00
Alban Féron
62f921d05f
Fix #252 migrations 2023-04-02 16:00:56 +02:00
Carey Metcalfe
639c68291a Add database migrations to fix up the bitrate units
The migration assumes that no audio files will be <16kbps and only wav
files will be more than 16,000kbps.
2023-03-31 17:40:29 -04:00
Carey Metcalfe
109f81e713 Fix bitrate units when scanning
In `0183bcb6` the scanner switched from using Mutagen to Mediafile for
scanning files. Prior to this commit, the bitrate from Mutagen was
divided by 1000 to convert it from bps to kbps. After switching to
Mediafile, the conversion was dropped even though Mediafile also reports
bitrate in bps.

This commit adds back the conversion to kbps and adds a test that checks
that the bitrate and some other metadata is correct.

This commit will fix transcoding being applied in some cases where it
isn't needed. This was happening because the bitrate in the DB was
always larger than the requested bitrate due to its units.
2023-03-31 16:23:11 -04:00
Alban Féron
dc93b43c41
Docs: add a note about supysonic-server tuning 2023-03-25 15:59:52 +01:00
Alban Féron
cf73d5a26d
Fix getAlbumList2 for PostgreSQL
Closes #245 (for real)
2023-03-18 17:39:07 +01:00
Alban Féron
034a47d1d7
Fix getAlbumList for PostgreSQL
Ref #245
2023-03-18 17:29:30 +01:00
Alban Féron
27df94e578
Setting to enable or disable ChartLyrics
Will be disabled by default
(cherry picked from commit b662162ca7)
2023-03-18 16:04:00 +01:00
Alban Féron
03ac57ca26
log rotate documentation 2023-03-18 12:54:11 +01:00
vithyze
eac6bdf1a3
Add a setting to disable log rotation 2023-03-18 12:40:44 +01:00
Alban Féron
8e2adf8fc8
Fix getting starred stuff
Closes #246
2023-02-25 16:30:05 +01:00
Alban Féron
245e9c7c54
Merge remote-tracking branch 'lolspark/patch-1' 2023-02-11 17:59:36 +01:00
Alban Féron
56162adbef
Drop the "pragmas" kw for Python SQLite migrations
Fixes #244
2023-02-11 14:47:54 +01:00
lolspark
f696a2dc0d
Update configuration.rst
Added example for windows in daemon section.
2023-02-02 16:23:19 +04:00
Alban Féron
536c4e9fb0
Version bump 2023-01-20 19:32:11 +01:00
Alban Féron
0957fef148
Fix failing deletions from the scanner 2023-01-17 22:59:43 +01:00
Alban Féron
36efefcda6
Fix supysonic-server with gunicorn creating the application too early
Was causing SQL connection issues when using forked workers

Closes #241
2023-01-16 22:10:39 +01:00
Alban Féron
be6b617e60
black 2023-01-15 16:28:27 +01:00
Alban Féron
d5a4f1856c
Genre related fixes
Fix /getGenres for DBMSs other tha SQLite
Don't list an empty genre

Ref #241
2023-01-15 16:26:59 +01:00
Alban Féron
ad688a23c3
Fix FK errors when deleting a user 2023-01-15 16:04:37 +01:00
Alban Féron
724f04726e
Adding missing foreign key on client_prefs 2023-01-15 15:51:27 +01:00
Alban Féron
09a5fb12ed
Fix integrity errors when deleting a root folder 2023-01-14 16:47:57 +01:00
Alban Féron
b57b086e04
Enforce foreign keys on SQLite 2023-01-14 16:45:44 +01:00
Alban Féron
4bbd7e94b0
Use hex-encoded string for id instead of bytes on DBMSs that don't provide native UUID support
Closes #241
2023-01-11 23:12:13 +01:00
Alban Féron
ba1fbf4b73
Forgot to update badge and docs about Python version 2023-01-08 16:40:51 +01:00
Alban Féron
399686f17b
Version bump 2023-01-08 16:20:23 +01:00
Alban Féron
82187fd4c4
pyupgrade 2023-01-08 16:16:28 +01:00
Alban Féron
14dc63631f
Fixed error on daemon quit 2023-01-08 15:53:59 +01:00
Alban Féron
30734fe9ab
Fix getSongsByGenre + remove some useless DISTINCTs 2023-01-02 18:08:30 +01:00
Alban Féron
09d48fdb2e
Fix pony leftover in jukebox 2023-01-01 17:21:35 +01:00
Alban Féron
4d249adcf2
Drop Python 3.6 2023-01-01 14:00:20 +01:00
Alban Féron
6ab0488620
Add missing save calls in Last.fm handling 2022-12-31 18:24:29 +01:00
Alban Féron
b87091dd56
Force tests to run on Ubuntu 20.04 and test for py 3.11 and 3.12
Ubuntu 20.04 should allow Python 3.6 tests to run, even if this version is EOL
2022-12-31 17:58:35 +01:00
Alban Féron
f6b859d11f
Fix average ratings for peewee pre-3.15.4 2022-12-31 17:40:19 +01:00
Alban Féron
e51abfe80f
Fix independent tests 2022-12-31 17:17:49 +01:00
Alban Féron
ee8165bb03
Fix requesting lyrics 2022-12-31 17:01:20 +01:00