Coder Social home page Coder Social logo

yashhere / beautifymp3 Goto Github PK

View Code? Open in Web Editor NEW
27.0 5.0 6.0 24 KB

A command line tool for fixing ID3 metadata and adding Album Art to MP3 songs

Home Page: https://yash2696.github.io/BeautifyMP3

License: MIT License

Python 100.00%
python python3 eyed3 mp3 id3 id3v2 vscode meta-tags spotify-api spotify

beautifymp3's People

Contributors

yash2696 avatar yashhere avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

beautifymp3's Issues

spotipy is missing in "install_requires"

(audio-rename) guettli@yoga15:~/projects/audio-rename/BeautifyMP3$ python addMetadata.py 
Traceback (most recent call last):
  File "addMetadata.py", line 24, in <module>
    import spotipy
ModuleNotFoundError: No module named 'spotipy'


(audio-rename) guettli@yoga15:~/projects/audio-rename/BeautifyMP3$ pip install spotipy
Collecting spotipy
  Downloading spotipy-2.19.0-py3-none-any.whl (27 kB)
Collecting urllib3>=1.26.0
  Downloading urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
     |████████████████████████████████| 138 kB 3.0 MB/s            
Collecting requests>=2.25.0
  Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting six>=1.15.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting idna<4,>=2.5
  Downloading idna-3.3-py3-none-any.whl (61 kB)
     |████████████████████████████████| 61 kB 2.6 MB/s            
Collecting charset-normalizer~=2.0.0
  Downloading charset_normalizer-2.0.7-py3-none-any.whl (38 kB)
Collecting certifi>=2017.4.17
  Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
     |████████████████████████████████| 149 kB 1.4 MB/s            
Installing collected packages: urllib3, idna, charset-normalizer, certifi, six, requests, spotipy
Successfully installed certifi-2021.10.8 charset-normalizer-2.0.7 idna-3.3 requests-2.26.0 six-1.16.0 spotipy-2.19.0 urllib3-1.26.7

But now:

(audio-rename) guettli@yoga15:~/projects/audio-rename/BeautifyMP3$ python addMetadata.py 
Traceback (most recent call last):
  File "addMetadata.py", line 29, in <module>
    from titlecase import titlecase
ModuleNotFoundError: No module named 'titlecase'

... giving up.

Trouble installing

Hi Yash.

I'm having trouble installing this. The procedure described in the installation instructions failed to install dependencies, but pipenv couldn't install them either using the pipfile. Currently it's stuck on "ImportError: Failed to find libmagic"

fails when trying to rename file with weird characters

This is the relevant part of the logs

renaming Franz Liszt, Lang Lang - La campanella in G-Sharp Minor (From Grandes études de Paganini, S. 141  3).mp3to La campanella in G-Sharp Minor (From "Grandes études de Paganini", S. 141 / 3)
Traceback (most recent call last):
  File "/home/adriel/clonenbuild/BeautifyMP3/addMetadata.py", line 376, in <module>
    main()
  File "/home/adriel/clonenbuild/BeautifyMP3/addMetadata.py", line 370, in main
    need_to_improve = fix_music_files(
  File "/home/adriel/clonenbuild/BeautifyMP3/addMetadata.py", line 300, in fix_music_files
    response = fix_music_file(spotify, file_name, norename, rename_format)
  File "/home/adriel/clonenbuild/BeautifyMP3/addMetadata.py", line 274, in fix_music_file
    rename_file = rename_to_format(
  File "/home/adriel/clonenbuild/BeautifyMP3/addMetadata.py", line 293, in rename_to_format
    rename(file_name, new_path)
FileNotFoundError: [Errno 2] No such file or directory: 'Franz Liszt, Lang Lang - La campanella in G-Sharp Minor (From Grandes études de Paganini, S. 141  3).mp3' -> 'La campanella in G-Sharp Minor (From "Grandes études de Paganini", S. 141 / 3).mp3'

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.