Skip to content

Commit 6293c71

Browse files
committed
ExoPlayer: Enable HTSP video by default
1 parent e613b73 commit 6293c71

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

app/src/main/java/ie/macinnes/tvheadend/tvinput/ExoPlayerSession.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ protected boolean playChannel(int tvhChannelId) {
108108
SharedPreferences sharedPreferences = mContext.getSharedPreferences(
109109
Constants.PREFERENCE_TVHEADEND, Context.MODE_PRIVATE);
110110

111-
boolean htsp = sharedPreferences.getBoolean(Constants.KEY_HTSP_VIDEO_ENABLED, false);
111+
boolean htsp = sharedPreferences.getBoolean(Constants.KEY_HTSP_VIDEO_ENABLED, true);
112112

113113
if (htsp) {
114114
buildHtspMediaSource(tvhChannelId);

app/src/main/res/xml/preferences.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,8 @@
7575
<PreferenceCategory android:title="Advanced Settings">
7676
<CheckBoxPreference
7777
android:key="htsp_video_enabled"
78-
android:title="Enable HTSP Video (don't do this)"
79-
android:summary="No, really, don't tick this"
80-
android:defaultValue="false" />
78+
android:title="Enable HTSP Video"
79+
android:defaultValue="true" />
8180

8281
<!-- TODO: This needs to be made into a list, based on fetching the list of available profiles -->
8382
<EditTextPreference

0 commit comments

Comments
 (0)