Commit Graph

1149 Commits (c68e0a1d4646f6697f1972b99a5a5ad132f87d27)

Author SHA1 Message Date
happyleavesaoc d4d91bfdbb Amazon Fire TV device support 2015-10-09 17:06:35 -04:00
Paulus Schoutsen e0149c4ee4 Merge pull request #488 from balloob/itunes-play-media
iTunes play_media
2015-10-08 12:48:35 -07:00
magnusknutas 75c3e42064 Removes log for cleanup 2015-10-08 14:00:23 +02:00
magnusknutas 61c955779b Logging with info 2015-10-08 13:55:01 +02:00
magnusknutas a015df7b01 Test for media_content_id KeyError 2015-10-08 13:41:58 +02:00
Jon Maddox ffbaf0cd5a simpler 2015-10-07 02:13:13 -04:00
Jon Maddox 3b58e8628d style 2015-10-07 02:02:25 -04:00
Jon Maddox c2fe977778 style 2015-10-07 01:55:15 -04:00
Jon Maddox 85338887b4 wrap it 2015-10-07 01:42:50 -04:00
Jon Maddox 9a3c76c263 these are required 2015-10-07 01:41:57 -04:00
Jon Maddox 6ab4b80486 Merge branch 'dev' into itunes-play-media 2015-10-07 01:41:21 -04:00
Jon Maddox 26939ce554 style 2015-10-07 01:37:40 -04:00
Jon Maddox faa3e98921 module level play_media 2015-10-07 01:28:58 -04:00
Jon Maddox c4f8017a3f silence warning 2015-10-07 00:56:36 -04:00
Jon Maddox 6afb846d04 avoid key errors 2015-10-07 00:56:14 -04:00
Jon Maddox bdb42bf4a2 support play_media 2015-10-06 23:12:48 -04:00
Jon Maddox 1b22f71a19 implement play_media 2015-10-06 23:12:41 -04:00
Jon Maddox e84ddb036f return what playlist is playing 2015-10-06 23:12:30 -04:00
Jon Maddox 4be33bb15b add a way to play a playlist with the client 2015-10-06 23:12:20 -04:00
Jon Maddox d17174d43d play_media as a service 2015-10-06 23:11:21 -04:00
Jon Maddox e64846e2fd add ability to support play_media 2015-10-06 23:11:09 -04:00
Jon Maddox d454cad5a6 add a play_media function 2015-10-06 23:10:39 -04:00
Jon Maddox dcf52332ca add new properties for Channel or Playlist 2015-10-06 23:09:53 -04:00
Jon Maddox 87599df41b add some new media types 2015-10-06 23:00:29 -04:00
Adrien Brault e454806669 Finish plex implementation 2015-10-01 21:14:29 +02:00
Paulus Schoutsen 4e3bd5f2a9 Add service descriptions 2015-09-26 23:17:04 -07:00
miniconfig 03e7281406 Moved plexapi import into setup_platform().
Changed CONTRIBUTING.md to refer to requirements_all.txt instead of requirements.txt
2015-09-21 11:59:55 -04:00
miniconfig cc7784889a Pylint errors 2015-09-21 11:11:38 -04:00
miniconfig d267f0a04c Removed references to the frontend device parameter in the directions and added some clarification.
Fixed plexapi version number.
2015-09-21 10:59:34 -04:00
miniconfig a8e0ca6d3f Fixed various property methods to make sure they all had a fall through return and removed unnecessary "else" statements 2015-09-21 10:44:24 -04:00
miniconfig 5027acfda1 Fixed additional pylint and flake issues 2015-09-20 16:13:26 -04:00
miniconfig 48306ddbf6 Fixed Requirements URL 2015-09-20 08:19:21 -04:00
miniconfig 64741a95b8 Added requirements 2015-09-19 14:16:57 -04:00
miniconfig a24b38aacc Initial version of plex media player component 2015-09-19 13:48:45 -04:00
Jeff Schroeder 550f31d4c3 Quiet down some of the logging in the sonos platform
This is due to the soco library logging very excessively and it using
requests to connect to each Sonos speaker every 10 seconds (by default).

