Steve Williams
Forum Replies Created
-
Forum: Plugins
In reply to: [NGS SAM Integrator] Unable to IntegrateSome 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.
Forum: Plugins
In reply to: [NGS SAM Integrator] Features RequestThat’s actually not a bug. The number you enter is actually the number of songs BEFORE the current track you want to list. To show only the current track, you should be able to use 0.
Forum: Plugins
In reply to: [NGS SAM Integrator] Number of current listeners widget?Actually, that would probably be a very effective way to grab the number of current listeners. The “history” database table stores the number of listeners at the time each song starts. Since this is actually where the information for the currently playing song is retrieved, I could grab the number of listeners at the same time. Good idea. 🙂
Forum: Plugins
In reply to: [NGS SAM Integrator] Somethings not rightYou’re probably gonna be out of luck. Blocked ports may actually only part of the problem. If you don’t have your own unique internet IP address, there are routing concerns as well. The other is that the database and SAM both need to be able to accept incoming connections. When these connection requests come in, your university’s routers won’t know to send them to your system.
Forum: Plugins
In reply to: [NGS SAM Integrator] Somethings not rightThe only way to get around it would be if you know that certain ports are not blocked. You can configure both MySQL and SAM Broadcaster to use different port numbers.
Keep in mind, if you change the port that MySQL uses, you will need to reinstall SAM Broadcaster to run the SAM Broadcaster installer again to tell SAM to use the new port number as well. You do NOT need to uninstall it first, you simply need to re-run the installer, choose custom connection details for you database, and enter the port number there.
Forum: Plugins
In reply to: [NGS SAM Integrator] Unable to IntegrateOkay. There are actually step by step instructions on creating the mySQL user on my website. Have a look at http://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 http://www.whatismyip.com or some similar website that will display your internet IP address.
Forum: Plugins
In reply to: [NGS SAM Integrator] Need a little help – unable to list any songsLooks like everything is working great. Let me know if you need any further assistance.
Forum: Plugins
In reply to: [NGS SAM Integrator] Need a little help – unable to list any songsOkay. Looking at that page, it looks like the widgets are accessing the database fine, so we can rule out anything related to connectivity between the site and the database. The widgets and page share the exact same database connection.
The only thing that pops out when I look at the site is the permalink structure. I’m not sure why it should matter, but try going into your wordpress dashboard, go into options->permalinks and choose one of the options that actually includes the post/page name in the link (“Day and Name”, “Month and Name” or “Post Name”). It may be that passing the page name as an argument in the URL rather than part of the URL is throwing something off.
Forum: Plugins
In reply to: [NGS SAM Integrator] Feature RequestHmmm…. Looking at the description of the problem, if I am understanding your posts in the thread correctly, if you manually update the duration saved in the database, it will display correctly in SAM. If that is the case, I may be able to offer a workaround for the problem using a PAL script.
It should be a matter of looking at the time a track starts playing, then looking at the time the next track starts playing. Calculate the difference, which would be the correct duration, and save that to the database.
This would, of course, not correct the duration until after the first time the track plays completely. The biggest flaw would be that it would also incorrectly update the duration tracks which you manually fade to the next song early.
If you’re interested, I can throw something together for you to try.
Forum: Plugins
In reply to: [NGS SAM Integrator] Feature RequestHmmm… Out of curiosity, do the track lengths display on the Request List page of the plugin if the track is over 2 hours? I’m curious whether the SAM bug is related to how it calculates and stores the duration or how it displays it. In any event, I just modified and tested my local development version of the plug-in, so the next update will display times as HH:MM:SS if the duration is an hour or more.
As for the difficulty of implementing a checkbox for track duration, that wouldn’t be difficult at all. Adding it to my To-Do list for the next update.
Forum: Plugins
In reply to: [NGS SAM Integrator] So how do I get the pages up? (What are the shortcodes)That’s the tab I was referring to. 🙂
Forum: Plugins
In reply to: [NGS SAM Integrator] So how do I get the pages up? (What are the shortcodes)Sorry for the confusion. The “Description” tab of the plug-in has a link to detailed installation instructions. The shortcodes are shown there, along with instructions for adding the database user for remote access to the SAM database. I will be updating the Installation tab of the plug-in info to reflect this as well. Thank you for your input.
Forum: Plugins
In reply to: [NGS SAM Integrator] Feature RequestOkay. I think I can come up with a way to implement the song info and album art. Have an “Info” button or icon next to each song. Someone clicks it, they get a page with the song details. The details page would display all the song information present in the SAM Database, with some of them able to be disabled in the configuration. Information displayed would be artist, song, album, and year of release. Optional information which could be disabled in the back end would be album art, genre, last time played, last time requested, number of requests, lyrics, record label.
Any other info that may be useful that I am not thinking of?
Forum: Reviews
In reply to: [NGS SAM Integrator] Well DesignedThere actually IS a currently playing widget. It’s part of the “Recently Played” widget. The first track is the one that is currently playing. You can make it display ONLY the current track by setting the number of additional tracks to zero.
Forum: Plugins
In reply to: [NGS SAM Integrator] So how do I get the pages up? (What are the shortcodes)The automatically generated pages are sufficient for most users. The ability to manually set the page IDs is primarily for people who want more custom control over the pages. 🙂