nathom / streamrip

A scriptable music downloader for Qobuz, Tidal, SoundCloud, and Deezer
GNU General Public License v3.0
2.59k stars 223 forks source link

[BUG] <title>Foldername is for some reason truncated to 115 characters causing crash #340

Closed Wim1975 closed 2 years ago

Wim1975 commented 2 years ago

Describe the bug

Foldername is for some reason truncated to 115 characters ?

(This is not needed as this is not a length limitation for windows + I enabled Windows to use long pathnames in registry so up to 32000 characters should work)

Most important settings in the config file : folder = "Q:\" folder_format = "{albumartist}\{title} - [{year}] - {bit_depth}-{sampling_rate} - #{id}"

This should create the folder Q:\ACDC\If You Want Blood You've Got It (Live at the Apollo Theatre, Glasgow, Scotland - April 1978) - [1978] - 24-96 - #08864448902050\

But instead the truncated folder Q:\ACDC\If You Want Blood You've Got It (Live at the Apollo Theatre, Glasgow, Scotland - April 1978) - [1978] - 24-96 - #0\

was created, and then the app tries to save the cover : Q:\ACDC\If You Want Blood You've Got It (Live at the Apollo Theatre, Glasgow, Scotland - April 1978) - [1978] - 24-96 - #0...\cover.jpg

Which doesn't succeed.

Command Used

rip url https://open.qobuz.com/album/0886444890205

Debug Traceback

