Skip to content

Proposal: More MusicProperties properties #10527

@ghost

Description

Proposal: More MusicProperties properties

Summary

Having access to more music data properties from an audio file.
This includes getting and setting values to those properties.

Rationale

  • The current list is very minimal.
  • Other properties that you can't access are: Audio Channels, AudioSampleRate, Total track count, Disc number, Total disc numers, BPM, etc...
  • Currently you'll need third party libraries to access all properties of MusicProperties. Even Windows explorer can show the data, but StorageFile cannot.

Scope

Capability Priority
Setting and Getting more MusicProperties for Mediaplayer inspired WinUI 3 apps Must

Important Notes

MusicProperties data = await file.Properties.GetMusicPropertiesAsync();
uint bpm = data.BeatPerMinute;
uint discNumber = data.DiscNumber;
int channels = data.AudioChannels;
int audioSampleRate= data.AudioSampleRate;
data.TotalDiscs = 4;

Open Questions

Why? Because the current list is unfinished and can get a lot bigger. Windows explorer is able to show all of the details of the audio file. So should StorageFile.
Developers that need those properties for their mediaplayer app would love more properties and control.

This can even be for when you want to create an audio file from WinUI 3. Having the option to set all the correct properties.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions