python_audio_server v0.4.0
What's New?
MATLAB App Graphical User Interface (GUI)
While it's alright to just use the API in the browser search bar or from the command line, it's tedious and hurts the brain when things get increasingly complex. Well, no longer!
ALL of the supported routes are integrated into the GUI, with lots of quality-of-life features and customizations. This first GUI release supports all of the routes available from the last version of the API server, and more features are still coming to both the server and GUI in the future.
Installation
Download the .mlappinstall file and open it inside of MATLAB. You will be prompted to install the app to MATLAB's APPS toolbar. Install once and forget about it. Until the next time you need to use the app, it's right inside MATLAB and you can start the GUI with a single click.
Minor Updates and Improvements to the API Server
While this update is mainly about the GUI, some changes and improvements have been made to the server itself.
- Added
?json=trueto the/listroute so you can GET the list in JSON instead of plain text. - Added the
/restartand/shutdownroutes to the server. Restart can be used to interrupt playing audio or force reload server from the client side, and shutdown can be used to... well, shut down the audio server. Since the server cannot be started from the client side, some basic "challenge" is used to make sure the client really really really really really wants to shut the server down. /playlist/createwith the?no_download=trueflag now also returns the new playlist file name in the JSON response./save_tonewill now always use the original (requested) duration in the filename, regardless of the edge length.
Also, another change to the Windows release: ffmpeg and ffprobe are now bundled with the executable. All you need to do now is just download the .exe file and take it with you anywhere and everywhere. All at once?