Skip to content

Downloaded Songs aren't showing lyrics even when online #2630

@K0Std

Description

@K0Std

Is there an existing issue for this? (Please read the description)

  • I have searched the existing issues

Current Behavior

If you download a song, there's a chance that the app will fail to show you lyrics for the downloaded song (not its streamed version just the downloaded one) even when online it can't seem to find the lyrics for it and gives "Sorry unable to find lyrics for this track" but if you stream the same song it finds lyrics for it easily.

Expected Behavior

When I download a song, the app should also download it's lyrics alongside it (or at least show the lyrics when online)

Steps to reproduce

  1. Open the app
  2. Download any song (presumably one which you can see it's lyrics while streaming)
  3. Go to the lyrics view
  4. There's a chance it doesn't show you the lyrics

Logs

[2025-04-08 12:44:52.264845]---------------------
Bad state: Logs file is empty or non-existent
#0 logsProvider. (package:spotube/provider/logs/logs_provider.dart:11)

#1 _AsBroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:487)


[2025-04-08 12:45:05.505167]---------------------
Invalid argument(s): No host specified in URI /data/user/0/oss.krtirtho.spotube/cache/spotube/Unstoppable%20(Legends%20of%20Runeterra%20Version)%20-%20Legends%20of%20Runeterra,%20burnboy,%20Neoni.jpg
#0 _HttpClient._openUrl (dart:_http/http_impl.dart:3002)
#1 _HttpClient.openUrl (dart:_http/http_impl.dart:2858)
#2 IOClient.send (package:http/src/io_client.dart:117)
#3 HttpFileService.get (package:flutter_cache_manager/src/web/file_service.dart:37)
#4 WebHelper._download (package:flutter_cache_manager/src/web/web_helper.dart:115)
#5 WebHelper._updateFile (package:flutter_cache_manager/src/web/web_helper.dart:96)

#6 WebHelper._downloadOrAddToQueue (package:flutter_cache_manager/src/web/web_helper.dart:64)


[2025-04-08 12:45:06.217591]---------------------
Error Code: 400
Invalid base62 id
#0 SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:282)
#1 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)

#2 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#3 Tracks.get (package:spotify/src/endpoints/tracks.dart:20)

#4 SpotifyApiWrapper.invoke (package:spotube/provider/spotify/spotify.dart:96)

#5 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)


[2025-04-08 12:45:09.522993]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 404 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 404 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.

#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:520)

#1 SyncedLyricsNotifier.getLRCLibLyrics (package:spotube/provider/spotify/lyrics/synced.dart:58)

#2 SyncedLyricsNotifier.build (package:spotube/provider/spotify/lyrics/synced.dart:150)

#3 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)


Operating System

Android

Spotube version

4.0.2

Installation source

GitHub Releases (Binary)

Additional information

No response

Self grab

  • I'm ready to work on this issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions