Merge branch 'main' into development
This commit is contained in:
@@ -100,6 +100,7 @@ class Download extends RefCounted:
|
||||
|
||||
var _status: Status = Status.READY
|
||||
var _thread: Thread = null
|
||||
var _process_id:int
|
||||
|
||||
# Fields
|
||||
var _url: String
|
||||
|
||||
@@ -60,6 +60,7 @@ func DownloadYTVidFromLink():
|
||||
return
|
||||
loading_img.show()
|
||||
yt_link.clear()
|
||||
CurrentDownload = download
|
||||
download.set_destination(owner.PlaylistsLocation[owner.CurrentPlaylist])
|
||||
print(owner.PlaylistsLocation[owner.CurrentPlaylist])
|
||||
download.convert_to_audio(YtDlp.Audio.MP3)
|
||||
@@ -71,6 +72,7 @@ func DownloadCompleted():
|
||||
yt_download.disabled = false
|
||||
owner.GetSongs(owner.PlaylistsLocation[owner.CurrentPlaylist])
|
||||
loading_img.hide()
|
||||
CurrentDownload = null
|
||||
|
||||
|
||||
func _on_toggled(toggled_on: bool) -> void:
|
||||
|
||||
Reference in New Issue
Block a user