<commit_before>*************
Mopidy-Yamaha
*************

.. image:: https://img.shields.io/pypi/v/Mopidy-Yamaha.svg?style=flat
    :target: https://pypi.python.org/pypi/Mopidy-Yamaha/
    :alt: Latest PyPI version

.. image:: https://img.shields.io/pypi/dm/Mopidy-Yamaha.svg?style=flat
    :target: https://pypi.python.org/pypi/Mopidy-Yamaha/
    :alt: Number of PyPI downloads

.. image:: https://img.shields.io/travis/knutz3n/mopidy-yamaha/master.png?style=flat
    :target: https://travis-ci.org/mopidy/mopidy-yamaha
    :alt: Travis CI build status

.. image:: https://img.shields.io/coveralls/knutz3n/mopidy-yamaha/master.svg?style=flat
   :target: https://coveralls.io/r/knutz3n/mopidy-yamaha?branch=master
   :alt: Test coverage

`Mopidy <http://www.mopidy.com/>`_ extension for controlling volume on
external Yamaha network connected receivers. Developed and tested with a Yamaha RX-V673.


Installation
============

Install by running::

    sudo pip install Mopidy-Yamaha


Configuration
=============

The Mopidy-Yamaha extension is enabled by default. To disable it, add the
following to ``mopidy.conf``::

    [yamaha]
    enabled = false

The Yamaha receiver must be connected to the local network and the receiver ip
must be specified in the configuration.

To use the Yamaha receiver to control volume, set the ``audio/mixer`` config
value in ``mopidy.conf`` to ``yamahamixer``. You probably also needs to add some
properties to the ``audio/mixer`` config value.

Supported properties includes:

- ``host``: The ip or hostname to the receiver.

- ``source``: The source that should be selected on the amplifier, like
  ``HDMI1``, ``AV_1``, ``AUDIO_1``, etc. Leave unset if you don't want
  the mixer to change it for you.

Configuration examples::

    # Minimum configuration, if the amplifier is available at IP 192.168.1.15
    [audio]
    mixer = yamahamixer host=192.168.1.15

    # Full configuration
    [audio]
    mixer = yamahamixer host=192.168.1.15 source=HDMI2


Project resources
=================

- `Source code <https://github.com/knutz3n/mopidy-yamaha>`_
- `Issue tracker <https://github.com/knutz3n/mopidy-yamaha/issues>`_
- `Download development snapshot <https://github.com/knutz3n/mopidy-yamaha/tarball/master#egg=Mopidy-Yamaha-dev>`_


Changelog
=========

v0.2.0 (2014-08-06)
-------------------

- Use the new Mopidy mixer API (requires Mopidy >=v0.19)

v0.1.2 (2014-02-14)
-------------------

- Update changelog

v0.1.1 (2014-02-14)
-------------------

- Minor doc changes
- Add talker test for mute on/off

v0.1 (2014-02-13)
-----------------

- Initial release<commit_msg>Update readme with new configuration details<commit_after>*************
Mopidy-Yamaha
*************

.. image:: https://img.shields.io/pypi/v/Mopidy-Yamaha.svg?style=flat
    :target: https://pypi.python.org/pypi/Mopidy-Yamaha/
    :alt: Latest PyPI version

.. image:: https://img.shields.io/pypi/dm/Mopidy-Yamaha.svg?style=flat
    :target: https://pypi.python.org/pypi/Mopidy-Yamaha/
    :alt: Number of PyPI downloads

.. image:: https://img.shields.io/travis/knutz3n/mopidy-yamaha/master.png?style=flat
    :target: https://travis-ci.org/mopidy/mopidy-yamaha
    :alt: Travis CI build status

.. image:: https://img.shields.io/coveralls/knutz3n/mopidy-yamaha/master.svg?style=flat
   :target: https://coveralls.io/r/knutz3n/mopidy-yamaha?branch=master
   :alt: Test coverage

`Mopidy <http://www.mopidy.com/>`_ extension for controlling volume on
external Yamaha network connected receivers. Developed and tested with a Yamaha RX-V673.


Installation
============

Install by running::

    sudo pip install Mopidy-Yamaha


Configuration
=============

The Mopidy-Yamaha extension is enabled by default. To disable it, add the
following to ``mopidy.conf``::

    [yamaha]
    enabled = false

The Yamaha receiver must be connected to the local network and the receiver ip
must be specified in the configuration.

To use the Yamaha receiver to control volume, set the ``audio/mixer`` config
value in ``mopidy.conf`` to ``yamaha``. You must also add some
properties to the ``yamaha`` config section.

Supported properties:

- ``host``: The ip or hostname to the receiver.

- ``source``: The source that should be selected on the amplifier, like
  ``HDMI1``, ``AV_1``, ``AUDIO_1``, etc. Leave unset if you don't want
  the mixer to change it for you.

Configuration example::

    [audio]
    mixer = yamahamixer

    # If the amplifier is available at IP 192.168.1.15
    # and audio is connected to the HDMI 2 port.
    [yamaha]
    host = 192.168.1.15
    source=HDMI2


Project resources
=================

- `Source code <https://github.com/knutz3n/mopidy-yamaha>`_
- `Issue tracker <https://github.com/knutz3n/mopidy-yamaha/issues>`_
- `Download development snapshot <https://github.com/knutz3n/mopidy-yamaha/tarball/master#egg=Mopidy-Yamaha-dev>`_


Changelog
=========

v0.2.0 (2014-08-06)
-------------------

- Use the new Mopidy mixer API (requires Mopidy >=v0.19)
- New configuration section. Remember to update your ``mopidy.conf``

v0.1.2 (2014-02-14)
-------------------

- Update changelog

v0.1.1 (2014-02-14)
-------------------

- Minor doc changes
- Add talker test for mute on/off

v0.1 (2014-02-13)
-----------------

- Initial release
{'fraction_non_alphanumeric': 0.17370714150407274, 'fraction_numerical': 0.03106648986550483, 'mean_word_length': 3.345679012345679, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 22, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 5, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '588556', 'n_tokens_mistral': 1958, 'n_tokens_neox': 1812, 'n_words': 484}