-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Spotube stops playing the next song after it finishes the current one #580
Comments
I have the same problem but on windows |
I have the same problem but on Android |
Is it any better in v3.0.1? |
I tried the flatpak version of v3.0.1 on Ubuntu 22.04. The problem occurred again when I played this song https://open.spotify.com/track/1vdg4IQBVuXobdkaacGTPv Here is my .spotube_logs if it helps. ============================== CATCHER LOG ==============================
Crash occurred on 2023-08-06 17:26:08.359121
------- DEVICE INFO -------
name: GNOME
version: 44 (Flatpak runtime)
id: org.gnome.Platform
idLike: null
versionCodename: null
versionId: 44
prettyName: GNOME 44 (Flatpak runtime)
buildId: null
variant: null
variantId: null
machineId: 50601393417c4eee9ce314c370032735
------- APP INFO -------
environment: release
version: 3.0.1
appName: spotube
buildNumber: 20
packageName: spotube
---------- ERROR ----------
PathNotFoundException: Cannot open file, path = '/home/hanwei/.var/app/com.github.KRTirtho.Spotube/config/dconf/user' (OS Error: No such file or directory, errno = 2)
------- STACK TRACE -------
#0 _checkForErrorResponse (dart:io/common.dart:55)
#1 _File.open.<anonymous closure> (dart:io/file_impl.dart:381)
<asynchronous suspension>
#2 GVariantDatabase._loadRootTable (package:gsettings/src/gvariant_database.dart:30)
<asynchronous suspension>
#3 GVariantDatabase.lookup (package:gsettings/src/gvariant_database.dart:20)
<asynchronous suspension>
#4 DConfClient.read (package:gsettings/src/dconf_client.dart:82)
<asynchronous suspension>
#5 GSettingsDConfBackend.get (package:gsettings/src/gsettings_dconf_backend.dart:23)
<asynchronous suspension>
#6 GSettings.get (package:gsettings/src/gsettings.dart:117)
<asynchronous suspension>
#7 getTheme (package:titlebar_buttons/src/get_theme.dart:12)
<asynchronous suspension>
------- CUSTOM INFO -------
====================================================================== |
Same bug on v3.0.1 on Windows 11. It's possible that this bug is visible only with poor internet connection.
Also Spotube is unable to play some songs at all
edit: added logs |
Try the latest nightly. There was a fix applied |
This seems to work better on this version (Spotube v3.1.0 nightly 97 - Windows 11) but still it sometimes stops after some song randomly. edit : I sometimes cannot play some song but it works later (ex song tried: https://open.spotify.com/track/1PEqh7awkpuepLBSq8ZwqD), after several attempts to click play. This is probably another issue but that could be why it stops in a playlist after a song ends.
|
I also have the same issue with the latest nightly on Android. (I can't see any logs, is that another bug I should report?) |
No it's not a bug. It's just in the "Settings" > "Logs" 😄 |
Means you don't have any error logs or the logs are huge and taking time to load |
The nightly build (AppImage) manages to continue playback after the songs that previously caused v.3.0.1 to pause. However, the nightly seemed always stuck at the end of the current song when the next song is this one in particular: https://open.spotify.com/track/4Ah5mAqvkmw5Hz2n6g5l0k Messages from the command line: method call InitSystemTray
SystemTray::set_system_tray_info title: , icon_path: /tmp/.mount_SpotubL4udSS/data/flutter_assets/assets/spotube-logo.png, toolTip: (null)
method call CreateContextMenu
value_to_menu_item type:label, label:Show/Hide
value_to_menu_item type:label, label:Play/Pause
value_to_menu_item type:label, label:Next
value_to_menu_item type:label, label:Previous
value_to_menu_item type:label, label:Quit
method call SetContextMenu
flutter: PostgrestException(message: duplicate key value violates unique constraint "tracks_spotify_id_idx", code: 23505, details: Conflict, hint: null)
flutter: #0 PostgrestBuilder._parseResponse (package:postgrest/src/postgrest_builder.dart:345)
flutter: #1 PostgrestBuilder._execute (package:postgrest/src/postgrest_builder.dart:202)
flutter: <asynchronous suspension>
flutter: #2 PostgrestBuilder.then (package:postgrest/src/postgrest_builder.dart:422)
flutter: <asynchronous suspension>
method call DestroySystemTray
method call InitSystemTray
SystemTray::set_system_tray_info title: , icon_path: /tmp/.mount_SpotubL4udSS/data/flutter_assets/assets/spotube-logo.png, toolTip: (null)
method call DestroySystemTray
method call InitSystemTray
SystemTray::set_system_tray_info title: , icon_path: /tmp/.mount_SpotubL4udSS/data/flutter_assets/assets/spotube-logo.png, toolTip: (null)
method call CreateContextMenu
value_to_menu_item type:label, label:Show/Hide
value_to_menu_item type:label, label:Play/Pause
value_to_menu_item type:label, label:Next
value_to_menu_item type:label, label:Previous
value_to_menu_item type:label, label:Quit
method call CreateContextMenu
value_to_menu_item type:label, label:Show/Hide
value_to_menu_item type:label, label:Play/Pause
value_to_menu_item type:label, label:Next
value_to_menu_item type:label, label:Previous
value_to_menu_item type:label, label:Quit
method call SetContextMenu
method call SetContextMenu
ALSA lib conf.c:4002:(snd_config_hooks_call) Cannot open shared library (null) (/usr/lib/x86_64-linux-gnu/alsa-lib/usr/lib/libasound.so.2: cannot open shared object file: No such file or directory)
ALSA lib conf.c:4623:(snd_config_update_r) hooks failed, removing configuration
ALSA lib conf.c:4002:(snd_config_hooks_call) Cannot open shared library (null) (/usr/lib/x86_64-linux-gnu/alsa-lib/usr/lib/libasound.so.2: cannot open shared object file: No such file or directory)
ALSA lib conf.c:4623:(snd_config_update_r) hooks failed, removing configuration
ALSA lib conf.c:4002:(snd_config_hooks_call) Cannot open shared library (null) (/usr/lib/x86_64-linux-gnu/alsa-lib/usr/lib/libasound.so.2: cannot open shared object file: No such file or directory)
ALSA lib conf.c:4623:(snd_config_update_r) hooks failed, removing configuration
ALSA lib conf.c:4002:(snd_config_hooks_call) Cannot open shared library (null) (/usr/lib/x86_64-linux-gnu/alsa-lib/usr/lib/libasound.so.2: cannot open shared object file: No such file or directory)
ALSA lib conf.c:4623:(snd_config_update_r) hooks failed, removing configuration
ALSA lib conf.c:4002:(snd_config_hooks_call) Cannot open shared library (null) (/usr/lib/x86_64-linux-gnu/alsa-lib/usr/lib/libasound.so.2: cannot open shared object file: No such file or directory)
ALSA lib conf.c:4623:(snd_config_update_r) hooks failed, removing configuration
ALSA lib conf.c:4002:(snd_config_hooks_call) Cannot open shared library (null) (/usr/lib/x86_64-linux-gnu/alsa-lib/usr/lib/libasound.so.2: cannot open shared object file: No such file or directory)
ALSA lib conf.c:4623:(snd_config_update_r) hooks failed, removing configuration
ALSA lib conf.c:4002:(snd_config_hooks_call) Cannot open shared library (null) (/usr/lib/x86_64-linux-gnu/alsa-lib/usr/lib/libasound.so.2: cannot open shared object file: No such file or directory)
ALSA lib conf.c:4623:(snd_config_update_r) hooks failed, removing configuration Any clues? |
Uhm this doesn't seem right. Is your audio working properly in other apps? |
Yes, my audio works fine in other apps (mpv, Spotify) Does my .spotube_logs give any clues? ============================== CATCHER LOG ==============================
Crash occurred on 2023-08-08 22:25:43.330109
------- DEVICE INFO -------
name: Ubuntu
version: 22.04.2 LTS (Jammy Jellyfish)
id: ubuntu
idLike: [debian]
versionCodename: jammy
versionId: 22.04
prettyName: Ubuntu 22.04.2 LTS
buildId: null
variant: null
variantId: null
machineId: 50601393417c4eee9ce314c370032735
------- APP INFO -------
environment: release
version: 3.0.1
appName: spotube
buildNumber: nightly.97
packageName: spotube
---------- ERROR ----------
OAuth authorization error (invalid_token): The access token expired.
------- STACK TRACE -------
#0 Client.send (package:oauth2/src/client.dart:134)
<asynchronous suspension>
#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)
<asynchronous suspension>
#2 SpotifyApiBase._getImpl.<anonymous closure> (package:spotify/src/spotify_base.dart:173)
<asynchronous suspension>
#3 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:206)
<asynchronous suspension>
#4 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:172)
<asynchronous suspension>
#5 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:236)
<asynchronous suspension>
------- CUSTOM INFO -------
====================================================================== |
I actually still have the bug with Spotube v3.1.0 nightly 97 (Windows 11) but less often I think. Logs:
|
im having the same problem with android installed from fdroid; it has happened both in a low internet environment and high internet environment.
|
The playback has improved on v3.1.0 (latest) |
Thank you for the update. Still I found Spotube stopped at the end of this song https://open.spotify.com/track/2YmIcPF20FEaQd8qwTK8zm Could you check? I am using Ubuntu 22.04, and here is my log: ============================== CATCHER LOG ==============================
Crash occurred on 2023-08-24 22:45:32.002371
------- DEVICE INFO -------
name: GNOME
version: 44 (Flatpak runtime)
id: org.gnome.Platform
idLike: null
versionCodename: null
versionId: 44
prettyName: GNOME 44 (Flatpak runtime)
buildId: null
variant: null
variantId: null
machineId: 50601393417c4eee9ce314c370032735
------- APP INFO -------
environment: release
version: 3.1.0
appName: spotube
buildNumber: 21
packageName: spotube
---------- ERROR ----------
PathNotFoundException: Cannot open file, path = '/home/hanwei/.var/app/com.github.KRTirtho.Spotube/config/dconf/user' (OS Error: No such file or directory, errno = 2)
------- STACK TRACE -------
#0 _checkForErrorResponse (dart:io/common.dart:55)
#1 _File.open.<anonymous closure> (dart:io/file_impl.dart:381)
<asynchronous suspension>
#2 GVariantDatabase._loadRootTable (package:gsettings/src/gvariant_database.dart:30)
<asynchronous suspension>
#3 GVariantDatabase.lookup (package:gsettings/src/gvariant_database.dart:20)
<asynchronous suspension>
#4 DConfClient.read (package:gsettings/src/dconf_client.dart:82)
<asynchronous suspension>
#5 GSettingsDConfBackend.get (package:gsettings/src/gsettings_dconf_backend.dart:23)
<asynchronous suspension>
#6 GSettings.get (package:gsettings/src/gsettings.dart:117)
<asynchronous suspension>
#7 getTheme (package:titlebar_buttons/src/get_theme.dart:12)
<asynchronous suspension>
------- CUSTOM INFO -------
======================================================================
============================== CATCHER LOG ==============================
Crash occurred on 2023-08-24 22:45:34.258706
------- DEVICE INFO -------
name: GNOME
version: 44 (Flatpak runtime)
id: org.gnome.Platform
idLike: null
versionCodename: null
versionId: 44
prettyName: GNOME 44 (Flatpak runtime)
buildId: null
variant: null
variantId: null
machineId: 50601393417c4eee9ce314c370032735
------- APP INFO -------
environment: release
version: 3.1.0
appName: spotube
buildNumber: 21
packageName: spotube
---------- ERROR ----------
[SponsorBlock] no skip segments found for -d7J_QVX2U4
https://sponsor.ajay.app/api/skipSegments?videoID=-d7J_QVX2U4&category=sponsor&category=selfpromo&category=interaction&category=intro&category=outro&category=music_offtopic&actionType=skip
------- STACK TRACE -------
#0 ProxyPlaylistNotifier.getAndCacheSkipSegments (package:spotube/provider/proxy_playlist/proxy_playlist_provider.dart:544)
<asynchronous suspension>
#1 new ProxyPlaylistNotifier.<anonymous closure>.<anonymous closure> (package:spotube/provider/proxy_playlist/proxy_playlist_provider.dart:171)
<asynchronous suspension>
------- CUSTOM INFO -------
====================================================================== |
@hanweikung can you provide the Playlist link? |
Yes, please try this playlist https://open.spotify.com/playlist/3SnsCf1sbgXO9LvbvZC11N?si=b392f47a490846ee Spotube stopped at the end of the first song. I suspect it was the next song causing the problem, not the current one. Here is my log: ============================== CATCHER LOG ==============================
Crash occurred on 2023-08-25 11:07:16.983988
------- DEVICE INFO -------
name: GNOME
version: 44 (Flatpak runtime)
id: org.gnome.Platform
idLike: null
versionCodename: null
versionId: 44
prettyName: GNOME 44 (Flatpak runtime)
buildId: null
variant: null
variantId: null
machineId: 50601393417c4eee9ce314c370032735
------- APP INFO -------
environment: release
version: 3.1.0
appName: spotube
buildNumber: 21
packageName: spotube
---------- ERROR ----------
PathNotFoundException: Cannot open file, path = '/home/hanwei/.var/app/com.github.KRTirtho.Spotube/config/dconf/user' (OS Error: No such file or directory, errno = 2)
------- STACK TRACE -------
#0 _checkForErrorResponse (dart:io/common.dart:55)
#1 _File.open.<anonymous closure> (dart:io/file_impl.dart:381)
<asynchronous suspension>
#2 GVariantDatabase._loadRootTable (package:gsettings/src/gvariant_database.dart:30)
<asynchronous suspension>
#3 GVariantDatabase.lookup (package:gsettings/src/gvariant_database.dart:20)
<asynchronous suspension>
#4 DConfClient.read (package:gsettings/src/dconf_client.dart:82)
<asynchronous suspension>
#5 GSettingsDConfBackend.get (package:gsettings/src/gsettings_dconf_backend.dart:23)
<asynchronous suspension>
#6 GSettings.get (package:gsettings/src/gsettings.dart:117)
<asynchronous suspension>
#7 getTheme (package:titlebar_buttons/src/get_theme.dart:12)
<asynchronous suspension>
------- CUSTOM INFO -------
======================================================================
============================== CATCHER LOG ==============================
Crash occurred on 2023-08-25 11:07:18.848667
------- DEVICE INFO -------
name: GNOME
version: 44 (Flatpak runtime)
id: org.gnome.Platform
idLike: null
versionCodename: null
versionId: 44
prettyName: GNOME 44 (Flatpak runtime)
buildId: null
variant: null
variantId: null
machineId: 50601393417c4eee9ce314c370032735
------- APP INFO -------
environment: release
version: 3.1.0
appName: spotube
buildNumber: 21
packageName: spotube
---------- ERROR ----------
[SponsorBlock] no skip segments found for -G2UmMbC5Bc
https://sponsor.ajay.app/api/skipSegments?videoID=-G2UmMbC5Bc&category=sponsor&category=selfpromo&category=interaction&category=intro&category=outro&category=music_offtopic&actionType=skip
------- STACK TRACE -------
#0 ProxyPlaylistNotifier.getAndCacheSkipSegments (package:spotube/provider/proxy_playlist/proxy_playlist_provider.dart:544)
<asynchronous suspension>
#1 new ProxyPlaylistNotifier.<anonymous closure>.<anonymous closure> (package:spotube/provider/proxy_playlist/proxy_playlist_provider.dart:171)
<asynchronous suspension>
------- CUSTOM INFO -------
====================================================================== |
Is there an existing issue for this?
Current Behavior
Sometimes when the end of the current song is reached, Spotube does not move on to the next track. It appears stuck at the end of the current song.
Expected Behavior
Playback continues after each song.
Steps to reproduce
Operating System
Ubuntu 22.04
Spotube version
v3.0.0
Installation source
Flathub (Flatpak)
Additional information
Information from my .spotube_logs
The text was updated successfully, but these errors were encountered: