mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
#202 fix?
This commit is contained in:
parent
5a341104f0
commit
bd8350f255
2 changed files with 5 additions and 8 deletions
|
@ -32,7 +32,6 @@ import android.view.animation.AnimationUtils
|
||||||
import android.widget.*
|
import android.widget.*
|
||||||
import android.widget.Toast.LENGTH_SHORT
|
import android.widget.Toast.LENGTH_SHORT
|
||||||
import androidx.appcompat.app.AlertDialog
|
import androidx.appcompat.app.AlertDialog
|
||||||
import androidx.core.content.ContextCompat
|
|
||||||
import androidx.core.view.isVisible
|
import androidx.core.view.isVisible
|
||||||
import androidx.fragment.app.Fragment
|
import androidx.fragment.app.Fragment
|
||||||
import androidx.lifecycle.ViewModelProvider
|
import androidx.lifecycle.ViewModelProvider
|
||||||
|
@ -1941,6 +1940,9 @@ class PlayerFragment : Fragment() {
|
||||||
) + currentUrl.headers // Adds the headers from the provider, e.g Authorization
|
) + currentUrl.headers // Adds the headers from the provider, e.g Authorization
|
||||||
setDefaultRequestProperties(headers)
|
setDefaultRequestProperties(headers)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//https://stackoverflow.com/questions/69040127/error-code-io-bad-http-status-exoplayer-android
|
||||||
|
setAllowCrossProtocolRedirects(true)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
DefaultDataSourceFactory(requireContext(), USER_AGENT)
|
DefaultDataSourceFactory(requireContext(), USER_AGENT)
|
||||||
|
|
|
@ -99,11 +99,6 @@
|
||||||
android:summary="@string/dns_pref_summary"
|
android:summary="@string/dns_pref_summary"
|
||||||
android:icon="@drawable/ic_baseline_dns_24">
|
android:icon="@drawable/ic_baseline_dns_24">
|
||||||
</Preference>
|
</Preference>
|
||||||
<Preference
|
|
||||||
android:icon="@drawable/ic_baseline_language_24"
|
|
||||||
android:key="@string/provider_lang_key"
|
|
||||||
android:title="@string/provider_lang_settings">
|
|
||||||
</Preference>
|
|
||||||
<Preference
|
<Preference
|
||||||
android:icon="@drawable/ic_baseline_tv_24"
|
android:icon="@drawable/ic_baseline_tv_24"
|
||||||
android:key="@string/app_layout_key"
|
android:key="@string/app_layout_key"
|
||||||
|
|
Loading…
Reference in a new issue