Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares > Mods & Themes
Reply
  #1  
Old 13th May 2011, 18:08
DARCK's Avatar
DARCK DARCK is offline
Senior Member
 
Join Date: Apr 2011
P2P
Posts: 69
Default [TSSE 5.6]player shoutcast+plugin


Click image for larger version

Name:	Capture.jpg
Views:	489
Size:	287.4 KB
ID:	2886

create the plugin

Plugin Name: player

Plugin Title: player

Plugin Content:
PHP Code:
<A HREF="#" class="Style3" onClick="window.open('play/flscplayer.php','player','toolbar=0, location=0, directories=0, status=0,  resizable=0, copyhistory=0, menuBar=0, width=590, height=490, left=0, top=0');return(false)"><img title="Ecouter" src="play/images.jpeg" alt="Ecouter" width="100%"></a

You have to modify the ip of your shoutcast

edit radio.php
PHP Code:
<?

$radio = 'yourip';
$port = '8000';
echo "radio=http://$radio:$port/;";
?>
upload play and flashplayer.swf to root/play
Attached Files
File Type: gz play.tar.gz (111.6 KB, 415 views)
File Type: gz flscplayer_2.3b.swf.tar.gz (13.3 KB, 308 views)

Last edited by Fynnon; 14th May 2011 at 15:17.
Reply With Quote
The Following 4 Users Say Thank You to DARCK For This Useful Post:
eckeO5 (18th May 2011), Fynnon (17th July 2011), Marco (23rd July 2011), peiratikos (10th November 2011)
  #2  
Old 13th May 2011, 19:51
lafouine022's Avatar
lafouine022 lafouine022 is offline
Support FR
 
Join Date: Feb 2010
P2P
Posts: 120
Thumbs up
nice d'job
Reply With Quote
  #3  
Old 14th May 2011, 09:26
smoky28's Avatar
smoky28 smoky28 is offline
Senior Member
 
Join Date: Aug 2010
Hungary
Posts: 76
Thumbs up player shoutcast+plugin
Nice mod Drack
__________________
Sky-Tech Developer Team Hungary

Reply With Quote
  #4  
Old 14th May 2011, 13:42
DARCK's Avatar
DARCK DARCK is offline
Senior Member
 
Join Date: Apr 2011
P2P
Posts: 69
Default hi
hello friends I work on it to view the picture

Click image for larger version

Name:	Capture22222.jpg
Views:	149
Size:	259.6 KB
ID:	2889

I still have to integrate the web player

the result looks like this

Click image for larger version

Name:	Captureffff.jpg
Views:	110
Size:	96.7 KB
ID:	2890
Reply With Quote
  #5  
Old 14th May 2011, 16:05
Muikku's Avatar
Muikku Muikku is offline
Senior Member
 
Join Date: Aug 2008
Posts: 68
Default
nice one! can you share this for us?

Click the image to open in full size.
Reply With Quote
  #6  
Old 14th May 2011, 17:26
DARCK's Avatar
DARCK DARCK is offline
Senior Member
 
Join Date: Apr 2011
P2P
Posts: 69
Default hi
no problem with joy
there is only the top 10 to finish
Attached Files
File Type: gz play.tar.gz (915.6 KB, 172 views)
Reply With Quote
The Following User Says Thank You to DARCK For This Useful Post:
z3ro (21st December 2012)
  #7  
Old 14th May 2011, 20:31
wMan's Avatar
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Thumbs up
Quote:
Originally Posted by DARCK View Post
hello friends I work on it to view the picture
Hi yes i would like this mod as well please and would you upload it as a zip file as the rar not any good to me as i just get a IE link

And by the way like your main tbeme which i made for a mate of mine good to see the themes are being used
Reply With Quote
  #8  
Old 15th May 2011, 14:51
DARCK's Avatar
DARCK DARCK is offline
Senior Member
 
Join Date: Apr 2011
P2P
Posts: 69
Default Updates
I add a stat and improve overall code
and add style to better edit
and also add the 10 last stream

edit globalstat.php line 50

PHP Code:
$serveur    '88.171.19.27';

$port        8000;

$adminpass    your pass
edit list.php line 35

PHP Code:
$serveur    '88.171.19.27';

$port        8000;

$adminpass    your pass
edit player.php line 18

PHP Code:
so.addVariable("mp3""http://88.171.19.27:8000/;"); 
edit pochette.php line 2

PHP Code:
$host "88.171.19.27";
$port "8000"// 8000 
edit stat.php line 2

