Slow downloads to external storage

Hmm. I haven’t seen this. Is it when going into the advanced tab or one of the specific settings inside there?

Can you try installing the same apk again over itself?

It’s when entering the advanced tab.

Installing again doesn’t fix the problem unfortunately. I also tried clear cache/data, uninstall/reinstall, still crashes on my Samsung Galaxy Tab S7+ and Fold 3

12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: FATAL EXCEPTION: main
12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: Process: com.plexapp.android, PID: 19640
12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: java.lang.ClassCastException: android.preference.CheckBoxPreference cannot be cast to android.preference.PreferenceScreen
12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: 	at com.plexapp.plex.settings.c3.e.removePreference(SourceFile:4)
12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: 	at com.plexapp.plex.settings.AdvancedSettingsFragment.onPreferenceFragmentInitialized(SourceFile:12)
12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: 	at com.plexapp.plex.settings.c3.e.onCreate(SourceFile:5)
12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: 	at android.app.Fragment.performCreate(Fragment.java:2486)
12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: 	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1261)
12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: 	at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2431)
12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: 	at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2210)
12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: 	at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2166)
12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: 	at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2067)
12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: 	at android.app.FragmentManagerImpl$1.run(FragmentManager.java:742)
12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:938)
12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99)
12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:247)
12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:8656)
12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
12-14 15:28:20.438 10286 19640 19640 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)

Took the liberty of running the x86_64 APK on the official Pixel 5 Android 11 (Google APIs) emulator and got the same result

12-14 16:08:13.433  1000   554  2539 I am_crash: [7268,0,com.plexapp.android,953695812,java.lang.ClassCastException,android.preference.CheckBoxPreference cannot be cast to android.preference.PreferenceScreen,SourceFile,4]

Please send me the entire log file.

  • reproduce crash
  • open app
  • grab logs

Same thing on Sony Xperia 1 III (android 11). Crashes when opening advanced (Plex build 8.28.0.29859)

Same issue on Moto g7 power (lineageos 18.1). Here are my logs
plex-log-asgardius.zip (20.9 MB)

I’ll start another thread for this since it’s a separate issue.

The crash is fixed in latest beta 8.28.0.29906-beta released a few hours ago.

1 Like

This still isn’t fixed on the latest beta version using my Samsung tablet which has an external SD card. I start a download of an audio playlist and it will transfer about eight or nine songs relatively quickly and then it will just stop. The only way I can get it to continue downloading is to force stop Plex, and reopen it, where it will download another eight or nine songs and then stop.

I tried joining the beta program to fix the slow downloads on my galaxy tab a7, but had to go back to the public version as downloads failed completely. I tried the apk and the play store versions, and set them up exactly the same as the public version, but all downloads failed.

Still slow downloads on 2 android tablets here.

That’s a totally different issue, one I’m not aware of. Please start a new post with logs.

Can you provide some details?

Can you verify you are using 8.28.0.29859 or newer?

Yes.

I am on 8.28.0.29997. Seeing transfer speeds about 20mbps. Samsung s5e connected via 5ghz to local server. Wifi real-world capable of 400mbps (tested).

Tested the SD card to make sure it didn’t have an issue. More than capable - https://i.imgur.com/XQ5fpsn.png

Let me know if you need any more info.

Please provide me your logs. Keep in mind that saving to an sd card is still slower than saving to the internal memory. The best I can get is about 30-50 Mbps. Before this fix, it was <5 Mbps. To internal I can get 200-300 Mbps.

Could you give me some directions on how to pull logs?

Also, that seems so strange that its maxxing out at 50Mbps. According to benchmarks, the external storage system can be much faster (basically limited by the actual card).

Click → Android logs.

As mentioned, there is a change with Android 11 that makes writing to sd cards slower. Those results you’ve posted were done on Android 9. Look around the internet. You’ll see reports of slow speeds with Android 11 and sd cards, not just for Plex.

I am running the latest plex server on Windows 10, and tried to download some episodes and movies to my galaxy tab a7, but it was painfully slow, I found this post and downloaded the beta version you pointed to and installed the apk, but instead of downloading slowly and displaying the progress icon, I just got a triangle at each download stating they had failed, and clicking try again failed too. I tried to uninstall and reinstall the public release of plex and the downloads progressed slowly, I thought it may be due to installing from apk, but the same thing happened when I joined the beta program and installed from the play store.

Downloaded the latest build off Google Play and now all my ‘downloads’ fail. I was hoping this build would speed things up… not break them completely.

I’m seeing the exact same thing on my Samsung Tab A7.

Jan 06, 2022 10:23:33.146 [0x7fa35bfb2b38] DEBUG - Streaming Resource: Terminating session 0x7fa35bb6d7b8:610408527058cfe858fe26dc820f897dbb198ae5 which is using static transcoder slot.  Used slots is now 1
Jan 06, 2022 10:23:33.146 [0x7fa35bfb2b38] DEBUG - Streaming Resource: Terminated session 0x7fa35bb6d7b8:610408527058cfe858fe26dc820f897dbb198ae5 with reason Client stopped playback.
Jan 06, 2022 10:23:33.146 [0x7fa35bfb2b38] DEBUG - Streaming Resource: Removing session 0x7fa35bb6d7b8:610408527058cfe858fe26dc820f897dbb198ae5
Jan 06, 2022 10:15:01.119 [0x7fa35bfb2b38] DEBUG - [Transcode] Killing job.
Jan 06, 2022 10:15:01.119 [0x7fa35bfb2b38] DEBUG - [Transcode] Signalling job ID 5012 with 9
Jan 06, 2022 10:15:01.119 [0x7fa35bfb2b38] DEBUG - [Transcode] Job was already killed, not killing again.
Jan 06, 2022 10:15:01.119 [0x7fa35bfb2b38] DEBUG - [Transcode] Stopping transcode session 610408527058cfe858fe26dc820f897dbb198ae5
Jan 06, 2022 10:15:01.119 [0x7fa35c96fb38] DEBUG - Completed: [192.168.2.27:57092] 200 GET /video/:/transcode/universal/stop?session=610408527058cfe858fe26dc820f897dbb198ae5 (19 live) TLS GZIP 0ms 195 bytes (pipelined: 19)