This makes the logs much more pleasant to use for finding real issues.
2015-09-16 23:11:57 -05:00
Jon Maddox 61685ea13d tag on " AirTunes Speaker" instead 2015-09-15 21:40:39 -04:00
Jon Maddox 77b9a12687 Tags the name of the device to the end of the name
This helps the media player be more explicit about itself and what it
is. It also namespaces it self a little better in the system. Rather
than be `media_player.family_room` it is
`media_player.family_room_apple_tv`. This helps for cases when there’s
another actual media player like Kodi or Chromecast in there.
2015-09-15 21:07:49 -04:00
Paulus Schoutsen 08f2a67de4 Allow falsy values for media player attributes 2015-09-15 12:58:19 -07:00
Jon Maddox e8c3eaab33 style tweaks 2015-09-14 17:39:43 -04:00
Jon Maddox fcbeddeb57 describe airplay part 2015-09-14 17:34:57 -04:00
Jon Maddox 50b23e1969 adds airplay speakers as media_players 2015-09-14 17:27:00 -04:00
Paulus Schoutsen 835bc1c492 Fix style issue 2015-09-13 18:40:54 -07:00
Roy Hooper 209499e82b Reduce media player scan frequency to 10s 2015-09-13 20:54:20 -04:00
Roy Hooper 9b47241a46 switch to default polling cycle to solve multiple instance issue 2015-09-13 20:49:09 -04:00
Roy Hooper d4834ff408 Add hass property to Entity to prevent 'Attribute hass is None' error during self.update_ha_state 2015-09-13 16:53:31 -04:00
Roy Hooper ce22f3c82d Implement unique_id to prevent duplicate devices 2015-09-13 16:53:31 -04:00
Paulus Schoutsen b0b88e606c Merge pull request #355 from SEJeff/minor-sonos-fix
Minor sonos fix
2015-09-13 10:17:05 -07:00
Jeff Schroeder 57a833f1a7 Fix a bug which causes the sonos component to occasionally pop
Had this happen when Sonos surround sound is playing from a TV. See this
for more details:

af9a5152fe/soco/core.py (L1060)
2015-09-13 12:13:35 -05:00
Paulus Schoutsen 40340ea832 Discover sonos devices 2015-09-13 07:48:50 -07:00
Jeff Schroeder 4fa379419d Don't blow up if no sonos speakers are found
Also move the imports up so the latest pep8 doesn't complain
2015-09-12 23:10:24 -05:00
Roy Hooper 6dcb87c54d squash bug in volume_level (bad if statement) 2015-09-12 21:42:36 -04:00
Paulus Schoutsen 5338b29edf Merge pull request #351 from maddox/itunes
Add iTunes media component
2015-09-11 21:53:03 -07:00
Jon Maddox 395dbe8804 drop the try 2015-09-12 00:50:40 -04:00
Jon Maddox f41786d893 STYLE!!!! 2015-09-12 00:49:34 -04:00
Jon Maddox 34dee0c134 style and docs 2015-09-12 00:42:11 -04:00
Jon Maddox 705238eb78 dat slash 2015-09-12 00:23:12 -04:00
Jon Maddox 2b6e0da405 add docstring 2015-09-12 00:23:04 -04:00
Jon Maddox 9d750368ff moar style fixes 2015-09-12 00:16:51 -04:00
Paulus Schoutsen 7252861b83 Merge pull request #350 from rhooper/sonos
rudimentary sonos support
2015-09-11 21:00:53 -07:00
Roy Hooper db2140782f follow proper calling convention for track_utc_time_change callback 2015-09-11 23:57:34 -04:00
Jon Maddox b9f5ec9e2c style fixes 2015-09-11 23:49:43 -04:00
Jon Maddox cb3f14a862 add iTunes component 2015-09-11 23:06:03 -04:00
Roy Hooper e9367d5369 use own track_utc_time_change to poll every 5 seconds 2015-09-11 22:44:37 -04:00
Roy Hooper c3dd94ba04 remove unnecessary self.update_ha_state calls 2015-09-11 22:43:55 -04:00
Paulus Schoutsen 6624cfefd6 Update kodi error reporting 2015-09-11 18:03:02 -07:00
Roy Hooper 350ed9f764 remove and disable pylint: disable=abstract-method for play_youtube() 2015-09-11 19:48:34 -04:00
Roy Hooper 3679a8078a put back play_youtube override 2015-09-11 19:44:18 -04:00
Roy Hooper a25f7eed2b Enable polling and fix metadata updating.
Remove unnecessary methods.
Include SoCo in requirements_all.txt for CI.
Lock down SoCo version to 0.11.1
Add sonos.py to exclusions in .coveragerc
2015-09-11 19:38:42 -04:00
Roy Hooper ae058b7847 tidy up formatting to make travis happy. 2015-09-11 18:55:23 -04:00
Roy Hooper aa74c4e57a fix initialization 2015-09-11 18:52:31 -04:00
Roy Hooper 1b874c603b rudimentary sonos support 2015-09-11 18:44:42 -04:00
MakeMeASandwich 117a0018a5 media_player: remove debug messages, change IDLE to ON 2015-09-09 19:41:57 +02:00
MakeMeASandwich 34a6524019 Merge branch 'dev' of https://github.com/balloob/home-assistant into dev 2015-09-09 19:37:48 +02:00
Fabian Affolter fc21451446 Update docstring 2015-09-09 10:47:09 +02:00
Per Sandstrom 2fb2d5c1d6 use id instead of name when updating players 2015-09-08 20:59:54 +02:00
Fabian Affolter 1d910f3a84 Update docstring (config file) and attempt to honor PEP0257 more 2015-09-07 18:35:00 +02:00
MakeMeASandwich c7a8f5d6ca media_player: add Denon remote support 2015-09-06 12:07:12 +02:00
Paulus Schoutsen 335eb10d11 Merge pull request #295 from renekliment/mpd-pause-fix
fixes MPD play/pause
2015-08-30 14:55:20 -07:00
René Kliment 62f6576e19 fixes MPD play/pause 2015-08-30 16:11:44 +02:00
René Kliment 41011f0c95 support for MPD password authorization 2015-08-30 15:53:40 +02:00
Paulus Schoutsen 9ecac9e934 Upgrade media_player.cast dependency 2015-08-30 01:09:11 -07:00
Ryan Kraus 893ae15042 Changed component REQUIREMENTS to absolute versions. 2015-08-29 21:39:50 -04:00
Paulus Schoutsen 517d4b35ed Update Cast dependency to latest version 2015-08-23 17:18:21 -07:00
Paulus Schoutsen bf9d067a7d Configure Cast platform host via config 2015-08-17 22:38:10 -07:00
Paulus Schoutsen 0901ed4659 Merge pull request #242 from persandstrom/squeezebox
Squeezebox
2015-08-08 12:30:45 -07:00
Fabian Affolter 6b30fc714c update header 2015-08-06 18:34:20 +02:00
Per Sandstrom b681cf2eaa removed unnecessary log row 2015-08-06 09:27:23 +02:00
Per Sandstrom 9ead39e703 added turn on/off support 2015-08-06 09:05:27 +02:00
Per Sandstrom 393e88e732 add to .coveragerc 2015-08-05 22:25:03 +02:00
Per Sandstrom 03f93063f8 fixed flake8 issues 2015-08-05 20:09:20 +02:00
Per Sandstrom eb83621fce fixing pylint issues 2015-08-05 20:02:39 +02:00
Paulus Schoutsen b2cfce7243 Merge branch 'dev' into cleanup
Conflicts:
	.coveragerc
