Skip to content

Commit

Permalink
import mpd in getting started example
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Jun 25, 2013
1 parent b90a9f9 commit 2555fad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/topics/getting-started.rst
Expand Up @@ -3,7 +3,8 @@ Using the client library

The client library can be used as follows::

>>> client = mpd.MPDClient() # create client object
>>> from mpd import MPDClient
>>> client = MPDClient() # create client object
>>> client.timeout = 10 # network timeout in seconds (floats allowed), default: None
>>> client.idletimeout = None # timeout for fetching the result of the idle command is handled seperately, default: None
>>> client.connect("localhost", 6600) # connect to localhost:6600
Expand Down

0 comments on commit 2555fad

Please sign in to comment.