Giter VIP home page Giter VIP logo

Comments (5)

ritiek avatar ritiek commented on August 14, 2024

I never tested the script on android or even python3 but since it downloads the song correctly for you my guess is that you need libav-tools (avconv) to convert it to an mp3 and fix meta-tags other wise the downloaded song will be deleted everytime. I don't know how to get avconv on android though.

You can try skipping conversion and meta-tags by running the script with --no-convert
python spotdl.py --no-convert

Now download some song. If the song is downloaded and not deleted then my bet is that you need to install avconv somehow.

from spotify-downloader.

jj1118 avatar jj1118 commented on August 14, 2024

I installed it on Python 3, Windows 10 and attempted to fix script compatibility by running 2to3 as well as removing all encode()'s and decode()'s. The same problem occurs, with the converting to mp3 step reporting "The system cannot find the path specified." and subsequent steps failing. Running with --no-convert flag produces the m4a file in the expected location fine. avconv is installed according to instructions and can be invoked directly from the console, so the problem could be somewhere else.

Edit: it seems from issue #36 that the zip must be extracted in Python installation folder but not anywhere else. Now this problem is solved and I may open another issue for the remaining error.

from spotify-downloader.

ritiek avatar ritiek commented on August 14, 2024

@jj1118 Glad it works. What is the remaining error you face?
Also, do you mind sending a pull request of the changes you made to the branch python3-dev? I'll add python3 support too :)

from spotify-downloader.

jj1118 avatar jj1118 commented on August 14, 2024

@ritiek Sorry for the late reply due to the holiday. I'll create the pull request now. The remaining error was related to the eyed3 version on pip (0.7.x) being incompatible with Python 3.x, which has been fixed in the beta version 0.8.0.

from spotify-downloader.

ritiek avatar ritiek commented on August 14, 2024

Just wanted to mention that I can confirm this tool works properly with termux (android) now.

from spotify-downloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.