From fc4682c2109cd9d5316dcd743ea8f952a384f1ea Mon Sep 17 00:00:00 2001 From: Joshua Arulsamy Date: Thu, 13 Aug 2020 02:52:48 -0600 Subject: [PATCH 1/4] :bookmark: Bump version --- PlexBot/__version__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlexBot/__version__.py b/PlexBot/__version__.py index f06a6d3..b72fdbd 100644 --- a/PlexBot/__version__.py +++ b/PlexBot/__version__.py @@ -1,5 +1,5 @@ """Track version number of package.""" -VERSION = "1.0.0" +VERSION = "1.0.1" if __name__ == "__main__": print(VERSION) From db188d968bccdbc5ac3aa7157af205f9ba20a18f Mon Sep 17 00:00:00 2001 From: Joshua Arulsamy Date: Thu, 13 Aug 2020 03:20:41 -0600 Subject: [PATCH 2/4] :art: Static methods --- PlexBot/bot.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/PlexBot/bot.py b/PlexBot/bot.py index 5e53759..5dd7067 100644 --- a/PlexBot/bot.py +++ b/PlexBot/bot.py @@ -303,7 +303,8 @@ class Plex(commands.Cog): self.current_track = None self.bot.loop.call_soon_threadsafe(self.play_next_event.set) - def _build_embed_track(self, track, type_="play"): + @staticmethod + def _build_embed_track(track, type_="play"): """Creates a pretty embed card for tracks Builds a helpful status embed with the following info: @@ -350,7 +351,8 @@ class Plex(commands.Cog): return embed, art_file - def _build_embed_album(self, album): + @staticmethod + def _build_embed_album(album): """Creates a pretty embed card for albums Builds a helpful status embed with the following info: From d0b6c25359e24cf4c04c73cfeafcfb2c7afcaf27 Mon Sep 17 00:00:00 2001 From: Joshua Arulsamy Date: Thu, 13 Aug 2020 03:21:00 -0600 Subject: [PATCH 3/4] :heavy_plus_sign: Pinned dependencies --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 827024d..ef1c631 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM python:3.7-slim # Install ffmpeg RUN apt-get -y update && \ - apt-get install -y --no-install-recommends ffmpeg && \ + apt-get install -y --no-install-recommends ffmpeg=7:4.1.6-1~deb10u1 && \ apt-get autoremove -y && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* From 5ba7d751d02dfdcb7c99a423839e711bb8ca548c Mon Sep 17 00:00:00 2001 From: Joshua Arulsamy Date: Fri, 14 Aug 2020 20:57:03 -0600 Subject: [PATCH 4/4] :busts_in_silhouette: Add label of maintainer --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index ef1c631..d52c99d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM python:3.7-slim +LABEL maintainer="Joshua Arulsamy " + # Install ffmpeg RUN apt-get -y update && \ apt-get install -y --no-install-recommends ffmpeg=7:4.1.6-1~deb10u1 && \