PDA

View Full Version : Biography or Album Refresh Interval



pc4ever1
2006-04-11, 21:37
I would like to set the refresh interval to refresh automatically when the song changes. Below is the verbage for the settings. It mentions automatically but doesn't offer an automatic setting value.

Setting to Zero doesn't allow refreshes and entering any other value will make the plugin refresh to that value. How do you set it to automatically change to a new song?

"You can have the biography in your web interface update automatically to stay in sync with the currently playing song. Define the refresh interval in seconds or 0 if you don't want it to be updated automatically. (Default: 0)"

mherger
2006-04-13, 09:34
> Setting to Zero doesn't allow refreshes and entering any other value
> will make the plugin refresh to that value. How do you set it to
> automatically change to a new song?

You can't. This is a web interface: the server can't tell the client when
to update. It can only _guess_ when a song will change.

The plugin therefore does the same thing as the web interfaces' status
page: when the page is created it tries to guess the delay to the the next
song. If it's longer than the refresh setting, it uses the latter. If it's
shorter, it will update after the guessed period.

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

kbeast
2006-04-13, 14:15
personally I set it to 30 seconds. This appears to work well. At least once it downloads it, it'll just use the cached information, which I actually set for 200 days, so it doesn't have to pull from allmusic.com all the time...