GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Start your own radio station with commercials. ( ez tutorial ) (https://gfy.com/showthread.php?t=750372)

SmokeyTheBear 07-10-2007 09:54 PM

Start your own radio station with commercials. ( ez tutorial )
 
Make a folder on your domain , lets call it "radio"

so path should look like www.yoursite.com/radio/

now inside that folder make 2 folders . one called "mp3" and another called "ads"
example
www.yoursite.com/radio/mp3/
www.yoursite.com/radio/ads/

place your songs in folder mp3 and ads in folder ads

save the following as index.php and place it in the "radio" folder

example
www.yoursite.com/radio/index.php

Code:

<?php
set_time_limit(0);
header("ICY 200 OK");
header("icy-notice1: <BR>This stream requires <a href=http://www.winamp.com/>Winamp</a><BR>");
header("icy-notice2: <BR>YEA! <a href=http://www.winamp.com/>Winamp</a><BR>");
header("icy-name: Radio station title");
header("icy-genre: reggae");
header("icy-url: http://www.yoursite.com");


$songs=array();
$mp3 = opendir("mp3/");
while($song = readdir($mp3)){if($song!=".." and $song!="."){$songs[]=$song;}}
$nextad=0;

while(0 != count($songs)){

if($nextad==3){getad();$nextad=0;}

$value=rand(0, count($songs)-1);
$song=$songs[$value];
foreach($songs as $line){if($line!=$song){$songs2[]=$line;}}
$songs=$songs2;
$songs2="";

$fd=fopen("mp3/".$song, "r");
$nullbytes=fgets($fd, 2048);

while(!feof($fd)){echo(fgets($fd, 8912));}
    fclose($fd);
$nextad++;
}


function getad(){
$mp3 = opendir("ads/");
while($ad = readdir($mp3)){if($ad!=".." and $ad!="."){$ads[]=$ad;}}
$fd=fopen("ads/".$ads[rand(0, count($ads)-1)], "r");
$nullbytes=fgets($fd, 2048);
while(!feof($fd)){
$data=fgets($fd, 1024);
echo($data);
flush();
}
fclose($fd);
}
?>

last step is to save the following as ".htaccess" in the "radio" foler
example
www.yoursite.com/radio/.htaccess

Code:

RewriteEngine on
 RewriteRule ^(.*)\.pls index.php [nc]

your radio station url will now be
example
www.yoursite.com/radio/anything.pls

will play in a variety of music players

Aussie Rebel 07-10-2007 09:57 PM

That sounds pretty cool

»Rob Content« 07-10-2007 10:00 PM

Quote:

Originally Posted by Aussie Rebel (Post 12736908)
That sounds pretty cool

I miss you, get online fucko

Aussie Rebel 07-10-2007 10:02 PM

Quote:

Originally Posted by VG.Content (Post 12736916)
I miss you, get online fucko

Been online for days, hitting you up now

Yngwie 07-10-2007 10:05 PM

you do realize that you have to PAY for playing music, right? There are fees to pay.

truebluetalent 07-10-2007 10:10 PM

very cool- thanks for the post :thumbsup

CyberHustler 07-10-2007 10:25 PM

This would be great on one of my sites, thanks. Is there a way to add weight to certain commercials, like make some commercials play more often than others?

LiveDose 07-10-2007 10:39 PM

Interesting thread.

Thanks.

Bro Media - BANNED FOR LIFE 07-10-2007 11:02 PM

Quote:

Originally Posted by Yngwie (Post 12736925)
you do realize that you have to PAY for playing music, right? There are fees to pay.

you do realize that you can get ROYALTY FREE music, and there are some artist that don't REQUIRE you to PAY THEM... or you can make your OWN music, right?

Yngwie 07-10-2007 11:22 PM

Quote:

Originally Posted by Madrox (Post 12737090)
you do realize that you can get ROYALTY FREE music, and there are some artist that don't REQUIRE you to PAY THEM... or you can make your OWN music, right?

obviously, but if you don't got that route you will have fees to pay. That's all I'm saying.

Pleasurepays 07-11-2007 12:09 AM

Quote:

Originally Posted by Yngwie (Post 12737170)
obviously, but if you don't got that route you will have fees to pay. That's all I'm saying.

so to clarify... you are saying that you have to pay for music... with the exception of the music you don't have to pay for.

that helps.

i've never seen that business model fully explained before.

fluffygrrl 07-11-2007 12:16 AM

interesting

SmokeyTheBear 07-11-2007 01:27 AM

Quote:

Originally Posted by Yngwie (Post 12736925)
you do realize that you have to PAY for playing music, right? There are fees to pay.

no you dont.. dunno what "fee's" you are referring to or what country would require someone to pay fee's to play music i think what you meant to say was IF you play music that requires fee's to be paid then you have to pay them..

but that goes without saying doesn't it ?:winkwink:

SmokeyTheBear 07-11-2007 01:48 AM

whoops i forgot one important step

make a file called radio.m3u and save the following inside it

Code:

#EXTM3U
#EXTINF:-1,We Control The Internet Now WWW.WCTIN.COM
http://yoursite.com/radio/index.php

then you can simply call your radio station as a link and it will open the radio station in winamp or whatever media player you have

heres an example radio station i created from the tutorial above

http://wctin.com/radio/radios.m3u

Tempest 07-11-2007 01:55 AM

Well actually... You have to pay royalties... for example...

The major note of contention stems from an annual $500 per channel minimum royalty payment set to go into effect next month and retroactively bill Web sites millions of dollars for the previous year.

http://www.savenetradio.org/

SmokeyTheBear 07-11-2007 02:06 AM

Quote:

Originally Posted by Tempest (Post 12737614)
Well actually... You have to pay royalties... for example...

The major note of contention stems from an annual $500 per channel minimum royalty payment set to go into effect next month and retroactively bill Web sites millions of dollars for the previous year.

http://www.savenetradio.org/

who would i pay royalty fee's too ? myself ?

Tempest 07-11-2007 02:11 AM

Quote:

Originally Posted by SmokeyTheBear (Post 12737637)
who would i pay royalty fee's too ? myself ?

Hell if I know.. All I do know is that a lot of the net radio stations had a "day of silence" last month to protest these increased fees they have to pay.. I'm just pointing out that anyone that thinks they're just going to throw a net radio station up without any issues had better look into it first.

KILL_FRENZY 07-11-2007 02:12 AM

Great info :thumbsup

ServerGenius 07-11-2007 02:21 AM

You have to pay royalties to your national organisation that collects royalties
for artists and producers. In my country they are called BUMA/STEMRA BUMA
is the part that collects STEMRA is the part where artists and producers deposit
their rights.

Think of these as the IRS they're nasty to deal with and it ain't cheap.
pandora had to stop broadcasting outside the US because of this. You even
pay royalties on blank writable media like cdroms, cassettes, mini disks etc, etc.

In Holland to play radio/tv in your house every dutch person pays a yearly
fee. Now if you play the same radio in your shop or even workshop then
you have to pay like 3000 euros per year extra. Coz then you're playing
music in an public accessible environment. All places where music is played
in public pay these fees. So yes unless you play music that's excempt of
copyrights you'd have to pay royalties....and you better pay them upfront
coz when they come knocking on your door you better be prepared for a
rough ride.....

Oh and b.t.w. you also pay royalties when buying music from the store.
That fee however covers ONLY when you play the music in your private
and non pubic domain.

SmokeyTheBear 07-11-2007 02:24 AM

Quote:

Originally Posted by ServerGenius (Post 12737673)
You have to pay royalties to your national organisation that collects royalties
for artists and producers. In my country they are called BUMA/STEMRA BUMA
is the part that collects STEMRA is the part where artists and producers deposit
their rights.

Think of these as the IRS they're nasty to deal with and it ain't cheap.
pandora had to stop broadcasting outside the US because of this. You even
pay royalties on blank writable media like cdroms, cassettes, mini disks etc, etc.

In Holland to play radio/tv in your house every dutch person pays a yearly
fee. Now if you play the same radio in your shop or even workshop then
you have to pay like 3000 euros per year extra. Coz then you're playing
music in an public accessible environment. All places where music is played
in public pay these fees. So yes unless you play music that's excempt of
copyrights you'd have to pay royalties....and you better pay them upfront
coz when they come knocking on your door you better be prepared for a
rough ride.....

Oh and b.t.w. you also pay royalties when buying music from the store.
That fee however covers ONLY when you play the music in your private
and non pubic domain.

i fail to see how they would make me pay to play my own music..

SmokeyTheBear 07-11-2007 02:28 AM

Quote:

Originally Posted by Tempest (Post 12737649)
Hell if I know.. All I do know is that a lot of the net radio stations had a "day of silence" last month to protest these increased fees they have to pay.. I'm just pointing out that anyone that thinks they're just going to throw a net radio station up without any issues had better look into it first.

thats for playing copyright music :thumbsup

TeenCat 07-11-2007 04:15 AM

those fees are so funny, in our country you pay for every song you played to organisation named osa. i am friend with many bands and they never saw any penny from their production. all those fees are going to fat fuckers and to old saturated singers and bands from the past. its the most fucked up thing in our fucked up country ... :2 cents: my dream is legal radio station, but if i have to pay for playing independent music and some fat bitches will get the money, thats not the best view for future! :( fuck of osa! and sorry for off topic, i just had to say this for me very very important shit ...

bonkerz2007 07-11-2007 05:15 AM

bookmark bump

ServerGenius 07-11-2007 07:57 AM

Quote:

Originally Posted by SmokeyTheBear (Post 12737683)
i fail to see how they would make me pay to play my own music..

You don't have to pay EXTRA for playing your own music for yourself....you DO
have to pay playing the music you own that can be listened by OTHERS that's
what they make you pay for.....I wish I was wrong but trust I'm not:winkwink:

ServerGenius 07-11-2007 07:59 AM

Quote:

Originally Posted by SmokeyTheBear (Post 12737690)
thats for playing copyright music :thumbsup

Yes this is for copyrighted music only of course....anything you played on the
piano yourself and recorded it is excempt of course....UNLESS you play
songs that copyrighted.....then you still have to pay.

TheJimmy 07-11-2007 09:26 AM

SmokeyTheBear is the r0x :thumbsup man

Dusen 07-11-2007 10:06 AM

How did this turn into a copyright debate thread?

When someone posts a free TGP script, there aren't heated discussions about what (and what isn't) legal to post.

We all have to respect copyright laws or face consequences, no matter the media format. I think that goes unsaid.

Great script, thanks Smokey.

ServerGenius 07-11-2007 10:10 AM

It's not a debate about copyrights...just mentioning it so people don't get
burned by it. And yes it's a great script and I sure appreciate Smokey's efforts
for doing stuff like this....:thumbsup

SmokeyTheBear 07-11-2007 11:16 AM

Quote:

Originally Posted by Dusen (Post 12739696)
How did this turn into a copyright debate thread?

When someone posts a free TGP script, there aren't heated discussions about what (and what isn't) legal to post.

