nathom / streamrip

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

[BUG?] Downloading from Tidal by Artist selection does nothing #292

Closed AllKind closed 2 years ago

AllKind commented 2 years ago

Describe the bug

As I'm new to the app, I wonder if it is even possible/supported. Searching on Tidal by artist - select an entry - ENTER to download. It says... "Downloading ", but does nothing. So it looks like it should work...

Command Used

rip search --source tidal --type artist "marc anthony"

Debug Traceback

DEBUG:streamrip:{'downloads': {'folder': '/storage/pub/tmp/streamrip', 'source_subdirectories': False, 'concurrency': {'enabled': True, 'max_connections': 2}}, 'qobuz': {'quality': 3, 'download_booklets': True, 'email': '', 'password': '', 'app_id': '', 'secrets': []}, 'tidal': {'quality': 2, 'download_videos': True, 'user_id': 177559818, 'country_code': 'BE', 'access_token': 'removed', 'refresh_token': 'removed', 'token_expiry': 1644171265.152769}, 'deezer': {'quality': 2, 'arl': 'removed', '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': '/home/ellen/.config/streamrip/downloads.db'}, 'failed_downloads': {'enabled': True, 'path': '/home/ellen/.config/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': False, '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}) [{container}] [{bit_depth}B-{sampling_rate}kHz]', 'track_format': '{tracknumber}-{artist}_-_{title}', 'restrict_characters': False}, 'lastfm': {'source': 'tidal', 'fallback_source': 'deezer'}, 'theme': {'progress_bar': 'dainty'}, 'misc': {'version': '1.9.2'}}
DEBUG:streamrip:Arguments from config: {'restrict_filenames': False, 'parent_folder': '/storage/pub/tmp/streamrip', 'folder_format': '{albumartist} - {title} ({year}) [{container}] [{bit_depth}B-{sampling_rate}kHz]', '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': 2, '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:Added filter argument for artist/label: ()
DEBUG:streamrip:Loading metadata
DEBUG:streamrip:filtering eps
DEBUG:streamrip:{'id': 20650649, 'name': 'Gente de Zona y Marc Anthony', 'artistTypes': ['ARTIST', 'CONTRIBUTOR'], 'url': 'http://www.tidal.com/artist/20650649', 'picture': None, 'popularity': 0, 'artistRoles': [{'categoryId': -1, 'category': 'Artist'}, {'categoryId': 2, 'category': 'Songwriter'}], 'mixes': {}, 'albums': []}
DEBUG:streamrip:{'id': 20650649, 'name': 'Gente de Zona y Marc Anthony', 'artistTypes': ['ARTIST', 'CONTRIBUTOR'], 'url': 'http://www.tidal.com/artist/20650649', 'picture': None, 'popularity': 0, 'artistRoles': [{'categoryId': -1, 'category': 'Artist'}, {'categoryId': 2, 'category': 'Songwriter'}], 'mixes': {}, 'albums': []}
DEBUG:streamrip:Artist folder: Gente de Zona y Marc Anthony
DEBUG:streamrip:Length of tracklist 0
DEBUG:streamrip:Filters: ()

Downloading Gente de Zona y Marc Anthony (Artist)

DEBUG:streamrip:Executing INSERT INTO downloads (id) VALUES (?)
DEBUG:streamrip:Items to add: ('20650649',)
DEBUG:streamrip:UNIQUE constraint failed: downloads.id

Config File

Same as here: https://github.com/nathom/streamrip/issues/291

Operating System

Linux Mint 19.3

streamrip version

1.9.3

Screenshots and recordings

No response

Additional context

In general (= feature request), if downloading by artist is supposed to be supported, it would be nice to be able to select the artist and view their albums/ep/singles and select which (possibly also a "download all") ones to download.

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.

AllKind commented 2 years ago

Not fixed I guess...

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.