bpa;131741 Wrote: 
> At last, you have found the actual problem - /dev/fd is essential to
> AlienBBC.
> 
> mplayer cannot be piped as stdout is used for messages.  The following
> fragment is the closest possible
> 
> mplayer .... -ao pcm:nowaveheader:file=/dev/fd/4 $FILE$ 4>&1
> 1>/dev/null | lame --silent .....
> 
> Stdout (fd1) is redirected to null
> PCM output is sent to fd4.
> fd4 is then redirected to stdout 
> 
> /dev/fd is the device for file descriptors and is available in most
> linux.  I don't know about synology perhaps it is a FreeBSD.
> 
> Sometimes /dev/fd is called something else - What is in /dev ?
> 
> Any idea of the distro of the OS on DS-106 ?

Hello bpa, 

i think the os is based on debian, but i don't know. I searched for fd
with find -name fd. This is the result:

/proc/self/fd/0 --> /dev/ttyp0
/proc/self/fd/1 --> /dev/ttyp0
/proc/self/fd/10 --> /dev/tty
/proc/self/fd/2 --> /dev/ttyp0

Nevertheless it is not possible to write somethig to these links.
Attached you will find the files of the /dev folder.

mr_hyde


+-------------------------------------------------------------------+
|Filename: dev.zip                                                  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=1601|
+-------------------------------------------------------------------+

-- 
mr_hyde

Mr_Hyde / Slimserver 6.3.1 / Synology Diskstation DS106
------------------------------------------------------------------------
mr_hyde's Profile: http://forums.slimdevices.com/member.php?userid=6032
View this thread: http://forums.slimdevices.com/showthread.php?t=26727

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to