[Python] Is there a way to play cds using WinRT media player?

Discussão em 'Python' iniciado por Stack, Maio 31, 2025.

  1. Stack

    Stack Membro Participativo

    So, I'm currently creating a media player app with Python, and on windows I'm using WinRT to add system media transport controls to the media player. Because of this, I've opted to use the WinRT media player for playing audio on Windows.

    The problem is that I want the app to support playing audio CDs, and as far as I know the only way to do this is by ripping the cd either by using Windows Media Player (which MSDN already warns is a legacy feature), or by using a third-party tool like fre:ac. Is there a way around this by using cd tracks as a MediaSource in WinRT?

    It seems that Microsoft's own (Windows 11) media player has this functionality so it must be possible

    [​IMG]

    Continue reading...

Compartilhe esta Página