I'm not sure of the latest version's setup, but if there are any configurations for file paths, make sure they are correct
Make sure your webserver has read and write access to the music and tmp folders. The "boolean" it refers to means that it failed to open the directory, which is almost always a permissions issue.
Sometimes, when the server has been running for a while, an "invisible" song is playing, and never ends. (Queue is saved over map changes).
The only way to stop this is by force skipping the song. I wish I could be more helpful, but it's seemingly random when this happens.
Can you print out the contents of the server-side song queue the next time you catch it? A PrintTable on the var should do it.
Will do. :)
It will be nice if there is the favorites song list.... I am sorry but it's really hard to find songs as there are loads of songs..
[QUOTE=cyw960517;32584784]It will be nice if there is the favorites song list.... I am sorry but it's really hard to find songs as there are loads of songs..[/QUOTE]
search
[QUOTE=cyw960517;32584784]It will be nice if there is the favorites song list.... I am sorry but it's really hard to find songs as there are loads of songs..[/QUOTE]
That's why there is a search feature.
[QUOTE=mr.wolf;32589521]That's why there is a search feature.[/QUOTE]
Sorry I didn't know that there is a search feature... i have should watch carefully,.
[QUOTE=cyw960517;32591279]Sorry I didn't know that there is a search feature... i have should watch carefully,.[/QUOTE]
It's called QuickSearch, in the upper left corner in the menu. Kind of hard to miss really. =/
Can you add an encryption feature where it generates stream IDs and verifies the user instead of allowing unrestricted access to /media/music
[QUOTE=camcole1;32660448]Can you add an encryption feature where it generates stream IDs and verifies the user instead of allowing unrestricted access to /media/music[/QUOTE]
Short of having it password protected, it's stupidly easy to spoof any authentication request. There'd be no point. It would also be dumb to have it password protected, since the password would have to be in the lua file.
Like make ids for the songs, look in the cache files of sass, they have high encryption
[QUOTE=camcole1;32662620]Like make ids for the songs, look in the cache files of sass, they have high encryption[/QUOTE]
Step 1. Look in the dua cache for the location of songlist.php and song.php
Step 2. Open the songlist and look for the song you want
Step 3. Open song.php with the ID of the song you want that you obtained from the songlist page
Step 4. Open a network tool and check where the song is being downloaded from
Step 5. Save the song to disk
There is literally no way to prevent this. I could make it more complex, and do things like checking user-agents and referrers, but there is no way to completely block anyone out. If you can access it in-game, you can access it out of game. There are two main reasons behind this. The first is that by design, anyone should be able to access a song if they are accessing it via the in-game menu. The second is that the in-game menu is open source, and therefore the method used to access the song is plainly visible. The combination of the two means that it can never be secured.
If it can't be completely secured, then I'm not even going to bother to put any more security on it than there already is. If you feel like doing it, by all means try. Then let me know and I'll show you I can still get in.
Sass has this [lua]function Jukebox:RefreshMusic(OnRefresh)
self.Music = {}
self.Refreshing = true
http.Get("http://sassilization.com/jukebox/?p=List", "", function(Content)
self.Refreshing = false
for k,v in pairs(string.Explode("\n", Content)) do
local Explode = string.Explode("\t", v)
if(Explode and table.Count(Explode) >= 3) then
local ID = string.Trim(Explode[1])
local Name = string.Trim(Explode[2])
local Time = string.Trim(Explode[3])
local Genre = string.Trim(Explode[4] or "Ti9B")
if(ID != "" and Name != "" and Time != "" and Genre != "") then
Jukebox:AddMusic(ID, Name, Time, Genre)[/lua]
for the ids. and this for generating the ids
[lua]function PANEL:GenerateURL(SongID, Last)
return "http://sassilization.com/jukebox/?p=Client&steamid="..Jukebox.SteamID.."&uid="..tostring(STGamemodes.Forums.ID)..tostring(Jukebox.UID).."&s="..tostring(SongID).."&djmode="..tostring(Jukebox.DJMode and STGamemodes.Forums.ID or 0).."&"..Last[/lua]
I know this is lua... just demonstrating how they do theirs
[editline]7th October 2011[/editline]
And BTW... They use wolfdj too.. just all rebranded
So look up the values of the arguments being passed, and then load up the URL. I guarantee you can get in. At worst you might have to spoof your user-agent.
I'm not putting it in vanilla WolfDJ. If you want to implement it, then go for it.
Can you help me gain access to that please?
I have been trying to do it with [URL="http://www.facepunch.com/threads/1130665/4"]http://www.facepunch.com/threads/1130665/[/URL]
[QUOTE=camcole1;32672991]Can you help me gain access to that please?
I have been trying to do it with [URL="http://www.facepunch.com/threads/1130665/4"]http://www.facepunch.com/threads/1130665/[/URL][/QUOTE]
Wolf made an open-source project for you to modify yourself, not for him to modify for you personally or add it to WolfDJ because 1 user would benefit.
[QUOTE=mr.wolf;32559065]Can you print out the contents of the server-side song queue the next time you catch it? A PrintTable on the var should do it.[/QUOTE]
Happened again.
04:02:35 lua_run PrintTable(WolfDJ.ServerQueue)
04:02:36 > PrintTable(WolfDJ.ServerQueue)...
1<TAB>=<TAB>
Also got an error on init.lua, line 221 at startup. "attempt to perform arithmetic on local 'Min' (a nil value).
My queue.txt current looks like:
[img]http://puu.sh/6FxZ[/img]
Interesting. Well the reason for the errors is that there is a blank entry in the song queue. As in, it thinks there is a song to play, but the entry doesn't contain any of the data. I can't think of why that would be though. Could you link me over to your songlist.php file?
Has anyone else experienced this issue?
Can you make an option so that jwplayer will stop all other songs when you preview another in the admin menu?
[QUOTE=camcole1;32686620]Can you make an option so that jwplayer will stop all other songs when you preview another in the admin menu?[/QUOTE]
Because it's too much effort to hit Stop when you're done?
[QUOTE=mr.wolf;32686375]Interesting. Well the reason for the errors is that there is a blank entry in the song queue. As in, it thinks there is a song to play, but the entry doesn't contain any of the data. I can't think of why that would be though. Could you link me over to your songlist.php file?
Has anyone else experienced this issue?[/QUOTE]
[url]http://sammyservers.com/wolfdj4/songlist.php[/url]
This only seems to happen after the server has been running for multiple days.
Songlist looks okay. I'll put some checks in the code to prevent it I guess.
[QUOTE=camcole1;32672991]Can you help me gain access to that please?
I have been trying to do it with [URL="http://www.facepunch.com/threads/1130665/4"]http://www.facepunch.com/threads/1130665/[/URL][/QUOTE]
As a closing statement to our previous discussion about Sass, here's the code that would grab a song.
[code]<?php
$headers = array(
'GMOD_CONTENT' => "GMOD_CONTENT: hl2,cstrike,dod,ep2,tf,episodic,hl2mp,portal,lostcoast,hl1mp,left4dead2,left4dead,diprip,zps,pvkii,dystopia,ageofchivalry\r\n",
'GMOD_VERSION' => "126\r\n",
'MAP' => "MAP: xc_water_light_blue\r\n",
'Host' => 'sassilization.com',
);
$ch = curl_init( 'http://www.sassilization.com/jukebox/music/STEAM_0_0_13473110/Technodrome%20-%20Pokemon%20Theme.mp3' );
curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, true );
curl_setopt( $ch, CURLOPT_REFERER, 'http://www.sassilization.com/jukebox/themes/Default/images/jukebox.swf' );
curl_setopt( $ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; Valve Source Client/0; ) AppleWebKit/534.1 (KHTML, like Gecko) Chrome/6.0.444.0 Safari/534.1' );
curl_setopt( $ch, CURLOPT_HTTPHEADER, $headers );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$result = curl_exec( $ch );
curl_close( $ch );
//header("Content-type: audio/mpeg");
echo $result;
?>[/code]
However, they have it set up so that it will 404 if the game-server hasn't authorized it.
Although it wouldn't be too difficult to implement into WolfDJ, it probably won't get done, but I will think about it.
i have it set up but it looks like the css is not working... any solutions
[url]www.radio.bobwho.net[/url]
well, your CSS ( [url]http://www.radio.bobwho.net/css/compress.php/login+primary[/url] ) is a 404
theres nothing int he compressed folder, only uncompressed... how do i get it to compress (don't do much web work)
[editline]11th October 2011[/editline]
[QUOTE=Fleamonji;32734857]well, your CSS ( [url]http://www.radio.bobwho.net/css/compress.php/login+primary[/url] ) is a 404[/QUOTE]
the .htaccess prevented opening but it will only download now
[editline]11th October 2011[/editline]
works now
Thanks for that, it got me to fix it
I bet you can't hack mine, please try, but dont steal, [url]http://music.theminiserver.com/media/music[/url]
And people, i think the reason you cant play crap, you changed the /media/music and it is not accessible
Remember i said Think not know
[QUOTE=camcole1;32737477]I bet you can't hack mine, please try, but dont steal, [url]http://music.theminiserver.com/media/music[/url]
And people, i think the reason you cant play crap, you changed the /media/music and it is not accessible
Remember i said Think not know[/QUOTE]
Here's the download link for the first song on the list, Needed Change by 12th Planet featuring Skrillex. The song is 3:12 and is apparently the leaked version.
Took me more time to write this post than it did to grab the link.
[url]http://music.theminiserver.com/media/music/75.mp3?r=6714[/url]
Sorry, you need to Log In to post a reply to this thread.