Fork of BAPSicle including a nix flake for packaging https://github.com/UniversityRadioYork/BAPSicle
Find a file
2022-03-19 17:49:45 +00:00
.github/workflows Build for python3.8 and 3.9 2022-03-19 15:59:59 +00:00
.vscode
alerts
baps_types
build Let script fail if it errors. 2022-03-19 17:49:45 +00:00
controllers Pep8 lint 2022-03-12 17:08:29 +00:00
dev
docs/images
helpers Put BAPSicle in process names for htop filtering. 2022-03-12 15:01:51 +00:00
install
logs
presenter@238da52d94 Fix marking played / unplayed to all channels from 0. 2021-12-06 22:19:07 +00:00
resources
state
tests
ui-static
ui-templates
.gitignore
.gitmodules
__init__.py
file_manager.py Put BAPSicle in process names for htop filtering. 2022-03-12 15:01:51 +00:00
launch.py Revert "Fix exit hang on linux" 2022-03-19 17:22:42 +00:00
package-lock.json
package.json
package.py
player.py Pep8 lint 2022-03-12 17:08:29 +00:00
player_handler.py Put BAPSicle in process names for htop filtering. 2022-03-12 15:01:51 +00:00
README.md
server.py Revert "Fix exit hang on linux" 2022-03-19 17:22:04 +00:00
setup.py
web_server.py Shutdown webserver cleanly and let server.py restart it. 2022-03-19 17:46:01 +00:00
websocket_server.py Put BAPSicle in process names for htop filtering. 2022-03-12 15:01:51 +00:00

BAPSicle

a.k.a. The Next-Gen BAPS server

"BAPSicle logo, a pink melting ice lolly."

Welcome! This is BAPS. More acurately, this is yet another attempt at a BAPS3 server.

Installing

Just want to install BAPSicle?

Windows

Currently there's just a batch script. Simply run install.bat as administrator. If you've just built BAPSicle yourself, it'll be in the /install folder.

This will:

  • Copy BAPSicle into C:\Program Files\BAPSicle
  • Install BAPSicle.exe as a Windows Service with NSSM.
  • If all goes well, open http://localhost:13500 for the server UI.

Linux

Installed service for linux is coming soon. Testing is primarily on Ubuntu 20.04. Your milage with other distros will vary.

MacOS

Currently there's no installer for MacOS, so you'll have to move the build/output/BAPSicle.app you've built and make it start automatically (if you want).

Starting and stopping the server, as well as UI links, are available in the System Menu once opening the app.

"BAPSicle in the MacOS System Menu"

Developing

Requirements

On all platforms:

  • Python 3.8 - 3.9 Tested
  • Git (Obviously)

On MacOS:

  • Homebrew (To install command line Platypus)

Running

To just run the server standalone without installing, run python ./launch.py.

Building

Windows

To build a BAPSicle.exe, run build\build-exe.bat. The resulting file will appear in build\output. You can then use the install instructions above to install it, or just run it standalone.

Linux

To build a BAPSicle executable, run build/build-linux.sh. The resulting file will appear in build/output.

MacOS

To build a BAPSicle.app, run build/build-macos.sh. The resulting file will appear in build/output.

Other bits

Provided is a VScode debug config to let you debug live, as well as dev\install-githook.{bat,sh} that will help git to clean your code up as you're committing!