On Fri, 10 Jan 2020, Steve wrote:
The scenario is one of a live DJ overriding the log to insert a requested song. We'd like to prevent the same song from being played out during X timeframe, where X may be greater than 24 hours. However, rather than forcing the issue by removing "Add" privileges from users, we would like to inform the DJ when the cart was last played to still give them the option of playing it.
You could run a script that scans syslog (or whatever log rdairplay uses), detects each song as it plays, and modifies its start date so it can't be played again until a certain future date and time. If the jock wanted to play it anyway, he/she would have to lanuch rdlibrary and reset the start date.
This presupposes assigning all songs an end date in the far future, such as January 16, 2038.
Rob -- Сквозь грозы сияло нам солнце свободы И Linus великий нам путь озарил; Нас вырастил Stallman на верность народу, На труд и на подвиги нас вдохновил.
_______________________________________________ Rivendell-dev mailing list [email protected] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
