persepolisdm / persepolis

Persepolis is a download manager written in Python.
https://persepolisdm.github.io
GNU General Public License v3.0
6.32k stars 656 forks source link

Add option "download audio only " (i.e. automatically convert the downloaded video into audio or use presets "bestaudio/worstaudio" of yt-dlp ) if there are dash audio formats #961

Closed trimechee closed 7 months ago

trimechee commented 8 months ago

Hello, we are grateful to you for this wonderful wonderful downloader, thank you ! 🥇

I have suggestion please :

sometimes we just need to listen to the audio of a video, to help us fall asleep and so the computer screen turns off at night when we sleep or to send the downloaded audio to our smartphone when we go out for a walk and do sports via, for example:

https://snapdrop.net/ https://node-snapdrop.herokuapp.com/ https://pairdrop.net/ https://www.sharedrop.io/

https://kdeconnect.kde.org/ https://retroshare.cc/index.html

https://kdeconnect.kde.org/ https://github.com/linuxmint/warpinator https://github.com/danopdev/LNDP-Android https://github.com/LANDrop https://landrop.app/#top

Intel® Unison™ https://apps.microsoft.com/detail/9PP9GZM2GN26?hl=en-us&gl=US

https://riftshare.app/ https://github.com/achhabra2/riftshare https://blog.checkyo.tech/

https://winpinator.swisz.cz/ https://www.airdroid.com/personal/ https://github.com/pdf/kdeconnect-chrome-extension https://github.com/slowscript/warpinator-windows https://github.com/slowscript/warpinator-android https://github.com/slowscript/warp

https://www.bloomoffline.com/ https://f-droid.org/packages/org.cimbar.camerafilecopy/ https://github.com/sz3/cfc https://cimbar.org/ https://stestagg.github.io/dashcast/ https://github.com/kaangiray26/share https://share.buzl.uk/

and therefore the space on our smartphone or ssd is limited hence the interest of the "download audio only" option, i.e. on streaming sites there are documentaries with a very large size of 1GB and more whereas we just want to listen to the audio or on youtube or dailymotion where there are documentaries in very high definition and we just like to listen to the audio so we hope for an option in our beloved Persepolis to automatically extract the audio from the downloaded video file and the downloaded video file which weighs a lot will be deleted to keep only the audio of the video, or use use presets : "bestaudio" and "worstaudio" of yt-dlp or presets (if there is eventual bug because worstaudio preset seems it does not allow us to move within the downloaded file using the progress bar) :

-f worstaudio -x -f bestaudio -x

if there are dash audio formats so no need to convert, thank you !

alireza-amirsamimi commented 7 months ago

Hello Thank you very much. You can use Persepolis's video finder. Just check the "advanced options" and select "No video" for video format.

Screenshot_%Y%M%D_%H%m%S

trimechee commented 7 months ago

Great fantastic Mr @alireza-amirsamimi !! 💯 🥇

So please it remains if it does not bother you and does not tire you in sha Allah to add an option to convert the video which does not have a separate dash audio stream and convert the downloaded video into an audio file please !

alireza-amirsamimi commented 7 months ago

You must use ffmpeg :) Persepolis is download manager not video convertor :)

trimechee commented 7 months ago

We understand, thank you :)