From: Michael R. <mr...@us...> - 2007-03-28 07:10:13
|
Hi, > The #save parameter to the MRL in libxine is very cool! However, > the front-end that I am writing is trying to save the streams at > the boundaries of songs from internet radio. The only way I see how > to turn off #save after it has been turned on is to call xine_play > () on the same mrl without the #save parameter. Unfortunately, this > tries to reopen the internet stream, which introduces a delay which > is not great. Your frontend could direct the #save to a named pipe (mkfifo /tmp/ xine-save; xine some-mrl#save:/tmp/xine-save). Then your app can listen on the other end of that pipe and discard or keep the content as it pleases. Michael |