VLC for Android - Category "Songs" remains empty

VLC for Android and Chrome OS specific usage questions
kentfkruhoeffer
Blank Cone
Blank Cone
Posts: 39
Joined: 26 May 2018 02:38
VLC version: NB 3.2.0
Operating System: Android 8.1
Location: China

Re: VLC for Android - Category "Songs" remains empty

Postby kentfkruhoeffer » 13 Sep 2018 18:29

Hello Dekans!

Thanks again for your efforts.

I downloaded the new apk but got a 'corrupt file' message on installation. Do I need to delete the first build before installing the revised one?
Kent F. Kruhoeffer

Dekans
Developer
Developer
Posts: 487
Joined: 12 Dec 2014 14:09
VLC version: master
Operating System: Linux

Re: VLC for Android - Category "Songs" remains empty

Postby Dekans » 14 Sep 2018 17:09

WTF is wrong with my builds :(

I've uploaded another one and verified it.

But it's built from another PC, so signature is different, you will have to uninstall the previous one first.

It's pushed on master, so you can install the last nightly build too.

kentfkruhoeffer
Blank Cone
Blank Cone
Posts: 39
Joined: 26 May 2018 02:38
VLC version: NB 3.2.0
Operating System: Android 8.1
Location: China

Re: VLC for Android - Category "Songs" remains empty

Postby kentfkruhoeffer » 14 Sep 2018 18:36

Hi there!

I have good news and bad news. I downloaded and installed the new build (from your link, 3 posts above this one), no problems. The songs parsed smoothly and loaded properly in all categories, no problems. The songs will play when clicked on individually, but when I click 'shuffle', it crashes. I did this more than 10 times, and gave all necessary permissions, but every time I click 'shuffle', it crashes. In other words, everything in the new build worked fine, EXCEPT shuffle. There is still a little bug in there somewhere. Fyi: Shuffle worked fine on the first build.

Sorry to cause you more headaches. :oops:

Good luck ... and in the words of Bon Jovi, 'keep the faith'. :lol:
Kent F. Kruhoeffer

Chris_147
Blank Cone
Blank Cone
Posts: 11
Joined: 04 May 2018 14:19

Re: VLC for Android - Category "Songs" remains empty

Postby Chris_147 » 17 Sep 2018 15:08

I'm having similar issues with a large collection of albums:
- songs is always empty
- if I follow the path: Artists - Albums, for some artists no albums are displayed, or it takes a while for them to be displayed. When I swype down, VLC tries to refresh the list and they become visible after around 10 seconds.

Another issue I have, but this is perhaps not the right place, is that I would prefer some better scrolling in the artist list or album list.
A possibility to scroll by first letter of the artist or album name would be nice.

Moldmaker
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Jan 2018 14:49

Re: VLC for Android - Category "Songs" remains empty

Postby Moldmaker » 21 Sep 2018 22:59

OK dudes, I've been AFK for some time. Installed the latest build tonight and can confirm what @kentfkruhoeffer said: The app is crashing as soon as I hit the shuffle button.
Will be reverting back to the first provisional build. That one crashes quite often but can shufffle play for sure ....
;)
This ain't sarcasm, please believe me. I am an engineer (not software but mechanical) and I know what it means to develop something. So be assured that I am on your side. :)
Mm.

Dekans
Developer
Developer
Posts: 487
Joined: 12 Dec 2014 14:09
VLC version: master
Operating System: Linux

Re: VLC for Android - Category "Songs" remains empty

Postby Dekans » 24 Sep 2018 14:44

I'm not so surprised, the 'shuffle all' feature implies to load all songs.
I have to find a way to incrementally load all songs in playlist :/

Moldmaker
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Jan 2018 14:49

Re: VLC for Android - Category "Songs" remains empty

Postby Moldmaker » 24 Sep 2018 20:17

How come it works with the first build? The one from Sept 10th? Tested shuffle play again with it and it works like a charm :)
Mm.

Dekans
Developer
Developer
Posts: 487
Joined: 12 Dec 2014 14:09
VLC version: master
Operating System: Linux

Re: VLC for Android - Category "Songs" remains empty

Postby Dekans » 25 Sep 2018 11:43

Because it shuffles from the list loaded for UI.
So you only have a partial list of your collection.

It actually doesn't work, VLC didn't load the whole collection.

Moldmaker
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Jan 2018 14:49

Re: VLC for Android - Category "Songs" remains empty

Postby Moldmaker » 25 Sep 2018 12:25

Oh. Ok.
:/
Mm.

