1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-23 01:16:18 +00:00
Commit Graph

311 Commits

Author SHA1 Message Date
Alban Féron
dc5084ce47
Finish transcoding and cache if close to the end
Ref #202
2020-11-15 16:22:24 +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
1f3d697b9c
Adding new attributes brought by API upgrade 2020-11-09 15:03:13 +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
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
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
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
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
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
1d01450f33
Dropping Python 2 support 2019-12-23 16:23:57 +01:00
Alban Féron
0cc9877bd9
Add jukebox role 2019-11-23 15:07:01 +01:00
Carey Metcalfe
2f9fa0da6f Support setting basic metadata in transcoded media
Other small fixes:
 - Fixed typo in README
 - Fixed `oggenc2` using `-q` instead of `-Q` to mean "quiet"

Fixes #170
2019-11-11 21:34:17 -05:00
Alban Féron
2f94089e9c
Merge remote-tracking branch 'mvn23/api_fix_ids' 2019-10-26 16:38:50 +02:00
Alban Féron
e9d4de6f1a
Merge remote-tracking branch 'mvn23/default_transcode_target' 2019-10-26 16:22:39 +02:00
mvn23
f0525dc23a Add default_transcode_target option 2019-10-18 13:49:46 +02:00
Louis-Philippe Véronneau
59aa0f872a
make sure all messages are printed on a new line 2019-10-12 14:37:13 -04:00
mvn23
67670aace8 Improve star/unstar handling 2019-10-09 18:57:42 +02:00
Carey Metcalfe
2e320cc312
Fix typo in admin interface
Fun fact: a wether is a castrated sheep.
2019-10-02 23:59:43 -04:00
mvn23
cc838f14d3 Fix tests and some small bugs 2019-10-01 16:55:23 +02:00
mvn23
62fa440cfa fix get_entity() 2019-10-01 11:15:25 +02:00
mvn23
1f8f3326e8 Small fixes, postgres migration 2019-10-01 10:34:41 +02:00
mvn23
2df35026db Fix mysql migration 2019-09-15 14:35:58 +02:00
mvn23
81192bfeca Fix Folder ID bugs and sqlite migration. 2019-09-15 13:48:25 +02:00
mvn23
99ce42c9ff Fix Folder ID bugs, add initial DB migration work 2019-09-15 11:46:32 +02:00
mvn23
c3fd94343f Fix api get_entity 2019-09-14 22:53:55 +02:00
mvn23
3e51bf2a6d Change music folder IDs to int 2019-09-14 12:39:05 +02:00
Alban Féron
296fbfc3f4
Ignore setGain commands rather than erroring 2019-09-08 15:50:31 +02:00
Alban Féron
3b5885dde4
Skipping within tracks 2019-09-08 15:41:20 +02:00