Music: Difference between revisions

From CSCWiki
Jump to navigation Jump to search
(Rename syscom info to termcom info)
(Updated to reflect new audio system with powernap and bluetoothctl)
Line 1: Line 1:
Music is run off <code>nullsleep</code>, since that's the computer with the speakers attached.
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.
All music files are in <code>/music</code>. You may or may not be required to be a member of the audio group to actually play tracks


We also have MPD available, however this method is deprecated and is no longer the recommended method to play music.
View recently listened tracks: http://www.last.fm/user/csclub


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


# Run <code>ssh nullsleep</code> from an office terminal.
# Run <code>ssh [watid]@powernap.csclub.uwaterloo.ca</code>
#Run `bluetoothctl`
# Run <code>ncmpcpp</code>
#Type `pairable on` and `discoverable on` into the console to enable pairing and discovery
# That's it!
#Connect to `powernap` from your device
# Respond yes to all the prompts on the terminal from `powernap`
#You should be able to play audio like a normal audio device now


== Controls ==
==MPD Controls (Deprecated)==
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.


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


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


* We require https://github.com/hrkfdn/mpdas to get scrobbling working as it "official" last.fm integration was removed from mpd in 2013.
*We require https://github.com/hrkfdn/mpdas to get scrobbling working as it "official" last.fm integration was removed from mpd in 2013.
** n.b. https://github.com/hrkfdn/mpdas/issues/58
**n.b. https://github.com/hrkfdn/mpdas/issues/58
* To control the mixer on other terminals, use <code>PULSE_SERVER=nullsleep pavucontrol</code>
*To control the mixer on other terminals, use <code>PULSE_SERVER=nullsleep pavucontrol</code>
* The official last.fm account credentials are stored in the exec password spot :)
*The official last.fm account credentials are stored in the exec password spot :)

Revision as of 21:01, 11 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 deprecated and is no longer the recommended method to play music.

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. You should be able to play audio like a normal audio device now

MPD Controls (Deprecated)

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.

Termcom Info