Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for external player choice inside client settings #148

Merged
merged 1 commit into from
Oct 16, 2020

Conversation

CarlosOlivo
Copy link
Contributor

System choice by default.
Useful to force playback on a specific player without depending on android settings.
For now it only shows a list of the players that support playback tracking as long as they are installed and enabled.

@nielsvanvelzen nielsvanvelzen added this to In progress in v2.1.0 via automation Sep 29, 2020
@CarlosOlivo CarlosOlivo force-pushed the external-player-choice branch 2 times, most recently from 7532fee to 6f26e4d Compare September 29, 2020 17:11
@CarlosOlivo CarlosOlivo force-pushed the external-player-choice branch 2 times, most recently from 3d73217 to e6685e5 Compare October 12, 2020 18:15
@Maxr1998 Maxr1998 added the enhancement New feature or request label Oct 12, 2020
@nielsvanvelzen
Copy link
Member

Since we're targeting SDK 30 we need to add the apps we query to the manifest: https://developer.android.com/about/versions/11/privacy/package-visibility

@CarlosOlivo
Copy link
Contributor Author

Ok, new changes:

Note: New warning in Android Studio 4.1.

WRITE_EXTERNAL_STORAGE no longer provides write access when targeting Android 10+

@h1dden-da3m0n
Copy link
Contributor

Android 10+ makes use of the new Storage API IIRC, there still is a way to get the old behavior though (but for how long 🤔)

@Maxr1998
Copy link
Member

Note: New warning in Android Studio 4.1.

WRITE_EXTERNAL_STORAGE no longer provides write access when targeting Android 10+

You can safely ignore it, we only use WRITE_EXTERNAL_STORAGE below Android 10 for downloads, it isn't necessary on Android 10 and above.

Copy link
Member

@nielsvanvelzen nielsvanvelzen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review only, did not test it yet.

app/src/main/java/org/jellyfin/mobile/utils/SystemUtils.kt Outdated Show resolved Hide resolved
app/src/main/res/values/strings.xml Outdated Show resolved Hide resolved
app/src/main/res/values/strings.xml Outdated Show resolved Hide resolved
app/src/main/res/values/strings.xml Outdated Show resolved Hide resolved
Co-authored-by: Niels van Velzen <git@ndat.nl>
Co-authored-by: Max Rumpf <max.rumpf1998@gmail.com>
@Maxr1998
Copy link
Member

Thanks for the changes, I'll give it another thorough review tomorrow 👍

@Maxr1998 Maxr1998 merged commit 87c4dc1 into jellyfin:master Oct 16, 2020
v2.1.0 automation moved this from In progress to Done Oct 16, 2020
@CarlosOlivo CarlosOlivo deleted the external-player-choice branch October 16, 2020 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants