admin管理员组文章数量:1379655
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 ?
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 ?
Share Improve this question asked Mar 30 at 14:08 mallowwmalloww 11 Answer
Reset to default 0Uhm if you're interested in audio specifically you can try installing pycaw to access the Windows Audio Session Manager
or if you have linux setup in handy then you can also try python-mpris2 it doesn't work well on windows but it supports Windows Media Control API.
本文标签: how can i retrieve the data from the windows media widget in pythonStack Overflow
版权声明:本文标题:how can i retrieve the data from the windows media widget in python? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743986402a2571348.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论