mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #480] Pass libogg library path? #303
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#303
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @klavierworks on GitHub (May 14, 2020).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/480
I'm currently building a Swift MacOS app, which wraps around and controls Spotify for a few audio playback features.
Using the
Processfeature, I can safely launch/control/terminate a librespot child process in sandbox mode. This seems perfect, but I'm reaching a stumbling block as it obviously relies upon the external libogg.0.dylib framework.I've managed to move this to the app, add it to the build phases, and sign it, which allows it to be safely loaded within the sandbox. But obviously librespot does not know to look for it in the local project directory (infact, same directory as the librespot built executable).
Is there anyway to manually tell librespot where it should look for libogg? Whether that's at run time, build time, or perhaps even if I created a custom build with a change somewhere?
@ashthespy commented on GitHub (May 14, 2020):
I might be mistaken, but if your building it with
lewtonfor the decoder (the default one) it should be a pure rust implementation with theoggcrate?@klavierworks commented on GitHub (May 16, 2020):
You're completely right, thanks – closing!