![]() |
DNAS2.0-14 => No config file passed
Dear SHOUTcast team,
According to the recent post http://forums.winamp.com/showthread.php?t=326380&highlight=include the "include=" in sc_trans has been fixed in DNAS V2 build 14 ? But I encounter the following problem after tests... I want to change the encoder with API. For the changes to take effect i need to restart sc_trans. When I modify one parm with API (or not) and restart sc_trans with API, sc_trans.conf write the line "include=" in the config file and sc_trans fails at restart. I declare configwrite = 1 and I have no "include=" in the original sc_trans file. Secondly I included an empty include.conf (for testing) in the sc_trans.conf file : include=./include.conf When I restart sc_trans, the current config was writen into the include.conf but not into the original sc_trans.conf. More...I wrote a single line in my include.conf "xfade=2" and the result was the same, the configuration was written in the include.conf. Is this the normal behaviour ? Something wrong ? My config : Windows7 x64 - DNAS V2 build 14 - SC_TRANS 2 beta 40 log file : Warning & Error Quote:
Let me known what happen ? Many thanks |
you're getting confused as you're referring to changes in the DNAS which are not present in the Transcoder - also the posts you've linked to are over a month later than the last Transcoder build.
the Transcoder is internally fixed to not output the include= aspect and i believe the second issue you've raised is resolved as well since there were some quirks with how the transcoder tracks the config file passed to work on the last included file instead of the first file passed on the command-line. there's no eta on a new transcoder drop at the moment as i've some DNAS work which bumps Transcoder work down the list. -daz |
thk
Thanks for reply DrO ;)
When I read your reply I thought that I forgot something or doing wrong with path or sc_serv/sc_trans names (because I renamed files) or call method. I'm a newbie with shoutcast, but fortunately API's are simple to use. Everything works great except this "include=" line ! I tested for hours again and I'm really lost :( I checked the API and there's no parm for "name" just 'restart' (2.25 of API specification) because I thought I forgot it. I run sc_serv (x64) and sc_trans with the windows x64 console %windir%\SysWoW64\cmd.exe (windows7 x64) After I run sc_serv (x32) and sc_trans with the windows console cmd.exe Is this the right method ? c:/shoutcast/sc_serv sc_serv.conf c:/shoutcast/sc_trans sc_trans.conf I run the API (simple code) with no error Quote:
Did I miss something important ??? Sorry for my broken english ! Thank you for your help |
| All times are GMT. The time now is 14:45. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.