Skip to content

Commit f808daf

Browse files
author
Chris Bellew
committed
Specifying a client in the spoken query now works again. Version bump (1.9.4).
1 parent d70b516 commit f808daf

6 files changed

Lines changed: 17 additions & 6 deletions

File tree

Voice Control For Plex/Voice Control For Plex.iml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
<orderEntry type="library" exported="" name="mediarouter-v7-19.1.0" level="project" />
8787
<orderEntry type="library" exported="" name="support-v4-20.0.0" level="project" />
8888
<orderEntry type="library" exported="" name="disklrucache-2.0.2" level="project" />
89-
<orderEntry type="library" exported="" name="library-1.0.17" level="project" />
89+
<orderEntry type="library" exported="" name="library-1.0.21" level="project" />
9090
<orderEntry type="library" exported="" name="play-services-4.4.52" level="project" />
9191
<orderEntry type="library" exported="" name="stax-1.2.0" level="project" />
9292
<orderEntry type="library" exported="" name="appcompat-v7-20.0.0" level="project" />

Voice Control For Plex/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:tools="http://schemas.android.com/tools"
44
package="com.atomjack.vcfp"
5-
android:versionCode="30"
6-
android:versionName="1.9.3" >
5+
android:versionCode="31"
6+
android:versionName="1.9.4" >
77

88
<uses-permission android:name="com.mohammadag.googlesearchapi.permission.ACCESS_GGOGLE_SEARCH_API" />
99
<uses-permission android:name="android.permission.INTERNET" />

Voice Control For Plex/src/main/java/com/atomjack/vcfp/VoiceControlForPlexApplication.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,8 +540,7 @@ else if(media.isShow())
540540
public void setupInAppPurchasing() {
541541

542542
mIabHelper = new IabHelper(this, base64EncodedPublicKey);
543-
// TODO: Disable this before release!
544-
mIabHelper.enableDebugLogging(true);
543+
mIabHelper.enableDebugLogging(false);
545544

546545
mIabHelper.startSetup(new IabHelper.OnIabSetupFinishedListener() {
547546
public void onIabSetupFinished(IabResult result) {

Voice Control For Plex/src/main/java/com/atomjack/vcfp/model/PlexClient.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,10 @@ public boolean isLocalDevice() {
139139
String localip = Utils.getIPAddress(true);
140140
return localip.equals(address);
141141
}
142+
143+
public String toString() {
144+
String output = String.format("Name: %s", name);
145+
146+
return output;
147+
}
142148
}

Voice Control For Plex/src/main/java/us/nineworlds/serenity/GDMReceiver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void onReceive(Context context, Intent intent) {
7979

8080
i.putExtra(VoiceControlForPlexApplication.Intent.SCAN_TYPE, intent.getStringExtra(VoiceControlForPlexApplication.Intent.SCAN_TYPE));
8181
i.putExtra(VoiceControlForPlexApplication.Intent.EXTRA_CONNECT_TO_CLIENT, intent.getBooleanExtra(VoiceControlForPlexApplication.Intent.EXTRA_CONNECT_TO_CLIENT, false));
82-
82+
i.putExtra(VoiceControlForPlexApplication.Intent.EXTRA_CLASS, theClass);
8383
i.putExtra(VoiceControlForPlexApplication.Intent.EXTRA_SILENT, intent.getBooleanExtra(VoiceControlForPlexApplication.Intent.EXTRA_SILENT, false));
8484

8585
i.addFlags(Intent.FLAG_FROM_BACKGROUND);

Voice Control For Plex/src/main/res/xml/changelog.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<changelog>
3+
<release version="1.9.4" versioncode="31">
4+
<change>Specifying a client in the spoken query now works again.</change>
5+
</release>
6+
<release version="1.9.3" versioncode="30">
7+
<change>Bug fixes.</change>
8+
</release>
39
<release version="1.9.2" versioncode="28">
410
<change>[Chromecast] Fixed rewind/fast forward buttons.</change>
511
<change>[Chromecast] Fixed crash when using a shortcut with a Chromecast specified as the client.</change>

0 commit comments

Comments
 (0)