MusicBot icon indicating copy to clipboard operation
MusicBot copied to clipboard

[Bug Report] bot can't play shorts video

Open Megumiso opened this issue 3 years ago • 0 comments

Bug Description

bot can't play shorts video.

This sounds like a really simple issue since YouTube Shorts were released few ~~years~~ months ago, but I couldn't find a same issue by searching "short" or "shorts". so I'm reporting this. Sorry if there's already the same issue that I missed.

Steps to Reproduce

  1. !play https://www.youtube.com/shorts/V6Qipms13VE
  2. bot says "Error loading: Unknown file format."

Expected Result

bot starts playing shorts video just like usual YouTube video.

Debug Output

System Properties:
  java.version = 11.0.13
  java.vm.name = OpenJDK 64-Bit Server VM
  java.vm.specification.version = 11
  java.runtime.name = OpenJDK Runtime Environment
  java.runtime.version = 11.0.13+8-Ubuntu-0ubuntu1.20.04
  java.specification.version = 11
  os.arch = amd64
  os.name = Linux

JMusicBot Information:
  Version = 0.3.6
  Owner = 241578268749201408
  Prefix = !
  AltPrefix = null
  MaxSeconds = 0
  NPImages = false
  SongInStatus = false
  StayInChannel = true
  UseEval = false
  UpdateAlerts = true

Dependency Information:
  JDA Version = 4.3.0_324
  JDA-Utilities Version = 3.0.5
  Lavaplayer Version = 1.3.78

Runtime Information:
  Total Memory = 17
  Used Memory = 13

Discord Information:
  ID = 418666605262798848
  Guilds = 12
  Users = 5

Additional Info

You can workaround this issue by changing the URL like following:

https://www.youtube.com/shorts/V6Qipms13VE -> https://www.youtube.com/watch?v=V6Qipms13VE

Checklist

Megumiso avatar Feb 24 '22 03:02 Megumiso