1. Post #1
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    [release]
    [h2]WolfDJ 4.0[/h2]


    Features

    * Players can choose from a list of songs to stream while playing on the server.
    * Administrators can stream a song to all players
    * Players may choose to ignore server-wide songs
    * Volume control for songs playing
    * Server-side song queue is preserved through map changes
    * Nomination system to allow non-admins to vote on songs to stream to all players. (optional)
    * Easy to use web interface allows server owners to add and delete songs. Changes take effect immediately.
    * Installs in just a few minutes
    * Password protected web-interface
    * Players playing songs locally can enable Radio Mode to play a new song after the current song finishes
    * Quicksearch allows players to easily find a song they want to play
    * Easy to customize options including keybinds, sources, nomination limits, and more

    Changes From 3.0
    * Easier to set up, easier to use web code
    * Local song queue for players
    * Enhanced client-side radio mode
    * Fully functional server-side radio mode
    * Genre support
    * Full SQLite and MySQL support
    * JWPlayer to allow for some extra features.

    SVN Download
    http://release.wolfcode.net/wolfdj4

    Special Thanks
    Props to Skapocalypse for his original gStream which both inspired me to get this started, and served as the basis for version 1.
    JumpLoader is used for the file uploads. http://jumploader.com/

    Importing from previous versions
    Open the import.php file in your browser (there is no link, manually type it in).
    The instructions should be pretty straightforward.

    Screenshots



    Installation Guide and Demo
    You also need to chmod 755 or higher on the following directories: /tmp, /media/music, /css/compressed, /js/compressed
    Pardon the quality, youtube raped the video =/

    [/release]
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Lua King Lua King x 11Winner Winner x 2Optimistic Optimistic x 1 (list)

  2. Post #2
    Gold Member

    June 2009
    343 Posts
    Nice!

    Not sure if you covered it in the video yet, still watching, but is there an easy way to transfer data from the previous sqlite db, to a new mysql db?

  3. Post #3
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Good point, I kinda forgot about that. I will make an import script tomorrow.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Friendly Friendly x 1 (list)

  4. Post #4
    Gold Member

    June 2009
    343 Posts
    Awesome, thanks. :)

  5. Post #5

    August 2011
    2 Posts
    [ Umm?? Why my browser doesn't show anything? ]

    Forgive me . I didn't watched the video.

  6. Post #6
    Gold Member
    Gfoose's Avatar
    July 2011
    631 Posts
    I'm disappointed that you're using the same website style as luabazar, now its not unique anymore :(
    Reply With Quote Edit / Delete Reply Windows 7 Australia Show Events Agree Agree x 1Disagree Disagree x 1 (list)

  7. Post #7

    August 2011
    2 Posts
    It shows me some errors with PHP syntax... maybe

    [ PHP Notice in C:\Server\AIO\htdocs\wolfdj\verification.php on line 60:
    Undefined index: playtime_string ]

    How can I do with it ?

  8. Post #8
    cyw960517's Avatar
    May 2011
    281 Posts
    Really nice. Especially the gui.

  9. Post #9
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    It shows me some errors with PHP syntax... maybe

    [ PHP Notice in C:\Server\AIO\htdocs\wolfdj\verification.php on line 60:
    Undefined index: playtime_string ]

    How can I do with it ?
    It's not a valid mp3, so the getid3 library can't get the length of the song. You can just ignore it, but usually if the getid3 lib can't parse it, then the flash player can't play it.

    Edited:

    I'm disappointed that you're using the same website style as luabazar, now its not unique anymore :(
    Eh, I already had the theme and it looks decent, so I kept it.

  10. Post #10

    August 2011
    10 Posts
    Don't know if its just me, but I copied all the contents from the web_code folder into a folder called wolfdj on my web server and when I went to the web address where its installed (http://mysite.com/wolfdj) I never got the page saying "Installation Complete" it just directed me straight to http://mysite.com/wolfdj/login.php and did not provide me with a username and password.

    I tried logging in with admin / wolfdj but that did not work, did I do something wrong?

  11. Post #11
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    It only shows the login information the very first time you open it. It should show you the login page with the login information at the top. If you're using SQLite, delete the wolfdj.db file in the db directory and refresh the page. If you're using MySQL, delete the tables and refresh the page.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Informative Informative x 1 (list)

  12. Post #12

    August 2011
    10 Posts
    Thanks mr.wolf now working :)

  13. Post #13
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    Does it still depend on Apache functions?

  14. Post #14
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Does it still depend on Apache functions?
    "Apache Functions" being...?

    If you mean does it use htaccess for authentication, then no.

  15. Post #15
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    If you mean does it use htaccess for authentication, then no.
    i love you
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Winner Winner x 1Friendly Friendly x 1 (list)

  16. Post #16
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    I added the file import script. Open import.php ( no link, manually type it in ), and it should guide you through the import. I also changed up the file listing to allow people who own a song to edit it.

  17. Post #17

    July 2011
    580 Posts
    i am getting the
    Fatal Error: Class 'DBCException' not found in /home/coloredm/public_html/gmodmusic/lib/modules/dbc_engines/mysql.php on line 44
    error

  18. Post #18
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    well, that's bad on two levels. I forgot to take out the references to custom exceptions, and you're getting an exception =P

    I took them out now, so update and try again.

  19. Post #19

    July 2011
    580 Posts
    May i ask how to update, just redownload or is there a special way with svn that can update?
    btw i am running on a mac and ftp. soo.... no exe

  20. Post #20
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    No idea. I use tortoisesvn for windows and command line for linux, so I just use the update command. You can just download the files from the link and replace them though.

  21. Post #21
    Gold Member

    June 2009
    343 Posts
    When trying to access the web interface with mysql selected in the config file, I get:
    Fatal Error: Class 'DBCException' not found in C:\Inetpub\wwwroot\wolfdj4\lib\modules\dbc_engines \mysql.php on line 44

    No tables seem to be created in my db, either.

    EDIT: I should really refresh the page before posting.
    Reply With Quote Edit / Delete Reply Windows 7 United Kingdom Show Events Funny Funny x 1Late Late x 1 (list)

  22. Post #22

    July 2011
    580 Posts
    When trying to access the web interface with mysql selected in the config file, I get:
    Fatal Error: Class 'DBCException' not found in C:\Inetpub\wwwroot\wolfdj4\lib\modules\dbc_engines \mysql.php on line 44

    No tables seem to be created in my db, either.

    EDIT: I should really refresh the page before posting.
    LOL

  23. Post #23
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Disclaimer: I haven't tested the MySQL connection, so it's possible something broke in the abstraction. Let me know and I'll fix it.

  24. Post #24
    peopleofgaming.com
    erie1555's Avatar
    January 2009
    1,087 Posts
    Getting this error, messed something up so I re-installed and this happened.

    Uncaught Exception in /home/ig/public_html/music2/lib/modules/dbc_engines/sqlite.php:44
    no such table: wolfdj_users
    Stack trace:
    #0 /home/ig/public_html/music2/lib/classes/dbc.php(51): kernel_dbc_sqlite->query(string, string)
    #1 /home/ig/public_html/music2/lib/classes/user.php(29): kernel_dbc->__call(array, array)
    #2 /home/ig/public_html/music2/lib/classes/user.php(29): kernel_dbc->query(string, array)
    #3 /home/ig/public_html/music2/lib/classes/kernel.php(48): kernel_user->__construct(string, string)
    #4 /home/ig/public_html/music2/lib/init.php(58): kernel->load_classes()
    #5 /home/ig/public_html/music2/index.php(20): require_once(string)
    #6 {main}

  25. Post #25
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    It's trying to verify you as logged in when you deleted the database. Log out and it will go away.

    Protip: Log out before you delete the database.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Friendly Friendly x 1 (list)

  26. Post #26

    July 2011
    580 Posts
    Can you make a changelog?
    Or at least .x

    Edited:

    i am getting the same error as erie.
    i never logged in. i just updated like you said after the other error.
    I will try a new database

    Edited:

    actually, you never gave us any tables to import. so it cannot read them because they have not been made.

  27. Post #27
    Gold Member

    June 2009
    343 Posts
    I couldn't get MySQL to work to be honest. I even manually created the tables, and got the same error:

    Uncaught Exception in C:\Inetpub\wwwroot\wolfdj4\lib\modules\dbc_engines \mysql.php:44
    Table 'web.information_schema.tables' doesn't exist
    Stack trace:
    #0 C:\Inetpub\wwwroot\wolfdj4\lib\modules\dbc_engines \mysql.php(117): kernel_dbc_mysql->query(array)
    #1 C:\Inetpub\wwwroot\wolfdj4\lib\modules\dbc_engines \mysql.php(191): kernel_dbc_mysql->num_rows(string, string)
    #2 (): kernel_dbc_mysql->table_exists(string)
    #3 C:\Inetpub\wwwroot\wolfdj4\lib\classes\dbc.php(51) : call_user_func_array(array, array)
    #4 (): kernel_dbc->__call(string, array)
    #5 C:\Inetpub\wwwroot\wolfdj4\lib\init.php(65): kernel_dbc->table_exists(string)
    #6 C:\Inetpub\wwwroot\wolfdj4\index.php(20): require_once(string)
    #7 {main}

  28. Post #28

    July 2011
    580 Posts
    wait.... why am i trying to use mysql. is it better or somthing?

    Edited:

    i wonder if you are refreshing to see if someone said something

  29. Post #29
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Can you make a changelog?
    Or at least .x

    Edited:

    i am getting the same error as erie.
    i never logged in. i just updated like you said after the other error.
    I will try a new database

    Edited:

    actually, you never gave us any tables to import. so it cannot read them because they have not been made.
    It's an SVN... The changes are in the SVN log.
    The tables are made when it detects that the tables don't exist.

    Edited:

    I couldn't get MySQL to work to be honest. I even manually created the tables, and got the same error:

    -Stack Trace-
    Updated the table_exists method for mysql, it should work now.

    Edited:

    wait.... why am i trying to use mysql. is it better or somthing?

    Edited:

    i wonder if you are refreshing to see if someone said something
    I don't know, why are you? Some people prefer it, so I added native support.

    I was, and then I went to get dinner.

  30. Post #30

    July 2011
    580 Posts
    I am using mysql and no images are loading. the css is messed up

  31. Post #31
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Added you on steam, accept it.

  32. Post #32
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    You made a wonderful addon <3 :buddy:
    Reply With Quote Edit / Delete Reply Linux United States Show Events Friendly Friendly x 1 (list)

  33. Post #33
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    I am using mysql and no images are loading. the css is messed up
    Talked about this on steam, and his host doesn't allow the AddType directive. Delete the .htaccess file in /css/ and the problem is fixed. This kills styles on IE9 though.

    Edited:

    You made a wonderful addon <3 :buddy:
    Thank You.

  34. Post #34
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    Hi while I am here can you add a pubic uploader (toggleable by setting?) that allows viewers to upload MP3s that need to be verified by an admin?

    Edited:

    And like, it logs + displays their IP in the pending page. That would be so amazing, I really don't want to make another =(

  35. Post #35
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    I'll work on it tomorrow.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Friendly Friendly x 1 (list)

  36. Post #36

    July 2011
    580 Posts
    Can you tell us what files are updated in your updates?
    I have customized settings

  37. Post #37
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Can you tell us what files are updated in your updates?
    I have customized settings
    Can you use the SVN archive? That's one of the main reasons I use SVN. You can see exactly what I changed, and what I said I changed for each revision since I originally put it up.

  38. Post #38

    July 2011
    580 Posts
    Uncaught Exception in /home/coloredm/public_html/gmodmusic/lib/modules/dbc_engines/mysql.php:44
    Duplicate entry '0' for key 'PRIMARY'
    Stack trace:
    #0 /home/coloredm/public_html/gmodmusic/lib/classes/dbc.php(51): kernel_dbc_mysql->query(string, string, string, string, string, string, string, string)
    #1 /home/coloredm/public_html/gmodmusic/process.php(65): kernel_dbc->__call(array, array)
    #2 /home/coloredm/public_html/gmodmusic/process.php(65): kernel_dbc->query(string, array)
    #3 {main}

  39. Post #39
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Can you include a little context when you post error please?

    That tells me you tired to insert a song with an ID of 0 twice. Don't do that....

  40. Post #40

    July 2011
    580 Posts
    i am trying to upload songs
    the title is Call It What You Want by Foster The People
    and in the verification i click the button.
    and the error comes up