mirror of
https://github.com/jarulsamy/Plex-Bot.git
synced 2024-08-19 15:01:55 +02:00
commit
57490cdf17
@ -1,8 +1,10 @@
|
|||||||
FROM python:3.7-slim
|
FROM python:3.7-slim
|
||||||
|
|
||||||
|
LABEL maintainer="Joshua Arulsamy <joshua.gf.arul@gmail.com>"
|
||||||
|
|
||||||
# Install ffmpeg
|
# Install ffmpeg
|
||||||
RUN apt-get -y update && \
|
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 autoremove -y && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
"""Track version number of package."""
|
"""Track version number of package."""
|
||||||
VERSION = "1.0.0"
|
VERSION = "1.0.1"
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
print(VERSION)
|
print(VERSION)
|
||||||
|
@ -303,7 +303,8 @@ class Plex(commands.Cog):
|
|||||||
self.current_track = None
|
self.current_track = None
|
||||||
self.bot.loop.call_soon_threadsafe(self.play_next_event.set)
|
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
|
"""Creates a pretty embed card for tracks
|
||||||
|
|
||||||
Builds a helpful status embed with the following info:
|
Builds a helpful status embed with the following info:
|
||||||
@ -350,7 +351,8 @@ class Plex(commands.Cog):
|
|||||||
|
|
||||||
return embed, art_file
|
return embed, art_file
|
||||||
|
|
||||||
def _build_embed_album(self, album):
|
@staticmethod
|
||||||
|
def _build_embed_album(album):
|
||||||
"""Creates a pretty embed card for albums
|
"""Creates a pretty embed card for albums
|
||||||
|
|
||||||
Builds a helpful status embed with the following info:
|
Builds a helpful status embed with the following info:
|
||||||
|
Loading…
Reference in New Issue
Block a user