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

679 Commits

Author SHA1 Message Date
Alban Féron
9a3bdc30ac
Removing shebang and executable flag from explicit python files 2020-11-22 16:28:26 +01:00
Alban Féron
81d141e540
pyupgrade 2020-11-22 16:12:14 +01:00
Alban Féron
d6f1a11aca
Merge branch 'issue202' 2020-11-22 15:17:47 +01:00
Alban Féron
0103e60e32
Tweaking test workflow 2020-11-22 15:17:05 +01:00
Alban Féron
bca9104147
Trying to replace Travis CI with GitHub Actions 2020-11-21 17:47:14 +01:00
Alban Féron
dc5084ce47
Finish transcoding and cache if close to the end
Ref #202
2020-11-15 16:22:24 +01:00
Alban Féron
e29a09e2fa
Test for issue #202 2020-11-15 15:43:55 +01:00
Carey Metcalfe
bc6e768627 Fix exception handling
Bare excepts will catch `GeneratorExit` exceptions which are raised
whenever a generator stops. This was causing issues when transcoding and
caching the results.

All instances of bare excepts have been replaced with scoped versions.
2020-11-14 14:29:52 -05:00
Alban Féron
d6c00e0f3d
Version bump 2020-11-11 18:30:50 +01:00
Alban Féron
52fb367c44
Implement updateUser 2020-11-10 16:56:49 +01:00
Alban Féron
debb396b0e
Ability to grant jukebox right when creating an user from the API 2020-11-10 15:38:24 +01:00
Alban Féron
c2f5ec43b9
Album listing filtered by year or genre
Closes #47
2020-11-10 14:21:51 +01:00
Alban Féron
883623c558
Potential fix for hypothetical Pony version 0.8 2020-11-10 11:36:44 +01:00
Alban Féron
cec216684d
Add ignored articles support
Closes #200
2020-11-09 17:31:04 +01:00
Alban Féron
62ae4a9967
Update README about API version 2020-11-09 15:22:15 +01:00
Alban Féron
1f3d697b9c
Adding new attributes brought by API upgrade 2020-11-09 15:03:13 +01:00
Alban Féron
e0946c0e32
Remove the ability to skip XSD validation in tests
We have int folder ids for long now, this isn't needed anymore
2020-11-09 12:03:05 +01:00
Alban Féron
1be526b8d2
Subsonic API 1.10.2
Except for changes required to comply to the XSD specification,
this does not include any feature this version brings

Closes #194
2020-11-08 18:00:36 +01:00
Alban Féron
8e3cd5ef4d
Prevent tests from speing some ResourceWarnings 2020-11-08 16:02:35 +01:00
Alban Féron
5c46c96b53
Some fixes for Windows support (especially for tests)
The main motive here isn't full Windows support per, but being
able to run tests on Windows, as this is my main platform.
Booting a VM just to run tests is cumbersome.
2020-11-08 15:39:09 +01:00
Alban Féron
7d1825151e
Deduplicate on getAlbumList
Fixes #199
2020-11-07 15:44:09 +01:00
Alban Féron
194bf5e277
Add test for M4A embedded art 2020-11-01 15:55:06 +01:00
Alban Féron
0183bcb698
Use mediafile rather than mutagen directly 2020-10-24 17:55:21 +02:00
Alban Féron
b07babb4ff
Version bump 2020-09-27 15:26:42 +02:00
Alban Féron
593666ae48
Travis s/.org/.com/g 2020-09-06 15:51:29 +02:00
Alban Féron
b511b1c647
Errors don't set the HTTP status code
Some (if not all) just ignore the response if it's not a 200
and just consider the server borked.

Closes #192
2020-09-06 15:08:51 +02:00
Alban Féron
b438bb0121
Explicit column on foreign keys for MySQL scripts
Fixes #189
2020-07-05 17:04:45 +02:00
Carl Hall
42c7ca40c4 Update schema version to include latest migration.
Remove transaction and vacuum from sqlite migration.
Mark radio stations as implemented in the docs.
2020-06-20 13:14:38 -07:00
Carl Hall
de91094ba9 Create features and tests for internet radio stations of Subsonic API
Implements:
getInternetRadioStations.view
createInternetRadioStation.view
updateInternetRadioStation.view
deleteInternetRadioStation.view
2020-06-14 22:22:53 -07:00
Alban Féron
3670195719
Suppress warnings from cover files
Ref #184
2020-04-25 16:32:57 +02:00
Денис Сперанский
8014c7b2df duplicates in list_albums newest 2020-04-16 16:20:10 +03:00
spl0k
7417766ac5
Fix for bad path encoding 2020-04-13 16:10:47 +02:00
Louis-Philippe Véronneau
f7ecf08bf2
remove directory with weird mojibake encoding 2020-04-12 22:26:43 -04:00
Alban Féron
1bee2778e3
Drop 'IF NOT EXISTS' from 'CREATE INDEX' statements in MySQL scripts
Fixes #180
2020-02-02 15:35:22 +01:00
Alban Féron
ef129a042a
Handle port in database URI 2020-02-02 15:23:53 +01:00
Carey Metcalfe
94624518ed Fix wrong mimetype being returned when transcoding
Previously, when a client that was configured to always transcode
requested a stream without specifying a format, the mimetype would not
be set to the transcode target type.

This commit simplifies the logic that decides which format should be
used and always sets the mimetype if the destination format doesn't
match the source format.
2020-01-22 11:04:32 -05:00
Alban Féron
acb6b773a9
Set Meta to use the same connection as other tables, and cache generated/retrieved secret keys 2020-01-19 17:30:30 +01:00
Alban Féron
aa6ca54dc1
Trove Py3.8 2020-01-19 16:31:14 +01:00
Alban Féron
55e5e73ae1
Small config doc/sample update
Closes #177
Closes #178
2020-01-18 17:22:41 +01:00
Louis-Philippe Véronneau
85edae53db
fix documentation on how to create new admin user 2020-01-11 22:41:36 -05:00
Louis-Philippe Véronneau
61edff6122
fix SyntaxWarnings 2020-01-05 22:21:29 -05:00
Alban Féron
37b1602461
Version bump 2019-12-24 17:02:36 +01:00
Alban Féron
6f26493c11
Remove remaining traces of Python 2 2019-12-24 16:29:05 +01:00
Alban Féron
078c98a427
Merge branch 'jukebox' 2019-12-24 15:47:19 +01:00
Alban Féron
bf14682905
Merge branch 'nopy2' 2019-12-24 15:22:43 +01:00
Alban Féron
bf25863b51
Version bump 2019-12-24 14:56:23 +01:00
Alban Féron
9d88c39727
Tell Travis to test Python 3.8 2019-12-23 17:30:27 +01:00
Alban Féron
1d01450f33
Dropping Python 2 support 2019-12-23 16:23:57 +01:00
Alban Féron
7cb825cedb
Update tests 2019-11-23 15:43:27 +01:00
Alban Féron
eeeb812c6d
Revert test file changes (wtf) 2019-11-23 15:34:30 +01:00