From 173f53675e7763e0426c063eb5a90606786d25f4 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 12 Jan 2015 23:15:46 +0100 Subject: [PATCH] manual: Move /var/paraslash instructions to Troubleshooting. Not needed in quick start anymore, since with the abstract sockets Linux users won't see these problems any more. --- web/manual.m4 | 34 +++++++++++----------------------- 1 file changed, 11 insertions(+), 23 deletions(-) diff --git a/web/manual.m4 b/web/manual.m4 index 0182c515..b7e05978 100644 --- a/web/manual.m4 +++ b/web/manual.m4 @@ -374,14 +374,6 @@ Finally, tell para_client to connect to server_host: *Step 2*: Start para_server -Before starting the server make sure you have write permissions to -the directory /var/paraslash that has been created during installation: - - sudo chown $LOGNAME /var/paraslash - -Alternatively, use the --afs-socket Option to specify a different -location for the AFS command socket. - For this first try, we'll use the info loglevel to make the output of para_server more verbose. @@ -426,19 +418,8 @@ You may print the list of all known audio files with *Step 4*: Configure para_audiod -para_audiod needs to create a "well-known" socket for the clients to -connect to. The default path for this socket is - - /var/paraslash/audiod_socket.$HOSTNAME - -In order to make this directory writable for para_audiod, execute -as bar@client_host - - sudo chown $LOGNAME /var/paraslash - - -We will also have to tell para_audiod that it should receive the -audio stream from server_host via http: +We will have to tell para_audiod that it should receive the audio +stream from server_host via http: para_audiod -l info -r '.:http -i server_host' @@ -455,9 +436,16 @@ streamed in which order. *Troubleshooting* -It did not work? To find out why, try to receive, decode and play the -stream manually using para_recv, para_filter and para_write as follows. +If you receive a socket related error on server or audiod startup, +make sure you have write permissions to the /var/paraslash directory: + sudo chown $LOGNAME /var/paraslash + +Alternatively, use the --afs-socket (para_server) or --socket +(para_audiod) option to specify a different socket pathname. + +To identify streaming problems try to receive, decode and play the +stream manually using para_recv, para_filter and para_write as follows. For simplicity we assume that you're running Linux/ALSA and that only MP3 files have been added to the database. -- 2.39.5