From bc4d671c862225036e2c6d36ba99e2898fbe3076 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sun, 31 Oct 2010 02:21:18 +0200 Subject: [PATCH] docs: Improved description of the frontend concept --- docs/api/frontends/index.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/api/frontends/index.rst b/docs/api/frontends/index.rst index 2ab1df8b..b01bac3d 100644 --- a/docs/api/frontends/index.rst +++ b/docs/api/frontends/index.rst @@ -2,7 +2,12 @@ :mod:`mopidy.frontends` *********************** -A frontend is responsible for exposing Mopidy for a type of clients. +A frontend may do whatever it wants to, including creating threads, opening TCP +ports and exposing Mopidy for a type of clients. + +Frontends got one main limitation: they are restricted to passing messages +through the ``core_queue`` for all communication with the rest of Mopidy. Thus, +the frontend API is very small and reveals little of what a frontend may do. .. automodule:: mopidy.frontends :synopsis: Frontend API