Comments (2)
Hi there!
The background music of Dungeon Club is fetched from actual YouTube playlists which contain audio tracks licensed under Creative Commons (or similar).
It's not documented anywhere right now (don't worry about being confused), but ambience/meta.json
is an automatically generated file. It includes information about each track's name and duration, as well as all source YouTube IDs.
If you want to add your own tracks, I'd suggest modifying the ambience/source.json
file. That's where you'll find the IDs to all playlists which are downloaded. You can include new videos by adding any valid YouTube ID to the include
field of a playlist.
{
"playlists": {
// ...
// This playlist is titled "Ethereal" in Dungeon Club
"PL4K_2Hl-nCuVDGnP6JX39cdqT63R1eyI1": {
"include": [
"XPZL2yFOeA8" // <-- Your newly added video ID
]
},
// ...
}
}
Download the music-bundle.zip
All default music included in the public version of Dungeon Club is available as a compressed ZIP file. This "music bundle" contains all linked YouTube videos, converted to normalized MP3 files. I recommend downloading this bundle and unzipping the audio files into ambience/tracks/
. Essentially, this replaces the step of fetching/converting all default tracks yourself, which may take a while.
Manual download/conversion
There are two command line tools required for downloading and converting the youtube playlists from ambience/source.json
yourself: yt-dlp and ffmpeg. After installing, you can start your Dungeon Club server with the music player feature enabled by running ./server.exe --music
. You should be able to see download progress of your newly added video IDs.
Updating ambience meta...
Downloading... 95.24%
Downloading... 100.00%
Downloaded track 21/21
Loaded music playlists
Dungeon Club is ready!
- Local: http://localhost:7070
- Network: http://192.168.178.43:7070
Navigate to http://localhost:7070
and launch a campaign session. You should now be able to find your custom audio tracks when skipping through the audio player.
Thanks for trying out the self hosted version. If you encounter any problems, I'm always happy to help!
Cheers!
from dungeonclub.
Aha! That explains my confusion with meta.json
!
Apologies, I have been quite busy these past couple of weeks. I will have to try this out now! I will go ahead and close this. Thank you again! 😃
from dungeonclub.
Related Issues (15)
- [New Feature Request] Is it possible to add some functions related to batch operations HOT 1
- Fresh compile seems to flare windows defender HOT 4
- Issue with player tokens HOT 2
- [BUG] Dev script not working HOT 1
- Add light sources with walls for dynamic light and shadows HOT 4
- [Feature Request] add the possibility to share and Render Markdown Notes ..
- [Feature Request] Add the possibility for Players to modify her Player Token
- [Feature Request] Kiosk Mode : Hide all UI Elements
- Implement more advanced grid editor HOT 1
- Ability to toggle a character token's visibility HOT 1
- QUESTION: how would one go to self-host this project? HOT 3
- Hexagonal Grid Option HOT 2
- Additional Movable Commands HOT 9
- A request about measurement board features HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dungeonclub.