thanhdat1710

foobar2000 wsh panel mod lossles
11 Watchers9 Deviations
9.4K
Pageviews
fiamafi
Jeannela
davideleodeviant
Splatcow
alwaysbeta
du22y
annamhn
stratoepisode
mire777
nhanngoquyen
Br3tt
LunarSkyes
tothichcauthatday80
Hannie2002
ransieunhan
Fox-babeee
Minyoungbabiigirl
Tizbabycoldgirl
kingofmar1311
phoenixlu
Foo-Nation
DA-Windows-8-Users
Br3tt

Collection

Favourites

How to skin foobar2000 - Part 3 by RanggaKat, journal

Slender Man by techgnotic, journal

Odessa Moore and the Golden Apple CH2 by PJOfan22, literature

thanhdat1710 is not a Group Admin yet
Groups they admin or create will appear here
  • Oct 17
  • Vietnam
  • Deviant for 10 years
  • He / Him
Badges
Llama: Llamas are awesome! (8)
My Bio
Favourite genre of music: Rock, Pop, Dance,Jazz.
Operating System: Windows 10 x64
Music player of choice: foobar2000(My custom skin)
Video player of choice: MPC-HC
Wallpaper of choice: nature , macro
Linkedin : www.linkedin.com/in/vothanhdat
Facebook : facebook.com/vothanhdat

Profile Comments 6

Join the community to add your comment. Already a deviant? Log In
Thank you for the watch <33
Airborne  H a p p y   B i r t h d a y !  Airborne 
Thank's you very much. :D (Big Grin) 
so, i'm stopping to poluate you script DA page, here is my modded script from the one you have send me thru pastebin.com with the progressive populating tree function.

Many issues fixed in my mod, the most important is the bad handle of timers, especially the one used in the get_pl_tree() that block the script when another WSH panel is running in // and use timers too !
when creating a time, you have to be sure that no instance is still running, so you have to set them thru variable (not done in your script, you directly use "window.SetTimeOut(...)") and in timer function you have to Clear it and i personnaly set it to false for creation check as told.

other important modification, in get_pl_tree, i load items until the panel is filled to quick have a good looking panel, then i only call again get_pl_tree once to load the entire tree remaining. with that, load is faster that your call on timer every k%100 after 50 ms (it takes 12 seconds to fill the whole library on my config, now, it downsize to 2 seconds and panel is filled immediatly :)

my mod : pastebin.com/Kb0F1Z9J

making a script compare to see immediatly my modification compared to your script.

HTH

keep the good work, it rocks!
Oh, it is cool, and i had optimized it, pastebin.com/5ZHaqcTS
Welcome on DA