-
Notifications
You must be signed in to change notification settings - Fork 602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(downloader): New option to download on finish #1964
feat(downloader): New option to download on finish #1964
Conversation
What happens on songs with a length of 40 seconds? 20 seconds would be the half, and not the "last bit" Either make it configurable based on how big a song is, or make it a percentage (like 99%) |
I will test and review this later today. |
|
Ok, it seems to work fine on my machine. The only issue that I noticed is kinda unrelated to this plugin, but the song change callbacks are not called for the auto-play song on start-up. (which is totally not the responsibility of this plugin to fix) Also, maybe it would be a good idea to allow a separate folder for the auto-downloaded tracks. |
I try to add it in the next days |
I'm busy with my job, so I can't review it right now. Thanks for your contribution! |
Awesome feature. Does this actually use the cached audio Blob? Or does it effectively download the song twice? |
It just calls the downloadSong function |
So i think it downloads the song twice |
would be really awesome if this somehow didn't use that |
Would it really benefit from using the cached audio blob? |
This adds an option to the downloader menu.
When the option is activated it tracks the time that is elapsed and then if the rest time of the song is below 20 seconds it downloads the song.
The range is 20 seconds for when you skip the last bit of the song.