Attempt to add 60k files makes UI being frozen

*nix specific usage questions
User avatar
Wohlstand
Blank Cone
Blank Cone
Posts: 16
Joined: 12 Apr 2018 15:57
VLC version: 3.0.9.2
Operating System: Linux Mint 20.1
Location: Moscow, Russia

Attempt to add 60k files makes UI being frozen

Postby Wohlstand » 10 Jul 2020 10:46

I have a directory filled with 60k files of music, I wanted to make a huge playlist with them and run shuffle mode. However, UI gets stuck and no responce, however, the playback works fine. Running of CVLC from a console works fine, however, no idea how to make it print the filename of currently playing song? I want to know the filename of a song that seems nice for me to copy it into separated place. Can CVLC print a filename of each playing song from a playlist?

sysadmidnight
New Cone
New Cone
Posts: 6
Joined: 29 Jun 2020 08:08

Re: Attempt to add 60k files makes UI being frozen

Postby sysadmidnight » 10 Jul 2020 15:31

I remember having this issue a while back, Winamp can do it just fine (yes I still use Winamp... version 5.666 to be specific LOL)
I think it's because VLC tries to read metadata on mp3 files before importing them to the list, and this brings the CPU to a halt when you're dealing with +10k files.
I don't remember if there's a way to make VLC stop reading metadata in advance. Winamp has that option.

User avatar
Wohlstand
Blank Cone
Blank Cone
Posts: 16
Joined: 12 Apr 2018 15:57
VLC version: 3.0.9.2
Operating System: Linux Mint 20.1
Location: Moscow, Russia

Re: Attempt to add 60k files makes UI being frozen

Postby Wohlstand » 10 Jul 2020 15:37

My music collection is in MIDI format, not MP3 (for playback I use my own codec plugins https://github.com/Wohlstand/libOPNMIDI and https://github.com/Wohlstand/libADLMIDI but with the standard demuxer).
Anyway, I did another attempt, and I see VLC had to load CPU with 100% while trying to load a playlist. I had to disable at Settings / All / Playlist the automatical reading of meta-data, however, that didn't helped. I may guess, probably it's some sort of Qt side overload that UI can't hold 60k entries without of a strong lag, or another glitch.

sysadmidnight
New Cone
New Cone
Posts: 6
Joined: 29 Jun 2020 08:08

Re: Attempt to add 60k files makes UI being frozen

Postby sysadmidnight » 13 Jul 2020 01:01

I am a MIDI music lover and collector myself. Particularly original songs (not covers)
Would you care sharing some of these MIDI tracks?
Or point me in the direction to where I can find original MIDI music out there?
Or perhaps uploading a ZIP with your favorite 100 tracks to Dropbox or GoogleDrive? =D

User avatar
Wohlstand
Blank Cone
Blank Cone
Posts: 16
Joined: 12 Apr 2018 15:57
VLC version: 3.0.9.2
Operating System: Linux Mint 20.1
Location: Moscow, Russia

Re: Attempt to add 60k files makes UI being frozen

Postby Wohlstand » 14 Jul 2020 10:24

I am a MIDI music lover and collector myself. Particularly original songs (not covers)
Would you care sharing some of these MIDI tracks?
Yeah, I have many of, there are both covers, remakes and originals (I also have some I composed myself). Here are MIDI files made by me: https://github.com/Wohlstand/MyMusic
If you want more, I'll DM you my Yandex Disk's folder.

sysadmidnight
New Cone
New Cone
Posts: 6
Joined: 29 Jun 2020 08:08

Re: Attempt to add 60k files makes UI being frozen

Postby sysadmidnight » 28 Jul 2020 08:05

Oh sorry for the late reply, I forgot to come back here, I will reply your message, thanks :)

I had a small sized MIDI collection here, mostly game Midis that are easily extractable, nothing too rare, but last month my hard disk failed on me and I lost everything. I learned my lesson now, always back up everything, specially when the backup takes less than 10 MB of space, it would be so quick to had saved everything.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 21 guests