I've been tearing my hair out this evening with some thread problems
but *hopefully* looked like I solved it, I'll commit when I've got the
new features in there. Today I've been working on a higher interface
to pool commands for what can be classed as 'watchers',
Ie we want to know the latest metadata & the status of the cue button
regally, the current design on the svn creates a new thread for each
watcher. This obviously being quite wasteful on system resources if we
have 20 things watching and 20 threads.
Also the current system doesn't check if it has anything new to emit,
it just emits data no matter what. Ie If there's no changes in the
queue it still emits a signal and bothers the liststore checkers.
Anyway, such a metadata watcher could easily be put into some small
apps anyway for watching existing liq's. When I'm a bit further along
and have some free time I'll create a mini interface to watch any
liquidsoap instance.
On 25/03/2008, Romain Beauxis <[EMAIL PROTECTED]> wrote:
> Le Tuesday 25 March 2008 04:32:10 Peter Brooks, vous avez écrit :
>
> > The sample metawatcher has now got a cue/play & insert button
> > implemented, please give it a try and check the readme.
> >
> > The CUE/PLAY button won't represent the right state on start, this is
> > something to be worked on.
> > Over the next day I plan to work on sorting out catching os signals to
> > shut down the threads (instead of hanging the terminals), there also
> > exists an issue that if the ls server dies when metadata is being
> > fetched then odd thread issues start appearing.
> >
> > After these have been resolved I'll get to splitting down the
> > interface into 'true interface' and examples, then implement it within
> > rocket.
>
>
> Hey, initial tests really look interesting. I like very much the simplicity of
> the interface. Keep on the good work !
>
>
> Romain
> --
> while ( love & passion ) {
> for( fight = 0 ; rights < freedom ; rights++ )
> fight = standup( rights );
> free( babylon );
> }
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>
> _______________________________________________
> Savonet-devl mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-devl
>
--
Peter Brooks