Skip to content

Latest commit

 

History

History
76 lines (53 loc) · 3.14 KB

README.md

File metadata and controls

76 lines (53 loc) · 3.14 KB

Banner Language License Reddit GitHub stars

Vectoripy is a Python project that seamlessly integrates the Anki Vector robot with the Spotify API, allowing Vector to display real-time track info, including album art, and control playback with gestures!

Leave a ⭐ if you find this project interesting! It's a great way to show your support and help others find it.

Features ✨

  • Displays album cover and track information.
  • Skip to the next or previous track using Vector's lift (Requires Vector to be on the charger).
  • Pause and resume playback with Vector's touch sensor.
  • Handles Spotify playback updates in real-time.

Requirements 📦

Installation 🔧

  1. Clone the repository:

    git clone https://github.com/yourusername/Vectoripy.git
  2. Navigate to the project directory:

    cd Vectoripy
  3. Follow the Anki Vector SDK installation guide for instructions on how to set up the Anki Vector SDK.

  4. Install the required packages:

    pip install -r requirements.txt
  5. Set up Spotify API credentials:

    Get your CLIENT_ID, CLIENT_SECRET, and REDIRECT_URI from your Spotify Developer Dashboard.

    Add these credentials to a config.py file:

        CLIENT_ID = 'your-client-id'
        CLIENT_SECRET = 'your-client-secret'
        REDIRECT_URI = 'your-redirect-uri'

Usage 🚀

  1. Turn on your Anki Vector robot and ensure it's connected to your SDK.

  2. Run the main script:

    python main.py
  3. Vector will display the album cover and track information of the currently playing song on your Spotify account

    Showcase Vector playing music

  4. Lift Vector's arm to skip to the next track or lower it to go back to the previous track.

    Showcase Vector skipping song

  5. Tap Vector's touch sensor to pause or resume playback.

  6. Enjoy your music with Vector! 🎶 ️

Contributing 🤝

Contributions are welcome! If you'd like to contribute, please fork the repository and submit a pull request.

License 📝

This project is licensed under the MIT License - see the LICENSE file for details.