aliencaocao / ytdlp-gui

A simple GUI for yt-dlp based on Tkinter, written in pure Python 3
21 stars 2 forks source link

Customize Download broken ? - TypeError: float() argument must be a string or a real number, not 'NoneType' #3

Closed FloydianSound closed 11 months ago

FloydianSound commented 1 year ago

trying to download a song from youtube, fresh download of the latest release on github

pasting the URL in the field and click customize downloads, then this error appear download video and download audio works fine !

image

aliencaocao commented 1 year ago

Can you try building from the latest commit? I fixed a possible cause of this but havent release a new update yet as im still working on other features

FloydianSound commented 12 months ago

trying to build currently but having issue with the instructions you provided (i'm also quite rusty, havent played around with code in almost a year). if you have a mean to contact me in real-time i will assist as best as i can :)

pip install -U -r ./requirements.txt (Works)

create-version-file version.yml --outfile version.txt (Fails) image

pyinstaller --log-level DEBUG -F -i icon.ico --version-file=version.txt --add-data "icon.png;." --add-data "ffmpeg.exe;." --add-data "ffprobe.exe;." --distpath ./ --clean --noconfirm "yt-dlp-gui.py" (Fails) image

aliencaocao commented 12 months ago

yea thats my bad, forgot to update the README. you need to first pip install pyinstaller-versionfile then create-version-file version.yml --outfile version.txt

aliencaocao commented 11 months ago

Wait I just took a look again. You ran the commands in the wrong place. You should run this in the system cmd, not python shell. You were running create-version-file version.yml --outfile version.txt in python shell. I will update the doc to specify this.

FloydianSound commented 8 months ago

i had actually performed a side-hustle to make this work. first downloading a file with the proposed options works, then custom downloads that same file once again. i might need to reinstall this from scratch to see if what you suggested truly was the issue.

sorry took a while, been busy with life and work !