<commit_before>**********************
:mod:`mopidy.settings`
**********************


Changing settings
=================

For any Mopidy installation you will need to change at least a couple of
settings. To do this, create a new file in the ``~/.mopidy/`` directory
named ``settings.py`` and add settings you need to change from their defaults
there.

A complete ``~/.mopidy/settings.py`` may look like this::

    SERVER_HOSTNAME = u'0.0.0.0'
    SPOTIFY_USERNAME = u'alice'
    SPOTIFY_USERNAME = u'mysecret'
<commit_msg>docs: Fix error in example<commit_after>**********************
:mod:`mopidy.settings`
**********************


Changing settings
=================

For any Mopidy installation you will need to change at least a couple of
settings. To do this, create a new file in the ``~/.mopidy/`` directory
named ``settings.py`` and add settings you need to change from their defaults
there.

A complete ``~/.mopidy/settings.py`` may look like this::

    SERVER_HOSTNAME = u'0.0.0.0'
    SPOTIFY_USERNAME = u'alice'
    SPOTIFY_PASSWORD = u'<PASSWORD>'

{'fraction_non_alphanumeric': 0.2056338028169014, 'fraction_numerical': 0.007511737089201878, 'mean_word_length': 4.64021164021164, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6398370', 'n_tokens_mistral': 327, 'n_tokens_neox': 318, 'n_words': 116}