[Python] how can i retrieve the data from the windows media widget in python?

Discussão em 'Python' iniciado por Stack, Março 30, 2025.

  1. Stack

    Stack Membro Participativo

    i'm trying to retrieve the data of the the media widget that shows what song, video or any media is currently playing on windows. what tool can i use to do that ? i tried using winrt but this package is deprecated since python 3.11 i tried installing winrt, but even after switching to python 3.9, i get the same error:

    >>C:\Users\****\AppData\Local\Programs\Python\Python39>pip install winrt
    >>ERROR: Could not find a version that satisfies the requirement winrt (from versions: none)
    >>ERROR: No matching distribution found for winrt


    maybe i'm doing something wrong with the pip installing or maybe an alternative will work best. what should i do ?

    Continue reading...

Compartilhe esta Página