Giter Site home page Giter Site logo

richodemus / autoplaylist Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 3.17 MB

Create Spotify playlists and fill them with songs based on rules instead of drag and drop

License: Apache License 2.0

Shell 0.18% Kotlin 37.32% HTML 3.64% CSS 0.15% JavaScript 17.90% Dockerfile 0.34% TypeScript 4.09% Rust 36.38%
spotify kotlin react

autoplaylist's Introduction

Autoplaylists

A way to programaticaly add content to spotify playlists, similar to iTunes Smart Playlist or foobar2k autoplayllist

Frontend written in a mix of Javascript and typescript
Backend written in Kotlin

Running locally with Docker

  1. Run ./build.sh
  2. copy .env_example to .env and fill it out
  3. docker-compose up -d

Acknowledgements

Big thanks to Jetbrains
Alt text

autoplaylist's People

Contributors

richodemus avatar dependabot[bot] avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

ehammarstedt

autoplaylist's Issues

Don't block thread in suspending function

Hello, during searching for kotlin libs with retries I found your project.

The problem I found - you are doing Thread.sleep that is simply block the whole thread and does not make sense for coroutine based code: https://github.com/RichoDemus/autoplaylist/blob/master/autoplaylist-backend/server/spotify-adapter/src/main/kotlin/com/richodemus/autoplaylist/spotify/SpotifyAdapter.kt#L81

Replacing it with delay() would fix the problem. Reference: https://kotlinlang.org/docs/reference/coroutines/basics.html#waiting-for-a-job

Deployment: Don't use StrictHostKeyChecking=no do deploy

Normally when SSHing to a new host you get that prompt asking you if you want to save the host to known_hosts. That doesn't fly when deploying automatically

Right now that's solved by disabling that feature but I guess it theres a better way

investigate

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.