2015-08-05 06:51:39 -07:00
Per Sandstrom db2cbf33c3 Added support for multiple players 2015-08-05 13:49:45 +02:00
Per Sandstrom 30e24296c4 Fixed flake8 2015-08-04 20:30:01 +02:00
Per Sandstrom e6c09f7413 Fixed bug with password protected LMS 2015-08-04 20:08:48 +02:00
Per Sandstrom 4284a3f5dc Fixed pylint conventions 2015-08-04 19:35:53 +02:00
Per Sandstrom bed30a5307 added support for logitech squeezebox 2015-08-04 17:22:56 +02:00
Paulus Schoutsen 4096a67251 Built-in component cleanup 2015-08-03 17:42:28 +02:00
Paulus Schoutsen 3efb1e4ac9 Port netdisco from external to requirements.txt 2015-07-20 00:07:01 -07:00
Paulus Schoutsen b6fd282143 Merge remote-tracking branch 'origin/dev' into auto-dependency
Conflicts:
	homeassistant/components/media_player/cast.py
2015-07-10 21:48:01 -07:00
Paulus Schoutsen afeb2cfc09 Update package requirement for Chromecast 2015-07-10 21:35:48 -07:00
Ryan Kraus 67135a7150 Implimented Ignore CEC for Chromecasts
1) Added the ability to ignore CEC data from Chromecasts using pending
updates to PyChromecast library.
2) Modified cast device to not allow the same device to be imported
twice. This can happen when cast is setup as a media_player in the
config when the discovery component is active.
2015-07-10 00:29:07 -04:00
Paulus Schoutsen 940b2998ea Add REQUIREMENTS list to components 2015-07-07 00:01:46 -07:00
Wolfgang Ettlinger 2017228503 clear all data when kodi is off 2015-06-18 11:46:02 +02:00
Wolfgang Ettlinger 689255dec0 fix detection of when Kodi is off/unreachable 2015-06-18 11:42:35 +02:00
Wolfgang Ettlinger 4355686bd6 final draft of kodi module 2015-06-17 17:12:15 +02:00
Wolfgang Ettlinger 61638e8b72 Merge branch 'dev' of github.com:balloob/home-assistant into dev
Conflicts:
	requirements.txt
