I've created a small script which connects to mpd and says:

'user\r\npassword\r\nlink linkname\r\nclose\r\nexit\r\n'

This should close the specified link dropping user out. The same 
commands typed through terminal really do close the specified link. But 
when I send this all through the socket I have this:

Nov 16 19:38:24 nora mpd: CONSOLE: Connect
Nov 16 19:38:24 nora mpd: CONSOLE: Allocated new console session 
0x1cb6f020 from 127.0.0.1
Nov 16 19:38:24 nora mpd: [in9] CONSOLE: root: link in4
Nov 16 19:38:24 nora mpd: [in4] CONSOLE: root: close
Nov 16 19:38:24 nora mpd: [in9] LCP: Close event
Nov 16 19:38:24 nora mpd: [in9] LCP: state change Opened --> Closing

I.e. I'm dropping just the other guy but not the one i need to.

What goes wrong? How can this be fixed? Is there 'any other way' to 
correctly drop user?

PS: mpd4 beta5, operating a bunch of pppoe connections.

-- 
Sphinx of black quartz judge my vow!

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mpd-users mailing list
Mpd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mpd-users

Reply via email to