Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Streaming Audio
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

OBmoderator
New Member

98 Posts

Posted - 22 October 2006 :  07:50:09  Show Profile  Reply with Quote
Streaming Audio

This is a very simple add-on to allow streaming audio to play on your forum.
now we are talking super simple here (I'm no programer) but it does what I wanted and that being playing live streaming audio from a radio station.
once implimented and configured it places a link on your forum that (when clicked) opens an audio pop-up box (complete with controls)to allow your forum members and users to listen to live streaming audio you have chosen or an MP3 file of your choice.
Short, sweet and simple
I have a working example of it for you to try.

Edited by - OBmoderator on 22 October 2006 07:51:08

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 14 November 2008 :  15:48:10  Show Profile  Reply with Quote
Has anyone ever used this? The instructions leave a bit to be desired - doesn't address adding the streaming media server, configuring it, ports, etc.

I have a streaming media server that will connect to Shoutcast, etc.; but have yet to figure out how this is supposed to connect to it.
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 15 November 2008 :  00:57:38  Show Profile  Reply with Quote
Well, I had enough of that, so I wrote a new version. If you ever wanted to host your own radio station, here's your opportunity. Three very small edits and you'll be up and broadcasting.

I added the ability to have any quantity of playlists that the computer could choose at random. Whenever "default.asp" is refreshed, the random number will change - and the next person to listen will get whichever playlist the number chose.

Get a copy at SnitzBitz.

Edited by - Carefree on 15 November 2008 05:00:08
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 15 November 2008 :  23:15:18  Show Profile  Visit Etymon's Homepage  Reply with Quote
Thanks CareFree for the contribution!
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 05 April 2015 :  13:28:19  Show Profile  Reply with Quote
This is a very old mod, but I wanted the ability to randomize songs without creating 200 million m3u files. This version requires that you have a folder titled "playlists" which is writable by IUSR. I also added the ability to separate music by genre (17 types). When you choose a new genre, the table is created for it. The benefit of this is so members can choose to listen to music by genre or by "all". The drop-down menu that will appear on "default.asp" is automatically populated by the existing music tables (one for each genre). If a table hasn't been created, it won't show up as an option.

You have two methods to add mp3s to the database.

(1) Using "admin_playlist.asp", create the necessary table by clicking the reset button. Then you must manually enter your mp3 paths.

(2) If you want to use FileSystemObject to automatically create your list from a music folder, simply enter in the folder name (the folder must exist below your forum either physically or virtually) where it says "populate from directory". You can also append to existing table by later adding another folder - simply select the radio button to ensure it doesn't restart your table.

After the mp3 paths are added, a randomized m3u file will be created and named with the member's ID for anyone who plays the radio.

Note: I made some big improvements to this yesterday, added song durations and more. Moved the configuration to the admin page, so you can set time limits/song limits/looping, all from the admin page. If you set time limit to 0, it's infinite. Any other value, the time limit will take precedence over the song quantity. Thus, if you set the time limit to 60 minutes, the program will quit adding songs to the playlist when the total duration exceeds 1 hour. If the song limit is set higher than the total song quantity in the table, the limit will be automatically decreased during the playlist creation.

Just discovered that the song length detection will not work on virtualized Windows hosts. It will still add the songs, but although the song limit still works, the time limit will not work.

Edited by - Carefree on 31 May 2015 12:18:25
Go to Top of Page

Maxime
Average Member

France
521 Posts

Posted - 31 May 2015 :  02:40:34  Show Profile  Visit Maxime's Homepage  Reply with Quote
Hello Carefree,

Streaming Audio download file does not work or is not present.
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=236

Error
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

Please try the following:

If you typed the page address in the Address bar, make sure that it is spelled correctly.
Open the www.snitzbitz.com home page, and then look for links to the information you want.
Click the Back button to try another link.

HTTP 404 - File not found
Internet Information Services

Technical Information (for support personnel)

Cordially,
Maxime

Taxation consists in so plucking the goose to get the most out of feathers with the least possible cries.(Jean-Baptiste Colbert)

Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 31 May 2015 :  04:38:13  Show Profile  Reply with Quote
I re-uploaded it.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000 Version 3.4.07