2015-06-17 13:45:59 +02:00
Wolfgang Ettlinger cf07939792 first draft of kodi plugin 2015-06-17 13:44:39 +02:00
Paulus Schoutsen cac1c0d415 Bugfix for media player supported media commands 2015-06-11 00:17:44 -07:00
Paulus Schoutsen 0f4de88b92 Fix PyLint import issue 2015-06-10 23:59:37 -07:00
Paulus Schoutsen ae847994fc MPD platform fixes 2015-06-10 23:51:38 -07:00
Paulus Schoutsen 5008b25a2d Fix MPD media player support 2015-06-08 23:06:41 -07:00
Paulus Schoutsen 90919a66d9 Fix Cast media player support 2015-06-08 22:49:43 -07:00
Paulus Schoutsen 452b082c82 Update media player core 2015-06-08 22:49:32 -07:00
Hans Bakker 66024e5059 Initial update of cast device to MediaPlayerDevice. Added media_seek command and service to MediaPlayerDevice. 2015-06-04 00:17:03 +02:00
Paulus Schoutsen 7f788d6be1 Update media player more info 2015-06-02 23:36:37 -07:00
Paulus Schoutsen bacff3de8d Add demo TV show player 2015-06-01 23:53:36 -07:00
Paulus Schoutsen 5eaf3d40ad Add demo music player 2015-06-01 23:42:19 -07:00
Paulus Schoutsen a7b79fc8b2 Initial refactor media player 2015-06-01 23:06:46 -07:00
Paulus Schoutsen dbf2f6223c Merge branch 'dev' into pr/156
Conflicts:
	requirements.txt
2015-06-01 23:00:37 -07:00
Fabian Affolter fb63198688 fix return values, disconnect from mpd, and fix pylint issue 2015-06-01 13:25:55 +02:00
Paulus Schoutsen 3b43fe7431 Fix PyLint issues 2015-05-31 22:13:02 -07:00
Paulus Schoutsen 15c3e2f516 Volume muting fixes 2015-05-31 21:07:58 -07:00
Hans Bakker 81245495ae Add volume/mute button instead of text label, depends on new pychromecast method. Also I made the power button the only accented button. 2015-05-31 22:27:59 +02:00
Fabian Affolter 26c8d81dbf add configuration desc 2015-05-31 22:21:11 +02:00
Fabian Affolter ab4ed2e032 add check 2015-05-31 20:53:19 +02:00
Fabian Affolter 4a25b59d33 add period 2015-05-31 20:53:18 +02:00
Fabian Affolter 453b5a3e8c add initial mpd 2015-05-31 20:53:18 +02:00
Fabian Affolter 996322a2d3 add date 2015-05-31 20:53:18 +02:00
Paulus Schoutsen ed46a93848 Fixes for Chromecast volume
It was line 119 from cast.py that was driving me crazy
2015-05-31 11:37:54 -07:00
Hans Bakker c445563ab1 Fix pylint 2015-05-31 13:47:40 +02:00
Hans Bakker b30bdbfc6a Initial commit for volume slider in media player more info card 2015-05-31 13:36:28 +02:00
Paulus Schoutsen 0583d63b67 Fix Cast platform detecting it was on while it was not 2015-05-31 01:29:28 -07:00
Paulus Schoutsen afd99a0c6c Media Player and cast improvements 2015-05-31 00:38:14 -07:00
Paulus Schoutsen 678be46bb9 Add more info card for media player 2015-05-30 14:02:46 -07:00
Paulus Schoutsen 197611fe8e Upgrade cast entity from polling to pushing state 2015-05-30 12:35:35 -07:00
Paulus Schoutsen e74806ab70 Fix Google Cast discovery 2015-05-30 11:41:39 -07:00
Paulus Schoutsen 10d74bb37e Add turn_on method to media_player 2015-05-30 11:29:49 -07:00
Paulus Schoutsen 6d125a8dfb Update missing dependency code for Cast 2015-05-30 10:54:27 -07:00
Paulus Schoutsen f1843a57e0 media_player.cast: support thumbnail + title 2015-05-30 00:52:33 -07:00
Paulus Schoutsen b50216600b Update cast integration 2015-05-29 22:36:40 -07:00
Hans Bakker ac8a2d03d8 Fix play_pause command 2015-05-29 22:31:52 +02:00
Hans Bakker 3e01ce2a6c Proposed fixes to chromecast component 2015-05-29 22:19:42 +02:00
Fabian Affolter 2ab1ce7b83 update title in header 2015-05-10 23:27:22 +02:00
Paulus Schoutsen bbfd97e2b8 Migrate components to use EntityComponent 2015-03-21 19:37:18 -07:00
Paulus Schoutsen a9324ba9d4 Update components to use Entity instead of Device 2015-03-21 19:16:13 -07:00
Paulus Schoutsen 71803658f5 Updates to demo component and platforms 2015-03-16 22:20:35 -07:00
Paulus Schoutsen 3e15742875 Move device ABCs to separate helper file 2015-03-05 23:18:22 -08:00
Paulus Schoutsen 84844c242b Refactor chromecast into media_player platform 2015-03-03 23:50:54 -08:00