We all have to respect copyright laws or face consequences, no matter the media format. I think that goes unsaid.

Great script, thanks Smokey.

:thumbsup
yup , theres plenty of royalty free music or your own creations you can play.

I'm no music expert but i have created some awesome techno tracks i made myself and i think they could be utilized.

Theres also many other areas you can monetize with this idea than just copyright music..

Quote:

Originally Posted by ServerGenius (Post 12739707)
It's not a debate about copyrights...just mentioning it so people don't get
burned by it. And yes it's a great script and I sure appreciate Smokey's efforts
for doing stuff like this....:thumbsup

:thumbsup

MissMina 07-11-2007 12:26 PM

Thanks you're the best. Always contributing.

Bro Media - BANNED FOR LIFE 07-11-2007 01:06 PM

Quote:

Originally Posted by SmokeyTheBear (Post 12740112)
i have created some awesome techno tracks i made myself

what did you use to make those?

Barefootsies 07-11-2007 01:12 PM

Quote:

Originally Posted by Tempest (Post 12737614)
Well actually... You have to pay royalties... for example...

The major note of contention stems from an annual $500 per channel minimum royalty payment set to go into effect next month and retroactively bill Web sites millions of dollars for the previous year.

http://www.savenetradio.org/

:Oh crap

stickyfingerz 07-11-2007 01:31 PM

