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

Multiple crashes #11

Open
zampierilucas opened this issue Apr 27, 2023 · 1 comment
Open

Multiple crashes #11

zampierilucas opened this issue Apr 27, 2023 · 1 comment

Comments

@zampierilucas
Copy link

Hello, I've been using it for the last hours, but I keep having crashes, bellow are the logs.

Song:       Luv(sic) Part5  featuring Shing02 instrumental
Artist:     Nujabes
Album:      Luv (Sic) Part 5

Song:       digital dreams
Artist:     knowmadic
Album:      Chillhop Essentials Winter 2019
Volume 1/9  █████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 01:16 / 02:52 - Listeners: 141
Error: WebSocket protocol error: Connection reset without closing handshake
Song:       earth angel
Artist:     Marcus D
Album:
Volume 1/9  ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 02:57 - Listeners: 126
Error: expected value at line 1 column 1
@zampierilucas zampierilucas changed the title Crashing in multiple ways Multiple crashes Apr 27, 2023
@JasonWei512
Copy link
Owner

JasonWei512 commented Apr 29, 2023

Please upgrade to v1.0.3 and see if this still happens.

WinGet

winget upgrade code-radio-cli

Cargo

cargo install code-radio-cli

The second error seems like a JSON deserialization error.

This program connects to Code Radio's WebSocket endpoint to get current song info.

With #12, now code-radio-cli will try to reconnect WebSocket when there's a network or JSON deserialization error.

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

2 participants