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

Error when playlist contains very long video #20

Open
Masarahhu opened this issue Oct 10, 2024 · 1 comment
Open

Error when playlist contains very long video #20

Masarahhu opened this issue Oct 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Masarahhu
Copy link

Describe the bug
I get the following message when I try to use the GUI
Error running command: invalid literal for int() with base 10: '13,165'

I have placed the following playlist: https://youtube.com/playlist?list=PLfuGZPdCf-K_65ebc5u1yc5WonSf5HOXk&si=ShgAe8s3FVxDsud5

I have copied the user ID from spotify profile, and client ID and secret so I am pretty sure those are correct. The playlist is public for now

command is: ytm2spt -yt "https://youtube.com/playlist?list=PLfuGZPdCf-K_65ebc5u1yc5WonSf5HOXk&si=ShgAe8s3FVxDsud5"

Expected behavior
I expected for the run to be successful

Screenshots
image

Device (please complete the following information):

  • OS: Windows 11
  • Python Version: GUI, unapplicable
@abhishekmj303
Copy link
Owner

@Masarahhu You are getting error because the playlist contains very long video which is basically a live stream of about '13,165' hours. I have pushed a fix to the library which is used: sigma67/ytmusicapi#660

Meanwhile if you can remove this song "lofi hip hop radio - beats to relax/study to" from that playlist it will work ok.

@abhishekmj303 abhishekmj303 added the bug Something isn't working label Oct 12, 2024
@abhishekmj303 abhishekmj303 changed the title Issue with using the GUI Error when playlist contains very long video Oct 13, 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

2 participants