Music: Difference between revisions

From CSCWiki
Jump to navigation Jump to search
(Updated to reflect new audio system with powernap and bluetoothctl)
mNo edit summary
Line 3: Line 3:
Office staff/termcom/syscom permissions are required to play music in the office.
Office staff/termcom/syscom permissions are required to play music in the office.


We also have MPD available, however this method is deprecated and is no longer the recommended method to play music.
We also have MPD available, however this method is rarely used after 2022. ''kids these days''


==How to play music==
==How to play music==


# Run <code>ssh [watid]@powernap.csclub.uwaterloo.ca</code>
# Run <code>ssh [watid]@powernap.csclub.uwaterloo.ca</code>
#Run `bluetoothctl`
# Run <code>bluetoothctl</code>
#Type `pairable on` and `discoverable on` into the console to enable pairing and discovery
# Type <code>pairable on</code> and <code>discoverable on</code> into the console to enable pairing and discovery
#Connect to `powernap` from your device
# Connect to <code>powernap</code> from your device
# Respond yes to all the prompts on the terminal from `powernap`
# Respond yes to all the prompts on the terminal from <code>powernap</code>
# Type <code>trust [device_mac]</code> to automatically allow audio from your device next time
#You should be able to play audio like a normal audio device now
# You should be able to play audio like a normal audio device now


==MPD Controls (Deprecated)==
==MPD Controls==
To view the keybindings of ncmpcpp, press F1 while it's running.
To view the keybindings of ncmpcpp, press F1 while it's running.
The number keys switch between tabs in it.
The number keys switch between tabs in it.
Line 23: Line 24:
*4 is browsing the media library
*4 is browsing the media library
*5 is browsing saved playlists, etc.
*5 is browsing saved playlists, etc.

You can add your own ''absolutely legitimately obtained'' music by copying them to <code>/music</code> on powernap. Then type <code>u</code> in ncmpcpp to refresh the database.


==Termcom Info==
==Termcom Info==

Revision as of 22:34, 17 February 2024

Music is run off `powernap`, since that's the computer with the speakers attached.

Office staff/termcom/syscom permissions are required to play music in the office.

We also have MPD available, however this method is rarely used after 2022. kids these days

How to play music

  1. Run ssh [watid]@powernap.csclub.uwaterloo.ca
  2. Run bluetoothctl
  3. Type pairable on and discoverable on into the console to enable pairing and discovery
  4. Connect to powernap from your device
  5. Respond yes to all the prompts on the terminal from powernap
  6. Type trust [device_mac] to automatically allow audio from your device next time
  7. You should be able to play audio like a normal audio device now

MPD Controls

To view the keybindings of ncmpcpp, press F1 while it's running. The number keys switch between tabs in it.

  • 1 is current playlist
  • 2 is browsing files
  • 3 is search
  • 4 is browsing the media library
  • 5 is browsing saved playlists, etc.

You can add your own absolutely legitimately obtained music by copying them to /music on powernap. Then type u in ncmpcpp to refresh the database.

Termcom Info