Page 1 of 1

Support for multiple SAM DJs

Posted: Thu May 05, 2011 12:59 am
by MattEnloe
The bot works great if each DJ has a copy of it, but on a per-dj basis with one copy running there's no good way to manage multiple SAM DJs.

It would be great if we could specify users that the bot would match and connect to the respective database to enable requests.

Re: Support for multiple SAM DJs

Posted: Sat Feb 18, 2012 9:21 am
by RaythXC
This would work with the WebRequest system if the DJ's used their own database for files and the webrequest system was modified to access multiple databases rather than 1 database and multiple tables.

Example:
DJ ABC has database dj_abc which has all the required tabled for SAM
DJ XYZ has database dj_xyz which has the same tables but for them.

The account WebRequest (the site) has access to both databases for reading.

When retrieving a playlist, instead of reading the table <DJ NAME> it would read the database dj_<dj name> when the url http://radio.url/browse.php?pl=dj_name is accessed.