Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new media_player platform: Volumio Media Player #6556

Merged
merged 6 commits into from Mar 17, 2017

Conversation

jslove
Copy link
Contributor

@jslove jslove commented Mar 12, 2017

Description:

Volumio media player is an rpi based music player. This platform allows basic control of the player and displays information on currently playing media with cover art.

Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.io#2202

Example entry for configuration.yaml:

media_player:
  - platform: volumio
    name: 'Volumio Home Audio'
    host: homeaudio.local
    port: 3000

Configuration variables:

  • name (Optional): Name of the device
  • host (Required): IP address or hostname of the device
  • port (Required): Port number of Volumio service

Checklist:

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • [ X] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • [ X] New dependencies have been added to the REQUIREMENTS variable (example).
  • [ X] New dependencies are only imported inside functions that use them (example).
  • [X ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
  • [ X] New files were added to .coveragerc.

If the code does not interact with devices:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • Tests have been added to verify that the new code works.

Volumio media player is a rpi music player, this platfor adds http based control of the player.
@mention-bot
Copy link

@jslove, thanks for your PR! By analyzing the history of the files in this pull request, we identified @balloob, @fabaff and @robbiet480 to be potential reviewers.

@balloob
Copy link
Member

balloob commented Mar 17, 2017

This looks awesome 🐬

@balloob balloob merged commit 9778000 into home-assistant:dev Mar 17, 2017
@balloob balloob mentioned this pull request Mar 24, 2017
@thundergreen
Copy link

Hi all.

I just installed VOLUMIO on a PI1 b+ and tried to geet TTS running and end up with:

2017-05-31 00:04:50 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
result = coro.throw(exc)
File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/core.py", line 1015, in _event_to_service_call
yield from service_handler.func(service_call)
File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/media_player/__init__.py", line 389, in async_service_handler
yield from getattr(player, method['method'])(**params)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self  # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/media_player/__init__.py", line 699, in play_media
raise NotImplementedError()
NotImplementedError

would it be possible to get this running for TTS? Or do I have to use MPD Platform for TTS and Volumio?

@jslove
Copy link
Contributor Author

jslove commented Jun 1, 2017 via email

@jslove jslove deleted the volumio branch June 30, 2017 11:48
@home-assistant home-assistant locked and limited conversation to collaborators Oct 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants