- Supported Bit Versions
-
- 32-bit
- 64-bit
- Minimum OBS Studio Version
- 24.0.0
- Supported Platforms
-
- Windows
A Python script for displaying the currently playing song and artist from NetEase Cloud Music or QQ Music in OBS.
This script retrieves song information by inspecting the window titles of known music player processes and class names. It supports configurable formatting, customizable artist separators, and works with OBS text sources to show real-time updates.
Requirements:
Usage:
This script retrieves song information by inspecting the window titles of known music player processes and class names. It supports configurable formatting, customizable artist separators, and works with OBS text sources to show real-time updates.
Requirements:
- Windows 10/11
- Python > 3.8.0
- win32gui latest
Code:
pip install pywin32
- Note: In version 3.0 or later, psutil is required
Code:
pip install psutil, pywin32
- Note: In version 3.0 or later, psutil is required
- Netease Cloud Music or QQMusic (background OK, minimized OK, tray NOT OK)
- Note: In version 3.0 or later, it will also work when the target in tray (Technically: Window not visible)
Version | support target | background minimized | tray | python version | modules requirement | Notes | react speed |
<2.0 | Netease | √ | × | 3.8+ | pywin32 | <0.05s | |
2.0≤v<3.0 | Netease | √ | × | 3.8+ | pywin32 | <0.05s | |
≥3.0 | Netease | √ | √ | 3.8+ | pywin32 psutil | Recommended | <0.05s |
Usage:
- Download this script
- Set Your Python Path in OBS - Tool - Script - Python Settings
- Add a Text (GDI+) source in your scene
- Load the script, fill and change parameters as you like, set the source to the text added just now
- (IF U CANT see the text source you like, refresh(reload) the script)
- It should be working
- No output? First Check Requiremet, then the Script Output and see if its not working well.
- rename the script and try to delete and load manually, this is cause by the python cache.
- Linux and Mac OS is not supported.
- only the latest OBS is tested.