X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=web%2Fdia%2Foverview.dia;h=f9e015869d1c89602d43e449462800b63be6f336;hp=d056dfd7323253217fac8ac57636546db7765aed;hb=a29e6451e79365af6dce8d14f3056fc107b059fb;hpb=f5fb7ab51189ee8714b1f8986c300f86eb75a6ea
diff --git a/web/dia/overview.dia b/web/dia/overview.dia
index d056dfd7..f9e01586 100644
--- a/web/dia/overview.dia
+++ b/web/dia/overview.dia
@@ -68,7 +68,7 @@
-
+
@@ -101,7 +101,7 @@
-
+
@@ -134,22 +134,24 @@
-
+
- #Incoming connections arrive via TCP at the dispatcher which creates a command
-handler process for each connection.
+ #Incoming connections arrive via TCP at the dispatcher which creates a
+command handler process for each connection.
-After the connecting client has been authenticated, the command handler propagates
-the incoming request either to the audio file selector (afs) or to the virtual streaming
-system (vss). Results are sent back to the client.
+After the connecting client has been authenticated, the command
+handler propagates the incoming request either to the audio file
+selector (afs) or to the virtual streaming system (vss). Results are sent
+back to the client.
-afs maintans the audio file database and is responsible for selecting and loading
-audio files while vss controls the paraslash senders. When vss needs to stream an
-audio file it requests an open file descriptor from afs and feeds small chunks of data
-(e.g. mp3 frames) to the senders which send the chunks to all connected clients.#
+afs maintans the audio file database and is responsible for selecting
+and loading audio files while vss controls the paraslash senders. When
+vss needs to stream an audio file it requests an open file descriptor from
+afs and feeds small chunks of data (e.g. mp3 frames) to the senders
+which send the chunks to all connected clients.#
@@ -177,7 +179,7 @@ audio file it requests an open file descriptor from afs and feeds small chunks o
-
+
@@ -225,8 +227,8 @@ audio file it requests an open file descriptor from afs and feeds small chunks o
-
-
+
+
@@ -325,7 +327,7 @@ audio file it requests an open file descriptor from afs and feeds small chunks o
-
+
@@ -370,7 +372,7 @@ audio file it requests an open file descriptor from afs and feeds small chunks o
-
+
@@ -392,19 +394,19 @@ audio file it requests an open file descriptor from afs and feeds small chunks o
-
+
-
+
-
+
-
+
@@ -440,7 +442,7 @@ audio file it requests an open file descriptor from afs and feeds small chunks o
-
+
@@ -462,19 +464,19 @@ audio file it requests an open file descriptor from afs and feeds small chunks o
-
+
-
+
-
+
-
+
@@ -510,7 +512,7 @@ audio file it requests an open file descriptor from afs and feeds small chunks o
-
+
@@ -532,19 +534,19 @@ audio file it requests an open file descriptor from afs and feeds small chunks o
-
+
-
+
-
+
-
+
@@ -580,7 +582,7 @@ audio file it requests an open file descriptor from afs and feeds small chunks o
-
+
@@ -602,19 +604,19 @@ audio file it requests an open file descriptor from afs and feeds small chunks o
-
+
-
+
-
+
-
+
@@ -651,7 +653,7 @@ handler#
-
+
@@ -673,19 +675,19 @@ handler#
-
+
-
+
-
+
-
+
@@ -721,7 +723,7 @@ handler#
-
+
@@ -858,7 +860,7 @@ handler#
-
+
@@ -903,7 +905,7 @@ handler#
-
+
@@ -947,19 +949,19 @@ handler#
-
+
-
+
-
+
-
+
@@ -995,7 +997,7 @@ handler#
-
+
@@ -1017,19 +1019,19 @@ handler#
-
+
-
+
-
+
-
+
@@ -1065,7 +1067,7 @@ handler#
-
+
@@ -1087,19 +1089,19 @@ handler#
-
+
-
+
-
+
-
+
@@ -1135,7 +1137,7 @@ handler#
-
+
@@ -1205,7 +1207,7 @@ handler#
-
+
@@ -1227,19 +1229,19 @@ handler#
-
+
-
+
-
+
-
+
@@ -1275,7 +1277,7 @@ handler#
-
+
@@ -1438,7 +1440,7 @@ handler#
-
+
@@ -1471,7 +1473,7 @@ handler#
-
+
@@ -1504,7 +1506,7 @@ handler#
-
+
@@ -1559,7 +1561,7 @@ handler#
-
+
@@ -1604,7 +1606,7 @@ handler#
-
+
@@ -1629,23 +1631,23 @@ handler#
-
+
- #The two main applications of the paraslash suite (shaded green) are para_server
-and para_audiod. Both run in the background usually. para_server maintains the
-audio file database and acts as the streaming source, while para_audiod is the
-streaming client.
+ #The two main applications of the paraslash suite (shaded green) are
+para_server and para_audiod. Both run in the background usually.
+para_server maintains the audio file database and acts as the streaming
+source, while para_audiod is the streaming client.
-The two client programs, para_client and para_audioc communicate with para_server
-and para_audiod, respectively.
+The two client programs, para_client and para_audioc communicate
+with para_server and para_audiod, respectively.
-para_gui controls para_server/audiod by executing paraslash commands. Command
-output is shown in a curses window. para_gui automatically executes para_audioc
-to obtain the state of para_audiod and para_server and the metadata of the current
-audio file.
+para_gui controls para_server/audiod by executing paraslash commands.
+Command output is shown in a curses window. para_gui automatically
+executes para_audioc to obtain the state of para_audiod and para_server
+and the metadata of the current audio file.
Network connections are shaded grey, local connections black.#
@@ -1675,7 +1677,7 @@ Network connections are shaded grey, local connections black.#
-
+
@@ -1708,21 +1710,22 @@ Network connections are shaded grey, local connections black.#
-
+
- #The purpose of para_audiod is to download, decode and play an audio stream
-received from para_server. It fetches the para_server status and starts a suitable
-buffer tree (shaded blue) if an audio stream is available.
+ #The purpose of para_audiod is to download, decode and play an audio
+stream received from para_server. It fetches the para_server status and
+starts a suitable buffer tree (shaded blue) if an audio stream is available.
-The buffer tree usually consists of a receiver, any number of filters and a writer. The
-receiver downloads the audio stream from para_server and the filters decode or
-modify the received data. The writer plays the decoded stream.
+The buffer tree usually consists of a receiver, any number of filters and
+a writer. The receiver downloads the audio stream from para_server and
+the filters decode or modify the received data. The writer plays the
+decoded stream.
-The dispatcher acts on (local) requests from para_audioc, for example to dump
-information about the current audio file.#
+The dispatcher acts on (local) requests from para_audioc, for example to
+dump information about the current audio file.#
@@ -1750,19 +1753,21 @@ information about the current audio file.#
-
+
- #The audio file selector (afs) accepts two different kinds of incoming connections:
-A bidirectional pipe shared with para_server is used for passing the file descriptor
-of the current audio file to the server process. The local socket is used by command
-handlers which query or update the database.
+ #The audio file selector (afs) accepts two different kinds of incoming
+connections: A bidirectional pipe shared with para_server is used for
+passing the file descriptor of the current audio file to the server
+process. The local socket is used by command handlers which query
+or update the database.
-To add a new file to the database, afs opens the file and locates an audio format
-handler (afh) that recognizes the file. A new database entry with metadata obtained
-from the afh is then added to the database.#
+To add a new file to the database, afs opens the file and locates an
+audio format handler (afh) that recognizes the file. A new database
+entry with metadata obtained from the afh is then added to the
+database.#
@@ -1790,7 +1795,7 @@ from the afh is then added to the database.#
-
+
@@ -1870,7 +1875,7 @@ from the afh is then added to the database.#
-
+
@@ -1915,7 +1920,7 @@ from the afh is then added to the database.#
-
+
@@ -1962,7 +1967,7 @@ from the afh is then added to the database.#
-
+
@@ -1981,19 +1986,19 @@ from the afh is then added to the database.#
-
+
-
+
-
+
-
+
@@ -2029,7 +2034,7 @@ from the afh is then added to the database.#
-
+
@@ -2051,19 +2056,19 @@ from the afh is then added to the database.#
-
+
-
+
-
+
-
+
@@ -2099,7 +2104,7 @@ from the afh is then added to the database.#
-
+
@@ -2124,7 +2129,7 @@ from the afh is then added to the database.#
-
+
@@ -2169,7 +2174,7 @@ from the afh is then added to the database.#
-
+
@@ -2191,19 +2196,19 @@ from the afh is then added to the database.#
-
+
-
+
-
+
-
+
@@ -2239,7 +2244,7 @@ from the afh is then added to the database.#
-
+
@@ -2261,19 +2266,19 @@ from the afh is then added to the database.#
-
+
-
+
-
+
-
+
@@ -2309,7 +2314,7 @@ from the afh is then added to the database.#
-
+
@@ -2356,7 +2361,7 @@ from the afh is then added to the database.#
-
+
@@ -2389,30 +2394,32 @@ from the afh is then added to the database.#
-
+
- #Metadata about all known audio files is stored in serveral tables of a database which
-is driven by libosl, the object storage layer library.
+ #Metadata about all known audio files is stored in serveral tables of a
+database which is driven by libosl, the object storage layer library.
-The "audio files" table is the main table of the database. It contains path, hash and
-metadata of each known file.
+The "audio files" table is the main table of the database. It contains
+path, hash and metadata of each known file.
-The "attributes" table maps each of the 64 possible attributes to a string. The
-attribute value of the file's metadata is translated through this table.
+The "attributes" table maps each of the 64 possible attributes to a
+string. The attribute value of the file's metadata is translated through
+this table.
-The tables shown shaded are blob tables which support add, rm, mv, cat, ls
-commands. All of these are optional.
+The tables shown shaded are blob tables which support add, rm, mv,
+cat, ls commands. All of these are optional.
-The "score" table describes the subset of admissible files for the current playlist or
-mood. This table is created on demand, resides only in memory and is discarded
-on exit.
+The "score" table describes the subset of admissible files for the
+current playlist or mood. This table is created on demand, resides
+only in memory and is discarded on exit.
-When the next audio file is to be streamed, the audio file selector gets the entry with
-the highest score from the "score" table, obtains path, hash, and metadata for this
-entry from the "audio files" table, opens the path and verifies the hash.#
+When the next audio file is to be streamed, the audio file selector gets
+the entry with the highest score from the "score" table, obtains path,
+hash, and metadata for this entry from the "audio files" table, opens
+the path and verifies the hash.#
@@ -2438,19 +2445,19 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
-
+
-
+
@@ -2486,7 +2493,7 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
@@ -2508,19 +2515,19 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
-
+
-
+
@@ -2556,7 +2563,7 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
@@ -2578,19 +2585,19 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
-
+
-
+
@@ -2626,7 +2633,7 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
@@ -2648,19 +2655,19 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
-
+
-
+
@@ -2696,7 +2703,7 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
@@ -2718,19 +2725,19 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
-
+
-
+
@@ -2766,7 +2773,7 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
@@ -2788,19 +2795,19 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
-
+
-
+
@@ -2836,7 +2843,7 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
@@ -2906,7 +2913,7 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
@@ -2931,11 +2938,11 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
@@ -2950,13 +2957,13 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
-
+
@@ -2974,19 +2981,19 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
-
+
-
+
@@ -3022,7 +3029,7 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
@@ -3044,19 +3051,19 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
-
+
-
+
@@ -3092,7 +3099,7 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
@@ -3159,19 +3166,19 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
-
+
-
+
@@ -3207,7 +3214,7 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
@@ -3229,19 +3236,19 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
-
+
-
+
@@ -3277,7 +3284,7 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
@@ -3299,19 +3306,19 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
-
+
-
+
@@ -3347,7 +3354,7 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
@@ -3369,19 +3376,19 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
-
+
-
+
@@ -3417,7 +3424,7 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
@@ -3439,19 +3446,19 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
-
+
-
+
@@ -3487,7 +3494,7 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
@@ -3509,19 +3516,19 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
-
+
-
+
@@ -3557,7 +3564,7 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
@@ -3579,13 +3586,13 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
-
+
@@ -3609,19 +3616,23 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
-
-
+
+
+
+
+
+
@@ -3642,12 +3653,12 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
@@ -3666,13 +3677,13 @@ entry from the "audio files" table, opens the path and verifies the hash.#
-
+
-
+
-
+