So its ok to rip off music artists? Its a method that allows piracy just the same as torrents. If I use that where do I pay my royalties to? And you cant say "well you just dont use copyrighted music..." That dont fly.

bDok 07-11-2007 01:35 PM

good little tut. respect.

Bro Media - BANNED FOR LIFE 07-11-2007 03:49 PM

Quote:

Originally Posted by stickyfingerz (Post 12740923)
So its ok to rip off music artists? Its a method that allows piracy just the same as torrents. If I use that where do I pay my royalties to? And you cant say "well you just dont use copyrighted music..." That dont fly.

dont assume everyones gonna use this stuff for piracy... maybe jace is gonna use it, hes a DJ, he has his own music, i have friends who make their own music, maybe they wanna make a radio station with their shit on it...

dont assume shit, you make an ass out of you and me*




* heh i always wanted to say that!

SmokeyTheBear 07-11-2007 07:46 PM

Quote:

Originally Posted by stickyfingerz (Post 12740923)
So its ok to rip off music artists?

who said that , of course its not , i expect the average person doesn't need me to explain how the law works..

Quote:

Originally Posted by stickyfingerz (Post 12740923)
Its a method that allows piracy just the same as torrents.

wtf are you blabbering on about , how does it "allow" piracy ? there are no uploads involved , you control the content.

Quote:

Originally Posted by stickyfingerz (Post 12740923)

If I use that where do I pay my royalties to?

i'm not your fucking teacher. go do some fucking research...

Quote:

Originally Posted by stickyfingerz (Post 12740923)

And you cant say "well you just dont use copyrighted music..." That dont fly.

why because you dont understand the concept. ? is it hard to figure out.. ?

do you need someone to tell you that you have to pay for things at the store ?

use common sense.

stickyfingerz 07-11-2007 07:57 PM

Quote:

