Open main menu

Linux and Unix Users Group at Virginia Teck Wiki β

Changes

Funkwhale

1,695 bytes added, 04:33, 3 January 2019
Created page with "[https://funkwhale.audio/ Funkwhale] is a self-hosted music streaming service. VTLUUG currently runs a dockerized instance located at https://funkwhale.vtluug.org on sczi...."
[https://funkwhale.audio/ Funkwhale] is a self-hosted music streaming service. VTLUUG currently runs a dockerized instance located at https://funkwhale.vtluug.org on [[sczi]]. LDAP, invite codes, and the admin account are the only available login methods.

All music on Funkwhale is organized into user-specific libraries, and users may grant access to other users, the public, or to everyone on the instance. A big part of Funkwhale is the social aspect of sharing music with others.

Docker-compose configuration files are located on [https://github.com/vtluug/docker-compose/sczi/funkwhale GitHub].

== Importing Music ==

Funkwhale already has a pretty good guide located [https://docs.funkwhale.audio/importing-music.html here], so this guide is specific to VTLUUG's configuration.


# Music must be located at <code>/nfs/cistern/share/media/music/$username</code> and must have proper metadata. Currently only FLAC, OGG/Vorbis, and MP3 files are supported but check [https://docs.funkwhale.audio/importing-music.html here] in case this guide is out of date.
# Create a library by going to https://funkwhale.vtluug.org/content/libraries/.
# Record the library ID of the library you want to add music too, located in the URL bar when you click on 'Detail' for a given library.
# On [[Infrastructure:Sczi sczi]]:
## Become root (ask an officer for help)
## Go to <code>/nfs/cistern/docker/apps/sczi/funkwhale</code>
## Run <code>export LIBRARY_ID="<your_libary_id>"</code>
## Run <code>docker-compose run --rm api python manage.py import_files $LIBRARY_ID "/nfs/cistern/share/media/music/$username/**/*.flac" --recursive --noinput</code>
### Adjust the music type depending on your filetypes.