PHP Code:
$host "88.171.19.27";
$port "8000"// 8000 
edit titre.php line 5
PHP Code:
$fp fsockopen ("88.171.19.27"8000$errno$errstr30); 
demo:
http://lateambox.dyndns.org/radiolateam/index.php
Attached Files
File Type: gz radiolateam.tar.gz (792.1 KB, 158 views)

Last edited by Fynnon; 17th July 2011 at 04:34.
Reply With Quote
The Following 2 Users Say Thank You to DARCK For This Useful Post:
Fynnon (17th July 2011), z3ro (21st December 2012)
  #9  
Old 18th May 2011, 20:29
eckeO5's Avatar
eckeO5 eckeO5 is offline
Senior Member
 
Join Date: Jan 2011
P2P
Posts: 117
Question top10.php
nice webplayer, big thx to lateam for that.
is it possible to get the top10.php somehow.
Reply With Quote
  #10  
Old 18th May 2011, 20:53
DARCK's Avatar
DARCK DARCK is offline
Senior Member
 
Join Date: Apr 2011
P2P
Posts: 69
Default hi
Quote:
Originally Posted by eckeO5 View Post
nice webplayer, big thx to lateam for that.
is it possible to get the top10.php somehow.

creat list.php


PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">

    

<head>

    


<META content=30 http-equiv=REFRESH>


    


</head>



<body>






<?php



include 'statcast.php';


$serveur    '88.171.19.27';

$port        8000;

$adminpass    your pass;





$tab_infos shoutcast_stats($serveur$port$adminpass);




    

    echo 
'';

    

    if (
$tab_infos)    // avons nous réussi à nous connecter au serveur ?

    
{

        if (
$tab_infos['http_code'] == '200')    // le serveur ne nous a-t-il pas jeté pour cause de mot de passe invalide ?

        
{

            


            if (
$tab_infos['streamstatus'])        // le serveur diffuse-t-il ?

            
{

                
/*    Il se peut que certaines informations de flux soit encore présente même si le serveur ne diffuse pas

                    mais il n'y a pas de réel interet à les afficher dans ce cas ^^

                */

                

                

            
}

            else                                
// il ne diffuse pas, montrons le  ^^

                
echo '<h3>Le serveur ne diffuse pas actuellement...</h3>';

                

            if (
array_key_exists('morceau'$tab_infos))    // pouvons nous afficher un historique des morceaux ?

            
{

                

                

                echo 
'';

                

                foreach(
$tab_infos['morceau'] as $date => $titre)

                    echo 



                            


                                    <FONT size="1pt"> <font color="white"><br />+' 
$titre '</font> </FONT>        


                                


                                    
'
;
 echo 
'


        <p class="date"><strong>Update successfull.. <br />This window will be closed automaticly in a few seconds...</strong></p>


        <script type="text/javascript">


            setInterval("window.close()",3000);


            opener.location.reload();


        </script>'
;


                

            }

            
else


      {


        
header ('Location: list.php');


      }

            

            if (
array_key_exists('auditeur'$tab_infos))    // pouvons nous afficher la liste des auditeurs ?

            
{

                echo 
'<h3>Connexions :</h3>';

                

                echo 
'<table>';

                echo 
'<tr><th>ID</th><th>Hôte</th><th>User Agent</th><th>Durée (s)</th></tr>';

                

                
/*    Dans cet exemple, la résolutions des IP en nom DNS est présente, pour plus de rapidité ou si elle est déja activé au niveau

                    du serveur ShoutCast il est conseillé de transformer : "gethostbyaddr($valeur['hote'])" en "$valeur['hote']". */

                

                
foreach($tab_infos['auditeur'] as $id => $valeur)

                    echo 
'<tr><td>' $id '</td><td>' gethostbyaddr($valeur['hote']) . '</td><td>' $valeur['useragent'] . '</td><td>' $valeur['temps'] . '</td></tr>';



                echo 
'</table>';

            }



        }

        else

            echo 
'<strong>Erreur</strong> : Le mot de passe est sans doute invalide, vérifier la variable adéquat.';

    }

    else

        echo 
'<strong>Erreur</strong> : la connexion au serveur <code>' $serveur '</code> sur le port <code>' $port '</code> à échoué... (serveur down ?)';

    

    echo 
'</div>';



    



?>



</body>

</html>
edit
PHP Code:
$serveur    'your ip shoutcast';
 
 
$port        port shoutcast;
 
 
$adminpass    your pass shoutcast
the top10.php coding in course
Reply With Quote
Reply

Tags
player , plugin , shoutcast

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 14:19. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2021, vBulletin Solutions Inc.