Talk:AutOKfe version 3.0 specification

From AutOKwiki

Jump to: navigation, search

Singer card support: Zug said that it's pretty much in there, and he's 1/2way right :/

What he's reffering to is the old singer avatar code that linked a user number to a name. Basically it worked by folks creating an account on the 7b website, then I had some PHP/Mysql stuff that did a query(pootie.php) and gave autokdj a list of numbers>names>url's to avatar pics.

The only downside to this approach is it requires a completely seperate web server with auth functionality, etc to create the accounts. It would be nice if autokdj could store/write to a pootie.php locally, that way a user doesn't have to go through all the menusha of setting up a CMS site, with some mysql to querie out stuff.

So a new command is needed here. I'll call it card

Example: http://somekjserver/karaoke/?query=card

Card would have a few switches... http://somekjserver/karaoke/?query=card&num=abcdef0123456789 Num refers to the card number. I dunno if it should be a 16 digit hex, or pure alphanumeric so it's easier for accounting. The above query returns the singers name or a 0 if there is no registration for the card. If it gets a singers name, the FE goes onto asking for a ticket>song cue. If it returns a 0, then the FE goes through the motions of registering a new card

http://somekjserver/karaoke/?query=card&num=abcdef0123456789&newreg&regname=toqer Newreg tells the server to associate a card number to a name. In this case, it's going to write to it's local pootie "Hey motherfucker, card #abcdef0123456789 belongs to toqer"

The whole reason we want to go this route is because we can purchase a bunch of those safeway keychain type bar code cards on the cheap, without having to make a custom card for each person.

  • KJ should have access via the AKDJ plugin to the database of Card numbers / ID's & be able to lets say 'pre-activate' ID number(s) - this would allow for a bit of security & would-be ner-do-well deterrent. Also, it would allow the KJ to deactivate cards, pre-activate cards, etc.

Bribe support: Bribes should be simplified. Fubar and I both want to add support for bill validators(because there's no fucking way sayoko is going to give me a cut of the tickets). I think one important rule for bribes is a singer can only bribe up their next song.

  • Also, limit number of times a customer can bribe or even how often. For example, if its a small rotation, don't allow a customer to bump 5-6 spots to the top consecutively.

Example: http://somekjserver/karaoke/?query=bribe&card=somecardnum This query would just return a 1 or a 0. 1 meaning,

Gotta run, wife just got home, ill finish this later --toq