with regards to updating the metadb stuff, here's how the relevant part of an old script might look...
function on_item_focus_change() {
if(g_metadb) window.UnwatchMetadb();
g_metadb = fb.IsPlaying ? fb.GetNowPlaying() : fb.GetFocusItem();
if(g_metadb) {
on_metadb_changed();
window.WatchMetadb(g_metadb);
}
}
to fix it, you need to have a preprocessor section at the very top of the script.
// ==PREPROCESSOR==
// @feature "v1.4"
// @feature "watch-metadb"
// ==/PREPROCESSOR==
if your script already has a preprocessor section, just add those 2 @feature lines. then replace the on_item_focus_change function with this...
function on_item_focus_change() {
g_metadb = fb.IsPlaying ? fb.GetNowPlaying() : fb.GetFocusItem();
if (g_metadb) on_metadb_changed();
}
before anyone asks, i'm not getting involved in fixing anyone's timer stuff. everyone can figure that out for themselves or use the older component.