|
Some type of memory bug with Skin?
Hi Guino
I love the new "IDL" feature; it allows me to do exactly what I want - load the visu after “N” sec of idle at the audio player screen. However it only worked for the first time and stop working after it. I believe this bug is related to other issue we’ve seem.
I set up my audio player to execute IDLE command after 20sec and in ExecTBL.ini this is the command it execute "IDLE","VISU||LOAD;VISU.SKIN;VISU;;milkdrop",Audio _Player.skin. This works for the first time and after that it stops working. It seems each skin have some sort of memory and it is creating other issues…
The memory thing also appears in other skin as well, for example in audio_browser skin. My root is d:\music, so when the skin is loaded for the first time it will start at the root. I then navigate and pick an album in d:\music\artist\alubm to play and now it is switch to the audio_player screen. Next time I go back to audio_browser again to pick other songs, instead of starting from root again it memorize where I was last at and take me back to d:\music\artist\alubm. I think it make more sense to start over at the root because its unlikely that a user will pick the same album twice. There’s the repeat button for that.
The same behavior also creates other problem in my thread titled “thumbnail view for album and list view for song”. The suggestion you gave using the onclick command to switch skin works until we hit the same memory problem. In this example, I create custom skins that will display each directory level at either thumbnail or list view. There are three skins; #1 is the artist directory level and display in TN view, and same goes for #2 where it display the album level. In #3 it will display the songs in LIST view. The problem occur when loading a previously loaded skin. For example, going from #3 (list) to #2 (TN) with the “exit” command should go back up one directory level and display in TN view. Instead, it displayed in TN view but did not go back up one directory per the “Exit” command. If I create a skin #4 in TN view, and going from #3 to #4 with the same command it will work because #4 was never loaded before. As soon as #4 was loaded once it will behave the same as #2.
Hope this make sense…
Thanks
|