Merge pull request #12 from jarulsamy/dev

v1.0.1
This commit is contained in:
Joshua Arulsamy 2020-08-29 20:09:14 -06:00 committed by GitHub
commit 57490cdf17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View File

@ -1,8 +1,10 @@
FROM python:3.7-slim
LABEL maintainer="Joshua Arulsamy <joshua.gf.arul@gmail.com>"
# 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/*

View File

@ -1,5 +1,5 @@
"""Track version number of package."""
VERSION = "1.0.0"
VERSION = "1.0.1"
if __name__ == "__main__":
print(VERSION)

View File

@ -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: