diff --git a/Dockerfile b/Dockerfile index 827024d..d52c99d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,10 @@ FROM python:3.7-slim +LABEL maintainer="Joshua Arulsamy " + # 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/* 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) 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: