oskvr37 / tiddl

Tidal Downloader - download tracks with single Python package ✨
Apache License 2.0
25 stars 2 forks source link

download directory issue after v1.4.0 #16

Closed bachig26 closed 3 months ago

bachig26 commented 3 months ago

I think there's something wrong with the latest version v1.4.0, that the download path is defaulted to the settings default path where the config file and log are stored. instead of the defined local disk directory. as you can see the disk E:\ is created as a folder instead.

CLI OUTPUT

ConEmu64_2k3LpV9RXH

LOG

08/03/24 21:35:52 DEBUG TIDDL.main Namespace(input='https://listen.tidal.com/track/216149725', file_template=None, download_path='E:\\', quality=None, save_options=False, no_skip=False, silent=False, verbose=False, no_color=False)
08/03/24 21:35:52 DEBUG Config.__init__ loaded {'download_path': 'E:\\eNT\\Music\\Lucida, QBDLX-MOD, tiddl', 'track_quality': 'HI_RES_LOSSLESS', 'file_template': '{artist} - {title}'}
08/03/24 21:35:52 DEBUG Config._save {'download_path': 'E:\\eNT\\Music\\Lucida, QBDLX-MOD, tiddl', 'track_quality': 'HI_RES_LOSSLESS', 'file_template': '{artist} - {title}'}
08/03/24 21:35:52 DEBUG TIDDL.main token expires in 3 days 6 hours
08/03/24 21:35:52 DEBUG TidalApi._request tracks/216149725 {'countryCode': 'NZ'}
08/03/24 21:35:52 DEBUG urllib3.connectionpool._new_conn Starting new HTTPS connection (1): api.tidal.com:443
08/03/24 21:35:53 DEBUG urllib3.connectionpool._make_request https://api.tidal.com:443 "GET /v1/tracks/216149725?countryCode=NZ HTTP/1.1" 200 1030
08/03/24 21:35:53 DEBUG TidalApi._request tracks/216149725/playbackinfo {'audioquality': 'HI_RES_LOSSLESS', 'playbackmode': 'STREAM', 'assetpresentation': 'FULL'}
08/03/24 21:35:53 DEBUG urllib3.connectionpool._make_request https://api.tidal.com:443 "GET /v1/tracks/216149725/playbackinfo?audioquality=HI_RES_LOSSLESS&playbackmode=STREAM&assetpresentation=FULL HTTP/1.1" 200 711
08/03/24 21:35:53 INFO  TIDDL.downloadTrack BIBI - NABI :: High Quality - 16 bit 44.1 kHz
08/03/24 21:35:53 DEBUG download.downloadTrackStream mime_type: application/vnd.tidal.bts
08/03/24 21:35:53 DEBUG download.download https://sp-pr-fa.audio.tidal.com/mediatracks/CAEaKwgDEic5MzAwNzE1ZTQ0NDg0ZmJjOTY3MzFmNTIwZDBmMTdjMF82MS5tcDQ/0.flac?token=1722717353~YTJiNWY0MDA0ZjRmOTBjOTM4MGYxMzExNjc4MWU4ZGU5MGFmMjU5OQ==
08/03/24 21:35:53 DEBUG urllib3.connectionpool._new_conn Starting new HTTPS connection (1): sp-pr-fa.audio.tidal.com:443
08/03/24 21:35:54 DEBUG urllib3.connectionpool._make_request https://sp-pr-fa.audio.tidal.com:443 "GET /mediatracks/CAEaKwgDEic5MzAwNzE1ZTQ0NDg0ZmJjOTY3MzFmNTIwZDBmMTdjMF82MS5tcDQ/0.flac?token=1722717353~YTJiNWY0MDA0ZjRmOTBjOTM4MGYxMzExNjc4MWU4ZGU5MGFmMjU5OQ== HTTP/1.1" 200 21574636
08/03/24 21:35:55 DEBUG download.downloadTrackStream file_path: E_, file_name: E_\/BIBI - NABI.flac
08/03/24 21:35:55 INFO  TIDDL.downloadTrack track saved in E_\/BIBI - NABI.flac

SCREENSHOT

vivaldi_wiMdVpGFBC

explorer_6qsh14zvFC

bachig26 commented 3 months ago

i tried the latest commit and still, i'm seeing the same issue with the download path.

It works fine now, sorry. the new problem, i had with the old tiddl setup. i removed completely including the config and log manually and reinstalled. it's perfectly fine.