This uses Eventghost's timer function to broadcast and call a scan on both music and video library at 4 am.
Then at 5 am, Eventghost's timer function calls for XML to be generated.
I'm curious to see what the equivalent timer is within Vox, but I wanted to do the Eventghost to Vox as prep for another idea I've got....
Vox's xml is attached.
Eventghost XML (thanks to Jitter James' solution over in the EG Forum):
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1486">
<Macro Name="4 am timer">
<Action Name="4 am">
Timer.TimerAction(u'Scan both every day', 0, 1, 1.0, u'', False, True, 2, u'04:00:00')
</Action>
<Action Name="Broadcaster: Broadcast: event Both">
BroadcastListener.Broadcast(u'event', u'Both&&payload1&&payload2', 33000)
</Action>
</Macro>
<Macro Name="5 am timer">
<Action Name="5 am">
Timer.TimerAction(u'GenXML every day', 0, 1, 1.0, u'', False, True, 2, u'05:00:00')
</Action>
<Action Name="Broadcaster: Broadcast: event GenXMLALL">
BroadcastListener.Broadcast(u'event', u'GenXMLALL&&payload1&&payload2', 33000)
</Action>
</Macro>
</EventGhost>
Cheers!