Jukebox Server: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
(Killing the Jukebox)
(Replacing page with '=The server Jukebox is dead= '''One of the fans was making an awful sounds and the web interface for the jukebox needed much love. Zebra is now replacing its funcationality...')
Line 2: Line 2:
'''One of the fans was making an awful sounds and the web interface for the jukebox needed much love. [[Zebra]] is now replacing its funcationality. For more information on how to play music off of [[Zebra]], please see the [[Music#Jukebox|Music]] page. The home directory has been backed up to [[Pony]], /d1/backup-old-jukebox-home/'''
'''One of the fans was making an awful sounds and the web interface for the jukebox needed much love. [[Zebra]] is now replacing its funcationality. For more information on how to play music off of [[Zebra]], please see the [[Music#Jukebox|Music]] page. The home directory has been backed up to [[Pony]], /d1/backup-old-jukebox-home/'''


=Access Info=
If you'd like to see any of the old info about the machine, please check the history tab for this page.
jukebox.local
'''Host:''' jukebox
'''User:''' jukebox/password
 
The jukebox server is at 172.30.0.13
Its currently running a pulse audio daemon so you can connect and serve media through it that way.
 
=Future Design Plans=
 
 
:Adding more disk space and increasing the library size
:Elucidate directory organizing and playlist creation wrt moc
:Enabling users with remote libraries (aka their own music) to play with a non-apple music streamer, or a shared SD card catalog of albums/playlists/genre content)
 
=MOC=
 
Once you are into the jukebox use MOC by typing 'moc' at a prompt.
MOC is a console audio player, look at the MOC manual if you are unfamiliar with it.
 
MOC(1)                        music on console                        MOC(1)
 
 
 
NAME
      MOC - console audio player
 
 
SYNOPSIS
      mocp [OPTIONS] [FILE ...]
 
 
DESRIPTION
      MOC  is  a  console audio player with simple ncurses interface. It sup‚
      ports OGG, wave, and MP3 formats. Just run mocp, go to some  directory
      using menu and press enter to start playing file, program will be play‚
      ing automaticaly rest of the files in the directory.
 
      With no options and no file arguments the  program  begins  in  current
      directory  or in MusicDir if StartInMusicDir option is set. If you give
      a directory on the command line, MOC will try to go there.  With  files
      or  multiple  directories,  everything  will  be  added to the playlist
      recursively.
 
 
OPTIONS
      If an option can be also set in the  configuration  file,  the  command
      line overrides it.
 
 
      -D --debug
              Run  in  debug  mode. Client and server logs much information to
              debug files.  Don‚Äôt use this, the server log is large.  This  is
              only available if MOC was compiled without --disable-debug.
 
 
      -S --server
              Run only the server and exit.
 
 
      -F --foreground
              Can  be  used only with -S. Run the server in foreground and log
              everyting to stdout.
 
 
      -R --sound-driver NAME
              Use the specified sound driver. This can be OSS, ALSA,  or  null
              (for  debugging).  Some of the drivers could not be compiled in.
              This option is called SoundDriver in configuration file.
 
 
      -m --music-dir
              Start in MusicDir (set in configuration file). This can be  also
              set in configuration file as StartInMusicDir.
 
 
      -a --append
              Append  files,  directories  (recursivelly)  and playlists given
              after options to the playlist. Don‚Äôt start the interface.
 
 
      -c --clear
              Clear the playlist.
 
 
      -p --play
              Start playing from the first item on the playlist.
 
 
      -f --next
              Request playing the next song from the server‚Äôs playlist.
 
 
      -r --previous
              Request playing the previous song from the server‚Äôs playlist.
 
 
      -s --stop
              Request stop playing from the server.
 
 
      -x --exit
              Bring down the server.
 
 
      -P --pause
              Request pause from the server.
 
 
      -U --unpause
              Request unpause from the server.
 
 
      -G --toggle-pause
              Toggle between play/pause.
 
 
      -T --theme theme
              Use a theme file. If the path is not absolute, the file will  be
              searched in /usr/share/moc/themes/ (depends on installation pre‚Äê
              fix), ~/.moc/themes/ and in the current directory.
 
 
      -C --config FILE
              Use the specified config file instead of the default. An example
              can be found in /usr/share/doc/moc/examples/.
 
 
 
      -M --moc-dir DIR
              Use  the  specified  MOC  directory instead of the default. This
              also causes to use the config file from that directory. This can
              be also specified in the config file using the MOCDir option.
 
 
      -y --sync
              This  copy  of  the interface will be synchronizing the playlist
              with other clients. This option is calles  SyncPlaylist  in  the
              configuration file.
 
 
      -n --nosync
              This  copy  of the interface  will  not  be  synchronizing its
              playlist with other clients (see above).
 
 
      -A --ascii
              Use ASCII characters to draw lines (helps on some terminals).
 
 
      -i --info
              Print the information about the currently played file.
 
 
      -Q --format FORMAT_STRING
              Print information about the currently played file using a format
              string.  Replace string sequences with proper information:
 
 
      State  %state
 
      File  %file
 
      Title  %title
 
      Artist %artist
 
      SongTitle
              %song
 
      Album  %album
 
      TotalTime
              %tt
 
      TimeLeft
              %tl
 
      TotalSec
              %ts
 
      CurrentTime
              %ct
 
      CurrentSec
              %cs
 
      Bitrate
              %b
 
      Rate  %r
 
      \n    \n
 
 
      -e --recursively
              Alias for -a for backward compatybility.
 
 
      -h --help
              Print list of options with short description and exit.
 
 
      -V --version
              Print program version and exit.
 
 
      -v --volume
              Adjust  the  mixer  volume.  You  can set (-v 50), or adjust (-v
              +10), (-v -10).
 
 
      -t --toggle
 
      -o --on
 
      -u --off
 
              Followed by a list of  identifiers,  these  will  control  MOC‚Äôs
              playlist  options.  Valid  identifiers:  shuffle,  repeat,  and
              autonext. Can be shortened to s, r, and n respectively.
 
              Example: -t shuffle,r,n would toggle shuffle repeat and autonext
              all at once.
 
 
FILES
      ~/.moc  MOC  directory  for  configuration file, socket, pid file, and
              other data.
 
 
      ~/.moc/config
 
              Configuration file of MOC. Format is very simple, to see how  to
              use  it,  look  into example configuration file (config.example)
              distributed with the program.
 
 
      ~/.moc/themes
              /usr/share/moc/themes
 
              Default directories for theme files.
 
 
BUGS
      Command line options that affects the server bahaviour  (like  --sound-
      driver)  are  ignored  if  the server is already running at the time of
      executing mocp. The user is not warned about this.
 
 
HOMEPAGE
      http://moc.daper.net
 
 
AUTHOR
      Damian Pietras <daper@daper.net>
 
      Debian related notes: Elimar Riesebieter <riesebie@lxtec.de>
 
 
 
Version 2.4.0                  25 December 2005                        MOC(1)

Revision as of 00:48, 20 May 2009

The server Jukebox is dead

One of the fans was making an awful sounds and the web interface for the jukebox needed much love. Zebra is now replacing its funcationality. For more information on how to play music off of Zebra, please see the Music page. The home directory has been backed up to Pony, /d1/backup-old-jukebox-home/

If you'd like to see any of the old info about the machine, please check the history tab for this page.