Hi!

I've found out that I can't push into queue playlist file or directory.
Actually I can but get:

2012/04/04 12:45:14 [decoder:3] Unable to decode "/path/to/file.pls" as 
{audio=2;video=0;midi=0}!

Same for directory.

I think I can add new protocols for this cases, like this:

add_protocol( 'dir',
  fun ( arg, delay ) ->
    get_process_lines('ls -1d "^quote( arg ) )
)

and then do: queue.push dir:/path/to/request/dir

Is it necessary or is there some built-in functionality for such requests?

What is the 2nd 'delay' parameter for function in add_protocol?

Thanks in advance,
Max.


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to