vincent
479d4ec654
correct exeption and double daeomon use
2020-11-28 12:20:20 +01:00
vincent
6c89accc86
scan Api implementation
2020-11-28 12:13:23 +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
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
Alban Féron
ee2efec59a
Jukebox status: report (simulated) position
2019-09-07 18:04:23 +02:00
Alban Féron
9de96bb530
Fix for python 2.7
2019-09-07 17:01:04 +02:00
Alban Féron
4e69cd0551
Fixed jukebox endpoint response not being in sync when skipping
2019-09-01 17:23:50 +02:00
Alban Féron
0d40ede256
Jukebox endpoint + some fixes
2019-09-01 17:07:35 +02:00
Alban Féron
75b89e5f45
Basic (untested) jukebox interface based on an external command
2019-09-01 14:59:19 +02:00
Louis-Philippe Véronneau
7095b67598
remove support for IE8
2019-08-25 14:38:11 -04:00
Alban Féron
ff0a9475d4
Catch validation errors when creating/updating tracks
...
Closes #162
2019-08-25 15:05:23 +02:00
Alban Féron
9dd7d8a58b
Properly recompose/split command line
...
Fixes #161
2019-08-24 17:40:48 +02:00
Alban Féron
3e845f2f81
Version bump
2019-08-17 15:02:17 +02:00
Alban Féron
cf3e03a1e7
Don't use DirEntry
2019-07-13 16:02:47 +02:00
Alban Féron
e0cd49d67b
Don't open files twice when scanning
2019-07-07 19:55:06 +02:00
Alban Féron
f3a12c78b4
Added setting to follow symlinks
...
#48 , #146
2019-07-06 17:14:55 +02:00
Alban Féron
0bb61b6c7d
scandir for covers too
2019-06-30 17:32:26 +02:00
Alban Féron
007a6e139b
Scanner uses scandir
2019-06-30 17:08:35 +02:00
Alban Féron
7c8a75d45c
Runnig black on everything
2019-06-29 17:25:44 +02:00
Alban Féron
7966f767ca
Version bump
2019-06-16 16:39:00 +02:00
spl0k
1ce2f6fe70
Changed the way the CLI is installed
2019-06-16 16:02:50 +02:00
spl0k
82b5ca3cae
Merge branch 'daemon-rework'
2019-06-16 15:49:15 +02:00
spl0k
e29ab91a97
Renamed supysonic-watcher
to supysonic-daemon
...
Since it no longer only watches files
Also changed the way it's installed
2019-06-10 16:16:24 +02:00
spl0k
8d9b2658d2
Try to terminate the daemon more gracefully
2019-06-08 17:32:32 +02:00
spl0k
70f18b981a
Fixed last SQLite migration
...
Closes #151
2019-06-08 12:59:57 +02:00
spl0k
e6a192483c
Merge branch 'master' into daemon-rework
2019-06-01 16:21:13 +02:00
spl0k
09138897b9
Fixed scanner for deleted folders
2019-06-01 15:57:45 +02:00
spl0k
e5716b417a
Fixed watcher errors when moving/deleting folders containing a cover
2019-06-01 14:53:06 +02:00
spl0k
ebea356901
Fix for werkzeug 0.15
2019-05-18 16:43:32 +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
deaf17a005
Fixes #148 (and other possible related issues)
2019-05-11 16:09:46 +02:00
spl0k
58b7888ba9
Thighter DB session scoping in scanner
...
Should prevent 'database is locked' issues
Also helps reducing memory usage (#144 )
2019-05-10 17:58:01 +02:00
spl0k
e354f99d69
Moving where some callbacks are used
2019-05-10 11:39:43 +02:00
spl0k
7bd4c54e98
The scanner is now a stoppable thread
2019-04-27 17:28:32 +02:00
spl0k
e210f25bb3
Web UI now scans in background
2019-04-22 17:59:49 +02:00
spl0k
7bbbdac41c
Queue scans rather than rejecting them
2019-04-22 16:42:38 +02:00
spl0k
d2ff37428f
Temporarily disable watcher when scanning
2019-04-22 15:44:30 +02:00
spl0k
7f8369cac4
Splitting daemon stuff
2019-04-22 15:43:29 +02:00
spl0k
9850cae241
CLI can now scan in background
...
Some issues:
- can't queue scans, not really user-friendly
- scanning seems to touch files which are in turn picked by the watcher
2019-04-20 17:10:55 +02:00
spl0k
75540bb376
Daemon can now scan on its own
...
Scanning threads cannot be stopped
2019-04-20 17:03:19 +02:00
spl0k
22a207c79f
Nicify commands sent to the daemon
2019-04-20 11:51:34 +02:00
spl0k
3924ada03e
Added a config variable to define if the watcher should be started
2019-04-13 17:14:03 +02:00
spl0k
c7f1499d46
Make Python2 happy
2019-04-13 16:02:32 +02:00
spl0k
57aea188c2
Fixed potential error/freeze when getting a secret key
2019-04-10 21:21:25 +02:00
spl0k
afbd84a5b9
Changed how the DaemonClient get its address + better exception
...
I'm still not satisfied but can't come up with a good solution
2019-04-10 21:15:18 +02:00
spl0k
751f00dac8
Daemon now listen for remot commands, adding/removing watched folders on the fly
...
#77 part 5
2019-04-08 19:16:41 +02:00
spl0k
970ee6ee3c
Merge branch 'master' into daemon-rework
2019-04-07 16:44:17 +02:00
spl0k
c938f225e9
Store cookie key in db rather than cache
2019-04-07 16:35:26 +02:00
spl0k
92fed40f87
Use mtime as folder/track creation date
...
Closes #145
2019-04-07 15:25:13 +02:00