how to change stream URL from HOST name to IP based ??
  • Hi there  I have being trying to  change  my stream  location from http://host:8000/airtime  to ip based http://192.168.16.100:8000/airtime..   the reason i am doing this for some reason on my network the airtime  computer host name does not translate... while every thing works fine locally  on the airtime server. I can not  get the client computer to work with in the local network  with the program. I edited   icecast.xml, and airtime_api, and airtime conf to use the ip instead of host name .  some most of evertthing work fine now on  client computer. EXCEPT the problem of  " Listen"   does not work. as it  liguidsoap.cfg is auto generated .  so it still uses the host computer name instead of  the IP that i want it to use.  Ive changed it manually but that does not help, as the cfg file is load at start up and when i restart the cfg is auto generated again.. so it ends up using the host name again

    any help where I might be able to correct my problem
    thank you for your time and help

  • 4 Comments sorted by
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    I'm not really sure to understand, but

    in a terminal :

    sudo dpkg-reconfigure airtime

    you can change your host by your ip for airtime and icecast
  • Hi I sorry, if my post was confusing..
    I installed air time on a server in a  server rack.
     and wanted to use internal network  to use the web interface  to maintain airtime.. but for some reason my intranet does not translate airtime servers host name properly  .. the router  see it, work for the  network drive on the server, etc. . . , but  for airtime it does not work, nothing wants to  translates

     . : example when I press the preview button, I hear no sound on the remote client computer
    or if I press listen no sound either. if I point to the icecast  it works fine.

    so i edited  /etc/airtime/api_client.cfg and /etc/airtime/airtime.conf and changed  the host name to the ip of the server. and I also  edited  /etc/icecast2/ icecast.xml. and changed the host name to  the IP.. after that. the remote preview worked fine just not "listen"

    but I figured it out  that out too now--- it was right in front of me.. I just kept missing it. on the Airtime webpage under system/streams..   the section called server ( mine was blank from install and I never noticed it, so I guess it just defaulted to computer's host name).. I put in the IP there  now every thing works fine on the remote computer.

    I can preview and listen to the stream with out much problem,

      though I see  some music files  do not play through preview, but when they load into the play list and are currently playing on airtime  they play fine.. some sort of strange bug..

     also it will refuse to up load every  music file through the webinterface says their not music files. but if I drop them into the "watched folder" they file play fine on airtime. also a strange little bug i guess

    thank you for your help it is appreciated
    sash


    Post edited by sash krywenko at 2013-04-14 17:47:31
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    normally you can do that with my last post :-D
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Please open "System->Streams" in Airtime, and find output stream 1/2/3 to change the ip addr for "Listen".
    Cloud Radio -> http://airtime.pro