Click here to Skip to main content
15,900,461 members

Comments by fanoftheplanet (Top 14 by date)

fanoftheplanet 15-Jun-20 9:56am View    
Well, kinda... I need a realtime interface. It is a music player I am controlling. The web gui should show elapsed/remain and vu. And it will have stop, play,pauze... buttons on it.
fanoftheplanet 12-May-16 4:37am View    
Thanks Sergey for this extensive answer!
I will spend this weekend to give it a try. Because of various reasons I will stick with my ListBox though. Currently I am overriding the .drawitem event and simply paiting the image using Graphics.DrawImage. This works for me. But the principle is the same if I am correct.
fanoftheplanet 11-May-16 14:26pm View    
Have you ever used spotify? If you lookup a song it shows a list of possible matches along with the cover art. That's exactly what I want to accomplish. People look up songs in an online MySQL database and get a list of possible matches with their respective coverart.

Now, the problem is that I want to use a ListBox for this, and that while downloading the coverart, the listbox can't complete it's drawing, and thus freezes the UI.

So I am looing for a way to fill a ListBox async.
fanoftheplanet 11-May-16 8:19am View    
Thanks Sergey,

I rephrased my question.
fanoftheplanet 22-Feb-15 16:54pm View    
Thanks Andreas, it's indeed a huge file to be loaded into memory. But I need the additional data for other searches (single tracks a user searches by artist, album, year, genre...)
I was thinking about cutting the size down by grouping objects:


artist-----album----track
........|.........|-track
........|................
........|---album----track
.................. |-track

This would significantly cut down the memorysize and searchtime I guess, but to be honest I have no clue of what collection-type would be appropriate for this kind of structure and would be searchable this way.