Raised This Month: $12 Target: $400
 3% 

Jukebox for Source - Streaming Music System v0.5.5.0 Beta


Post New Thread Reply   
 
Thread Tools Display Modes
SirLamer
Senior Member
Join Date: Oct 2008
Old 02-15-2010 , 02:04   Re: Jukebox for Source - Streaming Music System
Reply With Quote #351

You're welcome. The next update is focused on improving administrative features, so you should like it too.
__________________
Visit TEAM CHEESUS, a TF2 community with our own brand of injected shenanigans, for added flavor.

Plugins: Jukebox for Source
SirLamer is offline
captainAngry
Member
Join Date: Feb 2009
Old 02-16-2010 , 09:31   Re: Jukebox for Source - Streaming Music System
Reply With Quote #352

Just getting around to upgrading from 5.3.0 to 5.3.2. I noticed in the 5.3.0 to 5.3.1 upgrade the included jukebox.cfg is missing a jb_db_conn_name variable.
captainAngry is offline
rtil
Member
Join Date: Dec 2009
Old 02-16-2010 , 11:49   Re: Jukebox for Source - Streaming Music System
Reply With Quote #353

Quote:
Originally Posted by captainAngry View Post
Just getting around to upgrading from 5.3.0 to 5.3.2. I noticed in the 5.3.0 to 5.3.1 upgrade the included jukebox.cfg is missing a jb_db_conn_name variable.
if you read the changelog you'll find that jb_db_conn_name is no longer used as from this version forward it will only look for the array named "jukebox".
rtil is offline
SirLamer
Senior Member
Join Date: Oct 2008
Old 02-16-2010 , 13:16   Re: Jukebox for Source - Streaming Music System
Reply With Quote #354

Yes, too many people were having trouble with the database connection, so I decided to more closely model what other plugins do, even though I disapprove of this method. Please also rename your jukebox database connection to "jukebox", or leave the default one as-is if that was what you are using, as default will be used if "jukebox" is missing.
__________________
Visit TEAM CHEESUS, a TF2 community with our own brand of injected shenanigans, for added flavor.

Plugins: Jukebox for Source
SirLamer is offline
Zergling89
Member
Join Date: Dec 2009
Old 02-16-2010 , 13:57   Re: Jukebox for Source - Streaming Music System
Reply With Quote #355

Someone can make a video with the pluging?
Zergling89 is offline
kenkadensetsu
Junior Member
Join Date: Feb 2010
Location: Korea
Old 02-16-2010 , 14:08   Re: Jukebox for Source - Streaming Music System
Reply With Quote #356

this is really good addon.

