mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-25 06:00:56 +03: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