|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Feb 2011
Posts: 7
|
Native Flash Radio won't display song title and artist!
Hello there!
I'm desperately seeking for help because of a problem I can't solve at all (as I totallyt suck at scripting). Since many webradios use an embedded flash player in their websites, I chose Native Flash Radio v2 to support my station (its name is Radio Rush!, btw). Well then, I download all the stuff, set example.html so that the streaming url is "radiorush.no-ip.org:8000", and upload everything via FTP, but when i start broadcasting and reach for the page where the flash player is, it shows a blank space in the song information line! I really don't know what to do. I also created a 7.html page, following some instructions i found on the web, and uploaded it, but it didn't solve the problem. May someone help me to understand what I should fix? Here's a link where you can find a RAR file containing all the flash player files the way I set them up: http://www.megaupload.com/?d=3IB23I6Y If somebody doesn't know what Native Flash Radio v2 is, check this page out: http://blog.codingexpert.de/?p=66 (the page is in German) Thank you in advance |
|
|
|
|
|
#2 | ||
|
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
|
Quote:
Quote:
in general, the older flash players suck ass ... I'd look at smelters flash player on this forum somewhere "If you don't like DNAS, write your own damn system" So I did |
||
|
|
|
|
|
#3 | ||
|
Junior Member
Join Date: Feb 2011
Posts: 7
|
Quote:
Quote:
As far as I know, native flash radio v2 is a pretty widespread player on the web, and lots of people seems to be satisfied with it, even if now it's getting a little old. So you think i should change flash player? What about JWPlayer? I heard that one is good too, is it easy to set it in order to make it work with shoutcast? |
||
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Jan 2010
Posts: 181
|
Hi,
most flashplayers would have problems with the new Shoutcast 2 Server since some of the old info pages provided by DNAS 1.9.x ar no mor availabe at DNAS 2.x You can try this files: http://rapidshare.com/files/450404861/webplayer.rar Simply replacethe original streamtitle.php and radioinfo.php with the one from the package. If your stream is running on another stream-id then 1 you have to edit the files streamtitle.php find line code: and replace sid=1 at end of the line with your sid radioinfo.php find line code: and replace sid=1 at end of the line with your sid Thers also an file called dsl.html. This file is a player config that works on my station using DNAS 2.x Here you have to edit the following to lines: code: Replace "Your RadioStation Name here" with your Stationname code: Replace "http://your_stream_url_here:8000?sid=1" with your streamurl and the stream-id (sid=1) Hope it will help. PS: You need at least an actual php5 version with installed curl greetings Martin |
|
|
|
|
|
#5 | |
|
Junior Member
Join Date: Feb 2011
Posts: 7
|
Thanks for your help, Martin, but the title line is still blank.
Anyway, will post my rar file again, since download link is broken again: http://rapidshare.com/files/45064311...flashradio.rar Quote:
Is there something I should check in the shoutcast conf files as well, btw? Last edited by Yamagong; 2nd March 2011 at 21:55. |
|
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Feb 2011
Posts: 7
|
Hey there guys, sorry if I'm posting once again, just want to inform you about two things I noticed.
The DNAS I use is 1.9.8 version and the not the latest DNAS2 beta (guess that's why Martin's help didn't solve the problem) Also, i noticed that when I open my radio page at http://radiorush.no-ip.org:8000, the current song line is blank too!!! ![]() Furthermore, I'm using SAM for broadcasting. Might this be a problem of SAM? Last edited by Yamagong; 3rd March 2011 at 19:52. |
|
|
|
|
|
#7 | |
|
Senior Member
Join Date: Jan 2010
Posts: 181
|
Hi,
in your encoder check the "Server Detail" tab The box "Enable title streaming" have to be checked and on the line below enter Quote:
Then it should work. you need php on the server where the native player is running cause flash cant read the song infos from the stream. They use the both php scripts included in the download to extract the song and stationinfo from the shoutcast server statuspage. cheers Martin |
|
|
|
|
|
|
#8 | |
|
Junior Member
Join Date: Feb 2011
Posts: 7
|
Quote:
Btw, this didn't solve my problem with native. Also, I looked for that php file you were talking about in the serverstatus page but didn't find it anywhere. So I googled for shoutcast_class.php and downloaded a file which didn't help much. |
|
|
|
|
|
|
#9 | |
|
Senior Member
Join Date: Jan 2010
Posts: 181
|
Looks like theres some confusion about the player and the php files.
Nativ Flash Radio normaly contains these files: Quote:
crossdomain.xml, radioinfo.php, streamtitle.php, the *.swf file and the *.html file installed on your webserver. Flash is able to play a shoutcast stream but it cant extract the metadata from the stream like players like winamp, WMP, Realplayer, VLC and all others do. This is why there are 2 php files included in the package. The swf-file (the player) calls these php files from time to time and the php files return the Stationname and the interpret - songname informations to the player. Those php files extract the infos from the Shoutcast statuspage. On Shoutcast 1.9 and previous versions the statuspage was found under http://streamurl.tld:streamport/index.html. But since Shoutcast 2 supports multiple streams, identified by the streamid, the url has changed to http://streamurl.tld:streamport/index.html?sid=streamid So the original php files wont find the statuspage of a shoutcast2 server and thats why native radio dont show any informations if connected to a shoutcast 2.x server. The 2 php-files i wrote fixing these issue and make native work with a shoutcast2 server. greetz MAD |
|
|
|
|
|
|
#10 | |
|
Junior Member
Join Date: Feb 2011
Posts: 7
|
Quote:
|
|
|
|
|
|
|
#11 |
|
Senior Member
Join Date: Jan 2010
Posts: 181
|
Hi,
well if i remeber right there was one package of the native radio player where the php files was missing. Not sure about that. Even if you use a DNAS 1.9.x you need at least the files crossdomain.xml radioinfo.php streamtitle.php swfobject.js *.swf (the native player- name depends on package) and a html file calling the swfobject (see example.html) on your webspace to work properly. If you have uploaded all files to same folder and it still doesnt work its possible that php safemode is enebled on your server. This could result in blocking external url calls via fopen, fsockopen and so on. In that case you should ask your webspace hoster to disable php safemode or you have to disable it in php.ini if you hosting your page on your own server. Last thing i can offer, send me a pm with your streamurl and the downloadlink of your native flash radio player. I will download the player and test it on my System and if i would get it to work i will send you a copy of the working player. Greetz MAD |
|
|
|
|
|
#12 |
|
Junior Member
Join Date: Feb 2011
Posts: 7
|
Problem solved!
Thank you Martin, I owe you a favor. |
|
|
|
|
|
#13 |
|
Senior Member
Join Date: Jan 2010
Posts: 181
|
Good to read it now works and your wellcome
|
|
|
|
|
|
#14 | |
|
Junior Member
Join Date: Sep 2011
Posts: 1
|
hey MADxHAWK could you link the files again please as the link is dead now, cheers
![]() Quote:
|
|
|
|
|
|
|
#15 |
|
Junior Member
Join Date: Dec 2011
Posts: 2
|
Native Radio doesn't read playing info
We have a Flash Native Radio in our website. The audio is working well but the info about the songs is missing.
I don't know if MADxHAWk is still active in the forum for sending the details of our connection. We will appreciate any help with this problem Thanks in advance |
|
|
|
|
|
#16 |
|
Senior Member
Join Date: Jan 2010
Posts: 181
|
Im still active and did a reupload.
Here is the rar file containing radioinfo.php and streamtitle.php: http://uploaded.to/file/5o9vgab9 Remeber, these files are to use the native flash radioplayer with a DNAS 2.x server NOT with a DNAS 1.9.x !!!!!! - MAD |
|
|
|
|
|
#17 |
|
Junior Member
Join Date: Dec 2011
Posts: 2
|
Thank you so much and have a Happy New Year!
|
|
|
|
|
|
#18 |
|
Junior Member
Join Date: Mar 2012
Posts: 2
|
Need streamtitle and radioinfo file for ver 2.xx
hi hawk can you please upload the files for the server version 2.0 the links are dead pls.
|
|
|
|
|
|
#19 |
|
Junior Member
Join Date: Mar 2012
Posts: 2
|
server ip instead of listeners ip
Hi,
I placed the native flash radio configured for my station. player is working but no song title. When i log into shoutcast admin listener status.. i see my server ip instead of listneres ip... Has anyone know what is the issue. Please help me out in this. |
|
|
|
|
|
#20 |
|
Junior Member
Join Date: Oct 2007
Posts: 31
|
Hello,
sorry long time ago.... i have developed the new shoutcast flashradio v6. In this time is released the new native flashradio v3 This will now works with shoutcast 2.0 also works this on smartphones/smartpads and works full responsiv. SODAH | JOERG KRUEGER WEBDESIGN: Wordpress Webdesign Mainz ACCESS: ACCESS Datenbank Mainz SHOUTCAST RADIO: FREE INTERNET WEB RADIO |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|