I noticed on the main page a request to have Frodoplayer skins change for day/night time. Would it be possible to add in a sunrise/sunset table to change the skins? My take would be to download a table and save it into your working folder. Then have MMC read the file for your local area and change skins accordingly. Here is a page that creates a one year table for you.
http://aa.usno.navy.mil/data/docs/RS_OneYear.html
Since you're actually doing the coding, you might be able to find an equation to calculate this and all the user has to do is enter in their lat. and long. and there you have it. This way you would not have to depend on this other calculated table. I did a little search and came up with this page. It has links to Java packages which calculate sunrise and sunset times.
http://www.kevinboone.com/suntimes.html
I know that this is a bit of work for something so menial, but I thought I would give it a go. By the way, everything is looking nice.



LinkBack URL
About LinkBacks
Reply With Quote





Bookmarks