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
Metadata
Release files for winnplib 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| winnplib-0.1.4.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| winnplib-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.8 kB
Release files / winnplib-0.1.4.tar.gz
| Download URL | winnplib-0.1.4.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b99eb9b5e57435ad52e1467d6d04f1c5a1a93ae561caad4138744da0bfaf399
|
|
BLAKE2b-256 checksum How to use checksums |
725903d314f312885c286668d41896feadff24aefe297188de4637bc2247f1bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / winnplib-0.1.4-py3-none-any.whl
| Download URL | winnplib-0.1.4-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
492930e7dccbc6a8ee707c271ba21437009c6581af6a56c1da87071a47b5342d
|
|
BLAKE2b-256 checksum How to use checksums |
45747b2e15f2c24ef4ceed412d061fa29b28455ed7f4cb98d926d1177a68f1d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|