fixes #3
This commit is contained in:
parent
7d19f8af71
commit
3848ff086b
2 changed files with 2 additions and 1 deletions
|
@ -265,6 +265,7 @@ func GetInlineFormat(
|
|||
mediaList := response.MediaList
|
||||
if len(mediaList) == 0 {
|
||||
errChan <- fmt.Errorf("no media found for content ID: %s", dlCtx.MatchedContentID)
|
||||
return
|
||||
}
|
||||
if len(mediaList) > 1 {
|
||||
errChan <- util.ErrInlineMediaGroup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue