yaronzz / Tidal-Media-Downloader

Download 'TIDAL' Music On Windows/Linux/MacOs (PYTHON/C#)
http://doc.yaronzz.com/post/tidal_dl_installation/
Apache License 2.0
3.29k stars 464 forks source link

[QUESTION]: How to use newer Python code instead of tidal-dl.exe? #1111

Open queen4me opened 8 months ago

queen4me commented 8 months ago

Which tool

tidal-dl

Describe your question

Since the tidal-dl Download is from 2022-08 I'd like to use the newer python code with windows and/or Linux. MAX seems to be enabled there 2 months ago. Where can I find a guide on how to use the newer code or do I have to compile it?

Thanks a lot in advance for helping

Add screenshots

No response

alonsoJS commented 8 months ago

I run into this last week, the solution I found in Windows is installing tidal-dl into WSL (Windows Subsystem for Linux)

What you'd do is:

Now you got the newer version!

queen4me commented 8 months ago

Thanks a lot. This should work with Ubuntu too, shouldn't it?

romner-set commented 8 months ago

The version from pip is still pretty old (you can tell by the Max option missing from the quality selection). To use the actual new version, you have to do this (tested on a proxmox LXC running debian, should work nearly anywhere though):

  1. Make sure you have python3, git and pip installed
  2. git clone https://github.com/yaronzz/Tidal-Media-Downloader --depth 1 somewhere to get the latest code
  3. cd into Tidal-Media-Downloader/TIDALDL-PY
  4. Install the requirements, something like pip3 install -r requirements.txt or python3 -m pip install -r requirements.txt depending on how your system is setup. If you're doing this on windows, you will also have to install the MS VC++ build tools (see https://stackoverflow.com/questions/40504552/how-to-install-visual-c-build-tools)
  5. If everything is installed correctly, you should now be able to cd tidal_dl and run python3 __init.py__ or ./__init.py__ to start tidal-dl.
queen4me commented 8 months ago

Thanks a lot romner-set For those that want to follow: There's a typo in (3) cd into Tidal-Media-Downloader/TIDALDL-PY because the requirements.txt is in this directory.

Executing ./init.py leads to an ERROR: Permission denied. What can I do?

queen4me commented 8 months ago

It's working with python3 __init__.py

romner-set commented 7 months ago

For those that want to follow: There's a typo in (3) cd into Tidal-Media-Downloader/TIDALDL-PY because the requirements.txt is in this directory.

You're right, edited my comment to fix it.

Executing ./init.py leads to an ERROR: Permission denied. What can I do?

It's probably not executable even though it starts with a shebang, running chmod +x __init__.py should fix it. Assuming you're on linux that is, on windows you have to start it with python3.