Skip to content

Playback doesn't work anymore #1102

Closed
Closed

Description

@IVIanuu

Describe the bug
Librespot cannot download audio anymore.
It is related to the this librespot issue.
librespot-org/librespot#1623

To Reproduce
Try to play any track

Expected behavior
Playback works

Screenshots/Stracktraces/Logs

Version/Commit
Latest version

Activity

  1. devgianlu commented on Nov 7, 2025

    @devgianlu
    Member

    If anyone wants to make a PR for it I'll review it. Otherwise, this is an excellent opportunity to switch to go-librespot.

  2. IVIanuu commented on Nov 7, 2025

    @IVIanuu
    Author

    How would I use go-librespot on android?
    And whats the required fix for this java-lib?

    I tried doing something like this but it doesn't work:

    ExtendedMetadata.BatchedExtensionResponse resp = session.api().getExtendedMetadata(
                        ExtendedMetadata.BatchedEntityRequest.newBuilder()
                                .addEntityRequest(
                                        ExtendedMetadata.EntityRequest.newBuilder()
                                                .setEntityUri(id.toSpotifyUri())
                                                .addQuery(
                                                        ExtendedMetadata.ExtensionQuery.newBuilder()
                                                                .setExtensionKind(ExtensionKindOuterClass.ExtensionKind.TRACK_V4)
                                                                .build()
                                                )
                                                .build()
                                )
                                .build()
                );
    
                Metadata.Track original = Metadata.Track.parseFrom(
                        resp.getExtendedMetadata(0)
                                .getExtensionData(0)
                                .toByteArray()
                );
    
                Metadata.Track track = pickAlternativeIfNecessary(original);
                if (track == null) {
                    throw new FeederException();
                }
    
                return loadTrack(track, audioQualityPicker, preload, haltListener);
    
  3. added a commit that references this issue on Nov 7, 2025
    d8dd385
  4. added a commit that references this issue on Nov 13, 2025
    52a8c24
  5. added a commit that references this issue on Nov 15, 2025
    e1b2a87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions