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

Invalid characters break playlist creator #93

Open
SuppliedOrange opened this issue Aug 19, 2024 · 1 comment
Open

Invalid characters break playlist creator #93

SuppliedOrange opened this issue Aug 19, 2024 · 1 comment

Comments

@SuppliedOrange
Copy link

SuppliedOrange commented Aug 19, 2024

You cannot import this playlist into youtube because it has a character > in it's title.

Attempting to create a playlist with this character fails without telling you why. Here is the response from youtube:

{
  "error": {
    "code": 400,
    "message": "Sorry, something went wrong.",
    "errors": [
      {
        "message": "Sorry, something went wrong.",
        "domain": "global",
        "reason": "badRequest"
      }
    ],
    "status": "INVALID_ARGUMENT"
  }
}

Attempting to create a playlist without the > character works. I don't know what the entire list of allowed characters in a playlist is, but you'll have to scan and omit characters that aren't on that list.

@SuppliedOrange
Copy link
Author

SuppliedOrange commented Aug 19, 2024

Just tested with !@#$%^&*()_+-={}|[]\:";',./?~ + ` and it seems to work fine. The problem seems to lie with with > and < only, which is weird lol. I loaded in fancy fonts and other languages, those all seem to work fine. I suppose it might be worth it to make an issue on the ytmusicapi repo itself.

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