|
|
|
|
#1 |
|
Junior Member
Join Date: Feb 2015
Posts: 7
|
How to get only stream name?
home.html?sid=Something here? |
|
|
|
|
|
#2 |
|
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
|
as it states in the DOCUMENTATION that comes with DNAS, home.html redirects to the configured stream homepage (streamurl) - so, that wont do what you want no matter what you pass to that URL
there's no URI to get "only the stream name" as far as I can see in the DOCUMENTATION that comes with DNAS, but if you read the DOCUMENTATION, you might find something I missed, because I don't have a need for that ... if the public pages are not disabled through the use of streamhidestats=all, you can use /stats?sid=# (where # is a NUMBER) to get XML info about the steam, including streamtitle (what you refer to as stream name I'm guessing) or /stats?sid=#&json=1 to get JSON version of the same data if the public pages are disabled, you need to use authentication with /admin.cgi?mode=viewjson&page=1&sid=# (for JSON version) or /admin.cgi?mode=viewxml&page=1&sid=# (for XML version) or perhaps pass password=xxx to the previous examples - I'm not 100% clear on that, I think both may be valid, but it's all in the DOCUMENTATION THAT CAME WITH DNAS - so, I'm only regurgitating what I READ in that DOCUMENTATION anyway in summary, as DrO said, "look at the documentation" - preferably read it too "If you don't like DNAS, write your own damn system" So I did |
|
|
|
|
|
#3 |
|
Join Date: Sep 2003
Posts: 27,873
|
for disabled public pages, if you provide a valid password via the 'pass' parameter then you can still access the xml and json versions (so monitoring tools can still work even if you don't want other broadcasters snooping on your stats...).
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|