YT: check if decipher produced result

This commit is contained in:
Rafostar
2021-03-14 16:50:23 +01:00
parent 270e59137d
commit 6370e1126b

View File

@@ -388,6 +388,7 @@ var YouTubeClient = GObject.registerClass({
const sig = gstUri.get_query_value(queryKeys.sig); const sig = gstUri.get_query_value(queryKeys.sig);
const key = YTDL.sig.decipher(cipher, actions); const key = YTDL.sig.decipher(cipher, actions);
if(!key) return null;
debug('stream deciphered'); debug('stream deciphered');