Skip to content
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

I am getting a division by zero error #302

Open
Larmbs opened this issue Aug 26, 2024 · 0 comments
Open

I am getting a division by zero error #302

Larmbs opened this issue Aug 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Larmbs
Copy link

Larmbs commented Aug 26, 2024

Bug report

Version Info

  • Ytmdl version: 2024.08.15.1
  • Youtube-dl version: PUT VERSION HERE

How Ytmdl was installed?

Installed through cloning the repo.

Console Log

ytmdl --level DEBUG https://www.youtube.com/playlist?list=PLu
nAs_VfWjqeiP68DZVR0Zhn4ZGcPyfJB
 ==> Logger running in DEBUG mode 
 ==> Passed args: Namespace(SONG_NAME=['https://www.youtube.com/playlist?list=PLunAs_VfWjqeiP68DZVR0Zhn4ZGcPyfJB'], quiet=False, output_dir=None, song=None, choice=None, artist=None, album=None, disable_metaadd=False, skip_meta=False, manual_meta=False, itunes_id=None, spotify_id=None, disable_sort=False, ask_meta_name=False, on_meta_error=None, proxy=None, url=None, list=None, nolocal=False, format='mp3', trim=False, get_opts=False, keep_chapter_name=False, download_archive=None, ignore_chapters=False, ytdl_config=None, dont_transcode=False, filename=None, pl_start=None, pl_end=None, pl_items=None, ignore_errors=False, title_as_name=False, level='DEBUG', disable_file=False, list_level=False) 
 ==> on_meta_error before:  None
 ==> on_meta_error after:  exit
 ==> itunes_country: US
 ==> Youtube playlist passed...extracting! 
[youtube:tab] Extracting URL: https://www.youtube.com/playlist?list=PLunAs_VfWjqeiP68DZVR0Zhn4ZGcPyfJB
[youtube:tab] PLunAs_VfWjqeiP68DZVR0Zhn4ZGcPyfJB: Downloading webpage
[youtube:tab] PLunAs_VfWjqeiP68DZVR0Zhn4ZGcPyfJB: Redownloading playlist API JSON with unavailable videos
[download] Downloading playlist: David Bowie - Blackstar (2016) (Full Album)
[youtube:tab] PLunAs_VfWjqeiP68DZVR0Zhn4ZGcPyfJB page 1: Downloading API JSON
[youtube:tab] Playlist David Bowie - Blackstar (2016) (Full Album): Downloading 7 items of 7
[download] Downloading item 1 of 7
[download] Downloading item 2 of 7
[download] Downloading item 3 of 7
[download] Downloading item 4 of 7
[download] Downloading item 5 of 7
[download] Downloading item 6 of 7
[download] Downloading item 7 of 7
[download] Finished downloading playlist: David Bowie - Blackstar (2016) (Full Album)
 ==> Playlist: David Bowie - Blackstar (2016) (Full Album) 
 ==> 7 songs found 
 ==> [] 
 ==> verify title:  False
 ==> ★ 
 ==> None 
 ==> Searching to see if already present in /home/liam/Music 
 ==> proxy passed: None 
 ==> Passed format: mp3 
 ==> Downloading ★ in 320kbps 
 ==> Saving the files to: /home/liam/.cache/ytmdl 
 ==> /home/liam/.cache/ytmdl/★.mp3 
 ==> Enabling progress hook. 
 ==> Passed value for no_progress: False 
 ==> args passed:  {'quiet': False, 'no_warnings': False, 'nocheckcertificate': True, 'source_address': '0.0.0.0', 'outtmpl': '/home/liam/.cache/ytmdl/★.mp3', 'format': 'bestaudio/best', 'progress_hooks': [<function progress_handler at 0x7ff177815cf0>]}
[youtube] Extracting URL: https://www.youtube.com/watch?v=bXJzjj9lOP8
[youtube] bXJzjj9lOP8: Downloading webpage
[youtube] bXJzjj9lOP8: Downloading ios player API JSON
[youtube] bXJzjj9lOP8: Downloading web creator player API JSON
[youtube] bXJzjj9lOP8: Downloading m3u8 information
[info] bXJzjj9lOP8: Downloading 1 format(s): 251
[download] Destination: /home/liam/.cache/ytmdl/★.mp3
[download] 100% of    9.63MiB in 00:00:01 at 8.84MiB/s
 ==> Downloaded! 
[youtube] Extracting URL: https://www.youtube.com/watch?v=bXJzjj9lOP8
[youtube] bXJzjj9lOP8: Downloading webpage
[youtube] bXJzjj9lOP8: Downloading ios player API JSON
[youtube] bXJzjj9lOP8: Downloading web creator player API JSON
[youtube] bXJzjj9lOP8: Downloading m3u8 information
 ==> songs to download:  [{'title': '★', 'is_original': True}]
 ==> is original:  True
 ==> Has the attribute 
 ==> song_name:  ★  song_meta:  ★
 ==> None 
 ==> None:None 
File '/home/liam/.cache/ytmdl/★.mp3_new.mp3' already exists. Overwrite? [y/N] y
 ==> Skip Meta: False 
 ==> Getting song data for ★... 
 ==> Searching metadata with itunes 
 ==> Searching metadata with gaana 
 ==> Searching metadata with spotify 
 ==> Using US for Spotify country 
 ==> Error occurred:  division by zero . Exiting. Pass `--ignore-errors` if you want errorslike this to be ignored

Description

When running ytmdl https://www.youtube.com/playlist?list=PLunAs_VfWjqeiP68DZVR0Zhn4ZGcPyfJB I got a division by zero error near the end. Not sure why or how to fix this.

@Larmbs Larmbs added the bug Something isn't working label Aug 26, 2024
@github-staff github-staff deleted a comment from masooddahmedd Sep 10, 2024
@github-staff github-staff deleted a comment from masooddahmedd Sep 10, 2024
@github-staff github-staff deleted a comment from Lxx-c Oct 23, 2024
@github-staff github-staff deleted a comment from Lxx-c Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@Larmbs and others