Skip to content

Commit

Permalink
[chromecast] Update API lib to v0.10.6 (#4965)
Browse files Browse the repository at this point in the history
* [chromecast] Update API lib to v0.10.6

Fixes #4429
Fixes #4800

* Handle new LOADING player state

Signed-off-by: Wouter Born <[email protected]>
  • Loading branch information
wborn authored and David Gräff committed Feb 22, 2019
1 parent 461e98c commit ec67a5b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/binding/org.openhab.binding.chromecast/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="lib" path="lib/api-v2-0.10.5.jar"/>
<classpathentry kind="lib" path="lib/api-v2-0.10.6.jar"/>
<classpathentry kind="lib" path="lib/protobuf-java-2.6.0.jar"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Bundle-ActivationPolicy: lazy
Bundle-ClassPath:
.,
lib/protobuf-java-2.6.0.jar,
lib/api-v2-0.10.5.jar,
lib/api-v2-0.10.6.jar,
lib/jackson-core-asl-1.9.2.jar,
lib/jackson-mapper-asl-1.9.2.jar
Bundle-ManifestVersion: 2
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ public void updateMediaStatus(final MediaStatus mediaStatus) {
callback.updateState(CHANNEL_STOP, OnOffType.OFF);
break;
case BUFFERING:
case LOADING:
case PLAYING:
callback.updateState(CHANNEL_CONTROL, PlayPauseType.PLAY);
callback.updateState(CHANNEL_STOP, OnOffType.OFF);
Expand Down

0 comments on commit ec67a5b

Please sign in to comment.