Support for multiple SAM DJs

Post Reply
Author
Message
MattEnloe
Offline
Member
Posts: 51
Joined: Sat Oct 16, 2010 10:40 am

Support for multiple SAM DJs

Post 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.

RaythXC
Offline
Member
Posts: 49
Joined: Mon Feb 06, 2012 9:03 pm
IRCBot Version I Use: v5
IRCBot Platform: Windows

Re: Support for multiple SAM DJs

Post 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.

Post Reply