Comments (5)
Related to #52. Lavalink doesn't run very well on embedded architectures like ARM, but it's possible.
You'll need to add libconnector.so
to the lavaplayer-natives
jar, then repack it into the Lavalink jar like so:
mkdir -p Lavalink-tmp/tmp/lavaplayer-natives ; pushd Lavalink-tmp
unzip ../Lavalink.jar
pushd tmp/lavaplayer-natives
unzip ../../BOOT-INF/lib/lavaplayer-natives-1.2.55.jar
mkdir -p natives/linux-arm/
cp ../../../libconnector.so natives/linux-arm/
jar -cvfm ../../BOOT-INF/lib/lavaplayer-natives-1.2.55.jar META-INF/MANIFEST.MF .
popd
rm -rf tmp/
jar -cvf0m ../Lavalink-repack.jar META-INF/MANIFEST.MF .
popd
rm -rf Lavalink-tmp
This assumes you have libconnector.so
and Lavalink.jar
in the cwd. You might also need libudpqueue.so
.
I also have a PR (sedmelluq/lavaplayer#137) that would remove the need to repack jars to run Lavalink on platforms that don't have bundled libraries.
from lavalink.
I did all of that and sure enough I do need libudpqueue.so
from lavalink.
Has anyone made an ARM-bit libudpqueue.so yet? The docker you left in the PR isn't working on my computer
from lavalink.
It's Docker, and should work on any x86 machine. But I won't support it here. Here are the libraries I built for all ARM variants:
out-linux-arm.tar.gz. Repacking the udp-queue jar works the exact same way as the lavaplayer one.
from lavalink.
Thanks! I'll have them repacked in a few, thanks for all the help you have provided
from lavalink.
Related Issues (20)
- `pluginInfo` missing on track model in Lavalink 4.0.1 HOT 2
- Invalid status code for video page response: 400 HOT 1
- Auto delete outdated plugin files HOT 6
- Auto update plugin files HOT 9
- http requests doesnt work for me. (.mp3 urls)
- Feature-Request: "Load multiple local tracks" HOT 8
- No sound from discord bot . Bot is just ending the track HOT 4
- Why does the track get broken after a little bit of high demand? HOT 1
- StopAsync() doesnt change LavaLinkGuildConnection.Currentstate.Currenttrack to null HOT 2
- Loading search results from SoundCloud failed. HOT 1
- No mapping for GET /
- Add audio receiving features HOT 4
- Dispatch event when paused or resumed HOT 1
- Error with YouTube Music videos HOT 2
- Accept raw file from client HOT 2
- docker bug
- Im getting an error HOT 3
- ERROR Invalid status code for youtube embed video id: 500 HOT 2
- I got error While Starting Lavalink
- Issue with connecting to Lavalink 4.0.0. 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 lavalink.