******* Streamer v1.2 -
Nightmare[TR] - 20.08.2012
******* Streamer
Hi,i've fixed usrb1n's include,and i'm sharing with you.
Thanks to usrb1n for idea,but i didn't used anything from usrb1n.
I tried to make it with pawn,but i can't.So,i used php,your way goes like this; You->My Site(Adds JSON and crops link)->download link.
So,you're passing thru my site,if you want php page,just send me a pm.
Thanks to
erorcun for php.
Usage:
pawn Code:
*******StreamForPlayer(playerid,"http://www.youtube.com/watch?v=My0HQ0QkGLQ"); // Starts the music for player
*******StreamForAll("http://www.youtube.com/watch?v=My0HQ0QkGLQ"); // Starts the music for all
*******StopStreamForPlayer(playerid); // Stops the music for player
*******StopStreamForAll(); // Stops the music for all
--Updated,functions changed for personal or anyone choosing.
http://pastebin.com/wjqNhsX7
PHP Side:
http://pastebin.com/8KszzYGm
Re: ******* Streamer -
Kaperstone - 20.08.2012
The include isn't made by you.
Code:
******* Stream Function By Snakeman
Re: ******* Streamer -
Nightmare[TR] - 20.08.2012
Quote:
Originally Posted by xkirill
The include isn't made by you.
Code:
******* Stream Function By Snakeman
|
Who's then?
Re: ******* Streamer -
Edvin - 20.08.2012
Hmm, I think your release don't crash on linux like usrb1n's?
If don't crash on linux ... great release !
Re: ******* Streamer v1.2 -
Nightmare[TR] - 20.08.2012
Quote:
Originally Posted by Edvin
Hmm, I think your release don't crash on linux like usrb1n's?
If don't crash on linux ... great release ! 
|
Well,i didn't tested on linux.But in windows,works perfect
Re: ******* Streamer -
Kaperstone - 20.08.2012
Quote:
Originally Posted by Nightmare[TR]
Who's then?
|
Guess.
Hint,i "quoted" him in code box.
AW: ******* Streamer - Timmeyable - 20.08.2012
First of all thank you for this release

But i have a problem. How to use? I just copyed the code from Pastebin and compiled this to .inc?
Is this right?
Re: AW: ******* Streamer -
MarkoN - 20.08.2012
Quote:
Originally Posted by Timmeyable
First of all thank you for this release 
But i have a problem. How to use? I just copyed the code from Pastebin and compiled this to .inc?
Is this right?
|
Include it in your gamemode then add somewhere (under a cmd , public , etc.) like this *******StreamForPlayer(playerid,"http://www.youtube.com/watch?v=My0HQ0QkGLQ"); // Just a sample
and it plays ( i think ) ...
eh , this could be done in a fs or in the gamemode, it has 30 lines so i wouldnt include this...
Re: AW: ******* Streamer -
ddnbb - 20.08.2012
Quote:
Originally Posted by Timmeyable
First of all thank you for this release 
But i have a problem. How to use? I just copyed the code from Pastebin and compiled this to .inc?
Is this right?
|
No, you just save normal text .inc file, and put it in pwano/includes
and add in your GM #include <includefilenamehere>
AW: ******* Streamer - Timmeyable - 20.08.2012
Ahh, thank you ddnbb.
But the stream doesnt work. I am to stupid xD
The server says: "Audio stream:
http://element-samp.net/*******.php?videoid=5yv3y65QEdQ"
but i cant here something. Whats wrong?
Re: ******* Streamer - HuSs3n - 20.08.2012
Nightmare[TR] it would be nice if you could share the "*******.php" file ,or send me it in pm
thanks
Re: ******* Streamer -
Nightmare[TR] - 20.08.2012
Quote:
Originally Posted by xkirill
Guess.
Hint,i "quoted" him in code box.
|
Snakeman aka Nightmare
Quote:
Originally Posted by HuSs3n
Nightmare[TR] it would be nice if you could share the "*******.php" file ,or send me it in pm
thanks
|
That's it bro;
http://pastebin.com/8KszzYGm
Quote:
Originally Posted by Timmeyable
|
Nothing is wrong there buddy,Due to right issues,******* converter can't convert video. If you try it at it's site,*******-mp3.org it says
****** Inc. doesn't want you to convert this video.
Please sign a petition to change their mind:
Support third party recording tools for *******
so,we only can wait.
Re: ******* Streamer v1.2 -
ddnbb - 22.08.2012
Quote:
Originally Posted by Nightmare[TR]
******* Streamer
Hi,i've fixed usrb1n's include,and i'm sharing with you.
Thanks to usrb1n for idea,but i didn't used anything from usrb1n.
I tried to make it with pawn,but i can't.So,i used php,your way goes like this; You->My Site(Adds JSON and crops link)->download link.
So,you're passing thru my site,if you want php page,just send me a pm.
Thanks to erorcun for php.
Usage:
pawn Код:
*******StreamForPlayer(playerid,"http://www.youtube.com/watch?v=My0HQ0QkGLQ"); // Starts the music for player *******StreamForAll("http://www.youtube.com/watch?v=My0HQ0QkGLQ"); // Starts the music for all *******StopStreamForPlayer(playerid); // Stops the music for player *******StopStreamForAll(); // Stops the music for all
--Updated,functions changed for personal or anyone choosing.
http://pastebin.com/wjqNhsX7
PHP Side: http://pastebin.com/8KszzYGm
|
It show's that its streamed but i cant hear anything?
Re: ******* Streamer v1.2 -
Nightmare[TR] - 22.08.2012
Quote:
Originally Posted by ddnbb
It show's that its streamed but i cant hear anything?
|
Some videos doesn't stream.
Nothing is wrong there buddy,Due to right issues,******* converter can't convert video. If you try it at it's site,*******-mp3.org it says
****** Inc. doesn't want you to convert this video.
Please sign a petition to change their mind:
Support third party recording tools for *******
so,we only can wait.
Re: ******* Streamer v1.2 -
ddnbb - 22.08.2012
Quote:
Originally Posted by Nightmare[TR]
Some videos doesn't stream.
Nothing is wrong there buddy,Due to right issues,******* converter can't convert video. If you try it at it's site,*******-mp3.org it says
****** Inc. doesn't want you to convert this video.
Please sign a petition to change their mind:
Support third party recording tools for *******
so,we only can wait.
|
That sucks man. Please info me when this is working again.
Re: ******* Streamer -
Ahmet37100 - 22.08.2012
Nice, Gьzelde Bu http:
// yazdıktan sonra diğerleri yeşil oluyor ?
AW: ******* Streamer -
Mellnik - 22.08.2012
Awesome
Re: ******* Streamer -
Nightmare[TR] - 22.08.2012
Quote:
Originally Posted by Ahmet37100
Nice, Gьzelde Bu http:// yazdıktan sonra diğerleri yeşil oluyor ?
|
" " tırnaklarına alman gerek.
yerine
yazacaksın.
Re: ******* Streamer -
Ahmet37100 - 23.08.2012
Tamam
Re: ******* Streamer -
Michalec - 10.04.2013
Nightmare, can you fix PHP Side ?
PHP Side returns h = PE html PUBLIC "-//W3C//DTD XHTM
I don't know why. The script worked fine, but now i get this...
//Edit. Ok. I see cURL have problem with getting content ;(
Don't know why.