jonfinpausa wrote:
> Hey SilverEagle,
>
> I was reading threw your main.sj script in the
> eaglebluetouch skin.
> I like the one touch on albums to go to that
> album, and then having the songs from that album
> listed for a user to pick the song they want.
> Does the main.sj script handle all that? Could you
> add some comments to the main.sj script and post
> it here to help me follow the script a little
> better? I would greatly appreciate it.
>
> Thanks
> Fish
Hi Fish,
Yes, it is all in the main.sj. Already quite a lot of the important or exotic constructs are commented, and nearly all functions have a one liner describing them.
No idea about your level of expertise, so first of all make sure you have the needed background:
- for the language basics just google any JavaScript tutorial or reference
- for the silverjuke specific functions read the Silverjuke SDK http://www.silverjuke.net/sdk/
- for SQL just google any SQL tutorial or reference
- for any specific SQL constructions used see the SQLite language http://www.sqlite.org/lang.html
- use any SQLite tool to view and experiment with the Silverjuke database (C:\documents and settings\<yourname>\Application Data\Silverjuke\mymusic.db by default), I use http://www.sqlite.org/sqlite.html
Now with all the above as your background follow the script. Look at DetectOneClick(). That name is somewhat of a giveaway I think and should also need no comment

I _am_ functionally lazy though: anything in the references above I am not going to duplicate here or in source comments. But do feel free to ask about any script detail still hazy (and don't worry if it turns out to be described in the reference docs after all: at worst I will tell you so

Good luck,
SilverEagle