I installed this plug-in on my website and my game server (not TF2;; it's L4D2)

I uploaded music.

It can play the music in my website.

but I can't play the music in the game...

!jb, then the menu screen appears with a list of songs uploaded.

I can not be heard after Select the queue menu

My Console has not any Error..

What's wrong?

I write short clumsy English. I'm sorry

Last edited by kenkadensetsu; 02-16-2010 at 14:13.
kenkadensetsu is offline
SirLamer
Senior Member
Join Date: Oct 2008
Old 02-16-2010 , 15:31   Re: Jukebox for Source - Streaming Music System
Reply With Quote #357

Quote:
Originally Posted by Zergling89 View Post
Someone can make a video with the pluging?
I'm going to produce some screenshots and a video after the next release, as it makes the admin interface look a little bit nicer.

Quote:
Originally Posted by kenkadensetsu View Post
this is really good addon.

I installed this plug-in on my website and my game server (not TF2;; it's L4D2)

I uploaded music.

It can play the music in my website.

but I can't play the music in the game...

!jb, then the menu screen appears with a list of songs uploaded.

I can not be heard after Select the queue menu

My Console has not any Error..

What's wrong?

I write short clumsy English. I'm sorry
Please review your SourceMod error log in addons/sourcemod/logs. Jukebox has very thorough error logging but it is output to the error log in order to avoid a server spam issue.

If there are no errors, and especially if Jukebox appears to believe you are listening to music, then there's probably something wrong with the script URL being fed to the clients. I have done a very poor job of helping people set up the jb_base_url value. Right now it has to end with a slash or else it won't work. Also just double-check the jb_base_url and jb_leech_pass values to make sure they are correct and free of typos. I need to make this part of the setup process easier, which I will work on for the next release.
__________________
Visit TEAM CHEESUS, a TF2 community with our own brand of injected shenanigans, for added flavor.

Plugins: Jukebox for Source
SirLamer is offline
kenkadensetsu
Junior Member
Join Date: Feb 2010
Location: Korea
Old 02-16-2010 , 22:33   Re: Jukebox for Source - Streaming Music System
Reply With Quote #358

Thanks for your help SirLamer

But I think my settings are correct.

I can't listen only in the game.

My settings are here

-databases.cfg-
Quote:
"Databases"
{
"driver_default" "mysql"

"default"
{
"driver" "mysql"
"host" "localhost"
"database" "jukebox"
"user" "root"
"pass" "my password"
//"timeout" "0"
"port" "3306"
}

"storage-local"
{
"driver" "mysql"
"database" "jukebox"
}
"clientprefs"
{
"driver" "mysql"
"host" "localhost"
"database" "jukebox"
"user" "root"
"pass" "my password"
//"timeout" "0"
"port" "3306"

}
}
-jukebox.cfg-
Quote:
// This file was auto-generated by SourceMod (v1.2.3)
// ConVars for plugin "jukebox.smx"

//The number of seconds after first spawning to display the Jukebox advertisement, or set to 0 to not display the advertisement.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "300.000000"
jb_advertisement 0.0
// URL path to Jukebox's base folder.
// -
// Default: ""
jb_base_url "http://kenka.webkebi.co.kr/jukebox"
// SQL Database name for the Options database.
// -
// Default: "jb_options"
jb_db_options "jb_options"
// SQL Database name for the Playlists database.
// -
// Default: "jb_stream_tracks"
jb_db_playlists "jb_stream_tracks"
// SQL Database name for the Streams database.
// -
// Default: "jb_streams"
jb_db_streams "jb_streams"
// SQL database name for the Tracks database.
// -
// Default: "jb_tracks"
jb_db_tracks "jb_tracks"
// Set to 0 to disable Jukebox, 1 to enable Jukebox for all users, 2 to reserve Jukebox operations for admins.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "2.000000"
jb_enabled "1"
// Anti-leech password used to timestamp produced URLs. Must match the leech password specified on the web server.
// -
// Default: ""
jb_leech_password "my password"
// The number of times the user must cancel a play-to-all song to be automatically reminded and invited to adjust personal playback
settings. Set to 0 to disable.
// -
// Default: "3"
// Minimum: "0.000000"
jb_monitor_jboff_use "3"
// When enabled, users will be reconnected to their music stream after being interrupted by an HTML-based Message of the Day display.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
jb_motd_restart "0"
// Default setting for if clients should comply with 'play all' command.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
jb_playall_default "1"
// When enabled, connecting new players will be merged into the latest active play-to-all stream.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
jb_playall_on_connect "1"
// The interval time between popularity decay events, in seconds
// -
// Default: "86400"
// Minimum: "60.000000"
jb_popularity_decay_interval "86400"
// Percentage rate of decay of popularity scores per interval time
// -
// Default: "5"
// Minimum: "0.000000"
// Maximum: "100.000000"
jb_popularity_decay_rate "5"
// Default setting for automatic music queuing.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
jb_queue_default "0"
// Default playback volume for new users
// -
// Default: "80"
// Minimum: "1.000000"
// Maximum: "100.000000"
jb_volume_default "80"
// Volume boost for 'loud' playback
// -
// Default: "20"
// Minimum: "0.000000"
// Maximum: "50.000000"
jb_volume_loud "20"
// Minimum permitted volume setting, as a percentage of maximum volume.
// -
// Default: "10"
// Minimum: "0.000000"
// Maximum: "100.000000"
jb_volume_min "10"
// Volume reduction for 'soft' playback
// -
// Default: "-20"
// Minimum: "-50.000000"
// Maximum: "0.000000"
jb_volume_soft "-20"
-settings.php-
Quote:
<?php
// General settings
// Your website's or group's name, which will appear in the browser's title
$site_name = 'kenka.webkebi.co.kr';
// The encryption key used for leech protection. This value must be the same as the encryption key provided to the Jukebox server script. It is highly recommended that you change this value from the default.
$leech_pass = 'my password';

// MySQL connection credentials
// The host name. Often this should be "localhost"
$dbhost = 'localhost';
// The login user name. If you are renting a game server, this is usually provided to you.
$dbuser = 'root';
// The login password. If you are renting, this may be the same as your FTP password.
$dbpass = 'my password';
// The database name for your database. If you are renting, this is usually provided to you.
$database = 'jukebox';

// Remote file server:
// Enable/disable the remote file service with TRUE or FALSE
$remote_server_on = FALSE;
// The file server URL used for HTTP access to the file server
$file_server_url = '';
// FTP address to use for remote management of the file server
$ftp_host = '';
// Login name for remote file server FTP access
$ftp_user = '';
// Password for remote file server FTP access
$ftp_pass = '';
// Port for remote file server FTP access - typically, the default port is 21
$ftp_port = 21;
// Path of the Jukebox file server relative to the FTP root folder. Clear or comment out this parameter if using a dedicated FTP account that directs to the root folder already. A dedicated FTP account is recommended to protect the rest of your website from damage by unknown script errors.
$ftp_subfolder = 'tracks/';

//Table names - if you have a reason to change the table names in your database, then update the value(s) below.
$audio_tables = array(
"tracks" => 'jb_tracks',
"streams" => 'jb_streams',
"playlists" => 'jb_stream_tracks',
"users" => 'jb_users'
);

// The number of layers of subfolders in the md5-based storage structure for MP3 tracks.
// IMPORTANT: Do not change this value after uploading tracks to the database. If you think you are going to develop a collection of 20,000+ tracks, you might want to add a level or two, but if you don't then everything should still work fine.
$folder_depth = 2
?>
-constants.php-
Quote:
<?
/**
* Constants.php
*
* This file is intended to group all constants to
* make it easier for the site administrator to tweak
* the login script.
*
* Written by: Jpmaster77 a.k.a. The Grandmaster of C++ (GMC)
* Last Updated: August 19, 2004
*/
/**
* Database Constants - these constants are required
* in order for there to be a successful connection
* to the MySQL database. Make sure the information is
* correct.
*/
define("DB_SERVER", "localhost");
define("DB_USER", "root");
define("DB_PASS", "my password");
define("DB_NAME", "jukebox");
/**
* Database Table Constants - these constants
* hold the names of all the database tables used
* in the script.
*/
define("TBL_USERS", "jb_users");
define("TBL_ACTIVE_USERS", "jb_active_users");
define("TBL_ACTIVE_GUESTS", "jb_active_guests");
define("TBL_BANNED_USERS", "jb_banned_users");
/**
* Special Names and Level Constants - the admin
* page will only be accessible to the user with
* the admin name and also to those users at the
* admin user level. Feel free to change the names
* and level constants as you see fit, you may
* also add additional level specifications.
* Levels must be digits between 0-9.
*/
define("ADMIN_NAME", "Admin");
define("GUEST_NAME", "Guest");
define("ADMIN_LEVEL", 9);
define("UPLOAD_LEVEL", 5);
define("USER_LEVEL", 1);
define("GUEST_LEVEL", 0);
/**
* This boolean constant controls whether or
* not the script keeps track of active users
* and active guests who are visiting the site.
*/
define("TRACK_VISITORS", true);
/**
* Timeout Constants - these constants refer to
* the maximum amount of time (in minutes) after
* their last page fresh that a user and guest
* are still considered active visitors.
*/
define("USER_TIMEOUT", 10);
define("GUEST_TIMEOUT", 5);
/**
* Cookie Constants - these are the parameters
* to the setcookie function call, change them
* if necessary to fit your website. If you need
* help, visit www.php.net for more info.
* <http://www.php.net/manual/en/function.setcookie.php>
*/
define("COOKIE_EXPIRE", 60*60*24*100); //100 days by default
define("COOKIE_PATH", "/"); //Avaible in whole domain
/**
* Email Constants - these specify what goes in
* the from field in the emails that the script
* sends to users, and whether to send a
* welcome email to newly registered users.
*/
define("EMAIL_FROM_NAME", "KenkaDensetsu");
define("EMAIL_FROM_ADDR", "[email protected]");
define("EMAIL_WELCOME", false);
/**
* This constant forces all users to have
* lowercase usernames, capital letters are
* converted automatically.
*/
define("ALL_LOWERCASE", false);
?>
-errors_log-
Quote:
L 02/17/2010 - 02:47:28: SourceMod error session started
L 02/17/2010 - 02:47:28: Info (map "c1m2_streets") (file "errors_20100217.log")
L 02/17/2010 - 02:47:28: [SM] Plugin encountered error 14: Divide by zero
L 02/17/2010 - 02:47:28: [SM] Displaying call stack trace for plugin "l4d2_commonautodif.smx":
L 02/17/2010 - 02:47:28: [SM] [0] Line 230, /home/groups/alliedmodders/forums/files/6/8/7/3/2/58628.attach::czautodif()
L 02/17/2010 - 02:47:28: [SM] [1] Line 143, /home/groups/alliedmodders/forums/files/6/8/7/3/2/58628.attach::czbotcount_EnableDisable()
L 02/17/2010 - 02:48:45: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
L 02/17/2010 - 02:48:45: [SM] Displaying call stack trace for plugin "jukebox.smx":
L 02/17/2010 - 02:48:45: [SM] [0] Line 1888, W:\server script\sourcemod123\scripting\jukebox.sp::Que ry_MainMenu2()
L 02/17/2010 - 02:526: Error log file session closed.
-server shutdown and reconnect-
L 02/17/2010 - 03:09:03: SourceMod error session started
L 02/17/2010 - 03:09:03: Info (map "c1m2_streets") (file "errors_20100217.log")
L 02/17/2010 - 03:09:03: [SM] Plugin encountered error 14: Divide by zero
L 02/17/2010 - 03:09:03: [SM] Displaying call stack trace for plugin "l4d2_commonautodif.smx":
L 02/17/2010 - 03:09:03: [SM] [0] Line 230, /home/groups/alliedmodders/forums/files/6/8/7/3/2/58628.attach::czautodif()
L 02/17/2010 - 03:09:03: [SM] [1] Line 143, /home/groups/alliedmodders/forums/files/6/8/7/3/2/58628.attach::czbotcount_EnableDisable()
L 02/17/2010 - 03:10:56: Error log file session closed.
This is not an error message every time out.
Is shown to me sometimes.

Last edited by kenkadensetsu; 02-16-2010 at 23:05.
kenkadensetsu is offline
SirLamer
Senior Member
Join Date: Oct 2008
Old 02-17-2010 , 02:15   Re: Jukebox for Source - Streaming Music System
Reply With Quote #359

As I said, jb_base_url needs a slash at the end.
__________________
Visit TEAM CHEESUS, a TF2 community with our own brand of injected shenanigans, for added flavor.

Plugins: Jukebox for Source
SirLamer is offline
kenkadensetsu
Junior Member
Join Date: Feb 2010
Location: Korea
Old 02-17-2010 , 05:47   Re: Jukebox for Source - Streaming Music System
Reply With Quote #360

Quote:
Originally Posted by SirLamer View Post
As I said, jb_base_url needs a slash at the end.
Everytime Thanks for your help SirLamer

yes. I Fixed it. but it is still the same symptoms..

Quote:
// Default: ""
jb_base_url "http://kenka.webkebi.co.kr/jukebox/"
kenkadensetsu is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode