When downloading the release of this program, you might get errors sayings its a virus, its not. View the source if you wish. Microsoft doesn't recognize that its a valid piece of software as it has no valid licenses.
What's the command prompt for? Can't help it, until I find a better way to listen to streams lives. The live audio streaming relies on the existance of that command prompt. There are workaround that do work, that are explained at the bottom.
Why does the program restart when stopping a stream? A continuation from the above comment. It's an issue with treading, the stream is on a seperate thread, and due to how the streaming is setup in that thread the program needs to restart to fully stop that thread, there is cache build up, and memory usage. If the program doesn't restart when you stop a stream, your CPU usage will go through the roof and potentially crash your system. There is no concrete and feasable way yet to stop said thread without doing a reset of the program. This is an issue with miniaudio.
first install virtual env with: pip install virtualenv
create virtual env with:
virtualenv venv
then activate venv (in vscode you can simply close and reopen your terminal) If you get an execution policy error, open powershell and run the following command:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
then install all the required libraries:
pip install win10toast pyqt5 miniaudio pyinstaller pyqtdarktheme
To build the project:
pyinstaller -F --icon=icons/icon.ico --hidden-import=_cffi_backend main.py
This is for more technical users to follow and setup.
- Rename the
HBNI Audio Stream Listener.exe
->main.exe
- Download this file: HBNI Audio Stream Listener.exe and place it into the same directory as
main.exe
- If for somereason windows doesn't let you download HBNI Audio Stream Listener.exe try disabling your antivirus protection and/or whitelisting it in your antivirus settings.
- If all that worked then running the HBNI Audio Stream Listener.exe file should disable the command prompt, and work as intended. If it doesn't, email me or open up an issue on this repository.