Fork of BAPSicle including a nix flake for packaging https://github.com/UniversityRadioYork/BAPSicle
Find a file
2021-12-06 22:19:07 +00:00
.github/workflows Get branch without user prefix (can't have / in filename) 2021-09-23 01:20:12 +01:00
.vscode Shuffle flask into own file, change platypus options. 2021-04-17 21:28:57 +01:00
alerts Fix linting 2021-09-22 20:14:58 +01:00
baps_types Fix linting 2021-09-22 20:14:58 +01:00
build Fix mp3 support on linux with pygame 2.0.1 2021-11-02 22:47:24 +00:00
controllers Lint with black for formatting. 2021-09-11 16:49:08 +01:00
dev Fix lints. 2021-11-02 23:02:09 +00:00
docs/images Update readme with MacOS support. 2020-11-01 00:54:50 +00:00
helpers Merge branch 'dev' into mstratford/reload-repair 2021-11-02 23:39:18 +00:00
install Add logs folder mkdir to installer 2020-11-05 19:03:26 +00:00
logs Add logrotate and create dir if missing. 2021-04-05 22:41:22 +01:00
presenter@238da52d94 Fix marking played / unplayed to all channels from 0. 2021-12-06 22:19:07 +00:00
resources Replace splash image, add resource files. 2021-04-27 23:02:03 +01:00
state keep the folders to keep windows happy 2020-11-10 18:45:54 +00:00
tests Tweaked autopep8 lint 2021-09-11 17:48:57 +01:00
ui-static Include nunito font locally. 2021-08-17 00:14:18 +01:00
ui-templates Merge remote-tracking branch 'origin/dev' into mstratford/norm-switch 2021-11-03 00:02:11 +00:00
.gitignore Fix linux to use pulseaudio. 2021-10-12 20:45:29 +01:00
.gitmodules Take master branch webstudio with news fixes. 2021-09-11 21:20:03 +01:00
__init__.py Ran black for formatting. 2021-04-08 20:53:51 +01:00
file_manager.py Add normalisation switch option. 2021-09-30 19:12:26 +01:00
launch.py Add linting for autopep8 2021-09-11 17:18:35 +01:00
package-lock.json Fix linux to use pulseaudio. 2021-10-12 20:45:29 +01:00
package.json Fix linux to use pulseaudio. 2021-10-12 20:45:29 +01:00
package.py Lint with black for formatting. 2021-09-11 16:49:08 +01:00
player.py Merge branch 'dev' into mstratford/reload-repair 2021-11-02 23:39:18 +00:00
player_handler.py Fix preloader not preloading due to GET_PLAN change to GETPLAN 2021-09-25 20:06:09 +01:00
README.md Fix Typo 2021-05-27 21:04:32 +01:00
server.py Merge remote-tracking branch 'origin/dev' into mstratford/norm-switch 2021-11-03 00:02:11 +00:00
setup.py Lint with black for formatting. 2021-09-11 16:49:08 +01:00
web_server.py Merge remote-tracking branch 'origin/dev' into mstratford/norm-switch 2021-11-03 00:02:11 +00:00
websocket_server.py Add linting for autopep8 2021-09-11 17:18:35 +01: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!