deepjyoti30 / ytmdl-web-v2

Web version of ytmdl. Allows downloading songs with metadata embedded from various sources like itunes, gaana, LastFM etc.
https://ytmdl.deepjyoti30.dev
MIT License
968 stars 73 forks source link

The application does not work for long songs. It just says getting it ready forever. #59

Open EAGBCD opened 1 year ago

EAGBCD commented 1 year ago

Bug report

The application does not work for long songs. It just says getting it ready forever.

Checklist

How was Ytmdl Web run

Browser Details

Console Log

Put log if you found one in the browsers console window

Description

The application does not work for long songs. It just says getting it ready forever.

Expected Behaviour

The song will download like it does for shorter songs.

Thank you for the application and your help.

deepjyoti30 commented 1 year ago

@EAGBCD Can you share some example song names that are long and match the above criteria you mentioned?

Would be helpful for debugging.

EAGBCD commented 1 year ago

Sure and thanks for the response.

You can input the title ' James Blake | NPR MUSIC FRONT ROW ' and its the first result

or use the link

https://youtu.be/j4qfT2dxU6E

I have given it a long while on multiple browsers and on multiple days, and like I said tried a vpn as well.

I suppose I haven't let it sit for hours but I doubt it is supposed to take that long.

Thank you again.

deepjyoti30 commented 1 year ago

Just to confirm, after you enter the youtube URL, it shows you metadata options for selection?

It's the last stage where it gets stuck, is that correct?

EAGBCD commented 1 year ago

Sorta, depends on the settings. If you have it where it tries to do the metadata itself you click the video and then it gets stuck at the getting ready part. Then, if you turn all that off and do the metadata manually, you can do all that, but then it gets stuck again at the same getting it ready stage.

deepjyoti30 commented 1 year ago

@EAGBCD Seems like the issue is specific to the above song. I am guessing some regional restrictions. As you know, ytmdl uses yt-dlp under the hood which utilizes YouTube to get the song. Now, it might happen sometimes that the region where the API is located does not have access to this song (through YouTube) and thus yt-dlp is unable to download the song in particular.

I was able to reproduce the issue and that's probably the plausible explanation for this.

otterfree commented 1 year ago

Facing a similar issue- I'm trying to download jazz playlists for work, but metadata and the download link doesn't show up. The issue only persists on long songs. Songs tried: https://youtu.be/4rWPXnumWXQ https://youtu.be/RY7FpB9BZH4 https://youtu.be/LIy5vr3eDTg I'll try a couple more and edit if any work. . it seems the threshold is 40 minutes? Although the third link (44min) can't be downloaded, this https://www.youtube.com/watch?v=fLJ4a9J3dKg (39min) can, and any song shorter than it can as well.

deepjyoti30 commented 1 year ago

@otterfree

it seems the threshold is 40 minutes? Although the third link (44min) can't be downloaded, this https://www.youtube.com/watch?v=fLJ4a9J3dKg (39min) can, and any song shorter than it can as well.

From ytmdl there is no such restriction but it might be a possible cause. I will have to check to see if the 40min duration is the one thing common in all of these.