Skip to content

io.ReadSeeker interface #1

@ghost

Description

I'd like to use this package on Google App Engine, which restricts access to the file system, so the default mp3.Examine interface is unusable. Something taking an io.ReadSeeker would be ideal, but I'm not sure what it should return in mp3.Infos.Size. Leaving it undefined would be fine by me, but looking at the code, the field is apparently used to guesstimate mp3.Infos.Length when slow == true... so, either this hypothetical func Fexamine(r io.ReadSeeker, slow bool) would have to return an undefined length when slow == true, or it should lack a slow parameter entirely, or it would need a different way of determining song size/duration entirely.

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