orpheusdl-qobuz's People
Forkers
shahzoorali wvlover15 hadryan streetsamurai00mi rekulous vishnoe115 ransomliome360 aparashk amirulandalib samadhi-spice jun-llylm-01 nakatsusizuru n0xl0us khushp123orpheusdl-qobuz's Issues
It only downloads MP3
Any reasons why?
What are app_id and app_secret? How do I get it?
What are app_id and app_secret? How do I get it?
Feature request: no-fallback and albums-only options.
Hi, would it be possible to include two new features as follows:
- No-Fallback: wherein the application won't download anything less than the specified quality as set in
"download_quality"
contained within the settings.json. - Albums-only: wherein the application will only download albums and ignore singles, EPs, and LPs when providing a download link for an artist. ie.
python3 orpheus.py https://play.qobuz.com/artist/7606940
This could be extended or further improved to include separate flags/settings for each in the settings.json, enabling refined control. For example:
"allow-album": "true" "allow-single": "true" "allow-ep": "false" "allow-lp": "false"
I believe these features would help enrichen the orpheusdl platform as it can help with archival, especially in instances where a specific quality is required; this has the bonus of not neglecting Qobuz resources by downloading needlessly. Additionally, I believe it beneficial to those that want a little more control over what is downloaded.
Thank you in advance for the fantastic module.
Support Artist Link
Qobuz module only downloads the first 500 albums
Unable to download a complete album (Qobuz)
OS: Ubuntu 18.04.6 LTS
Album: https://open.qobuz.com/album/0060249889084
I'm using the latest repo of qobuz module and orpheusdl.
I'm getting the following error:
Track 20/24
=== Downloading track Kill You (4334360) ===
Artists: Eminem (46971)
Release year: 2005
Codec: FLAC, bit depth: 16bit, sample rate: 44.1kHzDownloading track file 100%|███████████████████████████ 24.1M/24.1M [00:00<00:00, 117MB/s] Retrieving lyrics with musixmatch Lyrics module could not find any lyrics. Retrieving credits Tagging file === Track 4334360 downloaded === Track 21/24
Traceback (most recent call last):
File "/opt/orpheusdl/orpheus.py", line 223, in
main()
File "/opt/orpheusdl/orpheus.py", line 218, in main
orpheus_core_download(orpheus, media_to_download, tpm, sdm, path)
File "/opt/orpheusdl/orpheus/core.py", line 381, in orpheus_core_download
downloader.download_album(media_id, extra_kwargs=media.extra_kwargs)
File "/opt/orpheusdl/orpheus/music_downloader.py", line 170, in download_album
self.download_track(track_id, album_location=album_path, track_index=index, number_of_tracks=number_of_tracks, main_artist=artist_name, cover_temp_location=cover_temp_location, indent_level=indent_level+1, extra_kwargs=album_info.track_extra_kwargs)
File "/opt/orpheusdl/orpheus/music_downloader.py", line 222, in download_track
track_info: TrackInfo = self.service.get_track_info(track_id, quality_tier, codec_options, **extra_kwargs)
File "/opt/orpheusdl/modules/qobuz/interface.py", line 49, in get_track_info
unicodedata.normalize('NFKD', track_data['performer']['name'])
KeyError: 'performer'
I guess Qobuz doesn't have an artist name for this track, probably why this error.
Any fix would be appreciated.
Error downloading Album
Hello I get this error when trying to download this album:
Traceback (most recent call last):
File "C:\Users\User\Desktop\orpheusdl-master\orpheus.py", line 223, in
main()
File "C:\Users\User\Desktop\orpheusdl-master\orpheus.py", line 218, in main
orpheus_core_download(orpheus, media_to_download, tpm, sdm, path)
File "C:\Users\User\Desktop\orpheusdl-master\orpheus\core.py", line 381, in orpheus_core_download
downloader.download_album(media_id, extra_kwargs=media.extra_kwargs)
File "C:\Users\User\Desktop\orpheusdl-master\orpheus\music_downloader.py", line 168, in download_album
self.download_track(track_id, album_location=album_path, track_index=index, number_of_tracks=number_of_tracks, main_artist=artist_name, cover_temp_location=cover_temp_location, indent_level=indent_level+1, extra_kwargs=album_info.track_extra_kwargs)
File "C:\Users\User\Desktop\orpheusdl-master\orpheus\music_downloader.py", line 220, in download_track
track_info: TrackInfo = self.service.get_track_info(track_id, quality_tier, codec_options, **extra_kwargs)
File "C:\Users\User\Desktop\orpheusdl-master\modules\qobuz\interface.py", line 53, in get_track_info
for credit in track_data['performers'].split(' - '):
KeyError: 'performers'
https://www.qobuz.com/us-en/album/growth-jon-bellion/0060256713278
Artist tags are uppercase when downloading discographies
I'm probably doing something wrong. SyntaxError: invalid syntax
I followed the getting started steps in these pages:
https://github.com/yarrm80s/orpheusdl#installation
https://github.com/yarrm80s/orpheusdl-qobuz
The settings.json file has been updated with my account email and password along with the app credentials I got here:
http://shell.cyberia.is/~albino/qobuz-creds.html
When I run python orpheus.py https://open.qobuz.com/album/0007502101475
I get the error:
File "orpheus.py", line 70
raise Exception(f'Unknown setting "{modulesetting}" for module "{setting}"')
^
SyntaxError: invalid syntax
I assume this has to do with my settings.json file but I'm not sure what I'm screwing up.
Can't download albums
=== Downloading album DAMN. COLLECTORS EDITION. (0060256726119) ===
Artist: Kendrick Lamar (617741)
Year: 2017
Duration: 54m:55s
Number of tracks: 14
Service: Qobuz
Downloading booklet
Downloading album cover
Track 1/14
Traceback (most recent call last):
File "C:\Users\EEE\documents\orpheusdl\orpheus.py", line 224, in <module>
main()
File "C:\Users\EEE\documents\orpheusdl\orpheus.py", line 219, in main
orpheus_core_download(orpheus, media_to_download, tpm, sdm, path)
File "C:\Users\EEE\documents\orpheusdl\orpheus\core.py", line 397, in orpheus_core_download
downloader.download_album(media_id, extra_kwargs=media.extra_kwargs)
File "C:\Users\EEE\documents\orpheusdl\orpheus\music_downloader.py", line 242, in download_album
self.download_track(track_id, album_location=album_path, track_index=index, number_of_tracks=number_of_tracks, main_artist=artist_name, cover_temp_location=cover_temp_location, indent_level=indent_level+1, extra_kwargs=album_info.track_extra_kwargs)
File "C:\Users\EEE\documents\orpheusdl\orpheus\music_downloader.py", line 294, in download_track
track_info: TrackInfo = self.service.get_track_info(track_id, quality_tier, codec_options, **extra_kwargs)
File "C:\Users\EEE\documents\orpheusdl\modules\qobuz\interface.py", line 99, in get_track_info
stream_data = self.session.get_file_url(track_id, quality_tier)
File "C:\Users\EEE\documents\orpheusdl\modules\qobuz\qobuz_api.py", line 95, in get_file_url
return self._get('track/getFileUrl', params)
File "C:\Users\EEE\documents\orpheusdl\modules\qobuz\qobuz_api.py", line 34, in _get
raise self.exception(r.text)
orpheus.core.Orpheus.load_module.<locals>.ModuleError: qobuz --> {"message":"Invalid Request Signature parameter (request_sig) (Root=1-64702f57-0cfb46623c6d73fb263797b3)","status":"error","code":400}
=== Downloading album Late Registration (0060249882401) ===
Artist: Kanye West (35950)
Year: 2005
Duration: 01h:09m:49s
Number of tracks: 21
Service: Qobuz
Downloading album cover
Track 1/21
Traceback (most recent call last):
File "C:\Users\EEE\documents\orpheusdl\orpheus.py", line 224, in <module>
main()
File "C:\Users\EEE\documents\orpheusdl\orpheus.py", line 219, in main
orpheus_core_download(orpheus, media_to_download, tpm, sdm, path)
File "C:\Users\EEE\documents\orpheusdl\orpheus\core.py", line 397, in orpheus_core_download
downloader.download_album(media_id, extra_kwargs=media.extra_kwargs)
File "C:\Users\EEE\documents\orpheusdl\orpheus\music_downloader.py", line 242, in download_album
self.download_track(track_id, album_location=album_path, track_index=index, number_of_tracks=number_of_tracks, main_artist=artist_name, cover_temp_location=cover_temp_location, indent_level=indent_level+1, extra_kwargs=album_info.track_extra_kwargs)
File "C:\Users\EEE\documents\orpheusdl\orpheus\music_downloader.py", line 294, in download_track
track_info: TrackInfo = self.service.get_track_info(track_id, quality_tier, codec_options, **extra_kwargs)
File "C:\Users\EEE\documents\orpheusdl\modules\qobuz\interface.py", line 99, in get_track_info
stream_data = self.session.get_file_url(track_id, quality_tier)
File "C:\Users\EEE\documents\orpheusdl\modules\qobuz\qobuz_api.py", line 95, in get_file_url
return self._get('track/getFileUrl', params)
File "C:\Users\EEE\documents\orpheusdl\modules\qobuz\qobuz_api.py", line 34, in _get
raise self.exception(r.text)
orpheus.core.Orpheus.load_module.<locals>.ModuleError: qobuz --> {"code":400,"status":"error","message":"Invalid Request Signature parameter (request_sig) (Root=1-64702fa0-34b7b47612e963163cb82812)"}
Cover Image Resulotion
if there's an option that can be the same as the original source image on the cover of the file song cover image max is 600x600 only
"ignore_different_artists"
The "ignore_different_artists": false in the settings.json is not working as intended. There is no description for this item in the manual however going of the title it should prevent downloading artists other than the one requested?
How to fix this?
Add support for label DownloadTypeEnum
Would like to have the ability to fetch albums by label and aggregate albums by main album artist.
KeyError: 'format_id'
Error when downloading https://www.qobuz.com/gb-en/album/xoxo-jeon-somi/u2wmcsz6onp5b
. Looks like it's a track that you can't buy individually, might be unavailable to stream? I'm unsure. Cheers!
=== Downloading album XOXO (u2wmcsz6onp5b) ===
Artist: JEON SOMI (11514629)
Year: 2021
Duration: 24m:20s
Number of tracks: 8
Service: Qobuz
Downloading album cover
Track 1/8
=== Downloading track DUMB DUMB (136773154) ===
Artists: JEON SOMI (11514629)
Release year: 2021
Duration: 02m:27s
Codec: FLAC, bitrate: 2304kbps, bit depth: 24bit, sample rate: 48kHz
Warning: codec_conversions setting is invalid!
Downloading track file
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 30.3M/30.3M [00:01<00:00, 22.2MB/s]
Retrieving credits
Tagging file
=== Track 136773154 downloaded ===
Track 2/8
=== Downloading track XOXO (136773155) ===
Artists: JEON SOMI (11514629)
Release year: 2021
Duration: 03m:27s
Codec: FLAC, bitrate: 2304kbps, bit depth: 24bit, sample rate: 48kHz
Warning: codec_conversions setting is invalid!
Downloading track file
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 43.5M/43.5M [00:01<00:00, 29.5MB/s]
Retrieving credits
Tagging file
=== Track 136773155 downloaded ===
Track 3/8
=== Downloading track Don't Let Me Go (136773156) ===
Artists: JEON SOMI, Giriboy (11514629)
Release year: 2021
Duration: 02m:59s
Codec: FLAC, bitrate: 2304kbps, bit depth: 24bit, sample rate: 48kHz
Warning: codec_conversions setting is invalid!
Downloading track file
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 38.0M/38.0M [00:01<00:00, 29.0MB/s]
Retrieving credits
Tagging file
=== Track 136773156 downloaded ===
Track 4/8
=== Downloading track Anymore (136773157) ===
Artists: JEON SOMI (11514629)
Release year: 2021
Duration: 03m:17s
Codec: FLAC, bitrate: 2304kbps, bit depth: 24bit, sample rate: 48kHz
Warning: codec_conversions setting is invalid!
Downloading track file
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 41.9M/41.9M [00:01<00:00, 28.2MB/s]
Retrieving credits
Tagging file
=== Track 136773157 downloaded ===
Track 5/8
=== Downloading track Watermelon (136773158) ===
Artists: JEON SOMI (11514629)
Release year: 2021
Duration: 03m:02s
Codec: FLAC, bitrate: 2304kbps, bit depth: 24bit, sample rate: 48kHz
Warning: codec_conversions setting is invalid!
Downloading track file
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 36.8M/36.8M [00:01<00:00, 28.1MB/s]
Retrieving credits
Tagging file
=== Track 136773158 downloaded ===
Track 6/8
Traceback (most recent call last):
File "/orpheusdl/orpheus.py", line 224, in <module>
main()
File "/orpheusdl/orpheus.py", line 219, in main
orpheus_core_download(orpheus, media_to_download, tpm, sdm, path)
File "/orpheusdl/orpheus/core.py", line 399, in orpheus_core_download
downloader.download_album(media_id, extra_kwargs=media.extra_kwargs)
File "/orpheusdl/orpheus/music_downloader.py", line 242, in download_album
self.download_track(track_id, album_location=album_path, track_index=index, number_of_tracks=number_of_tracks, main_artist=artist_name, cover_temp_location=cover_temp_location, indent_level=indent_level+1, extra_kwargs=album_info.track_extra_kwargs)
File "/orpheusdl/orpheus/music_downloader.py", line 294, in download_track
track_info: TrackInfo = self.service.get_track_info(track_id, quality_tier, codec_options, **extra_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/orpheusdl/modules/qobuz/interface.py", line 126, in get_track_info
codec = CodecEnum.FLAC if stream_data['format_id'] in {6, 7, 27} else CodecEnum.MP3,
~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'format_id'
Não baixa
Logging into Qobuz
=== Downloading album Laundry Service (0074646390023) ===
Artist: Shakira (106694)
Number of tracks: 13
Service: Qobuz
Track 1/13
Traceback (most recent call last):
File "/data/data/com.termux/files/home/orpheusdl/orpheus.py", line 200, in
main()
File "/data/data/com.termux/files/home/orpheusdl/orpheus.py", line 195, in main
orpheus_core_download(orpheus, media_to_download, tpm, sdm, path)
File "/data/data/com.termux/files/home/orpheusdl/orpheus/core.py", line 381, in orpheus_core_download
downloader.download_album(media_id)
File "/data/data/com.termux/files/home/orpheusdl/orpheus/music_downloader.py", line 139, in download_album
self.download_track(track_id, album_location=path, track_index=index, number_of_tracks=number_of_tracks, main_artist=artist_name, indent_level=indent_level+1)
File "/data/data/com.termux/files/home/orpheusdl/orpheus/music_downloader.py", line 172, in download_track
track_info: TrackInfo = self.service.get_track_info(track_id)
File "/data/data/com.termux/files/home/orpheusdl/modules/qobuz/interface.py", line 42, in get_track_info
file_data = self.session.get_file_url(track_id, quality_parse[self.module_controller.orpheus_options.quality_tier])
File "/data/data/com.termux/files/home/orpheusdl/modules/qobuz/qobuz_api.py", line 105, in get_file_url
return self._get('track/getFileUrl', params)
File "/data/data/com.termux/files/home/orpheusdl/modules/qobuz/qobuz_api.py", line 34, in _get
raise self.exception(r.text)
orpheus.core.ModuleError: qobuz --> {"status":"error","code":400,"message":"Invalid Request Signature parameter (21cca944f7993d07d2b84006429255a4)"}
$
Stuck/freezing while logging in
Using Orpheus-dl on the newest Alpine Linux Distro.
Here are the lines while starting logging in until the moment it freezes.
Greetings and thank you for that sweet piece of software! <3
————————————————————————————————————
Logging into Qobuz
/usr/lib/python3.9/pycache/netrc.cpython-39.pyc matches /usr/lib/python3.9/netrc.py
code object from '/usr/lib/python3.9/pycache/netrc.cpython-39.pyc'
import 'netrc' # <_frozen_importlib_external.SourceFileLoader object at 0xf682cca0>
(Enhancement) Add the ITUNESADVISORY tag to tracks if they have Explicit label.
Would it be possible to add iTunes Explicit tags to be added to the tracks if they have Explicit labels on qobuz?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.