Log found codecs

This commit is contained in:
Nexus 2024-04-14 23:16:35 +01:00
parent 84513735ef
commit 55c6e879ea
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -59,6 +59,7 @@ class AutoResponder(commands.Cog):
raise ValueError("No info found for %r" % uri)
streams = info.get("streams", [])
for stream in streams:
self.log.info("Found stream: %s", stream.get("codec_name"))
if stream.get("codec_name") == "hevc":
self.log.info("Found HEVC stream: %r", stream)
break