Git Product home page Git Product logo

musicbucket-bot's Issues

Search artists/albums/tracks

Add the possibility to search artists/albums/tracks using the Spotify API.

@music_bucket_bot [name] > display a list of results and add to the chat by clicking them

Revisar dependencias de node

La dependencia node-sass lanza dos warnings:

warning node-sass > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning node-sass > node-gyp > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

Habría que mirar de actualizar la dependencia y ver si se puede eliminar request, revisar el enlace que indica en el mensaje de error.

Refactor musicbucket_bot.py

Refactor musicbucket_bot.py creating a class for every command and split large command methods into smaller ones

Database restructuration

Create Artist and Album model and a foreign key from Link to both. Save both ids and some information like name and genres
This will allow to use /recommendations basing the query to both Artist and Album and not only Artist.

Then, it will be necessary to do a migration to retrieve the data from Spotify for every album and artist.

Last.fm integration

  • Add the possibility to retrieve, with a command (/nowplaying [username] or similar) the track that a last.fm user is playing. If it's possible, send the Spotify link too.
  • Add the possibility to set the last.fm username to a specific telegram user.

General refactor

  1. Create a bot module in app and move responser.py inside.
  2. Add a commands.py file and move in all the commands in bot.py

Refactor responser.py file

Refactor Responser class into smaller classes for every command and split the large response functions into smaller ones

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.