Giter Site home page Giter Site logo

djcharismatic / attributetagger Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mrdjtools/attributetagger

0.0 0.0 0.0 17 KB

This is a publicly available version of the attribute tagger I created using ChatGPT 4. The tagger cross-references Spotify's metadata with tracks located in a specific folder and automatically assigns relevant tags to them. With this tool, you can easily organize your music library based on the audio features of your tracks.

Python 100.00%

attributetagger's Introduction

Attribute Tagger

Attribute Tagger is an advanced Python application, brought to life with the guidance of OpenAI's ChatGPT 4. This tool serves as a bridge between your MP3 music library and the Spotify API, fetching insightful audio features and genres for your music tracks and integrating this data directly into each file's metadata. The result is a richer, more informative music collection that can be categorized and explored in new and exciting ways.

Key Features

Leverages the Spotify API to retrieve a wide range of audio features and genres for each MP3 track. Seamlessly integrates the retrieved data into the metadata of the corresponding MP3 files. Allows for customization of the attributes to be included in the metadata. Provides an intuitive Graphical User Interface (GUI) designed for ease of use. Prerequisites

Attribute Tagger relies on the following Python libraries:

spotipy mutagen tkinter To install these dependencies, use pip:

bash Copy code pip install spotipy mutagen tkinter Getting Started

Before using Attribute Tagger, you'll need to acquire Spotify API credentials. Here's a step-by-step guide to obtaining your client ID and client secret:

Visit the Spotify Developer Dashboard and log in to your Spotify account. Click "Create an App" and complete the required fields. Once your app is set up, your client ID and client secret will be displayed on the app's dashboard. Configuring the Default Folder

Attribute Tagger, by default, searches for MP3 files in a preset folder. To modify this:

Open the music_tagger.py file in a code editor. Locate the line default_folder = "/Users/Music/music-library". Replace "/Users/Music/music-library" with the path to your preferred default folder. Save the changes. Usage

Running Attribute Tagger is straightforward:

Open a terminal or command prompt and navigate to the directory where the music_tagger.py script is located. Run the script: python music_tagger.py The GUI will open. Use the "Browse" button to select your MP3 folder. Input your Spotify API client ID and client secret in the appropriate fields. Check the boxes next to the audio features and genres you wish to add to your MP3 files. Click "Start" to initiate the process. The progress bar and text field will keep you updated on the operation's progress. When completed, the text field will display "DONE". This application was developed with significant assistance from ChatGPT 4. This highly advanced language model by OpenAI provided valuable insights, suggestions, and guidance throughout the development process.

Contributions

We greatly appreciate contributions from the community. Please feel free to submit pull requests. If you have major changes in mind, we encourage you to open an issue first to discuss your proposed changes. Please ensure that you update or create tests as appropriate.

License

Attribute Tagger is licensed under the MIT License.

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.