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

Mopidy crashes occasionally due to segmentation fault in youtube music plugin #248

Open
mgoltzsche opened this issue Dec 7, 2023 · 0 comments

Comments

@mgoltzsche
Copy link

mgoltzsche commented Dec 7, 2023

During Youtube Music auto-play mopidy crashes occasionally (every few days). The log indicates this happened due to a segmentation fault caused by the YoutubeAutoplayer:

...
[info] ONhU2ielz8g: Downloading 1 format(s): 251
[download] Destination: /var/lib/mopidy/cache/youtube/U4-_3GJ6QZo.webm
[download] 100% of    5.15MiB in 00:00:00 at 8.45MiB/s
[youtube] Extracting URL: https://music.youtube.com/watch?v=HsmN-zEOreQ
[youtube] HsmN-zEOreQ: Downloading webpage
[youtube] HsmN-zEOreQ: Downloading ios player API JSON
[youtube] HsmN-zEOreQ: Downloading android player API JSON
[youtube] HsmN-zEOreQ: Downloading ios music player API JSON
[youtube] HsmN-zEOreQ: Downloading android music player API JSON
[youtube] HsmN-zEOreQ: Downloading web music client config
[youtube] HsmN-zEOreQ: Downloading web music player API JSON
[youtube] HsmN-zEOreQ: Downloading m3u8 information
[youtube] HsmN-zEOreQ: Downloading m3u8 information
[info] HsmN-zEOreQ: Downloading 1 format(s): 251
[download] Destination: /var/lib/mopidy/cache/youtube/HsmN-zEOreQ.webm
[download] 100% of    6.48MiB in 00:00:00 at 7.60MiB/s
ERROR    2023-12-07 20:13:26,316 [15:YouTubeAutoplayer-14 (_actor_loop)] mopidy_youtube
  youtube_music list_playlists _get_playlist_or_album Expecting value: line 1 column 1 (char 0), MPREb_p4IQn7lHLAv
Segmentation fault

(In case of any relevance, the previously played track was https://music.youtube.com/watch?v=ONhU2ielz8g.)

Environment (mopidy-container 0.9.0):

  • Python 3.10.13
  • mopidy 3.4.1
  • mopidy-youtube c76815f (latest master: v3.7 + a few commits)
  • ytmusicapi 1.2.1
  • yt-dlp 2023.7.6
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