GoogleCodeArchive / musicpm

Automatically exported from code.google.com/p/musicpm
0 stars 1 forks source link

Cannot disconnect #124

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When I start the player it displays "Server not selected  not Connected" in the 
bottom right corner.
At the same time the "Manage MPM Settings" button lists "Disconnect" as an 
option, which doesn't do anything when clicked, which leaves me unable to 
reconnect to my server.
I know the server is running because other clients can connect to it using the 
same settings.

I have tried deleting the server from the list and restarting firefox - nothing 
changes. Is there a file/directory where the player keeps its memory while 
firefox restarts, which I can delete to make it forget that it was once 
connected? Or any other way to reset the player?

What version are you using? On what operating system?
Music Player Minion: 2.2.0
Firefox: 10.0.1
Music player Daemon (MPD): 0.16.2-1ubuntu1 on Ubuntu 11.10 with 3.0.0-15-server 
kernel (#26-Ubuntu SMP Fri Jan 20 19:07:39 UTC 2012 x86_64 x86_64 x86_64 
GNU/Linux)
OS: windows7 64bit

Cheers,
  Tom

Please provide any additional information below.

Original issue reported on code.google.com by thomas.g...@gmail.com on 14 Feb 2012 at 9:04

Attachments:

GoogleCodeExporter commented 9 years ago
I'm using FF 10.0.2 and get the same thing. Even though I've entered a server 
in the settings, the bottom right corner states "Server not selected  Not 
Connected", and like you I have the Disconnect option in the settings menu 
(which does nothing).

Other clients such as one on my Android phone work just fine.

I just started Minion while showing the FF Error Console. It complains about:

Warning: Timed textboxes are deprecated. Consider using type="search" instead.
File: chrome://minion/content/minion.xul
Row: 0
---
Warning: getAttributeNodeNS() is obsolete. Use getAttributeNS() instead.
File: chrome://minion/content/minion.xul
Row: 0
---
Error: [Exception... "Component returned failure code: 0x80004005 
(NS_ERROR_FAILURE) [nsIWebNavigation.sessionHistory]"  nsresult: "0x80004005 
(NS_ERROR_FAILURE)"  location: "JS frame :: 
chrome://global/content/bindings/browser.xml ::  :: line 755"  data: no]
File: chrome://global/content/bindings/browser.xml
Row: 762
---

I don't know if these have anything to do with it, but here's a snippet of 
browser.xml:
      <constructor>
        <![CDATA[
          try {
            if (!this.hasAttribute("disablehistory")) {
              var os = Components.classes["@mozilla.org/observer-service;1"]
                                 .getService(Components.interfaces.nsIObserverService);
              os.addObserver(this, "browser:purge-session-history", false);
              // wire up session history
              this.webNavigation.sessionHistory = 
                      Components.classes["@mozilla.org/browser/shistory;1"]
                                .createInstance(Components.interfaces.nsISHistory);
              // enable global history
              if (this.docShell)
                this.docShell.QueryInterface(Components.interfaces.nsIDocShellHistory).useGlobalHistory = true;
            }
          }
          catch (e) {
row 762->   Components.utils.reportError(e);
          }
          try {
            var securityUI = this.securityUI;
          }
          catch (e) {
          }

          // Listen for first load for lazy attachment to form fill controller
          this.addEventListener("pageshow", this.onPageShow, true);
          this.addEventListener("pagehide", this.onPageHide, true);
          this.addEventListener("DOMPopupBlocked", this.onPopupBlocked, true);
        ]]>
      </constructor>

Original comment by elof...@gmail.com on 29 Feb 2012 at 5:19

GoogleCodeExporter commented 9 years ago
I'm a newbie and don't understand how things work. But the patch helped me:
http://www.gargan.org/en/Mozilla_Extensions/Music_Player_Minion/

Original comment by xyen2...@gmail.com on 7 May 2012 at 9:41