chaged default port to be correct

also bug fixes and readme changes
This commit is contained in:
dylan-fournier 2024-05-28 12:26:17 -04:00
parent 9e48753e74
commit dcb21d39a9
3 changed files with 5 additions and 3 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
server/sound/
server/songDatabase.json
start.bat

View file

@ -17,7 +17,7 @@ player = fakeplayer.media_player_new()
player.audio_set_volume(100)
app = Flask(__name__)
CORS(app)
with open('songDatabase.json', 'r') as handle:
with open('./songDatabase.json', 'r') as handle:
songDatabaseList = json.load(handle)
def queueSong(song):
@ -124,5 +124,5 @@ def getPlaylist():
return tempPlaylist
if __name__ == "__main__":
app.run(host='0.0.0.0', port='25565')
app.run(host='0.0.0.0', port='19054')

View file

@ -54,6 +54,7 @@ These are specific details on each section of the app, and how to use them
- `webbyBits.py` imports the database, runs all music playing, and accepts all commands from clients
- Searches return matching songs
- Accepts Play-Pause and Skip commands
- Uses port 19054 by default
### Client:
![image](./Screenshot_RAW.png) \