mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-06-07 04:49:35 +00:00
fixed bug where video titles were used instead of IDs for the player component
fixed bug that caused a crash when no subscriptions existed
This commit is contained in:
@@ -186,6 +186,8 @@ function calculateSubcriptionRetrievalDelay(amount) {
|
||||
function watchSubscriptions() {
|
||||
let subscriptions = subscriptions_api.getAllSubscriptions();
|
||||
|
||||
if (!subscriptions) return;
|
||||
|
||||
let subscriptions_amount = subscriptions.length;
|
||||
let delay_interval = calculateSubcriptionRetrievalDelay(subscriptions_amount);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user