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

684 Commits

Author SHA1 Message Date
Alban Féron
91cb3fb179
black 2021-11-06 17:45:25 +01:00
Alban Féron
f8c3d99e87
Embedded server using poorly designed wrappers on some WSGI servers 2021-11-01 17:41:56 +01:00
Carey Metcalfe
359e391fcc Implement recursive downloading of folders
Example use case:
```
Some Album/
├── CD1
│   └── <songs>
├── CD2
│   └── <songs>
└── cover.jpg
```

Previously, downloading the `Some Album` folder would result in no data
being sent (not even `cover.jpg`)

This commit changes folder-based downloads so that the entire folder
tree (including any non-music) is added to the returned zip file. This
allows any included album art, scans, notes, etc. to be distributed with
the files.

Album-based downloads are unaffected.
2021-10-08 00:48:45 -04:00
Carey Metcalfe
387a5e3de3 Switch to using zipstream-ng to generate and stream zip files
- Fixes zip downloads failing when zipping enough data that Zip64
   extensions are required by automatically enabling them if needed.
 - Fixes zip downloads failing when a file has a datestamp that zipfiles
   cannot store (pre-1980 or post-2108) by clamping them within the
   supported range.
 - Massively speeds up zip downloads by disabling compression (audio
   files generally don't compress well anyway)
 - Computes the total size of a generated zip file before streaming it
   and sets the `Content-Length` header. This allows clients to show a
   final size and progress bar while downloading, as well as detect if
   the download fails.
 - Adds a check to prevent sending an empty zip file to the client if
   there was no content to download (will error out instead).
2021-10-08 00:38:09 -04:00
Carey Metcalfe
5490189484 Add cover art to downloaded zip files
- Only includes cover art in the zip file if it's provided separately
  from the files (ie. doesn't extract it from the tracks)
- Refactors the existing code for implementing the `/getCoverArt` API
  endpoint to allow it to be reused.
2021-10-08 00:06:45 -04:00
Alban Féron
e8d3f164b0
Slightly improved genre merging 2021-09-18 17:07:53 +02:00
Alban Féron
8652c47ec3
Added test for #221 2021-09-18 17:00:02 +02:00
Dave Holland
a1eeeb8ba9 merge identical genre tags in album info 2021-09-13 14:00:48 +01:00
Alban Féron
e6e20d1669
Work around race when creating ClientPrefs
Closes #220
2021-09-11 16:21:04 +02:00
vincent
aea8ebeb13 fix del issue when unschedule scanning queue 2021-06-11 20:40:18 +02:00
Alban Féron
9d34270227
Merge branch 'playlist-export' 2021-04-10 15:49:54 +02:00
Alban Féron
9324025c41
Added disclaimer before exporting playlist 2021-04-10 15:47:31 +02: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
dcef74ca70
Allow renaming users with the CLI 2021-02-07 16:35:55 +01:00
Robert Sprunk
08329fc8bc Export playlists to m3u using web interface 2021-02-01 20:28:11 +01:00
Robert Sprunk
d05889df5b Check id of the user who created the playlist 2021-02-01 20:21:15 +01:00
Alban Féron
be88f5fb78
Version bump 2021-01-30 15:04:33 +01:00
Alban Féron
0d55b7cab9
Docs: fix redundant navigation in sidebar 2021-01-24 17:53:59 +01:00
Alban Féron
a94cc0e069
Usage doc 2021-01-24 17:49:18 +01:00
Alban Féron
26a0b7a712
Simplfy the README 2021-01-23 18:33:25 +01:00
Alban Féron
bd370f57ff
Read lyrics from metadata
Closes #212
2021-01-23 17:16:15 +01:00
Alban Féron
05b1a1123f
CRLF -> LF 2021-01-23 15:44:15 +01:00
Alban Féron
4735003bc4
API doc: try to unify table, left align 2021-01-23 15:40:32 +01:00
Alban Féron
11887d07d2
README update to match doc paths 2021-01-17 19:33:31 +01:00
Alban Féron
41f66b5e63
Merge branch 'docs' 2021-01-17 19:29:53 +01:00
Alban Féron
78337265be
Sphinx config, sidebar, etc. 2021-01-17 17:06:44 +01:00
Alban Féron
6d56b56dd5
Some doc touches 2021-01-17 12:29:37 +01:00
Alban Féron
2599f1ae37
Daemon doc 2021-01-16 17:03:42 +01:00
Alban Féron
6bb551a32a
FastCGI/CGI deployment docs 2021-01-16 16:09:53 +01:00
Alban Féron
bba254f339
Import cleanup 2021-01-16 12:27:11 +01:00
vincent
e22620b147 change route call method 2021-01-16 09:44:06 +01:00
vincent
22c3727784 modify route management 2021-01-13 21:10:44 +01:00
Alban Féron
2469698261
Some deployment docs 2021-01-10 18:01:21 +01:00
Alban Féron
33d0739c4e
Moving the configuration doc 2021-01-09 17:10:56 +01:00
Alban Féron
15e5114cd9
Database setup doc 2021-01-09 16:58:00 +01:00
Alban Féron
f92c7110ae
Installation doc 2021-01-09 16:05:49 +01:00
vincent
c52141e5e9 change distinct following #208 2021-01-07 20:20:35 +01:00
Alban Féron
fb41bf2814
Improve manpages 2021-01-03 16:34:29 +01:00
Alban Féron
c8db5b81ab
Simplify API cross references 2021-01-02 17:24:30 +01:00
Alban Féron
1c65fdede6
Docs to reST: api 2020-12-29 18:29:20 +01:00
Alban Féron
2ff1080fd4
Docs as reST: jukebox 2020-12-29 13:03:28 +01:00
Alban Féron
ff75ff1230
Docs as reST: transcoding 2020-12-29 12:54:16 +01:00
Alban Féron
cfc324e346
Rewriting docs as reStructuredText
Starting with the configuration page
The goal being to publish it outside of GitHub
2020-12-29 11:40:45 +01:00
Alban Féron
0b67aeb070
Version bump 2020-12-13 17:10:15 +01:00
Alban Féron
95a275837d
Update API doc about scan 2020-12-13 17:08:39 +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