Skip to content

Runtime version check? #920

Closed
Closed

Description

@Moonbase59

There should be a runtime (API) "get version" call, to determine which taglib we’re using when using shared objects or DLLs.

Since there wasn’t a new version for some time, but some bugs have been fixed, it might even make sense to also return the commit hash from which it has been built, maybe optional. Programs like loudgain and others could thus better work around known bugs (like #864).

Activity

  1. scotchi commented on Aug 31, 2019

    @scotchi
    Member

    Out of curiosity, what's the use case that you imagine runtime version information being useful in? (It is available at build time.) I'm not aware of many cases where a program is built against a different version of TagLib than the one that it's using at runtime (though it is possible, and TagLib maintains binary compatibility to support such).

  2. Moonbase59 commented on Aug 31, 2019

    @Moonbase59
    Author

    Just take the case above (#864): My loudgain ReplayGain tagger should be sure not to corrupt Ogg Vorbis files. Mixxx already blocks TagLib 1.11.1 for writing tags to Ogg files …

    With shared libraries, we must be sure that the user can (and will) update these independently from the application, and some distros still ship buggy versions.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions