mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Implement placeholder get_suggestion in YoutubeDLVideo
This commit is contained in:
parent
c47494bbad
commit
f17003ce7b
1 changed files with 3 additions and 2 deletions
|
@ -112,8 +112,6 @@ class Video:
|
|||
raise NotImplementedError()
|
||||
|
||||
|
||||
# this is not an abstract class pycharm wtf
|
||||
# noinspection PyAbstractClass
|
||||
class YoutubeDLVideo(Video):
|
||||
"""A file sourcing from YoutubeDL."""
|
||||
|
||||
|
@ -186,6 +184,9 @@ class YoutubeDLVideo(Video):
|
|||
self.audio_source = discord.PCMVolumeTransformer(discord.FFmpegPCMAudio(self.get_filename(), **ffmpeg_settings))
|
||||
return self.audio_source
|
||||
|
||||
def get_suggestion(self):
|
||||
return None
|
||||
|
||||
|
||||
class LoopMode(enum.Enum):
|
||||
NORMAL = enum.auto()
|
||||
|
|
Loading…
Reference in a new issue