D:\>rip url https://open.qobuz.com/album/0886444890205 -vvv
DEBUG:streamrip:Config loaded
DEBUG:streamrip:Parsed urls: [('qobuz', 'album', '0886444890205')]
DEBUG:streamrip:Searching for {'id': '0886444890205'} in database
DEBUG:streamrip:Executing SELECT EXISTS(SELECT 1 FROM downloads WHERE id=?)
Logging into qobuz
DEBUG:streamrip:Raw request signature: xxx
DEBUG:streamrip:Hashed request signature: xxx
DEBUG:streamrip:Raw request signature: xxx
DEBUG:streamrip:Hashed request signature: xxx
...
removed cause exceeding 65000 character limit of box
...
INFO:streamrip:Logged in to Qobuz
DEBUG:streamrip:Logged into Qobuz
DEBUG:streamrip:Qobuz client is ready to use
DEBUG:streamrip:{'downloads': {'folder': 'Q:\\', 'source_subdirectories': False, 'concurrency': {'enabled': True, 'max_connections': 3}}, 'qobuz': {'quality': 4, 'download_booklets': True, 'email': 'xxx', 'password': 'xxx', 'app_id': 'xxx', 'secrets': ['xxx']}, 'tidal': {'quality': 3, 'download_videos': True, 'user_id': xxx, 'country_code': 'BE', 'access_token': xxx, 'refresh_token': xxx, 'token_expiry': 1639615182.3192697}, 'deezer': {'quality': 2, 'arl': '', 'use_deezloader': True, 'deezloader_warnings': True}, 'soundcloud': {'quality': 0, 'client_id': '', 'app_version': ''}, 'youtube': {'quality': 0, 'download_videos': False, 'video_downloads_folder': ''}, 'database': {'downloads': {'enabled': True, 'path': 'C:\\Users\\xxx\\AppData\\Local\\streamrip\\streamrip\\downloads.db'}, 'failed_downloads': {'enabled': True, 'path': 'C:\\Users\\xxx\\AppData\\Local\\streamrip\\streamrip\\failed_downloads.db'}}, 'conversion': {'enabled': False, 'codec': 'ALAC', 'sampling_rate': 48000, 'bit_depth': 24, 'lossy_bitrate': 320}, 'filters': {'extras': False, 'repeats': False, 'non_albums': False, 'features': True, 'non_studio_albums': False, 'non_remaster': False}, 'artwork': {'embed': True, 'size': 'large', 'max_width': -1, 'max_height': -1, 'keep_hires_cover': True}, 'metadata': {'set_playlist_to_album': False, 'new_playlist_tracknumbers': True, 'exclude': []}, 'filepaths': {'add_singles_to_folder': False, 'folder_format': '{albumartist}\\{title} - [{year}] - {bit_depth}-{sampling_rate} - #{id}', 'track_format': '{tracknumber}. {artist} - {title}', 'restrict_characters': False}, 'lastfm': {'source': 'qobuz', 'fallback_source': 'deezer'}, 'theme': {'progress_bar': 'dainty'}, 'misc': {'version': '1.9.2'}}
DEBUG:streamrip:Arguments from config: {'restrict_filenames': False, 'parent_folder': 'Q:\\', 'folder_format': '{albumartist}\\{title} - [{year}] - {bit_depth}-{sampling_rate} - #{id}', 'track_format': '{tracknumber}. {artist} - {title}', 'embed_cover': True, 'embed_cover_size': 'large', 'keep_hires_cover': True, 'set_playlist_to_album': False, 'stay_temp': False, 'conversion': {'enabled': False, 'codec': 'ALAC', 'sampling_rate': 48000, 'bit_depth': 24, 'lossy_bitrate': 320}, 'concurrent_downloads': True, 'max_connections': 3, 'new_tracknumbers': True, 'download_videos': True, 'download_booklets': True, 'download_youtube_videos': False, 'youtube_video_downloads_folder': '', 'add_singles_to_folder': False, 'max_artwork_width': -1, 'max_artwork_height': -1, 'exclude_tags': []}
DEBUG:streamrip:Loading metadata
DEBUG:streamrip:request params: {'app_id': '950096963', 'album_id': '0886444890205', 'limit': 500, 'offset': 0}
DEBUG:streamrip:{"maximum_bit_depth":24,"image":{"small":"https:\/\/static.qobuz.com\/images\/covers\/05\/02\/0886444890205_230.jpg","thumbnail":"https:\/\/static.qobuz.com\/images\/covers\/05\/02\/0886444890205_50.jpg","large":"https:\/\/static.qobuz.com\/images\/covers\/05\/02\/0886444890205_600.jpg","back":null},"media_count":1,"artist":{"image":null,"name":"AC\/DC","id":161143,"albums_count":290,"slug":"ac-dc","picture":null},"artists":[{"id":161143,"name":"AC\/DC","roles":["main-artist"]}],"upc":"0886444890205","released_at":277081200,"label":{"name":"Columbia","id":4592,"albums_count":24453,"supplier_id":23,"slug":"columbia"},"title":"If You Want Blood You've Got It ","qobuz_id":19906210,"version":"Live at the Apollo Theatre, Glasgow, Scotland - April 1978","url":"https:\/\/www.qobuz.com\/fr-fr\/album\/if-you-want-blood-youve-got-it-ac-dc\/0886444890205","duration":3170,"parental_warning":false,"popularity":0,"tracks_count":10,"genre":{"path":[116],"color":"#5eabc1","name":"Metal","id":116,"slug":"metal"},"maximum_channel_count":2,"id":"0886444890205","maximum_sampling_rate":96,"articles":[],"release_date_original":"1978-10-13","release_date_download":"1978-10-13","release_date_stream":"1978-10-13","purchasable":true,"streamable":true,"previewable":true,"sampleable":true,"downloadable":true,"displayable":true,"purchasable_at":1647903600,"streamable_at":1647903600,"hires":true,"hires_streamable":true,"awards":[],"goodies":[],"area":null,"catchline":"","composer":{"id":573076,"name":"Various Composers","slug":"various-composers","albums_count":583621,"picture":null,"image":null},"created_at":1412379644,"genres_list":["Pop\/Rock","Pop\/Rock\u2192Rock","Pop\/Rock\u2192Rock\u2192Metal"],"period":null,"copyright":"(P) 1978 Leidseplein Presse B.V. for U.S. and Australian Music Corporation Pty Ltd. for rest of world","is_official":true,"maximum_technical_specifications":"24 bits \/ 96.0 kHz - Stereo","product_sales_factors_monthly":0,"product_sales_factors_weekly":0,"product_sales_factors_yearly":20.4,"product_type":"album","product_url":"\/fr-fr\/album\/if-you-want-blood-youve-got-it-ac-dc\/0886444890205","recording_information":"","relative_url":"\/album\/if-you-want-blood-youve-got-it-ac-dc\/0886444890205","release_tags":["live"],"release_type":"album","slug":"if-you-want-blood-youve-got-it-ac-dc","subtitle":"AC\/DC","tracks":{"offset":0,"limit":500,"total":10,"items":[{"maximum_bit_depth":24,"copyright":"(P) 1978 J. Albert & Son Pty Ltd","performers":"AC\/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass","audio_info":{"replaygain_track_peak":0.944458,"replaygain_track_gain":-9.98},"performer":{"name":"AC\/DC","id":161143},"work":null,"composer":{"name":"Bon Scott","id":85271},"isrc":"AUAP07800050","title":"Riff Raff ","version":"Live at the Apollo Theatre, Glasgow, Scotland - April 1978","duration":359,"parental_warning":false,"track_number":1,"maximum_channel_count":2,"id":19906211,"media_number":1,"maximum_sampling_rate":96,"release_date_original":null,"release_date_download":null,"release_date_stream":null,"purchasable":true,"streamable":true,"previewable":true,"sampleable":true,"downloadable":true,"displayable":true,"purchasable_at":1647903600,"streamable_at":1647903600,"hires":true,"hires_streamable":true},{"maximum_bit_depth":24,"copyright":"(P) 1978 J. Albert & Son Pty Ltd","performers":"AC\/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass","audio_info":{"replaygain_track_peak":0.944794,"replaygain_track_gain":-10.73},"performer":{"name":"AC\/DC","id":161143},"work":null,"composer":{"name":"Bon Scott","id":85271},"isrc":"AUAP07800051","title":"Hell Ain't a Bad Place to Be ","version":"Live at the Apollo Theatre, Glasgow, Scotland - April 1978","duration":251,"parental_warning":false,"track_number":2,"maximum_channel_count":2,"id":19906212,"media_number":1,"maximum_sampling_rate":96,"release_date_original":null,"release_date_download":null,"release_date_stream":null,"purchasable":true,"streamable":true,"previewable":true,"sampleable":true,"downloadable":true,"displayable":true,"purchasable_at":1647903600,"streamable_at":1647903600,"hires":true,"hires_streamable":true},{"maximum_bit_depth":24,"copyright":"(P) 1978 J. Albert & Son Pty Ltd","performers":"AC\/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass","audio_info":{"replaygain_track_peak":0.941162,"replaygain_track_gain":-9.72},"performer":{"name":"AC\/DC","id":161143},"work":null,"composer":{"name":"Bon Scott","id":85271},"isrc":"AUAP07800052","title":"Bad Boy Boogie ","version":"Live at the Apollo Theatre, Glasgow, Scotland - April 1978","duration":450,"parental_warning":false,"track_number":3,"maximum_channel_count":2,"id":19906214,"media_number":1,"maximum_sampling_rate":96,"release_date_original":null,"release_date_download":null,"release_date_stream":null,"purchasable":true,"streamable":true,"previewable":true,"sampleable":true,"downloadable":true,"displayable":true,"purchasable_at":1647903600,"streamable_at":1647903600,"hires":true,"hires_streamable":true},{"maximum_bit_depth":24,"copyright":"(P) 1978 J. Albert & Son Pty Ltd","performers":"AC\/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass","audio_info":{"replaygain_track_peak":0.950592,"replaygain_track_gain":-9.11},"performer":{"name":"AC\/DC","id":161143},"work":null,"composer":{"name":"Bon Scott","id":85271},"isrc":"AUAP07800053","title":"The Jack ","version":"Live at the Apollo Theatre, Glasgow, Scotland - April 1978","duration":349,"parental_warning":false,"track_number":4,"maximum_channel_count":2,"id":19906216,"media_number":1,"maximum_sampling_rate":96,"release_date_original":null,"release_date_download":null,"release_date_stream":null,"purchasable":true,"streamable":true,"previewable":true,"sampleable":true,"downloadable":true,"displayable":true,"purchasable_at":1647903600,"streamable_at":1647903600,"hires":true,"hires_streamable":true},{"maximum_bit_depth":24,"copyright":"(P) 1978 J. Albert & Son Pty Ltd","performers":"AC\/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass","audio_info":{"replaygain_track_peak":0.952179,"replaygain_track_gain":-10.86},"performer":{"name":"AC\/DC","id":161143},"work":null,"composer":{"name":"Bon Scott","id":85271},"isrc":"AUAP07800054","title":"Problem Child ","version":"Live at the Apollo Theatre, Glasgow, Scotland - April 1978","duration":281,"parental_warning":false,"track_number":5,"maximum_channel_count":2,"id":19906218,"media_number":1,"maximum_sampling_rate":96,"release_date_original":null,"release_date_download":null,"release_date_stream":null,"purchasable":true,"streamable":true,"previewable":true,"sampleable":true,"downloadable":true,"displayable":true,"purchasable_at":1647903600,"streamable_at":1647903600,"hires":true,"hires_streamable":true},{"maximum_bit_depth":24,"copyright":"(P) 1978 J. Albert & Son Pty Ltd","performers":"AC\/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass","audio_info":{"replaygain_track_peak":0.924652,"replaygain_track_gain":-10.32},"performer":{"name":"AC\/DC","id":161143},"work":null,"composer":{"name":"Bon Scott","id":85271},"isrc":"AUAP07800038","title":"Whole Lotta Rosie ","version":"Live at the Apollo Theatre, Glasgow, Scotland - April 1978","duration":245,"parental_warning":false,"track_number":6,"maximum_channel_count":2,"id":19906220,"media_number":1,"maximum_sampling_rate":96,"release_date_original":null,"release_date_download":null,"release_date_stream":null,"purchasable":true,"streamable":true,"previewable":true,"sampleable":true,"downloadable":true,"displayable":true,"purchasable_at":1647903600,"streamable_at":1647903600,"hires":true,"hires_streamable":true},{"maximum_bit_depth":24,"copyright":"(P) 1978 J. Albert & Son Pty Ltd","performers":"AC\/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass","audio_info":{"replaygain_track_peak":0.950104,"replaygain_track_gain":-10.72},"performer":{"name":"AC\/DC","id":161143},"work":null,"composer":{"name":"Bon Scott","id":85271},"isrc":"AUAP07800055","title":"Rock 'N' Roll Damnation ","version":"Live at the Apollo Theatre, Glasgow, Scotland - April 1978","duration":221,"parental_warning":false,"track_number":7,"maximum_channel_count":2,"id":19906223,"media_number":1,"maximum_sampling_rate":96,"release_date_original":null,"release_date_download":null,"release_date_stream":null,"purchasable":true,"streamable":true,"previewable":true,"sampleable":true,"downloadable":true,"displayable":true,"purchasable_at":1647903600,"streamable_at":1647903600,"hires":true,"hires_streamable":true},{"maximum_bit_depth":24,"copyright":"(P) 1978 J. Albert & Son Pty Ltd","performers":"AC\/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass","audio_info":{"replaygain_track_peak":0.930298,"replaygain_track_gain":-9.35},"performer":{"name":"AC\/DC","id":161143},"work":null,"composer":{"name":"Bon Scott","id":85271},"isrc":"AUAP07800056","title":"High Voltage ","version":"Live at the Apollo Theatre, Glasgow, Scotland - April 1978","duration":305,"parental_warning":false,"track_number":8,"maximum_channel_count":2,"id":19906225,"media_number":1,"maximum_sampling_rate":96,"release_date_original":null,"release_date_download":null,"release_date_stream":null,"purchasable":true,"streamable":true,"previewable":true,"sampleable":true,"downloadable":true,"displayable":true,"purchasable_at":1647903600,"streamable_at":1647903600,"hires":true,"hires_streamable":true},{"maximum_bit_depth":24,"copyright":"(P) 1978 J. Albert & Son Pty Ltd","performers":"AC\/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass","audio_info":{"replaygain_track_peak":0.99295,"replaygain_track_gain":-9.93},"performer":{"name":"AC\/DC","id":161143},"work":null,"composer":{"name":"Bon Scott","id":85271},"isrc":"AUAP07800057","title":"Let There Be Rock ","version":"Live at the Apollo Theatre, Glasgow, Scotland - April 1978","duration":514,"parental_warning":false,"track_number":9,"maximum_channel_count":2,"id":19906227,"media_number":1,"maximum_sampling_rate":96,"release_date_original":null,"release_date_download":null,"release_date_stream":null,"purchasable":true,"streamable":true,"previewable":true,"sampleable":true,"downloadable":true,"displayable":true,"purchasable_at":1647903600,"streamable_at":1647903600,"hires":true,"hires_streamable":true},{"maximum_bit_depth":24,"copyright":"(P) 1978 J. Albert & Son Pty Ltd","performers":"AC\/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass","audio_info":{"replaygain_track_peak":0.948181,"replaygain_track_gain":-10.94},"performer":{"name":"AC\/DC","id":161143},"work":null,"composer":{"name":"Bon Scott","id":85271},"isrc":"AUAP07800058","title":"Rocker ","version":"Live at the Apollo Theatre, Glasgow, Scotland - April 1978","duration":195,"parental_warning":false,"track_number":10,"maximum_channel_count":2,"id":19906229,"media_number":1,"maximum_sampling_rate":96,"release_date_original":null,"release_date_download":null,"release_date_stream":null,"purchasable":true,"streamable":true,"previewable":true,"sampleable":true,"downloadable":true,"displayable":true,"purchasable_at":1647903600,"streamable_at":1647903600,"hires":true,"hires_streamable":true}]},"description":""}
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
    stream.write(msg + self.terminator)
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\encodings\cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u2192' in position 1758: character maps to <undefined>
Call stack:
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\Scripts\rip.exe\__main__.py", line 7, in <module>
    sys.exit(main())
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\rip\cli.py", line 830, in main
    application.run()
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\cleo\application.py", line 330, in run
    exit_code = self._run(io)
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\rip\cli.py", line 760, in _run
    super()._run(io)
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\cleo\application.py", line 425, in _run
    exit_code = self._run_command(command, io)
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\cleo\application.py", line 432, in _run_command
    return command.run(io)
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\cleo\commands\base_command.py", line 118, in run
    status_code = self.execute(io)
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\cleo\commands\command.py", line 85, in execute
    return self.handle()
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\rip\cli.py", line 124, in handle
    core.download()
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\rip\core.py", line 306, in download
    item.load_meta(**arguments)
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\streamrip\media.py", line 1470, in load_meta
    resp = self.client.get(self.id, media_type="album")
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\streamrip\clients.py", line 201, in get
    logger.debug(resp)
Message: {'maximum_bit_depth': 24, 'image': {'small': 'https://static.qobuz.com/images/covers/05/02/0886444890205_230.jpg', 'thumbnail': 'https://static.qobuz.com/images/covers/05/02/0886444890205_50.jpg', 'large': 'https://static.qobuz.com/images/covers/05/02/0886444890205_600.jpg', 'back': None}, 'media_count': 1, 'artist': {'image': None, 'name': 'AC/DC', 'id': 161143, 'albums_count': 290, 'slug': 'ac-dc', 'picture': None}, 'artists': [{'id': 161143, 'name': 'AC/DC', 'roles': ['main-artist']}], 'upc': '0886444890205', 'released_at': 277081200, 'label': {'name': 'Columbia', 'id': 4592, 'albums_count': 24453, 'supplier_id': 23, 'slug': 'columbia'}, 'title': "If You Want Blood You've Got It ", 'qobuz_id': 19906210, 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'url': 'https://www.qobuz.com/fr-fr/album/if-you-want-blood-youve-got-it-ac-dc/0886444890205', 'duration': 3170, 'parental_warning': False, 'popularity': 0, 'tracks_count': 10, 'genre': {'path': [116], 'color': '#5eabc1', 'name': 'Metal', 'id': 116, 'slug': 'metal'}, 'maximum_channel_count': 2, 'id': '0886444890205', 'maximum_sampling_rate': 96, 'articles': [], 'release_date_original': '1978-10-13', 'release_date_download': '1978-10-13', 'release_date_stream': '1978-10-13', 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True, 'awards': [], 'goodies': [], 'area': None, 'catchline': '', 'composer': {'id': 573076, 'name': 'Various Composers', 'slug': 'various-composers', 'albums_count': 583621, 'picture': None, 'image': None}, 'created_at': 1412379644, 'genres_list': ['Pop/Rock', 'Pop/Rock→Rock', 'Pop/Rock→Rock→Metal'], 'period': None, 'copyright': '(P) 1978 Leidseplein Presse B.V. for U.S. and Australian Music Corporation Pty Ltd. for rest of world', 'is_official': True, 'maximum_technical_specifications': '24 bits / 96.0 kHz - Stereo', 'product_sales_factors_monthly': 0, 'product_sales_factors_weekly': 0, 'product_sales_factors_yearly': 20.4, 'product_type': 'album', 'product_url': '/fr-fr/album/if-you-want-blood-youve-got-it-ac-dc/0886444890205', 'recording_information': '', 'relative_url': '/album/if-you-want-blood-youve-got-it-ac-dc/0886444890205', 'release_tags': ['live'], 'release_type': 'album', 'slug': 'if-you-want-blood-youve-got-it-ac-dc', 'subtitle': 'AC/DC', 'tracks': {'offset': 0, 'limit': 500, 'total': 10, 'items': [{'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.944458, 'replaygain_track_gain': -9.98}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800050', 'title': 'Riff Raff ', 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 359, 'parental_warning': False, 'track_number': 1, 'maximum_channel_count': 2, 'id': 19906211, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}, {'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.944794, 'replaygain_track_gain': -10.73}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800051', 'title': "Hell Ain't a Bad Place to Be ", 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 251, 'parental_warning': False, 'track_number': 2, 'maximum_channel_count': 2, 'id': 19906212, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}, {'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.941162, 'replaygain_track_gain': -9.72}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800052', 'title': 'Bad Boy Boogie ', 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 450, 'parental_warning': False, 'track_number': 3, 'maximum_channel_count': 2, 'id': 19906214, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}, {'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.950592, 'replaygain_track_gain': -9.11}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800053', 'title': 'The Jack ', 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 349, 'parental_warning': False, 'track_number': 4, 'maximum_channel_count': 2, 'id': 19906216, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}, {'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.952179, 'replaygain_track_gain': -10.86}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800054', 'title': 'Problem Child ', 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 281, 'parental_warning': False, 'track_number': 5, 'maximum_channel_count': 2, 'id': 19906218, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}, {'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.924652, 'replaygain_track_gain': -10.32}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800038', 'title': 'Whole Lotta Rosie ', 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 245, 'parental_warning': False, 'track_number': 6, 'maximum_channel_count': 2, 'id': 19906220, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}, {'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.950104, 'replaygain_track_gain': -10.72}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800055', 'title': "Rock 'N' Roll Damnation ", 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 221, 'parental_warning': False, 'track_number': 7, 'maximum_channel_count': 2, 'id': 19906223, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}, {'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.930298, 'replaygain_track_gain': -9.35}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800056', 'title': 'High Voltage ', 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 305, 'parental_warning': False, 'track_number': 8, 'maximum_channel_count': 2, 'id': 19906225, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}, {'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.99295, 'replaygain_track_gain': -9.93}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800057', 'title': 'Let There Be Rock ', 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 514, 'parental_warning': False, 'track_number': 9, 'maximum_channel_count': 2, 'id': 19906227, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}, {'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.948181, 'replaygain_track_gain': -10.94}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800058', 'title': 'Rocker ', 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 195, 'parental_warning': False, 'track_number': 10, 'maximum_channel_count': 2, 'id': 19906229, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}]}, 'description': ''}
Arguments: ()
DEBUG:streamrip:{'maximum_bit_depth': 24, 'image': {'small': 'https://static.qobuz.com/images/covers/05/02/0886444890205_230.jpg', 'thumbnail': 'https://static.qobuz.com/images/covers/05/02/0886444890205_50.jpg', 'large': 'https://static.qobuz.com/images/covers/05/02/0886444890205_600.jpg', 'back': None}, 'media_count': 1, 'artist': {'image': None, 'name': 'AC/DC', 'id': 161143, 'albums_count': 290, 'slug': 'ac-dc', 'picture': None}, 'artists': [{'id': 161143, 'name': 'AC/DC', 'roles': ['main-artist']}], 'upc': '0886444890205', 'released_at': 277081200, 'label': {'name': 'Columbia', 'id': 4592, 'albums_count': 24453, 'supplier_id': 23, 'slug': 'columbia'}, 'title': "If You Want Blood You've Got It ", 'qobuz_id': 19906210, 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'url': 'https://www.qobuz.com/fr-fr/album/if-you-want-blood-youve-got-it-ac-dc/0886444890205', 'duration': 3170, 'parental_warning': False, 'popularity': 0, 'tracks_count': 10, 'genre': {'path': [116], 'color': '#5eabc1', 'name': 'Metal', 'id': 116, 'slug': 'metal'}, 'maximum_channel_count': 2, 'id': '0886444890205', 'maximum_sampling_rate': 96, 'articles': [], 'release_date_original': '1978-10-13', 'release_date_download': '1978-10-13', 'release_date_stream': '1978-10-13', 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True, 'awards': [], 'goodies': [], 'area': None, 'catchline': '', 'composer': {'id': 573076, 'name': 'Various Composers', 'slug': 'various-composers', 'albums_count': 583621, 'picture': None, 'image': None}, 'created_at': 1412379644, 'genres_list': ['Pop/Rock', 'Pop/Rock→Rock', 'Pop/Rock→Rock→Metal'], 'period': None, 'copyright': '(P) 1978 Leidseplein Presse B.V. for U.S. and Australian Music Corporation Pty Ltd. for rest of world', 'is_official': True, 'maximum_technical_specifications': '24 bits / 96.0 kHz - Stereo', 'product_sales_factors_monthly': 0, 'product_sales_factors_weekly': 0, 'product_sales_factors_yearly': 20.4, 'product_type': 'album', 'product_url': '/fr-fr/album/if-you-want-blood-youve-got-it-ac-dc/0886444890205', 'recording_information': '', 'relative_url': '/album/if-you-want-blood-youve-got-it-ac-dc/0886444890205', 'release_tags': ['live'], 'release_type': 'album', 'slug': 'if-you-want-blood-youve-got-it-ac-dc', 'subtitle': 'AC/DC', 'tracks': {'offset': 0, 'limit': 500, 'total': 10, 'items': [{'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.944458, 'replaygain_track_gain': -9.98}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800050', 'title': 'Riff Raff ', 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 359, 'parental_warning': False, 'track_number': 1, 'maximum_channel_count': 2, 'id': 19906211, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}, {'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.944794, 'replaygain_track_gain': -10.73}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800051', 'title': "Hell Ain't a Bad Place to Be ", 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 251, 'parental_warning': False, 'track_number': 2, 'maximum_channel_count': 2, 'id': 19906212, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}, {'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.941162, 'replaygain_track_gain': -9.72}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800052', 'title': 'Bad Boy Boogie ', 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 450, 'parental_warning': False, 'track_number': 3, 'maximum_channel_count': 2, 'id': 19906214, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}, {'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.950592, 'replaygain_track_gain': -9.11}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800053', 'title': 'The Jack ', 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 349, 'parental_warning': False, 'track_number': 4, 'maximum_channel_count': 2, 'id': 19906216, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}, {'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.952179, 'replaygain_track_gain': -10.86}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800054', 'title': 'Problem Child ', 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 281, 'parental_warning': False, 'track_number': 5, 'maximum_channel_count': 2, 'id': 19906218, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}, {'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.924652, 'replaygain_track_gain': -10.32}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800038', 'title': 'Whole Lotta Rosie ', 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 245, 'parental_warning': False, 'track_number': 6, 'maximum_channel_count': 2, 'id': 19906220, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}, {'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.950104, 'replaygain_track_gain': -10.72}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800055', 'title': "Rock 'N' Roll Damnation ", 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 221, 'parental_warning': False, 'track_number': 7, 'maximum_channel_count': 2, 'id': 19906223, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}, {'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.930298, 'replaygain_track_gain': -9.35}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800056', 'title': 'High Voltage ', 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 305, 'parental_warning': False, 'track_number': 8, 'maximum_channel_count': 2, 'id': 19906225, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}, {'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.99295, 'replaygain_track_gain': -9.93}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800057', 'title': 'Let There Be Rock ', 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 514, 'parental_warning': False, 'track_number': 9, 'maximum_channel_count': 2, 'id': 19906227, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}, {'maximum_bit_depth': 24, 'copyright': '(P) 1978 J. Albert & Son Pty Ltd', 'performers': 'AC/DC, Associated Performer, Main Artist\r - Angus Young, Composer, Guitar, Lyricist\r - Bon Scott, Composer, Lyricist\r - Malcolm Young, Composer, Guitar, Lyricist\r - Vanda, Producer\r - Young, Producer\r - Harry Vanda and George Young, Producer\r - Phil Rudd, Drums\r - Cliff Williams, Bass', 'audio_info': {'replaygain_track_peak': 0.948181, 'replaygain_track_gain': -10.94}, 'performer': {'name': 'AC/DC', 'id': 161143}, 'work': None, 'composer': {'name': 'Bon Scott', 'id': 85271}, 'isrc': 'AUAP07800058', 'title': 'Rocker ', 'version': 'Live at the Apollo Theatre, Glasgow, Scotland - April 1978', 'duration': 195, 'parental_warning': False, 'track_number': 10, 'maximum_channel_count': 2, 'id': 19906229, 'media_number': 1, 'maximum_sampling_rate': 96, 'release_date_original': None, 'release_date_download': None, 'release_date_stream': None, 'purchasable': True, 'streamable': True, 'previewable': True, 'sampleable': True, 'downloadable': True, 'displayable': True, 'purchasable_at': 1647903600, 'streamable_at': 1647903600, 'hires': True, 'hires_streamable': True}]}, 'description': ''}
DEBUG:streamrip:{'meta': <TrackMetadata object -0x5c5fe66648e4f62>, 'id': 19906211, 'part_of_tracklist': True}
DEBUG:streamrip:{'meta': <TrackMetadata object -0xce102d7c64b8857>, 'id': 19906212, 'part_of_tracklist': True}
DEBUG:streamrip:{'meta': <TrackMetadata object -0x1105c1fdb5c99be9>, 'id': 19906214, 'part_of_tracklist': True}
DEBUG:streamrip:{'meta': <TrackMetadata object -0xb4d2244a2f1e78c>, 'id': 19906216, 'part_of_tracklist': True}
DEBUG:streamrip:{'meta': <TrackMetadata object -0xfabe01f1c7de17b>, 'id': 19906218, 'part_of_tracklist': True}
DEBUG:streamrip:{'meta': <TrackMetadata object -0x14a7fe3185084fc5>, 'id': 19906220, 'part_of_tracklist': True}
DEBUG:streamrip:{'meta': <TrackMetadata object -0xffa58be46a5f46d>, 'id': 19906223, 'part_of_tracklist': True}
DEBUG:streamrip:{'meta': <TrackMetadata object -0x131d585a91c228ad>, 'id': 19906225, 'part_of_tracklist': True}
DEBUG:streamrip:{'meta': <TrackMetadata object -0xda3d03c79c43d31>, 'id': 19906227, 'part_of_tracklist': True}
DEBUG:streamrip:{'meta': <TrackMetadata object -0x1531e2c3213f5f21>, 'id': 19906229, 'part_of_tracklist': True}
DEBUG:streamrip:Sampling rate, bit depth = (24, 96000)
DEBUG:streamrip:Formatter: {'albumartist': 'AC/DC', 'title': "If You Want Blood You've Got It  (Live at the Apollo Theatre, Glasgow, Scotland - April 1978)", 'year': '1978', 'bit_depth': 24, 'sampling_rate': 96, 'container': 'FLAC', 'albumcomposer': 'Various Composers', 'id': '0886444890205'}
DEBUG:streamrip:Formatter keys: {albumartist}\{title} - [{year}] - {bit_depth}-{sampling_rate} - #{id}
DEBUG:streamrip:'albumartist'
DEBUG:streamrip:AC/DC
DEBUG:streamrip:1
DEBUG:streamrip:'title'
DEBUG:streamrip:If You Want Blood You've Got It  (Live at the Apollo Theatre, Glasgow, Scotland - April 1978)
DEBUG:streamrip:1
DEBUG:streamrip:'year'
DEBUG:streamrip:1978
DEBUG:streamrip:1
DEBUG:streamrip:'bit_depth'
DEBUG:streamrip:24
DEBUG:streamrip:2
DEBUG:streamrip:'sampling_rate'
DEBUG:streamrip:96
DEBUG:streamrip:2
DEBUG:streamrip:'id'
DEBUG:streamrip:0886444890205
DEBUG:streamrip:1

Downloading If You Want Blood You've Got It  (Live at the Apollo Theatre, Glasgow, Scotland - April 1978) (Album)

Downloading cover art (large)
DEBUG:streamrip:Chosen cover url: https://static.qobuz.com/images/covers/05/02/0886444890205_600.jpg
DEBUG:streamrip:Downloading hires cover

  Stack trace:

  12  ~\AppData\Local\Programs\Python\Python39\lib\site-packages\cleo\application.py:330 in run
       328│
       329│             try:
     → 330│                 exit_code = self._run(io)
       331│             except Exception as e:
       332│                 if not self._catch_exceptions:

  11  ~\AppData\Local\Programs\Python\Python39\lib\site-packages\rip\cli.py:760 in _run
       758│             logger.addHandler(fh)
       759│
     → 760│         super()._run(io)
       761│
       762│     def create_io(self, input=None, output=None, error_output=None):

  10  ~\AppData\Local\Programs\Python\Python39\lib\site-packages\cleo\application.py:425 in _run
       423│                 io.set_input(ArgvInput(argv))
       424│
     → 425│         exit_code = self._run_command(command, io)
       426│         self._running_command = None
       427│

   9  ~\AppData\Local\Programs\Python\Python39\lib\site-packages\cleo\application.py:432 in _run_command
       430│     def _run_command(self, command: Command, io: IO) -> int:
       431│         if self._event_dispatcher is None:
     → 432│             return command.run(io)
       433│
       434│         # Bind before the console.command event,

   8  ~\AppData\Local\Programs\Python\Python39\lib\site-packages\cleo\commands\base_command.py:118 in run
       116│         io.input.validate()
       117│
     → 118│         status_code = self.execute(io)
       119│
       120│         if status_code is None:

   7  ~\AppData\Local\Programs\Python\Python39\lib\site-packages\cleo\commands\command.py:85 in execute
        83│
        84│         try:
     →  85│             return self.handle()
        86│         except KeyboardInterrupt:
        87│             return 1

   6  ~\AppData\Local\Programs\Python\Python39\lib\site-packages\rip\cli.py:124 in handle
       122│
       123│         if len(core) > 0:
     → 124│             core.download()
       125│         elif not urls and path is None:
       126│             self.line("Must pass arguments. See rip url -h.")

   5  ~\AppData\Local\Programs\Python\Python39\lib\site-packages\rip\core.py:313 in download
       311│
       312│             try:
     → 313│                 item.download(**arguments)
       314│                 for item_id in item.downloaded_ids:
       315│                     self.db.add([item_id])

   4  ~\AppData\Local\Programs\Python\Python39\lib\site-packages\streamrip\media.py:1163 in download
       1161│         :param kwargs:
       1162│         """
     → 1163│         self._prepare_download(**kwargs)
       1164│         if kwargs.get("conversion", False):
       1165│             has_conversion = kwargs["conversion"]["enabled"]

   3  ~\AppData\Local\Programs\Python\Python39\lib\site-packages\streamrip\media.py:1529 in _prepare_download
       1527│
       1528│         cover_path = (
     → 1529│             _choose_and_download_cover(
       1530│                 self.cover_urls,
       1531│                 kwargs.get("embed_cover_size", "large"),

   2  ~\AppData\Local\Programs\Python\Python39\lib\site-packages\streamrip\media.py:2363 in _choose_and_download_cover
       2361│     if keep_hires_cover and not os.path.exists(hires_cov_path):
       2362│         logger.debug("Downloading hires cover")
     → 2363│         _cover_download(cover_urls["original"], hires_cov_path)
       2364│
       2365│     cover_size = os.path.getsize(temp_cover_path)

   1  ~\AppData\Local\Programs\Python\Python39\lib\site-packages\streamrip\media.py:2316 in _cover_download
       2314│
       2315│ def _cover_download(url: str, path: str):
     → 2316│     _quick_download(url, path, style("Cover", fg="blue"))
       2317│
       2318│

  FileNotFoundError

  [Errno 2] No such file or directory: "Q:\\ACDC\\If You Want Blood You've Got It  (Live at the Apollo Theatre, Glasgow, Scotland - April 1978) - [1978] - 24-96 - #0...\\cover.jpg"

  at ~\AppData\Local\Programs\Python\Python39\lib\site-packages\streamrip\media.py:2310 in _quick_download
      2306│     raise NotImplementedError(source)
      2307│
      2308│
      2309│ def _quick_download(url: str, path: str, desc: str = None):
    → 2310│     with open(path, "wb") as file:
      2311│         for chunk in tqdm_stream(DownloadStream(url), desc=desc):
      2312│             file.write(chunk)
      2313│
      2314│

If this was unexpected, please open a Bug Report at https://github.com/nathom/streamrip/issues/new/choose

D:\>

Config File

[downloads]
# Folder where tracks are downloaded to
folder = "Q:\\"
# Put Qobuz albums in a 'Qobuz' folder, Tidal albums in 'Tidal' etc.
source_subdirectories = false

[downloads.concurrency]
# Download (and convert) tracks all at once, instead of sequentially. 
# If you are converting the tracks, or have fast internet, this will 
# substantially improve processing speed.
enabled = true
# The maximum number of tracks to download at once
# If you have very fast internet, you will benefit from a higher value,
# A value that is too high for your bandwidth may cause slowdowns
max_connections = 3

[qobuz]
# 1: 320kbps MP3, 2: 16/44.1, 3: 24/<=96, 4: 24/>=96
quality = 4
# This will download booklet pdfs that are included with some albums
download_booklets = true

email = "bla bla bla"
# This is an md5 hash of the plaintext password
password = "bla bla bla"
# Do not change
app_id = "bla bla bla"
# Do not change
secrets = ["bla bla bla"]

[tidal]
# 0: 256kbps AAC, 1: 320kbps AAC, 2: 16/44.1 "HiFi" FLAC, 3: 24/44.1 "MQA" FLAC
quality = 3
# This will download videos included in Video Albums.
download_videos = true

# Do not change any of the fields below
user_id = 173848888
country_code = "BE"
access_token = "bla"
refresh_token = "bla"
# Tokens last 1 week after refresh. This is the Unix timestamp of the expiration
# time. If you haven't used streamrip in more than a week, you may have to log
# in again using `rip config --tidal`
token_expiry = 1639615182.3192697

[deezer]
# 0, 1, or 2
# This only applies to paid Deezer subscriptions. Those using deezloader
# are automatically limited to quality = 1
quality = 2
# An authentication cookie that allows streamrip to use your Deezer account
# See https://github.com/nathom/streamrip/wiki/Finding-Your-Deezer-ARL-Cookie
# for instructions on how to find this
arl = ""
# This allows for free 320kbps MP3 downloads from Deezer
# If an arl is provided, deezloader is never used
use_deezloader = true
# This warns you when the paid deezer account is not logged in and rip falls
# back to deezloader, which is unreliable
deezloader_warnings = true

[soundcloud]
# Only 0 is available for now
quality = 0
# This changes periodically, so it needs to be updated
client_id = ""
app_version = ""

[youtube]
# Only 0 is available for now
quality = 0
# Download the video along with the audio
download_videos = false
# The path to download the videos to
video_downloads_folder = ""

# This stores a list of item IDs so that repeats are not downloaded.

[database.downloads]
enabled = true
path = "C:\\Users\\hulpi\\AppData\\Local\\streamrip\\streamrip\\downloads.db"

# If a download fails, the item ID is stored here. Then, `rip repair` can be
# called to retry the downloads

[database.failed_downloads]
enabled = true
path = "C:\\Users\\hulpi\\AppData\\Local\\streamrip\\streamrip\\failed_downloads.db"

# Convert tracks to a codec after downloading them.

[conversion]
enabled = false
# FLAC, ALAC, OPUS, MP3, VORBIS, or AAC
codec = "ALAC"
# In Hz. Tracks are downsampled if their sampling rate is greater than this. 
# Value of 48000 is recommended to maximize quality and minimize space
sampling_rate = 48000
# Only 16 and 24 are available. It is only applied when the bit depth is higher
# than this value.
bit_depth = 24
# Only applicable for lossy codecs
lossy_bitrate = 320

# Filter a Qobuz artist's discography. Set to 'true' to turn on a filter.

[filters]
# Remove Collectors Editions, live recordings, etc.
extras = false
# Picks the highest quality out of albums with identical titles.
repeats = false
# Remove EPs and Singles
non_albums = false
# Remove albums whose artist is not the one requested
features = true
# Skip non studio albums
non_studio_albums = false
# Only download remastered albums
non_remaster = false

[artwork]
# Write the image to the audio file
embed = true
# The size of the artwork to embed. Options: thumbnail, small, large, original.
# "original" images can be up to 30MB, and may fail embedding. 
# Using "large" is recommended.
size = "large"
# Both of these options limit the size of the embedded artwork. If their values
# are larger than the actual dimensions of the image, they will be ignored.
# If either value is -1, the image is left untouched.
max_width = -1
max_height = -1
# Save the cover image at the highest quality as a seperate jpg file
keep_hires_cover = true

[metadata]
# Sets the value of the 'ALBUM' field in the metadata to the playlist's name. 
# This is useful if your music library software organizes tracks based on album name.
set_playlist_to_album = false
# Replaces the original track's tracknumber with it's position in the playlist
new_playlist_tracknumbers = true
# The following metadata tags won't be applied
# See https://github.com/nathom/streamrip/wiki/Metadata-Tag-Names for more info
exclude = []

# Changes the folder and file names generated by streamrip.

[filepaths]
# Create folders for single tracks within the downloads directory using the folder_format
# template
add_singles_to_folder = false

# Available keys: "albumartist", "title", "year", "bit_depth", "sampling_rate",
# "container", "id", and "albumcomposer"

# Available keys: "tracknumber", "artist", "albumartist", "composer", "title",
# and "albumcomposer"

folder_format = "{albumartist}\\{title} - [{year}] - {bit_depth}-{sampling_rate} - #{id}"
track_format = "{tracknumber}. {artist} - {title}"

# Only allow printable ASCII characters in filenames.
restrict_characters = false

# Last.fm playlists are downloaded by searching for the titles of the tracks

[lastfm]
# The source on which to search for the tracks.
source = "qobuz"
# If no results were found with the primary source, the item is searched for 
# on this one.
fallback_source = "deezer"

[theme]
# Options: "dainty" or "plain"
progress_bar = "dainty"

[misc]
# Metadata to identify this config file. Do not change.
version = "1.9.2"

Operating System

Win 10

streamrip version

1.9.5

Screenshots and recordings

No response

Additional context

No response

Wim1975 commented 2 years ago

Aha, I think streamrip tried to truncate the path and added three dots. Windows however will always remove trailing dots when creating folders.

So when streamrip is after that trying to create a file "c:\folder...\cover.jpg" this will fail as folder "c:\folder...\" does not exist.

P.S. If truncating is prefered ... please truncate the field "title" only. I have the ID as last field and when truncating from the end, that id is no longer correct.

Thank you.

snaplx commented 2 years ago

I get the same error.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.