Originally Posted by SmokeyTheBear (Post 12743137)
who said that , of course its not , i expect the average person doesn't need me to explain how the law works..



wtf are you blabbering on about , how does it "allow" piracy ? there are no uploads involved , you control the content.



i'm not your fucking teacher. go do some fucking research...



why because you dont understand the concept. ? is it hard to figure out.. ?

do you need someone to tell you that you have to pay for things at the store ?

use common sense.

Im VERY familiar with music copyright laws, and how royalties work. Ive been a member of BMI since 1999. You are supporting a system that bypasses the royalty system that is setup.

Im guessing no one will mind until a dating website advertises next to one of your radio doohickeys.. :1orglaugh

Spunky 07-11-2007 07:59 PM

Quote:

Originally Posted by SmokeyTheBear (Post 12737637)
who would i pay royalty fee's too ? myself ?

You should always pay yourself first :pimp Interesting tutorial

CyberHustler 07-11-2007 09:59 PM

Quote:

Originally Posted by Cyber-Hu$tler (Post 12736979)
This would be great on one of my sites, thanks. Is there a way to add weight to certain commercials, like make some commercials play more often than others?

........???

SmokeyTheBear 07-11-2007 11:59 PM

Quote:

Originally Posted by stickyfingerz (Post 12743185)
You are supporting a system that bypasses the royalty system that is setup.

:1orglaugh thats the most retarted statement i have heard.

Do you have a computer ? then you are supporting child porn .. why because its possible you could use it to transfer child porn.. thus anyone who sells computers are only doing so to bypass a royalty system ..



what an idiotic assumption..

You have just won the "stupidest gfy member of the month " .


I sure hope you don't actually believe the drivel your spewing.. get a life , read the thread , and stop acting like a moron.. :2 cents:

nobody even insinuated this be used to play copyright music ..

If you asked me i would say " no idiot , you cant break the law , i shouldn't have to tell you that you should already KNOW it "

SmokeyTheBear 07-12-2007 12:02 AM

just to clarify incase anyone is as stupid as sticky..

no you cant break the law ..

Hopefully everyone should already know this but incase you were born yesterday ..

yumma 07-12-2007 02:50 AM

great solution! thanx!

minniesoporno 07-12-2007 04:07 PM

Well my frineds is in a band and I suggesting they get thier own website created, I saw this thread and thought it would be great for them to add in thier own radio station playing thier own created music and thier own commercials of buying thier music.

they are completely non-adult and non-porn related. but I can't really send them this link to thread with the tutorial on it because well they don't know I work in porn.

So I am wondering how could I get this tutorial without sending them this link,

Bro Media - BANNED FOR LIFE 07-12-2007 04:15 PM

Quote:

Originally Posted by minniesoporno (Post 12748561)
Well my frineds is in a band and I suggesting they get thier own website created, I saw this thread and thought it would be great for them to add in thier own radio station playing thier own created music and thier own commercials of buying thier music.

they are completely non-adult and non-porn related. but I can't really send them this link to thread with the tutorial on it because well they don't know I work in porn.

So I am wondering how could I get this tutorial without sending them this link,

http://www.luc1fer.com/article/4/sta...ials.html#more

there ya go

D-man 07-12-2007 04:19 PM

I cut my 24-7 music off almost a year ago because of the crap you have to do just to report what you play - just like a teresteral radio stations - no big deal but they wanted huge lic fee's and i said yuck foo -

as for playing other kinds of content ie: non copywritten stuff yeah you can but why waste the bw on crap no ones gonna listen too - we only do talk shows now and thats the way it will stay for now! :2 cents:

CyberHustler 07-24-2007 04:03 PM

would this burn a shit load of bandwidth?

SmokeyTheBear 07-24-2007 04:09 PM

Quote:

Originally Posted by Cyber-Hu$tler (Post 12810908)
would this burn a shit load of bandwidth?

yes.. i could be wrong but lets say for example you have 4 songs playing. if the user listens to them over and over 50 times its like they download 200 songs from you. if they simply downloaded the mp3's they would only need to do it 4 times and have them forever.

but hey bandwidth is pretty cheap nowadays too.

this would be great for like a 1 hour show every week.. or inside a members area "wankin tunes" or a talk radio station.

geeknik 07-24-2007 04:11 PM

Quote:

Originally Posted by Cyber-Hu$tler (Post 12810908)
would this burn a shit load of bandwidth?

Depends on how your MP3s are encoded I guess. 128 kbps per person listening at the bare minimum all the way up to 320 kbps per person listening.

Blue Player 07-24-2007 04:40 PM

Can I use this but with videos? I want to put up all my trailers from my tours and hlaf a trailer plays I give an advert for the site?

Thanks

Star 69 07-24-2007 05:18 PM

WOW, that is really interesting thread!


All times are GMT -7. The time now is 11:56 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123