[Musicpd-dev-team] server to server connection

2009-10-24 Thread Steffen 'stefreak' Neubauer
Hello ;)

I had that idea yesterday for a server to server connection - if an mpd
server could connect to another you could distribute your music on
different computers - if you have your notebook and your pc for example
and you have music on your notebook which isn't on the pc you could
hear the music on your pc when the MPDs are connected.

This would mean that the following things have to be changed:
* the protocol
  = A server2server mode should be implemented i think, like the
  idle mode (only if you are in this mode you are able to execute
  certain commands like to initiate the stream of certain songs or so)
* the configuration file
  = an option to activate or deactivate this feature; if the streaming
  should happen outside of the normal MPD protocol there must be an
  option for the port or port range to use or something like that.
  = authentication?

I haven't read enough code of your project to know exactly where i
should begin and how the streaming should be made etc. But i have some
ideas already.

I think there are two ways to accomplish the streaming.
1. Outside of the normal MPD protocol
   pro: an existing standardized streaming protocol could be used
   con: another port has to be opened
2. Inside of the normal MPD protocol
   pro: no other port has to be opened
   con: a bit more complex to implement, i think

I personally would prefer the second way.
I could imagine that all song files are split into numerated chunks
(256KB or so) and that the other server gets those chunks with
chunk n.

I would like to try to implement that and appreciate any interest or
even help :) and critics about that concept, too, of course. Maybe it
doesn't fit into your concept or so...

What do you think about it?

Greetings,
Steffen

P.S. don't you have an irc channel?


signature.asc
Description: PGP signature
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] ncmpc locale issue?

2009-10-24 Thread Jeffrey Middleton
Yes, that was it; sorry I didn't mail back to the list about it.  I'd been
careless checking for installed packages, thought it was there, and moved
on.  Nothing to do with ncmpc!  (unless we think configure should give you a
louder warning if it's not going to be able to make umlauts)

Thanks,
Jeffrey

On Sat, Oct 24, 2009 at 6:24 PM, Fredrik Lanker fredrik.lan...@gmail.comwrote:

 On Sun, Oct 11, 2009 at 09:44:47PM +0200, Max Kellermann wrote:
  On 2009/10/11 21:12, Jeffrey Middleton jefr...@gmail.com wrote:
   On one of my systems (xubuntu 9.04) ncmpc seems to have trouble with
 unicode
   characters.  It's a plain ol' installation, no language modifications
 or
   anything, and I'm not compiling ncmpc in any special way.
  
   Without any locale environment variables set, 1/2 (to pick an arbitrary
   example) displays as M-BM-=.  Setting LC_ALL to en_US.UTF-8 doesn't
 change
   this. With LC_ALL=C, it displays as \u00bd.
 
  Debug the function utf8_to_locale() in charset.c.  Check if the value
  of charset is correct.  The rest is done by GLib.
 
  The behaviour for LC_ALL=C is perfectly ok, because the 1/2
  character does not exist in plain ASCII.
 
  Max

 Did you find a solution for this? I had the same problem and found that
 everything looked correct until the string entered ncurses. After some
 searching it turned out that ncursesw is required to be able to have
 wide character. So after rebuilding with ncursesw, everything looks
 good.

 Fredrik


 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 Musicpd-dev-team mailing list
 Musicpd-dev-team@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team