Dekans
Developer
Developer
Posts: 487
Joined: 12 Dec 2014 14:09
VLC version: master
Operating System: Linux

Re: VLC for Android - Category "Songs" remains empty

Postby Dekans » 26 Sep 2018 11:13

I found an easy and safe way to do it. It should be OK starting tomorrow's nightlies.

Moldmaker
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Jan 2018 14:49

Re: VLC for Android - Category "Songs" remains empty

Postby Moldmaker » 28 Sep 2018 22:12

Please let us know when there is a new build for testing. Looking forward to it!
Mm.

Dekans
Developer
Developer
Posts: 487
Joined: 12 Dec 2014 14:09
VLC version: master
Operating System: Linux

Re: VLC for Android - Category "Songs" remains empty

Postby Dekans » 01 Oct 2018 11:05

Download a nightly build.

http://nightlies.videolan.org/build/

Moldmaker
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Jan 2018 14:49

Re: VLC for Android - Category "Songs" remains empty

Postby Moldmaker » 01 Oct 2018 13:38

Hi Dekans, been trying VLC-Android-3.0.13-20181001-0057-ARMv8.apk which installed fine. Behaves more or less like the one before. The difference is when hitting the shuffle button: There's a notification that says "Loading please wait" with a rotating donut before VLC crashes some seconds later. The older build crashed immediately.
Mm.

kentfkruhoeffer
Blank Cone
Blank Cone
Posts: 39
Joined: 26 May 2018 02:38
VLC version: NB 3.2.0
Operating System: Android 8.1
Location: China

Re: VLC for Android - Category "Songs" remains empty

Postby kentfkruhoeffer » 02 Oct 2018 02:17

Sorry to say, the nightly builds didn't shuffle for me either.
Kent F. Kruhoeffer

Dekans
Developer
Developer
Posts: 487
Joined: 12 Dec 2014 14:09
VLC version: master
Operating System: Linux

Re: VLC for Android - Category "Songs" remains empty

Postby Dekans » 03 Oct 2018 11:05

I'd like the logs if you can get it with adb.

Moldmaker
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Jan 2018 14:49

Re: VLC for Android - Category "Songs" remains empty

Postby Moldmaker » 03 Oct 2018 14:20

I have two things for you. First, my phone is a Xiaomi device. When an app crashes, it asks to send a message to their developers, but you can copy it and save it. So here it is.

Code: Select all

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'Xiaomi/oxygen/oxygen:7.1.1/NMF26F/V9.6.3.0.NDDMIFD:user/release-keys' Revision: '0' ABI: 'arm64' pid: 919, tid: 952, name: CoroutineSchedu >>> org.videolan.vlc.debug <<< signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- Abort message: 'art/runtime/indirect_reference_table.cc:132] JNI ERROR (app bug): local reference table overflow (max=512)' x0 0000000000000000 x1 00000000000003b8 x2 0000000000000006 x3 0000000000000008 x4 000000000000017a x5 0000800000000000 x6 0000007f80141000 x7 0000000000000000 x8 0000000000000083 x9 ffffffffffffffdf x10 0000000000000000 x11 0000000000000001 x12 ffffffffffffffff x13 0000000000000000 x14 0000000000000000 x15 00059585c4abf41d x16 0000007f7d061ee0 x17 0000007f7d00b590 x18 0000000000000000 x19 0000007f73fff4f8 x20 0000000000000006 x21 0000007f73fff450 x22 000000000000000b x23 0000007f7c1863e0 x24 000000000000000a x25 ffffffffffffffff x26 0000000000000443 x27 0000007f73ffb6f1 x28 0000007f7c1fc740 x29 0000007f73ffb5f0 x30 0000007f7d008a20 sp 0000007f73ffb5d0 pc 0000007f7d00b598 pstate 0000000060000000 backtrace: #00 pc 000000000006b598 /system/lib64/libc.so (tgkill+8) #01 pc 0000000000068a1c /system/lib64/libc.so (pthread_kill+64) #02 pc 0000000000023f68 /system/lib64/libc.so (raise+24) #03 pc 000000000001c9ec /system/lib64/libc.so (abort+52) #04 pc 00000000004310a4 /system/lib64/libart.so (_ZN3art7Runtime5AbortEPKc+456) #05 pc 00000000000e5e8c /system/lib64/libart.so (_ZN3art10LogMessageD2Ev+1576) #06 pc 000000000024cfa0 /system/lib64/libart.so (_ZN3art22IndirectReferenceTable3AddEjPNS_6mirror6ObjectE+308) #07 pc 0000000000391f64 /system/lib64/libart.so (_ZN3artL18String_toCharArrayEP7_JNIEnvP8_jobject+56) #08 pc 00000000005ec020 /system/framework/arm64/boot.oat (offset 0x54e000) (java.lang.String.toCharArray+124) #09 pc 0000000000a803b4 /data/app/org.videolan.vlc.debug-1/oat/arm64/base.odex (offset 0x98a000)
Secondly, I collected a log with adb on my Sabayon machine. Unfortunately it contains too many characters to post it here.
You can download it using the following link:
https://www.file-upload.net/download-13 ... g.txt.html

