1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-11-10 04:02:17 +00:00
Commit Graph

91 Commits

Author SHA1 Message Date
Alban Féron
8e2adf8fc8
Fix getting starred stuff
Closes #246
2023-02-25 16:30:05 +01:00
Alban Féron
b57b086e04
Enforce foreign keys on SQLite 2023-01-14 16:45:44 +01:00
Alban Féron
82187fd4c4
pyupgrade 2023-01-08 16:16:28 +01:00
Alban Féron
30734fe9ab
Fix getSongsByGenre + remove some useless DISTINCTs 2023-01-02 18:08:30 +01:00
Alban Féron
42283817fe
Fix transcoding tests 2022-12-30 16:44:09 +01:00
Alban Féron
dd2ef2ffeb
Porting supysonic.api.search 2022-12-30 16:41:00 +01:00
Alban Féron
8b93e0bc6e
Fix on scanner queuing 2022-12-30 15:21:30 +01:00
Alban Féron
4fa744efcd
Porting supysonic.api.radio 2022-12-30 15:08:13 +01:00
Alban Féron
6179daf4ce
Porting supysonic.api.playlists 2022-12-23 18:57:14 +01:00
Alban Féron
b2c45ff03f
Porting supysonic.api.media 2022-12-23 15:36:40 +01:00
Alban Féron
95f77cc170
Porting supysonic.api.browse 2022-12-18 18:03:51 +01:00
Alban Féron
7401b4dec9
Porting supysonic.api.annotation 2022-12-18 17:24:05 +01:00
Alban Féron
2b472b4d97
Porting supysonic.api.albums_songs 2022-12-18 16:50:03 +01:00
Alban Féron
e52a7043b0
Implement musicFolderId paramenter on various endpoints
Bumped API version to 1.12.0 along the way.
`getArtits` also got it event if it seems it has been added with version 1.14.0,
but I'm a bit concerned as to how clients will behave on authentication if the server
advertise itself as 1.13.0+

Closes #235
Ref #74
2022-09-10 15:50:10 +02:00
Alban Féron
430d5a0dad
Try to fix stalling tests 2021-12-04 17:43:08 +01:00
Alban Féron
799bfa3dde
Code style 2021-11-28 17:15:05 +01:00
Alban Féron
3b0023e1ac
Test tweaks 2021-11-21 12:20:48 +01:00
Alban Féron
b4e737c243
Use test discovery rather than explicit suites 2021-11-20 21:01:00 +01:00
ankitdobhal
8eca8ba60f
Fixed antipattern
- Remove unnecessary return statement
- Remove unnecessary `del` statement from local scope
- Consider merging the comparisons with 'in'
2021-02-21 11:29:43 +01:00
Alban Féron
bd370f57ff
Read lyrics from metadata
Closes #212
2021-01-23 17:16:15 +01:00
Alban Féron
f8018b2751
Some housekeeping
Trying to make flake8 happy
2020-11-29 17:24:28 +01:00
Alban Féron
36cea89b26
Improving scan tests 2020-11-28 15:15:24 +01:00
Alban Féron
6bb3cd71cf
chmod -x 2020-11-28 12:25:43 +01:00
vincent
d08db741bc
add test for api scan endpoint 2020-11-28 12:22:48 +01:00
vincent
13b7c4b3de
add version parameter to ApiTestBase class 2020-11-28 12:20:20 +01:00
Alban Féron
2c100a021a
Properly release resources
Hunting for the last ResourceWarnings
2020-11-22 18:09:15 +01:00
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
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
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
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
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
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
1d01450f33
Dropping Python 2 support 2019-12-23 16:23:57 +01:00
mvn23
cc838f14d3 Fix tests and some small bugs 2019-10-01 16:55:23 +02:00
Alban Féron
14d0c2f57f
Forgot feeding data for the lyrics test 2019-07-13 16:55:21 +02:00
Alban Féron
d05f69dd26
Move lyrics test out of the main test suite
Ref #130
2019-07-13 16:40:46 +02:00
Alban Féron
7c8a75d45c
Runnig black on everything 2019-06-29 17:25:44 +02:00
spl0k
e6a192483c Merge branch 'master' into daemon-rework 2019-06-01 16:21:13 +02:00
spl0k
10df0ada07 Don't store the mimetype in database
That's useless, it can be deduced from the path
Fixes #150
2019-05-18 15:50:30 +02:00
spl0k
bb36b38d52 Updated tests 2019-05-11 17:13:58 +02:00
spl0k
3b6186ebfc JSON: '_value_' -> 'value'
Closes #136
2019-01-19 15:04:56 +01:00