This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
Releases: steven4547466/YoutubeBoombox
Releases · steven4547466/YoutubeBoombox
Technical stuff
Version 1.5.0
- [Technical] Rewrote url parsing. Adding new providers in the future will be easier
- [Technical] Removed dependency to command handler now that it's built into LC API
Small fix
v1.4.1 Update Changelog.md
New keybind!
Version 1.4.0
- [Addition] Added a configurable keybind to open the menu instead of left click. Defaults to "B"
- While holding a boombox, you will see a GUI in the bottom right that says which button to press
- [Change] Default boombox functionality is restored. Left click will use it like normal instead
- This is for compatibility with mods that add soundtracks directly
- [Change] As long as the host has the mod, no one requires the mod for it to play
- Anyone that doesn't have it won't hear anything, though. But you will be able to play custom songs without everyone having the mod
- [Change] While the GUI is open, you won't be able to look around
- Still looking for a way to disable movement and crouching
- [Fix] Fixed an issue in
youtu.be
links that have share information attached. The previous fix was only foryoutube.com/watch
links
Fix time!
Version 1.3.1
- [Fix] Fixed an issue where only the host was able to start downloading songs
- [Fix] Fixed an issue where songs that "have drm" set to "maybe" in youtube API would cause song info downloading to break
- [Fix] Fixed an issue where songs with odd characters could not be downloaded (#9)
- [Fix] Fixed a potential issue with links that have additional information attached in query parameters
Networking rewrite
Version 1.3.0
- [Rewrite] Completely rewrote the networking using unity NGO rpcs. Thanks to UnityNetcodeWeaver
- It should now be much more stable
- [Fix] Fixed an issue where the ui would pop up for everyone when the boombox died and would fail to stop the audio
Fixes
Don't worry about 1.2.1. It is in the shadow realm
Buncha stuff
Version 1.2.0
- [Addition] Support for playlists
- [Addition] The boombox volume command will now affect the closest boombox within 15m if you are not holding one
- [Addition] Added
MaxCachedDownloads
config option- Defaults to
10
, when more songs are downloaded the oldest one is deleted
- Defaults to
- [Addition] Added
DeleteDownloadsOnRestart
config option- Defaults to
true
- Defaults to
- [Addition] Added
MaxSongDuration
config option- Defaults to
600
. Value is in seconds - Songs longer than this value won't be downloaded and you will hear whatever was last played through the boombox instead, if anything
- Defaults to
Fix volume command
v1.1.3 Wrong math operation...
Move base directory
I didn't like the base directory being in the game files, so I've moved it to the bepinex mod's plugin folder. This means when you delete the mod, it should also delete any downloads along with ffmpeg and ytdl.
This will also remove the old directory, if it exists. In a few versions, I will delete the old directory location check.
Support for youtu.be links and reuse downloads in the same session
This version adds:
- Support for shortened youtu.be links
- Downloads will be reused in the same session until you restart your game
- Holding a boombox and typing
/bbv number
will set the boombox's volume- 0 means silent, 100 is default
- This is client side only, meaning only you will experience the change in volume