Hope it helps ...
Mm.

kentfkruhoeffer
Blank Cone
Blank Cone
Posts: 39
Joined: 26 May 2018 02:38
VLC version: NB 3.2.0
Operating System: Android 8.1
Location: China

Re: VLC for Android - Category "Songs" remains empty

Postby kentfkruhoeffer » 05 Oct 2018 07:10

Thanks MM, for posting your crash logs. My Vivo X20Plus, for some reason, does not generate VLC crash logs.

When I click 'shuffle' within the songs playlist, VLC closes and returns to the home screen.

Waiting patiently for the 'new and improved' build. :D
Kent F. Kruhoeffer

Dekans
Developer
Developer
Posts: 487
Joined: 12 Dec 2014 14:09
VLC version: master
Operating System: Linux

Re: VLC for Android - Category "Songs" remains empty

Postby Dekans » 11 Oct 2018 17:43

hmmm, either my trick to load all tracks is not used, either we have a reference leak.

Thanks for the logs, really helpful. (If your build is from sept 27th or later)

Moldmaker
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Jan 2018 14:49

Re: VLC for Android - Category "Songs" remains empty

Postby Moldmaker » 12 Oct 2018 10:36

It is from October 1st.
Mm.

Dekans
Developer
Developer
Posts: 487
Joined: 12 Dec 2014 14:09
VLC version: master
Operating System: Linux

Re: VLC for Android - Category "Songs" remains empty

Postby Dekans » 23 Oct 2018 14:56

OK, I found a leak, due to another patch.

I reproduced the crash and it seems to be fixed.

Nightly builds should be back tomorrow morning. For now, I'll try to speed up the loading time!

Moldmaker
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Jan 2018 14:49

Re: VLC for Android - Category "Songs" remains empty

Postby Moldmaker » 23 Oct 2018 17:30

Looking forward to it!
:D
Mm.

Moldmaker
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Jan 2018 14:49

Re: VLC for Android - Category "Songs" remains empty

Postby Moldmaker » 24 Oct 2018 16:21

It works. Excellent effort.
(Nightly build VLC-Android-3.0.13-20181024-1209-ARMv8.apk)
👍 :mrgreen:
Mm.

kentfkruhoeffer
Blank Cone
Blank Cone
Posts: 39
Joined: 26 May 2018 02:38
VLC version: NB 3.2.0
Operating System: Android 8.1
Location: China

Re: VLC for Android - Category "Songs" remains empty

Postby kentfkruhoeffer » 25 Oct 2018 03:17

Eureeka!

Yes, it works :!:

Songs loaded faster than before, and it shuffles without crashing.

So, a BIG thank you to Dekans, for not giving up. CONGRATULATIONS! 🎉 You fixed it.

Thanks also to Moldmaker for making the initial post, for providing crash logs, and for hanging in there.

Now if you'll excuse me, I have a blunt to smoke and songs to shuffle. :lol: Rock on dudes.

PS: VLC nightly builds are located here :arrow: https://nightlies.videolan.org
Last edited by kentfkruhoeffer on 25 Oct 2018 12:08, edited 1 time in total.
Kent F. Kruhoeffer

Moldmaker
Blank Cone
Blank Cone
Posts: 29
Joined: 25 Jan 2018 14:49

Re: VLC for Android - Category "Songs" remains empty

Postby Moldmaker » 25 Oct 2018 10:58

Nice going kentfkruhoeffer!
🍻
Mm.

kentfkruhoeffer
Blank Cone
Blank Cone
Posts: 39
Joined: 26 May 2018 02:38
VLC version: NB 3.2.0
Operating System: Android 8.1
Location: China

Re: VLC for Android - Category "Songs" remains empty

Postby kentfkruhoeffer » 26 Oct 2018 08:00

Cheers, Mm! It's nice to see developers and users working together to solve a problem.

Thanks again to everyone who contributed to this solution. :wink:

Kent
Kent F. Kruhoeffer


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 20 guests