You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

winnplib

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

winnplib

A simple API to get Windows Media information, including cover art.

0.1.4
PyPI
Maintainers
1

Now Playing Api

NOW USES UP TO DATE LIBRARYS / PYTHON!

A simple api to get windows media

This includes but not limited to cover art

To get media info you want to await it:

await winnplib.get_media_info_async()

or you can use asyncio

asyncio.run(winnplib.get_media_info_async())

getting media info returns a dict

to get the thumbnail you can do it async or not async

winnplib.get_media_thumbnail(filepath) # Not async
winnplib.get_media_thumbnail_async(filepath) # Async

file path is optional in both of those

i hate docs

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts