Commit Graph

35 Commits

Author SHA1 Message Date
Nathan Thomas 54d05e1330
Fix lints in tests (#682)
* Fix lints on tests

* Formatting

* Formatting
2024-05-14 16:27:41 -07:00
Nathan Thomas c646c01789
Fix silence.flag test diff (#681) 2024-05-14 16:02:45 -07:00
Nathan Thomas ad73a01a03
Preserve previous config data after update (#680)
* Add config updating mechanism

* Update tests

* Fix version not updating
2024-05-14 15:45:46 -07:00
Nathan Thomas 22d6a9b137
Implement Disc folders (#679)
* Add disc subdirectories

* Smoother recovery on broken config
2024-05-14 15:18:58 -07:00
Nathan Thomas 527b52cae2
More robust error handling (#678)
* Handle no copyright case for tidal

* Add default values for get calls

* Fix LSP errors

* Misc fixes
2024-05-11 23:17:41 -07:00
Nathan Thomas 1704406cdf Update tests 2024-01-13 22:57:16 -08:00
Nathan Thomas fa65929c97
Implement check for updates feature (#558)
* Implement check for updates

* Fix tests

* Bump version
2024-01-13 22:49:23 -08:00
Nathan Thomas 577d914e93 Add tests for version number matching 2024-01-10 16:56:39 -08:00
Nathan Thomas 7b59e623ff
Make file names shorter in metadata module (#519)
* Rename files in metadata module

* Fix tests
2023-12-27 14:40:51 -08:00
--global 23d2c37486 smaller silence.flac 2023-12-27 01:12:26 +01:00
draco 0ba450dcfe close client session on teardown, fixes error messages 2023-12-27 00:34:07 +01:00
draco 8bb5fc9b23 import TrackInfo, AlbumInfo, add silence.flac
Maybe should change `metadata/__init__.py` instead so the line
`from streamrip.metadata import *` becomes sufficient?
2023-12-27 00:33:26 +01:00
draco 267c48962e fix import, argument order, afor->arun, album ID
The album ID was the ID of the artist, not the album. Fixed now.

The tests in this file now pass.
2023-12-26 23:55:30 +01:00
draco 5d34eda4b9 correct imports, new embed cover path, passes
Qobuz client and fixture had to be imported

The embedded cover is saved somewhere else now. Uses the path from the
object itself to check if it gets downloaded, unsure if this is static
or dynamic.
2023-12-26 23:26:13 +01:00
draco 8424219bfc update test values to match new config, now passes 2023-12-26 22:25:06 +01:00
draco de88ab6459 update config to match new defaults and names 2023-12-26 22:17:32 +01:00
draco 2094e521e2 update test asserts
The asserts for this test had wrong data, updated to use the correct
data. Test now passes.
2023-12-26 21:56:44 +01:00
draco bfac933203 add dummy database as missing arg 2023-12-26 21:35:21 +01:00
draco 399139e6b4 fix import paths/names 2023-12-26 21:20:34 +01:00
Nathan Thomas abb37f17fd Formatting 2023-12-20 22:21:58 -08:00
Nathan Thomas f9b263a718 Improve progress bars, soundcloud working 2023-11-21 16:29:31 -08:00
Nathan Thomas 89f76b7f58 Album downloads working 2023-10-31 12:51:44 -07:00
Nathan Thomas 837e934476 Update 2023-10-29 14:42:10 -07:00
Nathan Thomas 7cbd77edc5 Update 2023-10-22 00:07:17 -07:00
Nathan Thomas 36fd27c83c Update 2023-10-21 19:18:06 -07:00
Nathan Thomas 06335058f3 Restructure and add tests 2023-10-13 11:38:50 -07:00
Nathan Thomas 35c8932ffb Formatting 2021-09-16 18:48:27 -07:00
Nathan Thomas 9f5cd49aab Create custom async downloader for HLS streams 2021-09-11 10:49:27 -07:00
nathom 77917dc6f0 Cleanup imports 2021-07-30 11:39:51 -07:00
nathom 286ff502b5 Only use click for secho, echo, style 2021-07-30 11:24:09 -07:00
nathom 9970ac548f Begin move to cleo 2021-07-30 11:20:36 -07:00
nathom 835c8d4cc6 Misc bug fixes
Signed-off-by: nathom <nathanthomas707@gmail.com>
2021-07-06 15:01:28 -07:00
nathom 3bd9c815f3 Run isort
Signed-off-by: nathom <nathanthomas707@gmail.com>
2021-06-15 23:37:41 -07:00
nathom 81d0686c26 Add tests to main function
Signed-off-by: nathom <nathanthomas707@gmail.com>
2021-06-15 15:53:55 -07:00
nathom 4acd3e8e06 Move tests to directory 2021-05-15 00:03:14 -07:00