diff --git a/Dockerfile b/Dockerfile index f193e26..63dcdca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,4 @@ VOLUME /music VOLUME /config -ENTRYPOINT ["/swingmusic", "--host", "0.0.0.0", "--config", "/config"] - -LABEL org.opencontainers.image.source=https://github.com/cwilvx/swingmusic -LABEL org.opencontainers.image.description=" Swing Music is a beautiful, self-hosted music player for your local audio files. Like a cooler Spotify ... but bring your own music." -LABEL org.opencontainers.image.licenses=MIT \ No newline at end of file +ENTRYPOINT ["/swingmusic", "--host", "0.0.0.0", "--config", "/config"] \ No newline at end of file diff --git a/Dockerfile.og b/Dockerfile.og deleted file mode 100644 index 23c27c2..0000000 --- a/Dockerfile.og +++ /dev/null @@ -1,35 +0,0 @@ -FROM node:latest AS CLIENT - -RUN git clone https://github.com/swing-opensource/swingmusic-client.git client - -WORKDIR /client - -RUN git checkout $(git describe --tags $(git rev-list --tags --max-count=1)) - -RUN yarn install - -RUN yarn build - -FROM python:latest - -WORKDIR /app/swingmusic - -COPY . . - -COPY --from=CLIENT /client/dist/ client - -EXPOSE 1970/tcp - -VOLUME /music - -VOLUME /config - -RUN pip install poetry - -RUN poetry config virtualenvs.create false - -RUN poetry install - -ENV LASTFM_API_KEY="45c6776a1029a280fabd6a2c8158023d" - -ENTRYPOINT ["poetry", "run", "python", "manage.py", "--host", "0.0.0.0", "--config", "/config"] diff --git a/app/lib/playlistlib.py b/app/lib/playlistlib.py index 7c20efa..d609496 100644 --- a/app/lib/playlistlib.py +++ b/app/lib/playlistlib.py @@ -136,7 +136,7 @@ def get_first_4_images( def get_recently_added_playlist(cutoff: int = 14): playlist = Playlist( - id="recentlyplayed", + id="recentlyadded", name="Recently Added", image=None, last_updated="Now",