Commit graph

830 commits

Author SHA1 Message Date
Louis2530
5bcadd3c6a
Fix deezer dynamic link parsing (#824)
* Fix links issues due tu recent PR

* Add tests for URL parsing

---------

Co-authored-by: Nathan Thomas <nathanthomas707@gmail.com>
2025-03-12 14:55:37 -07:00
Louis2530
db52d493b8
Fix new Deezer URL (#820) 2025-03-12 09:51:22 -07:00
Nathan Thomas
7a3758ce78 Bump version 2025-03-10 09:42:16 -07:00
Nathan Thomas
612c5cc183 Update lockfile 2025-03-10 09:21:55 -07:00
Nathan Thomas
1bf4e682f3 Prefer explicit tracks when downloading discography 2025-03-10 09:18:16 -07:00
Nathan Thomas
d0dfab82ab Fix format and lint checks 2025-03-10 08:46:44 -07:00
Kyrre Gjerstad
7697ae7b6e
Fix: Prevent individual track failures from aborting entire playlist/album downloads (#814)
* add tests (failing)

* Improve error handling and logging in media download processes

- Add exception handling and logging for track and media item downloads
- Capture and log errors during album, playlist, and media ripping
- Provide summary of failed items when download process completes
2025-03-10 08:44:26 -07:00
Kyrre Gjerstad
dc7ca02529
Add SSL Verification Options and Improved Certificate Handling (#817)
* Add SSL verification configuration option

- Add `verify_ssl` parameter to DownloadsConfig to control SSL certificate verification
- Update client methods to use the new SSL verification setting
- Add CLI option `--no-ssl-verify` to disable SSL verification
- Implement SSL verification support across various clients and network requests
- Add test suite to validate SSL verification configuration

* Enhance SSL certificate handling with certifi support

- Add new `ssl_utils.py` module for SSL certificate management
- Implement optional certifi package support for improved certificate verification
- Add utility functions for creating SSL contexts and handling connector kwargs
- Update various clients to use new SSL utility functions
- Add helpful error messaging for SSL certificate verification issues
- Include optional certifi dependency in pyproject.toml

* Enhance SSL verification tests and configuration support

- Add comprehensive test suite for SSL verification utilities
- Implement tests for SSL context creation and configuration
- Update test configuration to include verify_ssl option
- Add test coverage for SSL verification across different clients and methods
- Improve error handling and testing for SSL-related configurations

* run ruff format

* Fix ruff checks

---------

Co-authored-by: Nathan Thomas <nathanthomas707@gmail.com>
2025-03-10 08:41:06 -07:00
Louis2530
fe169fe2e6
Fix aiodns issue on Windows (#816) 2025-03-09 12:26:39 -07:00
Red6785
45252651ec
Add Homebrew package to README.md (#786) 2025-01-05 10:37:48 -08:00
cloud74pebble
37be6e8ef9
Update album.py (#732)
Correct handling of subfolders in config variable "folder_format"

e.g.:
[filepaths]
folder_format = "{albumartist}/{title} ({year})"

old method didn't allow creating subfolders by stripping "\" or "/"
2024-12-21 12:50:15 -08:00
wen wang
3a3f649815
only use secrets with 200 and 401 status code (#781) 2024-12-07 09:30:28 -08:00
wen wang
e44ded42ff
fix X not in list (#779) 2024-12-07 09:28:55 -08:00
Nathan Thomas
889ab7fb15
Update README.md 2024-12-06 22:53:00 -08:00
dependabot[bot]
30df9a80b5
Bump urllib3 from 2.1.0 to 2.2.2 (#703)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.1.0 to 2.2.2.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.1.0...2.2.2)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-06 22:50:56 -08:00
Colton
b0a7904834
added album version data to album search selection (#737) 2024-12-06 22:42:50 -08:00
Mathieu Broillet
4c9baf9bb0
Added support for Tidal lyrics and fixed parsing error when preferred quality too high (#736)
* fixed json error when preferred quality not found for track

* added tidal lyrics support

* improve mp3 lyrics support

* handle error when there are no lyrics (404)

* change error to warning
2024-12-06 22:41:47 -08:00
Adam Martinez
1aad9f0f65
Fix status 401 not catching secrets (#766)
* fix status 401 not catching secrets

* remove unnecessary method

---------

Co-authored-by: adamarous <amarous@alumni.uv.es>
2024-12-06 22:39:47 -08:00
punowo
46b570dbb6
fix #744 (#745) 2024-10-04 12:51:38 -07:00
samuelmarinsoto
e2e524ee7d
wrap headers in str() to fix mismatched type error on download (#720) 2024-09-01 10:37:01 -07:00
Ion Babin
4c98dbd44e
Fix path too long (#713) 2024-07-07 13:36:16 -07:00
Roman
006605ccb3
Skipping tracks on any NonStreamableError when getting downloadable info (#645) (#707) 2024-07-07 08:09:49 -07:00
Craig
5c6e452679
Fix for [BUG] max() iterable argument is empty #677 (#683)
* seems to work - halt progress if this info is missing

* Minor fixes

---------

Co-authored-by: Nathan Thomas <nathanthomas707@gmail.com>
2024-06-10 20:36:10 -07:00
dependabot[bot]
f855572ebf
--- (#686)
updated-dependencies:
- dependency-name: requests
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-23 12:53:04 -07:00
Roman
cc9bbddfff
Fixed issues with description in the README (#688) 2024-05-23 12:47:03 -07:00
Nathan Thomas
45bf6f6b65
Update pytest.yml 2024-05-14 16:41:21 -07:00
Nathan Thomas
3e99dad408
Create pytest.yml 2024-05-14 16:37:12 -07:00
Nathan Thomas
54d05e1330
Fix lints in tests (#682)
* Fix lints on tests

* Formatting

* Formatting
2024-05-14 16:27:41 -07:00
Nathan Thomas
178168cc68
Create ruff.yml 2024-05-14 16:10:52 -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
dependabot[bot]
868a8fff99
Bump black from 22.12.0 to 24.3.0 (#653)
Bumps [black](https://github.com/psf/black) from 22.12.0 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.12.0...24.3.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 10:37:52 -07:00
dependabot[bot]
079cef0c2a
Bump pillow from 10.2.0 to 10.3.0 (#659)
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.2.0 to 10.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/10.2.0...10.3.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 10:37:42 -07:00
dependabot[bot]
a677ccb018
Bump idna from 3.6 to 3.7 (#664)
Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.6...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 10:37:32 -07:00
dependabot[bot]
61397d616d
Bump aiohttp from 3.9.2 to 3.9.4 (#669)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.9.2 to 3.9.4.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.2...v3.9.4)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 10:37:21 -07:00
Tanner Hoisington
6940eae650
Update README.md (#666) 2024-05-01 10:07:36 -07:00
yodatak
ab08e54e37
Fix rip config open command (#671)
The rip config --open don't work so lets fix it ;)
2024-05-01 10:06:42 -07:00
Nathan Thomas
8757956636
Manually yield for better performance (#648) 2024-03-21 20:44:55 -07:00
RealStickman
affdaa8fab
Add details about AUR package (#634) 2024-02-29 12:20:33 -08:00
dependabot[bot]
3443331501
Bump aiohttp from 3.9.1 to 3.9.2 (#609)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.9.1 to 3.9.2.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.1...v3.9.2)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-07 13:23:22 -08:00
disconnect78
4353c84837
Fix lossless conversion bit depth issues (#616) 2024-02-07 13:22:39 -08:00
Nathan Thomas
b01382f267
Handle 404 error for tidal (#623) 2024-02-07 13:22:14 -08:00
disconnect78
9d6a2be49e
Fix -vvv option instructions in bug report template (#617) 2024-02-07 13:02:15 -08:00
Nathan Thomas
39aada312c
Fix last byte missing error with deezer (#608) 2024-01-29 13:16:44 -08:00
Nathan Thomas
87d59648cf
Fix tempfile issue on windows (#596)
* Fix tempfile issue on windows

* Cleanup

* Rename var
2024-01-24 16:05:46 -08:00
Nathan Thomas
24d23ad230
Handle NonStreamableError for metadata parsing (#595) 2024-01-24 14:00:18 -08:00
Nathan Thomas
1c2bd2545c Merge branch 'dev' of https://github.com/nathom/streamrip into dev 2024-01-24 12:58:04 -08:00
Nathan Thomas
bd3bff1f0d Bump version 2024-01-24 12:21:18 -08:00