Old 2nd February 2015, 03:47   #1
designworks
Junior Member
 
Join Date: Jan 2015
Posts: 10
Thanks DrO,

Sorry for the late response. This had to be put on the backburner for a bit.

This is the output from sc_serv.exe -v.
code:
SHOUTcast DNAS/win32 v2.4.2.167 (Oct 30 2014) libcurl/7.38.0 OpenSSL/1.0.1j zlib/1.2.8 expat/2.1.0


I have just done some more testing and fiddling and it looks like it might just be a problem with the second station I was trying to relay. The error shown in the admin GUI is 471
Quote:
Invalid stream type (could be a bad bitrate or mime type)
This is the error shown on the command line
code:
2015-02-02 15:37:32 ERROR [YP] Stream #2 connection attempt failed. YP2 error code is 471 [Invalid stream type]
2015-02-02 15:37:32 ERROR [YP] Bitrate should be numeric



I have added a 3rd station and it seems to be working fine along side the 1st and 2nd. I have also stumbled across how to get to the additional stream in the web GUI. By modifying the "sid" value in the URL.

The codec the station I am having issues with, is using OGG Vorbis and the other two that are working are using HE-AAC. To the best of your knowledge, is there anything I can do to get it working? It 'listens' fine. I just have issues relaying it.

Thanks for all your help DrO. And apologies for my noobness.

Cheers!
designworks is offline   Reply With Quote
Old 2nd February 2015, 12:26   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
Quote:
Originally Posted by designworks View Post
The codec the station I am having issues with, is using OGG Vorbis and the other two that are working are using HE-AAC. To the best of your knowledge, is there anything I can do to get it working? It 'listens' fine. I just have issues relaying it.
that is the reason why, only MP3 and AAC streams are supported on the DNAS (1.x or 2.x) and anything in an OGG container is not going to properly work (as playback / relaying doesn't detect title changes correctly nor does it provide the required starting header for such streams to play correctly in the listener software.

all i can do is just add a few checks to prevent against trying to listing an OGG based stream.

and the bitrate issue is because the Icecast server is providing it as "Quality 0" which is not at all what is expected i.e. it's not just a numeric value so that's why the bitrate aspect also fails as it's not relevant to what the DNAS is needing to use for the formats it supports.
DrO is offline   Reply With Quote
Old 2nd February 2015, 20:11   #3
designworks
Junior Member
 
Join Date: Jan 2015
Posts: 10
OK cool. I really appreciate your help DrO.

You make it sound like you are the only dev on this project?? Is that true? A check for listening to OGG streams sounds like a great idea.

On a slightly off-topic but related note, is there a way to customise the index page that shows me all the streams I am relaying, so that instead of saying "stream 1, stream 2..." etc. it shows the name I specified in the the "streampath_X" settings?
It would make it a lot more user friendly.

Thanks again.
designworks is offline   Reply With Quote
Old 2nd February 2015, 20:26   #4
DrO
 
Join Date: Sep 2003
Posts: 27,873
Quote:
Originally Posted by designworks View Post
On a slightly off-topic but related note, is there a way to customise the index page that shows me all the streams I am relaying, so that instead of saying "stream 1, stream 2..." etc. it shows the name I specified in the the "streampath_X" settings?
there isn't a way to change it, though wouldn't showing the stream name and stream format be better than the stream path ? especially as i've seen some really bad streampath entries and that would make it a bit more like the server admin page and easier to pick a stream by it's format.
DrO is offline   Reply With Quote
Old 2nd February 2015, 20:45   #5
designworks
Junior Member
 
Join Date: Jan 2015
Posts: 10
yeah, that's much better. I was just starting small and simple in the hope that it might seem super easy and get implemented quicker.

What you suggested sounds much better but also (to the uninitiated) much harder.

Actually, thats already done on the Admin status page. Would it be as simple as just copy some of the code from the admin status page over to the index.html?
designworks is offline   Reply With Quote
Old 2nd February 2015, 21:08   #6
DrO
 
Join Date: Sep 2003
Posts: 27,873
Quote:
Originally Posted by designworks View Post
Would it be as simple as just copy some of the code from the admin status page over to the index.html?
pretty much as per the screenshot taken from working code...
Attached Thumbnails
Click image for larger version

Name:	dnas_summary_page.png
Views:	414
Size:	14.2 KB
ID:	51664  
DrO is offline   Reply With Quote
Old 2nd February 2015, 21:09   #7
designworks
Junior Member
 
Join Date: Jan 2015
Posts: 10
YES! Amazing!

(I think I might be buying you some beers!)
designworks is offline   Reply With Quote
Old 2nd February 2015, 21:30   #8
designworks
Junior Member
 
Join Date: Jan 2015
Posts: 10
Quote:
Originally Posted by DrO View Post
pretty much as per the screenshot taken from working code...
Oh wait, are you saying its already working that way? And I just need to update?
designworks is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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