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

703 Commits

Author SHA1 Message Date
Alban Féron
09802aedaf
CI tweaks 2021-12-04 15:51:54 +01:00
Louis-Philippe Véronneau
a02ece78ef
Fix wrong package name for apt install commands.
Since Debian 11 (Bullseye), python2 has been deprecated and all python
packages should now use python3-foo versions.
2021-12-03 13:53:45 -05:00
Alban Féron
799bfa3dde
Code style 2021-11-28 17:15:05 +01:00
Alban Féron
c3f911b3f4
Display version and proper URL on web UI 2021-11-28 15:13:33 +01:00
Alban Féron
98ff73738d
Drop Python 3.5 2021-11-28 14:50:02 +01:00
Alban Féron
632b1bc835
Fixed tests
Come to think of it, I wonder how they could ever work
2021-11-28 12:48:43 +01:00
Alban Féron
e8f4b2fbc2
Fix typo in setup file 2021-11-21 20:58:42 +01:00
Alban Féron
ddb7c6966c
Version bump 2021-11-21 17:54:08 +01:00
Alban Féron
56fe87af97
Supysonic is going to PyPI, update the docs accordingly 2021-11-21 17:51:44 +01:00
Alban Féron
3b0023e1ac
Test tweaks 2021-11-21 12:20:48 +01:00
Alban Féron
8f5a9a3b73
Properly close connections when killing the daemon 2021-11-21 11:43:28 +01:00
Alban Féron
b4e737c243
Use test discovery rather than explicit suites 2021-11-20 21:01:00 +01:00
Alban Féron
8ab9f444b7
Rationalizing/modernizing building stuff
Metadata in `setup.cfg` rather than `pyproject.toml` as I'm a bit confused
about `setuptools` support for PEP-621.
Test stuff still in `setup.py`, this needs updating and I'm not satisfied with
the way they are loaded/discovered.
2021-11-14 18:08:22 +01:00
Alban Féron
64475a8dfa
Small update on WSGI containers doc 2021-11-12 12:22:16 +01:00
Alban Féron
a88e261a8d
Remove old stuff 2021-11-12 11:31:03 +01:00
Alban Féron
f4bfc735e8
Rewriting the CLI using click rather than cmd+argparse 2021-11-12 10:28:14 +01:00
Alban Féron
8e33b374fe
Fix test workflow for Python 3.10 2021-11-06 18:04:30 +01:00
Alban Féron
ac690592d6
Also test on Python 3.10 2021-11-06 17:54:28 +01:00
Alban Féron
a033d45605
Adding doc for the newly added supysonic-server 2021-11-06 17:52:49 +01:00
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