removed unused updateProgressBar function 458/head
authoruh_wot <3631986-uh_wot@users.noreply.gitlab.com>
Tue, 7 Apr 2020 21:39:04 +0000 (23:39 +0200)
committeruh_wot <3631986-uh_wot@users.noreply.gitlab.com>
Tue, 7 Apr 2020 21:39:04 +0000 (23:39 +0200)
app/app.js

index 549a5b9f5db96ac6f657c41697e3addf4e312b66..9d3ac5fcbb9b2b9bccc2fa769d0afd7cb3a8ef66 100644 (file)
@@ -3163,16 +3163,6 @@ function getID3v1(track, settings){
        return tagBuffer
 }
 
-function updateProgressBar(queueId, progress) {
-       if (Math.round(progress) % 5 == 0) {
-               io.sockets.emit("downloadProgress", {
-                       queueId: queueId,
-                       percentage: progress
-               })
-               logger.info("Updating download progress to: " + progress)
-       }
-}
-
 // Filters only Extended Ascii characters
 function extAsciiFilter(string){
        let output = ""