Ajuste yt-dlp en /usr/local/bin
This commit is contained in:
parent
63f354035e
commit
9c486bb8c0
4 changed files with 23 additions and 5 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
* Tue Apr 23 2024 Luis GuLo <luisgulo@gmail.com> 1.0.22
|
||||||
|
- Ajuste version
|
||||||
|
|
||||||
|
* Tue Apr 23 2024 Luis GuLo <luisgulo@gmail.com> 1.0.18
|
||||||
|
- Ajuste
|
||||||
|
|
||||||
|
* Tue Apr 23 2024 Luis GuLo <luisgulo@gmail.com> 1.0.17
|
||||||
|
- juste dependencia
|
||||||
|
|
||||||
* Mon Jun 26 2023 Luis GuLo <luisgulo@gmail.com> 1.0.16
|
* Mon Jun 26 2023 Luis GuLo <luisgulo@gmail.com> 1.0.16
|
||||||
- Se usa yt-dlp como gestor de descarga. Se busca mejor video en formato mp4
|
- Se usa yt-dlp como gestor de descarga. Se busca mejor video en formato mp4
|
||||||
|
|
||||||
|
|
8
.hidden/yt-dlp
Executable file
8
.hidden/yt-dlp
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/python3
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
import re
|
||||||
|
import sys
|
||||||
|
from yt_dlp import main
|
||||||
|
if __name__ == "__main__":
|
||||||
|
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
||||||
|
sys.exit(main())
|
9
.project
9
.project
|
@ -2,7 +2,7 @@
|
||||||
Title=SoundClouding
|
Title=SoundClouding
|
||||||
Startup=FMain
|
Startup=FMain
|
||||||
Icon=icono.png
|
Icon=icono.png
|
||||||
Version=1.0.16
|
Version=1.0.22
|
||||||
Component=gb.image
|
Component=gb.image
|
||||||
Component=gb.gui
|
Component=gb.gui
|
||||||
Component=gb.form
|
Component=gb.form
|
||||||
|
@ -15,18 +15,19 @@ SourcePath=/home/luisgulo/ProyectosGAMBAS/SOURCEs
|
||||||
Maintainer=Luis GuLo
|
Maintainer=Luis GuLo
|
||||||
Vendor=LuisGuLo
|
Vendor=LuisGuLo
|
||||||
Address=luisgulo@gmail.com
|
Address=luisgulo@gmail.com
|
||||||
Url=https://gitea.soloconlinux.org.es/GAMBAS/SoundClouding
|
Url=https://gitea.soloconlinux.org.es/luisgulo/SoundClouding
|
||||||
License=General Public License
|
License=General Public License
|
||||||
PackageName=soundclouding-1.0.16
|
PackageName=soundclouding-1.0.22
|
||||||
PackageVersion=2
|
PackageVersion=2
|
||||||
CreateEachDirectory=1
|
CreateEachDirectory=1
|
||||||
Packager=1
|
Packager=1
|
||||||
Systems=debian,fedora
|
Systems=debian
|
||||||
SameDependencies=1
|
SameDependencies=1
|
||||||
Menus=debian:"Applications/Sound"
|
Menus=debian:"Applications/Sound"
|
||||||
Categories=debian:"AudioVideo"
|
Categories=debian:"AudioVideo"
|
||||||
Groups=debian:"sound"
|
Groups=debian:"sound"
|
||||||
ExtraDependencies=debian:"youtube-dl\t\t"
|
ExtraDependencies=debian:"youtube-dl\t\t"
|
||||||
|
ExtraFiles=debian:"yt-dlp\t/usr/local/bin/"
|
||||||
Menus=fedora:"Audio Video/Music"
|
Menus=fedora:"Audio Video/Music"
|
||||||
Categories=fedora:"AudioVideo;Music"
|
Categories=fedora:"AudioVideo;Music"
|
||||||
Groups=fedora:"Applications/Multimedia"
|
Groups=fedora:"Applications/Multimedia"
|
||||||
|
|
|
@ -117,7 +117,7 @@ Public Function CompruebaDL()
|
||||||
Shell "yt-dlp --version 1>/dev/null 2>/dev/null; echo -n $?" To Resultado
|
Shell "yt-dlp --version 1>/dev/null 2>/dev/null; echo -n $?" To Resultado
|
||||||
If Resultado <> "0"
|
If Resultado <> "0"
|
||||||
Message.Title = ("Error yt-dlp")
|
Message.Title = ("Error yt-dlp")
|
||||||
Message.Error(("No se ha localizado la herramienta externa yt-dlp") & gb.CrLf & ("* Debe instalarlo desde su gestor de paquetes") & gb.CrLf & ("* También puede descargarlo desde: https://yt-dl.org/latest/yt-dlp "))
|
Message.Error(("No se ha localizado la herramienta externa yt-dlp") & gb.CrLf & ("* Debe instalarlo desde su gestor de paquetes") & gb.CrLf & ("* También puede descargarlo desde: https://yt-dl.org/latest/yt-dlp ") & gb.CrLf & ("* Si lo tiene instalado cree un link en /usr/local/bin/"))
|
||||||
Quit
|
Quit
|
||||||
Endif
|
Endif
|
||||||
End
|
End
|
||||||
|
|
Loading…
Reference in a new issue