botuts, when did you get this error, what where you doing?
botuts, when did you get this error, what where you doing?
Re-upload the songs using the min-sec format. I also added a string replace to catch any min:sec and convert them.
Still failing trying to get to work in IIS.
Uploader works fine, but Song conformation is broken.
No errors, i had some looks true the code myself but everything looks fine to me.
Any suggestions on stuff i can try ?
Fuck yea got it to work, This is the stuff you need to do if you are working on a windows system.
1. Enable sqllite by uncommenting
2. Download the windows support files for getID3 else it will silently fail
3. Copy the files in the zip to random folder
4. Specifie the folder location in wolfdj\admin\lib\getid3.php
by addeding this line to the top of the file
define('GETID3_HELPERAPPSDIR', 'C:/Your/Folder/'); //(No spaces end path with a / )
[@wolfdj\client\cl_menu.lua:387] Tried to use invalid object (type Panel) (Object was NULL or not of the right type)
Also it most of the time doesn't go to the next song in que.
Awesome, glad that is fixed. That error pops up occasionally. I think it has to do with the panel being closed, but I can't seem to reliably reproduce it.
-- Update the list Stream.MenuText:SetText('WolfDJ - Total Songs Available: '..Stream.Count) Stream.MenuText:SizeToContents() Stream.MusicWindow:Clear() Stream.LoadList( Stream.SongList, Stream.MusicWindow )
-- Update the list if Stream.Menu and Stream.Menu:IsValid() then Stream.MenuText:SetText('WolfDJ - Total Songs Available: '..Stream.Count) Stream.MenuText:SizeToContents() Stream.MusicWindow:Clear() end Stream.LoadList( Stream.SongList, Stream.MusicWindow )
hmm.. Could have sworn I added that a while ago, but I guess the commit didn't go through =/
Anyways, thanks flap!
Let me know if this still happens everyone.
Requesting a random shuffle option for clients as well as server.
Also a better explaination of radio mode.
Edit : This has been a great thing to have on a server,thanks.
When Radio Mode is enabled on the client, it will block incoming server songs. When the client plays a song locally, when the song ends, it will randomly choose a new song from the list. Basically it will keep streaming songs randomly after each song ends. The selection of what is played next is limited by what filter you currently have. So if you only want to listen to, say, Daft Punk, then you would put Daft Punk in the filter, and after the current songs ends clientside, it would play a random Daft Punk song. After that one ends, another random Daft Punk song.
I've not fully tested this feature however. The above is how is should work. Please let me know if you run across any issues, and I will fix them.
Also, is your request for a random shuffle mode for the server as well?
Yarp, for the server too.
And I understand roughly how radio mode should be executed - although I don't know what filter you are talking about - and I attempted playing and letting a song finish(locally) with radio mode on, but no joy. (Maybe it works for base level clients?)
Might have to do with the panel being unloaded when you close it. I will look into it this evening when I have some free time, and possibly add the server-side radio mode as well.
The filter is the Quick Search function. It limits what is shown in the list to what you search for. The radio will then only play what you searched for.
Also, out of curiosity, how many people are actually using this?
Grim Jam, Me and Flapjack are the same team.
Cool. What community do you guys code for, if any? I've seen you and flap around in tons of threads.
Updated to r14.
Fixed the remaining client-side errors. Songs should play in radio mode correctly now. I also saved the quick search state when you close the player, since the radio uses that as a filter.
I also added a very basic server-side radio implementation. The problem with this is that the server doesn't know about the songlist, it only accept commands from players. So each player with DJ rights has the option to turn on Server Radio on the Queue panel. When enabled, if that player adds a song to the queue, when it ends, the server will start playing another song. The song choice is limited to the quick search filter, just like local radio.
A warning about the server-side radio. Because of the nature of how it works, only one person should have it enabled at once, and they should start it by enabling server-side radio, and adding one song to the queue. The DJ should handle the rest. If more than one person has server-side radio enabled, and each add a song, then songs will still be added to the queue, but at seemingly random intervals.
The server-side radio works by requesting a random new song 7 seconds after the last requested song was supposed to have ended. The advantage to this is keeping the songlist clientside and having filters, but there is no callback for when a song ends, so we have to predict it. But the client doesn't know if they song just added is played immediately, or added to the queue to be played later. The prediction assumes the former.
I fixed errors, and added server-side radio, but it is finicky. I will add a callback for a song's end some time soon that will make it more reliable.
Updated, server side radio works well - though when you get around to revamping it, having it not linked to a specific player, and maybe letting people vote yes/no for it would be good. But it works at the moment and that's all I care about.
Nominations should have a percentage option - for example, I feel like 5 or 6 is about right for a full server, but too high for an emptier one.
And more thank you's for adding the features you have.
The problem with having the server radio not linked to a person is that I have to set up the links to the song list on the server, which I hadn't originally planned on. I will look into it, though it may b a while. Got lots of stuff to do lately.
Glad everything is working though, and good to know my work is appreciated.
Code:12:30 - +[SP]+ CCD: i found a bug with wolfDJ :P 12:30 - Flapadar: what is it? 12:31 - +[SP]+ CCD: When you add your own song. and it finishes the DJ automatically plays another without any nominations. 12:31 - +[SP]+ CCD: And there is none in the que after it.
Is that a "No, it isn't player server-wide", or a "No, Radio Mode isn't enabled"?
Can you ask him to double check that it is server wide, and not local?
15:50 - +[SP]+ CCD: Server
15:50 - +[SP]+ CCD: I left it on to check, and someone said "What is this shit"
Does it say something is added to the queue, or is it just playing? If it says it was added to the queue, who does it say added it?
16:09 - +[SP]+ CCD: "Server(WolfDJ) has added <Song Name> to the song que"
Iv installed it onto my webserver and have set it up ok, uploaded songs and all formats are mp3.
iv edited the cl_config and put the address of the webserver and the dir's but when in game i press f7 and it comes up with refreshing songlist and then doesnt show any songs ?
Is that the same ip as your home network ?
Is the webserver home hosted?
EDIT: That was a fucking serious question. Stuff screws up when you connect to your own external ip.
Out of curiosity, why did you add meta:HasDJRights() to 3 (probably 4) files? Couldn't you just add 1 shared file?