Skip to content

Commit 93b274d

Browse files
author
Chris Bellew
committed
Fixed Plex Home Theater version number checking; Added Google Search incompatibility message when Google Search > 3.3 is installed; Spacing cleanup.
1 parent e098138 commit 93b274d

File tree

7 files changed

+251
-213
lines changed

7 files changed

+251
-213
lines changed

AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="com.atomjack.vcfp"
4-
android:versionCode="5"
5-
android:versionName="1.5" >
4+
android:versionCode="6"
5+
android:versionName="1.6" >
66

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

project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
1212

1313
# Project target.
14-
target=android-17
14+
target=android-19

res/layout/main.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,26 @@
3838
android:onClick="showUsageExamples"
3939
android:layout_centerInParent="true"
4040
android:text="@string/help_usage_button" />
41+
42+
<TextView
43+
android:id="@+id/invalidGoogleSearchHeader"
44+
android:layout_marginTop="25sp"
45+
android:layout_marginBottom="10sp"
46+
android:text="@string/google_search_incompatibility"
47+
android:visibility="gone"
48+
android:textSize="20sp"
49+
android:layout_width="wrap_content"
50+
android:layout_height="wrap_content"/>
51+
52+
<TextView
53+
android:id="@+id/invalidGoogleSearchView"
54+
android:layout_width="wrap_content"
55+
android:layout_height="wrap_content"
56+
android:layout_margin="5sp"
57+
android:text="@string/google_search_invalid_version"
58+
android:visibility="invisible"
59+
android:textSize="18sp" />
60+
4161
</LinearLayout>
4262

4363
</RelativeLayout>

res/values/strings.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,6 @@
2626
<string name="help_button_desc">Help Button</string>
2727
<string name="help_usage">Here are some examples to trigger playback:\n\nWatch V For Vendetta\nWatch Season 1 Episode 1 of Homeland\nWatch Breaking Bad Season 5 Episode 8\nWatch episode Once More With Feeling of Buffy The Vampire Slayer\nWatch the next episode of The Walking Dead\nWatch the latest episode of The Daily Show with Jon Stewart\n\n\n\nFor Music:\nListen to the album Drink The Sea by The Glitch Mob\nListen to the album Music Has The Right To Children (Artist is optional. Specify if more than one match is found)\n\nIf you don\'t have \&quot;Resume if in progress\&quot; checked, you can selectively resume by saying \&quot;Resume watching\&quot; instead of \&quot;Watch\&quot;\n\nYou can also specify a client by adding \&quot;on &lt;client name&gt;\&quot; to your spoken query.</string>
2828
<string name="help_usage_button">Usage Examples</string>
29-
29+
<string name="google_search_incompatibility">Attention:Software Incompatibility</string>
30+
<string name="google_search_invalid_version">The version of Google Search you are running is currently no longer compatible with the Google Search API, which Voice Control for Plex relies upon. Unfortunately, this renders Voice Control for Plex non-functional. Find out how to install Google Search version 3.3 at <a href="http://goo.gl/0kXNHQ">http://goo.gl/0kXNHQ</a>.</string>
3031
</resources>

0 commit comments

Comments
 (0)