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()
|
raise NotImplementedError()
|
||||||
|
|
||||||
|
|
||||||
# this is not an abstract class pycharm wtf
|
|
||||||
# noinspection PyAbstractClass
|
|
||||||
class YoutubeDLVideo(Video):
|
class YoutubeDLVideo(Video):
|
||||||
"""A file sourcing from YoutubeDL."""
|
"""A file sourcing from YoutubeDL."""
|
||||||
|
|
||||||
|
@ -186,6 +184,9 @@ class YoutubeDLVideo(Video):
|
||||||
self.audio_source = discord.PCMVolumeTransformer(discord.FFmpegPCMAudio(self.get_filename(), **ffmpeg_settings))
|
self.audio_source = discord.PCMVolumeTransformer(discord.FFmpegPCMAudio(self.get_filename(), **ffmpeg_settings))
|
||||||
return self.audio_source
|
return self.audio_source
|
||||||
|
|
||||||
|
def get_suggestion(self):
|
||||||
|
return None
|
||||||
|
|
||||||
|
|
||||||
class LoopMode(enum.Enum):
|
class LoopMode(enum.Enum):
|
||||||
NORMAL = enum.auto()
|
NORMAL = enum.auto()
|
||||||
|
|
Loading…
Reference in a new issue