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

TypeError: startswith first arg must be bytes or a tuple of bytes, not str #2687

Closed
lazka opened this issue Jan 3, 2018 · 0 comments
Closed

TypeError: startswith first arg must be bytes or a tuple of bytes, not str #2687

lazka opened this issue Jan 3, 2018 · 0 comments
Labels
Milestone

Comments

@lazka
Copy link
Member

@lazka lazka commented Jan 3, 2018

https://sentry.io/quodlibet/quodlibet/issues/427924365/

TypeError: startswith first arg must be bytes or a tuple of bytes, not str
  File "quodlibet/browsers/iradio.py", line 800, in __add
    self.__add_station(uri)
  File "quodlibet/browsers/iradio.py", line 803, in __add_station
    irfs = add_station(uri)
  File "quodlibet/browsers/iradio.py", line 226, in add_station
    irfs = ParseM3U(sock)
  File "quodlibet/browsers/iradio.py", line 194, in ParseM3U
    if line.startswith("#EXTINF:"):

TypeError: startswith first arg must be bytes or a tuple of bytes, not str
@lazka lazka added the sentry label Jan 3, 2018
@lazka lazka closed this in 70d6814 Jan 4, 2018
@lazka lazka added this to the 4.0.1 milestone Jan 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant