Skip to content

Getting metadata from an mp3 stream with ReadOnlySource #349

@GeoffClements

Description

@GeoffClements

This is an issue for me but is really just a question as it may not be a bug.

I'm streaming an audio file and using ReadOnlySource. At the beginning of the stream I want to announce the artist etc, so I'm interesting in the metadata from ProbeResult.

When I stream flacs or ogg/vorbis this works fine but on mp3 files I don't get any metadata, neither from ProbeResult.format.metadata() nor from ProbeResult.metadata.get().

The interesting thing is that when I use the example symphonia-play on the exact same file, now not streamed but read from the disk, the metadata is extracted and displayed correctly. The only difference that I can see is that we have a MediaSourceStream rather than a ReadOnlySource, at least, that's my guess.

Am I asking the impossible of Symphonia here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions