Re: [Banshee-List] "Cannot search for CD metadata"



On Sun, May 25, 2008 at 10:23 PM, Christopher S. Jones
<chris userzero com> wrote:
> Thanks for your response.  I'm using Debian Testing.

Then your network interface is probably listed as "iface ... inet static" in
/etc/network/interfaces. In that case, NetworkManager will simply not
look at it,
hence answer "not connected" when asked for the state of network connections
(assuming it's your only interface).
Banshee asks NetworkManager this question, the code is in
src/Core/Banshee.Services/Banshee.Networking/NetworkDetect.cs, class
NetworkDetect, method Connected. AFAIK there's no way to force
the NetworkManager (as of version 0.6.6) to answer "connected",
so I see only two options:

(1) Disable NetworkManager altogether (if you don't need it for other stuff
like dial up connections or VPN setup). If Banshee can't contact
NetworkManager at all, it will assume "connected".

(2) Patch Banshee, e.g. the above method should read

        public bool Connected {
            get { return true; }
        }

Cheers, Roderich


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]