question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Playback disconnects/crashes after few seconds (Windows)

See original GitHub issue

After selecting a station to play, the music stream correctly plays and the status bar correctly displays the song name/artist. However, the status bar quickly changes to “Connecting to: [station]” while the stream is still functioning. Playback stops when pyradio ‘fails to connect’.

Windows 10 21H2 player: MPV (following instructions in this repo)

This is the traceback when quitting pyradio:

Exception in thread Thread-4 (updateMPVStatus):
Traceback (most recent call last):
  File "C:\Users\Raeed\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "C:\Users\Raeed\AppData\Local\Programs\Python\Python310\lib\threading.py", line 946, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Raeed\AppData\Local\Programs\Python\Python310\lib\site-packages\pyradio-0.8.9.12-py3.10.egg\pyradio\player.py", line 790, in updateMPVStatus
    if self._get_mpv_metadata(n, stop):
  File "C:\Users\Raeed\AppData\Local\Programs\Python\Python310\lib\site-packages\pyradio-0.8.9.12-py3.10.egg\pyradio\player.py", line 1117, in _get_mpv_metadata
    return self._set_mpv_playback_is_on(stop, enable_crash_detection_function)
NameError: name 'enable_crash_detection_function' is not defined

EDIT: Some stations seem to be working normally. Here are a couple of streams that have the issue: “Dogglounge” - https://www.dogglounge.com:8000 “DJ Dacha mixes” - https://deeperlink.com:8002/stream

And here is an example stream that works normally: “Dinamo.fm Deep” - https://channels.dinamo.fm/deep-mp3

As mentioned below all stations work normally on linux

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
s-n-gcommented, Feb 13, 2022

ok, 0.8.9.14 fixed this stupid bug 😊

1reaction
RaeedAhmedcommented, Feb 13, 2022

Hey @s-n-g , The patch worked! I tried all the stations that were giving me problems, and the issues are fixed! As a side note, the streams across the board load a lot faster. Thank you so much for the work you put into this project, I use it every day 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows Media Player Crashes After Several Seconds
a. Go to start and in the search type Turn Windows features on or off. b. Click on Turn Windows features on or...
Read more >
Windows 11 Freezes and Crashes Randomly? Here's How ...
Screen freezes on Windows 11 are often triggered by a screen resolution that is higher than what your GPU is capable of processing....
Read more >
[SOLVED] Windows 11 Keeps Crashing
When troubleshooting system issues, if you don't know where to begin, you can first check if your system is corrupted.
Read more >
Rift S Crashing and Disconnecting - Oculus Forum
My headset was working perfectly fine for 4 days, and now after about 5-10 minutes of playing, my Rift S crashes. My screen...
Read more >
The game crashes shortly after it launches or when trying ...
Verify that there are not any pending Windows updates. While you may be on an up-to-date version of the OS, there may be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found