paulmccarron / spotify-playlist-janitor

1 stars 0 forks source link

Playlist Options #62

Closed paulmccarron closed 1 year ago

paulmccarron commented 1 year ago

Add options to monitored playlists to allow user better control of their skipped track monitoring

Update playlists schema

CREATE TABLE playlists (
    id text PRIMARY KEY not null,
    skip_threshold int,
    ignore_initial_skips boolean not null,
    auto_cleanup_limit int,
);

Update ERD.

Update GET playlists, POST playlists, GET playlists/{id}. Add PUT playlists/{id}

Add/Update Database Service playlist methods.

Add/Update unit tests for controllers/services.

Update Polling Service and Playing State service to use these settings.

paulmccarron commented 1 year ago

Better way to schedule jobs: