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

It cannot transfer a playlist alone. #112

Open
sctech-tr opened this issue Sep 6, 2024 · 0 comments
Open

It cannot transfer a playlist alone. #112

sctech-tr opened this issue Sep 6, 2024 · 0 comments

Comments

@sctech-tr
Copy link

The error is this:

Getting Spotify tracks...
Could not get Spotify playlist. Please check the playlist link.
Error: TypeError('sequence item 0: expected str instance, NoneType found')
Traceback (most recent call last):
File "/home/selim/.local/bin/spotify_to_ytmusic", line 8, in
sys.exit(main())
^^^^^^
File "/home/selim/.local/lib/python3.12/site-packages/spotify_to_ytmusic/main.py", line 98, in main
args.func(args)
File "/home/selim/.local/lib/python3.12/site-packages/spotify_to_ytmusic/controllers.py", line 77, in create
_create_ytmusic(args, playlist, ytmusic)
File "/home/selim/.local/lib/python3.12/site-packages/spotify_to_ytmusic/controllers.py", line 61, in _create_ytmusic
name = args.name + date if args.name else playlist["name"] + date
~~~~~~~~^^^^^^^^
TypeError: 'NoneType' object is not subscriptable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant