A bug when using with adoptable storage
Vlc keeps stopping when the adoptable storage are selected as the directory for media library, sometimes it doesn't crash but, but when you leave the app and open it again the directory the you have chosen will be gone and you have to select it again as the directory for the media library
Here's the log when crashing btw:
02-11 01:05:47.698 E/VLC/VlcCrashHandler(4561): java.lang.NullPointerException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkNotNullParameter, parameter newItem
02-11 01:05:47.698 E/VLC/VlcCrashHandler(4561): at org.videolan.vlc.gui.video.VideoListAdapter$VideoItemDiffCallback.areItemsTheSame(Unknown Source:7)
02-11 01:05:47.698 E/VLC/VlcCrashHandler(4561): at org.videolan.vlc.gui.video.VideoListAdapter$VideoItemDiffCallback.areItemsTheSame(VideoListAdapter.kt:239)
02-11 01:05:47.698 E/VLC/VlcCrashHandler(4561): at androidx.paging.NullPaddedListDiffHelperKtcomputeDiff
diffResult$1.areItemsTheSame(NullPaddedListDiffHelper.kt:67)
02-11 01:05:47.698 E/VLC/VlcCrashHandler(4561): at androidx.recyclerview.widget.DiffUtil.forward(DiffUtil.java:239)
02-11 01:05:47.698 E/VLC/VlcCrashHandler(4561): at androidx.recyclerview.widget.DiffUtil.midPoint(DiffUtil.java:198)
02-11 01:05:47.698 E/VLC/VlcCrashHandler(4561): at androidx.recyclerview.widget.DiffUtil.calculateDiff(DiffUtil.java:146)
02-11 01:05:47.698 E/VLC/VlcCrashHandler(4561): at androidx.paging.NullPaddedListDiffHelperKt.computeDiff(NullPaddedListDiffHelper.kt:45)
02-11 01:05:47.698 E/VLC/VlcCrashHandler(4561): at androidx.paging.AsyncPagedListDiffer$submitList$2.run(AsyncPagedListDiffer.kt:425)
02-11 01:05:47.698 E/VLC/VlcCrashHandler(4561): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
02-11 01:05:47.698 E/VLC/VlcCrashHandler(4561): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
02-11 01:05:47.698 E/VLC/VlcCrashHandler(4561): at java.lang.Thread.run(Thread.java:1012)
02-11 01:05:47.698 E/VLC/VlcCrashHandler(4561): at Android.MODEL(RMX2030)
02-11 01:05:47.698 E/VLC/VlcCrashHandler(4561): at Android.VERSION(13)
02-11 01:05:47.698 E/VLC/VlcCrashHandler(4561): at Android.FINGERPRINT(realme/RMX2030/RMX2030:10/QKQ1.200209.002/1608537052:user/release-keys)
And here's the log when you have to choose a directory each time you either turn your screen of or play videos on the background:
02-11 01:07:19.302 E/VLC (4563): [000000703928e620/1d55] libvlc stream: cannot open file //soxr (No such file or directory) 02-11 01:07:19.302 E/VLC (4563): [00000070992b4870/1d55] libvlc input: Your input can't be opened 02-11 01:07:19.302 E/VLC (4563): [00000070992b4870/1d55] libvlc input: VLC is unable to open the MRL 'file:////soxr'. Check the log for details. 02-11 01:07:19.731 E/VLC (4563): [00000070293b7700/1d68] libvlc demux: Couldn't find device name. 02-11 01:07:19.735 E/VLC (4563): [00000070293b7700/1d68] libvlc demux: DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed 02-11 01:07:19.735 E/VLC (4563): [00000070293b7700/1d68] libvlc demux: vm: vm: failed to read VIDEO_TS.IFO 02-11 01:07:19.756 E/VLC (4563): [00000070293b6680/1d6d] libvlc demux: Couldn't find device name. 02-11 01:07:19.762 E/VLC (4563): [00000070293b6680/1d6d] libvlc demux: DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed 02-11 01:07:19.762 E/VLC (4563): [00000070293b6680/1d6d] libvlc demux: vm: vm: failed to read VIDEO_TS.IFO 02-11 01:07:21.976 E/VLC (4563): [00000070294028c0/1d85] libvlc window: request 1 not implemented 02-11 01:07:21.977 E/VLC (4563): [00000070294028c0/1d85] libvlc window: request 0 not implemented 02-11 01:07:21.977 E/VLC (4563): [00000070294028c0/1d85] libvlc window: request 0 not implemented 02-11 01:07:21.977 E/VLC (4563): [00000070294028c0/1d85] libvlc window: request 1 not implemented 02-11 01:07:22.123 E/VLC (4563): [00000070693f90b0/1d8c] libvlc decoder: output: 2141391878 unknown, 480x368 stride 512 384, crop 0 0 0 0 02-11 01:07:22.123 E/VLC (4563): [00000070294028c0/1d85] libvlc window: request 1 not implemented 02-11 01:07:22.124 E/VLC (4563): [00000070294028c0/1d85] libvlc window: request 0 not implemented 02-11 01:07:22.124 E/VLC (4563): [00000070294028c0/1d85] libvlc window: request 0 not implemented 02-11 01:07:22.125 E/VLC (4563): [00000070294028c0/1d85] libvlc window: request 1 not implemented 02-11 01:07:22.189 E/VLC (4563): [00000070294028c0/1d85] libvlc window: request 1 not implemented 02-11 01:07:23.156 E/VLC (4563): [00000070294028c0/1d85] libvlc window: request 3 not implemented 02-11 01:07:25.080 E/VLC (4563): [00000070693f90b0/1d8d] libvlc decoder: AMediaCodec.dequeueInputBuffer failed 02-11 01:07:25.080 E/VLC (4563): [00000070693f90b0/1d8d] libvlc decoder: dequeue_in failed
Here's the txt files if you like it that way