Set userAgent to ANDROID client (#385)

This commit is contained in:
vfsfitvnm
2022-10-09 15:44:59 +02:00
parent c00a079715
commit d49ac4fa13
3 changed files with 7 additions and 3 deletions

View File

@@ -160,7 +160,7 @@ fun Thumbnail(
is PlayableFormatNotFoundException -> "Couldn't find a playable audio format"
is UnplayableException -> "The original video source of this song has been deleted"
is LoginRequiredException -> "This song cannot be played due to server restrictions"
is VideoIdMismatchException -> "The returned video id didn't match the requested one"
is VideoIdMismatchException -> "The returned video id doesn't match the requested one"
else -> "An unknown playback error has occurred"
}
},