Viewing 6 replies - 1 through 6 (of 6 total)
  • I found this too at first install of the plugin.

    1. Make sure you have MySQL on your server installed and create a new SAM user with read-access to your SAM database. Don’t use “root”, otherwise you’ll get an error message saying you have to create another user.

    2. In your WordPress “Settings” select the NGS SAM Integrator plugin settings and ensure your database configuration is properly defined.

    3. Add widgets to your page. They are “Recently played”, “Coming Up”, “Requests” which contains your playlist and “Top Requests” which is a list of those songs which your viewers have requested.

    4. Ensure the first page of your WordPress page is one of the pages that was automatically generated when you installed the plugin.

    These few tips should get you going. Let me know if you have any other problems. I’ll see what I can do to help.

    Dan

    Thread Starter dtechlogic

    (@dtechlogic)

    My problem is that I am lost.
    I have created an account in mysql using workbench

    Then I ping my website domain to get the ip then added to playlist request in sam. Now what about mysql ip. I am using an ip of 192.168.0.40 for the pc that has sam and mysql.

    Plugin Author Steve Williams

    (@netguysteve)

    Okay. There are actually step by step instructions on creating the mySQL user on my website. Have a look at https://www.netguysteve.com/sam-integrator/

    As for which IP addresses to enter. Assuming the most common setup of SAM and MySQL, you are running both the SAM client and MySQL on the same machine, so both IP addresses will be the same. The default port numbers in the plug-in are the same that SAM Broadcaster and MySQL use by default, so those only need to be changed if you have changed what port numbers they are running on.

    The easiest way to see what IP address to use is to go to https://www.whatismyip.com or some similar website that will display your internet IP address.

    Thread Starter dtechlogic

    (@dtechlogic)

    The ip address assign to the pc by ths router is 192.168.0.12. But the actual modem router ip is dfferent than that. Will I have to create a forwading rule to direct all request to the pc

    My SAM Broadcaster Host IP Address is my external (web) IP address.

    My SAM Database Host IP address is my internal 192.x.x.x IP address.

    On your internal address where you have SAM and MySQL installed (assuming you have both of them installed on the same server), be sure to log into your router and allow these ports:

    80 for http web traffic
    8000 for the Shoutcast DNAS server management assuming you’re using Shoutcast)
    3306 for MySQL
    1221 for requests if you are going to be accepting requests

    If you’ve done that correctly, go to https://localhost:8000 (or https://192.x.x.x:8000, the IP address of your internal sever), and you should see a Shoutcast DNAS management page. Here, click the Create Authhash link to generate your server key and it will be written to your sc_serv.conf file. This is the only way you will be able to broadcst to services like shoutcast.com and audiorealm.com, and to make your site available on the Internet.

    Dan

    Plugin Author Steve Williams

    (@netguysteve)

    Some routers will automatically create the port forwarding rule for you. If your router does not do this, then yes, creating a port forward rule in your router will ensure it goes to the proper IP address.

    Any 192.168.x.x address is an internal network address (as is any 10.x.x.x or 172.16-32.x.x address) and would be meaningless outside of your own network.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Unable to Integrate’ is closed to new replies.