Requestable Music Bot?

d3fc0n5

Limp Gawd
Joined
Jan 5, 2005
Messages
135
Wasen't sure were to post this

Ok guys what i want to do is make a Music bot that plays Music in ventrilo 27/4. Well that is the easy part I can just make a playlist to repeat. But what i was to do is make it intergrated with my guilds website so they can request the songs they want.
Ive been searching for someone who has done this but i've only come up with the "Dumb repeat playlist" bots.

If anyone can help me in the right direction with a link, thanks
 
Well I dont really care all that much, Anything will be fine aslong as i can have the requestable intergration.
 
you could always make it a DB app. Figure it this way.. you want to have a list of songs (one db Table), a queue that operates on a FIFO (first in, first out) structure. Third you want some sort of security (only guild members can insert a song).

Inserting new songs to be available to request - easily done with a table. The app would poll the "request" list for the top record, ordered by date/time. If nothing, pick something random from the song list, else play the song record and delete that record.

hell at this point you can keep an archive log of all songs requested, by whom, how often, and so forth. Uber meta data.
 
i don't know anything about this kind of application but i saw the thread and it seemed interesting.

@modi123
just to clarify are you suggesting to write 2 programs, 1 web application for people to submit requests, say in php/whatever which would write to a db say mysql, and a 2nd program in, say, c# or c++ or whatever that accesses the same database as the php app and then the 2nd program will actually play the files (i.e. you'd have to write it to use whatever function to play a sound file), as opposed to making something to control winamp or similar media player?
 
tim_m said:
i don't know anything about this kind of application but i saw the thread and it seemed interesting.

@modi123
just to clarify are you suggesting to write 2 programs, 1 web application for people to submit requests, say in php/whatever which would write to a db say mysql, and a 2nd program in, say, c# or c++ or whatever that accesses the same database as the php app and then the 2nd program will actually play the files (i.e. you'd have to write it to use whatever function to play a sound file), as opposed to making something to control winamp or similar media player?

Naw.. it would be one program, one database object. The webapp could be done with anything .NET, ASP, or so on. Hell a bit of VB.NET would work. The DB part - sure MySQL's free, why not use it? Though as I think about it - depending on the traffic you might have max connection issues.

Why try to co-op winamp or a media player - you just need to feed the player a song the DB object and what not would be what decides what to pick.
 
I was wondering if you figured out a way to do it?

I am trying to do something similar. Create an online databse that allows guild members to upload songs and select a song to play in vent. Selecting the song would be first come first play meaning. If you have 5 people in vent whoever selected the first song would play after the current... Who every picked second would play next. In addition, 1 person would be able to pick 1 song and not another until the current song was over to allow others to select.

Looking for ideas
 
wow old thread however VLC has a function to do this lookup media streaming and web based controls
 
Why don't you try to just create an m3u playlist, run winamp, then change the output to your server?
 
We do this currently and it's a fantastic feature. Everyone is so much happier with music going!

What we did is use winamps music server. We created an account for people to log in with and change music. On the server machine, we just started an instance of ventrillo and put the headphone jack into the mic. Then we configured ventrillo with the auto-ptt feature and since music was always streaming, it was always talking.

We then dumped that user into it's own channel. If you want music, you put a phantom user in that channel and then each person can control the volume using filters. It works well.

There are probably better ways to do it, but we're happy! :)
 
Back
Top