• WolfDJ 4.0 - In-Game MP3 Streaming
    436 replies, posted
  • Avatar of mr.wolf
  • It CANT be a conflict unless something is overriding the WolfDJ table, which nothing should...
  • On my server it also occasionally changes the button that adds a song to the server queue to the button that nominates a song. All my admins are set in the settings/users.txt file; rejoining usually fixes this issue. I believe this also happened in the older version of WolfDJ, before 3.0. I could be wrong.
  • As Shadow said above, that is what I meant with my post. So it isn't only me. I did rejoin 3 times and it didn't fix my problem, but perhaps a 4th may have.
  • Avatar of mr.wolf
  • Interesting. The only reason I can think of is if the menu is being generated before IsAdmin has a chance to verify that you are a valid player. Then, since I am caching the menu instead of regenerating it every time, it keeps the original value of IsAdmin. I could try regenerating the menu every time it is opened. I'll work on that this weekend, along with the public upload option.
  • Avatar of mr.wolf
  • [QUOTE=camcole1;32201233]can someone help me, the code works but not properly.[/QUOTE] Can someone help me? Someone is trying to report bugs in my code, but not properly...
  • [QUOTE=mr.wolf;32201484]Can someone help me? Someone is trying to report bugs in my code, but not properly...[/QUOTE] Your code on the stopsounds command stops every sound, but typing stopsounds in the console only stops in gamemode sounds, not others [editline]9th September 2011[/editline] I have a feature request, You should add the ability to change the password of a subuser without having to log out of the master account [editline]9th September 2011[/editline] Another Error i found,[QUOTE] Browser Message: Uncaught ReferenceError: jwplayer is not defined - :0 [/QUOTE] Seen in console [editline]9th September 2011[/editline] Also you might want to translate & from its html code to the lua [editline]9th September 2011[/editline] Also.... Add a request feature where people vote instead of nominate [editline]9th September 2011[/editline] Fucking stop rating me dumb. go to breakpoints deathrun server right now. they have a code that makes the in game music stop while their mp3 player is playing. this is a really cool feature and it is not working in gmod when wolf posted [editline]9th September 2011[/editline] Tell me why i am dumb then... come on,,, tell me!!!!!!!!!!!!!
  • Avatar of mr.wolf
  • You're dumb because I already told you the code I posted doesn't work, and that I never claimed it would. Stop requesting it... In answer to the rest of your post.... [quote]Your code on the stopsounds command stops every sound, but typing stopsounds in the console only stops in gamemode sounds, not others[/quote] No Shit... I never said it would work. Hire a scripter to do it. Like I've said at least 20 times between this thread and steam. [quote]I have a feature request, You should add the ability to change the password of a subuser without having to log out of the master account[/quote] Nah, just log out and back in and stop being a lazy fuck... [quote]Another Error i found,[/quote] That's not an error, it's a message and it's harmless [quote]Also you might want to translate & from its html code to the lua[/quote] Probably, but it's not a priority [quote]Also.... Add a request feature where people vote instead of nominate[/quote] What does that even mean? You were wondering why people rate you dumb? This is why...
  • Pretty neat addon, is the best for streaming right now - For server owners. It would be nice if you could add the possibility to add songs from Streaming-Portals instead of having to download them from there and after that Uploading them in WolfDJ. Wondering how i can add songs manually - With FTP. Greetings, Dark Rising
  • Avatar of lorde banana
  • [QUOTE=DarkRising;32210316]Wondering how i can add songs manually - With FTP. Greetings, Dark Rising[/QUOTE] I can't remember the folder structure and I don't know if it has changed with v4, but upload one in the web uploader and find where it uploaded to. Once you find that, upload all of your other songs to that folder in FTP
  • [QUOTE=Banana Lord.;32212699]I can't remember the folder structure and I don't know if it has changed with v4, but upload one in the web uploader and find where it uploaded to. Once you find that, upload all of your other songs to that folder in FTP[/QUOTE] I believe it's media/music/queue/<userid>/
  • Avatar of mr.wolf
  • [QUOTE=jimbodude;32213128]I believe it's media/music/queue/<userid>/[/QUOTE] Yep. Upload it to media/music/queue/1 if you are logging in as the admin user, then go to song processing to add them to the DB. [quote]It would be nice if you could add the possibility to add songs from Streaming-Portals instead of having to download them from there and after that Uploading them in WolfDJ.[/quote] Can you give me an example of a site? The problem with most streaming sites is that you have to sign in to use their services, and they don't offer an API, so you'd have to trust WolfDJ with your credentials for the site in order to download the stream. Incidentally, this is also the reason why I'm not offering streaming services such as Pandora or Last.fm as a music provider for the client. They would either have to already have an account, at which point they can just open it in the Steam Overlay, or the server owner has to have an account, and there is a high possibility of clients being able to look up the owners authentication information. Additionally, I don't think there are any javascript hooks into their flash app, which means I can't interface with it from lua. As such, streaming from sites such as Pandora will not be a feature I will be adding.
  • Avatar of mr.wolf
  • [QUOTE=camcole1;32219749]Are you gonna add that upload feature for anyone?[/QUOTE] Yes, I said I'd get to it this weekend. [editline]11th September 2011[/editline] Probably tomorrow night.
  • I mean like the "Popular" Streaming-Portals like Youtube eg. Because you can find like anything on the popular ones and not Music streaming portals - Of course without Video so it still fits to WolfDJ.
  • Avatar of mr.wolf
  • I can make it so instead of uploading a file, you can specify a link to a URL. Would that work? So it would still be listed as Artist - Song - Genre - Time on the songlist, but would link over to the youtube video instead of the flash mp3 player. The problems with this are that you have to input all the data yourself, because I'm not going to autodetect it, you might get ads depending on the youtube clip, and that you'd still have to add it to the database before it can be used. Want me to do it?
  • could you add video function? like a little video showing below the player? And also, it is not working with mac computers.
  • [QUOTE=mr.wolf;32231644]I can make it so instead of uploading a file, you can specify a link to a URL. Would that work? So it would still be listed as Artist - Song - Genre - Time on the songlist, but would link over to the youtube video instead of the flash mp3 player. The problems with this are that you have to input all the data yourself, because I'm not going to autodetect it, you might get ads depending on the youtube clip, and that you'd still have to add it to the database before it can be used. Want me to do it?[/QUOTE] I was not meaning it to streaming i ment adding songs from YouTube in the menu where you upload songs. It would make it 100% easyer then downloading songs with filsh after that uploading from local. Well thanks for making this. Greetings, Dark Rising
  • Avatar of mr.wolf
  • [QUOTE=camcole1;32236193]could you add video function? like a little video showing below the player? And also, it is not working with mac computers.[/QUOTE] No video. Go use PlayX if you want video... This is a DJ, not a television. Also, for Mac, you need flash installed for the Steam Overlay probably.
  • [QUOTE=mr.wolf;32236844]No video. Go use PlayX if you want video... This is a DJ, not a television. Also, for Mac, you need flash installed for the Steam Overlay probably.[/QUOTE] can't press the keybind on the mac
  • Avatar of mr.wolf
  • [QUOTE=camcole1;32237953]can't press the keybind on the mac[/QUOTE] There is no F7 key functionality on a mac? 0.o [editline]11th September 2011[/editline] Wikipedia disagrees. I think someone just doesn't know how to use a Mac... [quote]The most recent Mac keyboards include 19 function keys, but keys F1-F4 and F7-F12 by default control features such as volume, media control, and Exposé.[/quote] It is possible that the bindings aren't there, I suppose. Can you you other F keys? If so, then bind it to a different key.
  • actually there is error on pc version [QUOTE]Hook 'WolfDJDrawBar' Failed: [wolfdj\cl_init.lua:597] attempt to perform arithmetic on field 'Mid' (a nil value)[/QUOTE]
  • Avatar of mr.wolf
  • [QUOTE=camcole1;32239106]actually there is error on pc version[/QUOTE] First, there is no "pc version" or a mac version. Second, that's a rare issue when the foreground paints before the forground. Fixed in r22.
  • MAC DOES NOT Work [editline]11th September 2011[/editline] [QUOTE=mr.wolf;32231644]I can make it so instead of uploading a file, you can specify a link to a URL. Would that work? So it would still be listed as Artist - Song - Genre - Time on the songlist, but would link over to the youtube video instead of the flash mp3 player. The problems with this are that you have to input all the data yourself, because I'm not going to autodetect it, you might get ads depending on the youtube clip, and that you'd still have to add it to the database before it can be used. Want me to do it?[/QUOTE] You dont get ads with JWPlayer. (not the video ones)
  • Avatar of mr.wolf
  • [QUOTE=camcole1;32245379]MAC DOES NOT Work[/QUOTE] CAN YOU BE MORE SPECIFIC
  • Well... Mac users cannot open the menu at all. Key binds don't work for WolfDJ on mac. If anyone has a mac, try it. does not work. and i don't know if this is true, but some people said they could not hear the music either.
  • There is times when a client doesn't hear the music. But if you skip song, they can hear the new song
  • Avatar of mr.wolf
  • [QUOTE=camcole1;32250871]Well... Mac users cannot open the menu at all. Key binds don't work for WolfDJ on mac. If anyone has a mac, try it. does not work. and i don't know if this is true, but some people said they could not hear the music either.[/QUOTE] Does it work if you rebind the key to a different key? [editline]12th September 2011[/editline] [QUOTE=camcole1;32253947]the play sample does not work like it did when first released[/QUOTE] Yes it does?
  • Actually, i think with the "new" update that garry released a while ago for the broken gmod broke some keybinds, you can still open the in game team menu from f1 and f2 but others do not work, even on other servers that use wolfdj too.