Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Senior Member Aesculus's Avatar
    Join Date
    Jan 2008
    Posts
    261

    Cannot Enable my Plugin

    I cannot get my plugin enabled on 7.4.x. It worked fine on 7.3

    First off it does not show up in the list of 3rd party plugings carried over from the 7.3 list but I can fix that I think by updating the list of repo files on the web page.

    My biggest concern is that even when I enter the repo file mannually it seems to accept the file on a restart of the server. Then I selected to enable the plugin in the list of inactive plugins and restarted the server.

    Now my plugin has not been listed in the active plugin list and has dissapeared from the inactive plugins. At the bottom of the plugins page there is a list with my plugin name "Denon AVP/AVR Control" and a table below that is empty with columns labeled:

    Enable Name: Description Author

    There are no entries in the server log stating that there are problems when the server starts.

    Here is my repo:
    Code:
    <?xml version="1.0"?>
    <extensions>
    	<details>
    		<title lang="EN">Denon AVP/AVR Control</title> 
    	</details>
    	<plugins>
    		<plugin name="DenonAvpControl" version="1.3" minTarget="7.0" maxTarget="7.*">
    			<title lang="EN">Denon AVP/AVR Control</title>
    			<desc lang="EN">This plugin will control a network ready Denon AVP/AVR from the SqueezeCenter or Squeezebox.  The plugin will turn the Denon device on/off, adjust and synchronize the volumes.</desc>
    			<url>http://denonavpcontrol.googlecode.com/files/DenonAvpControl_1_3.zip</url>
    			<link>http://code.google.com/p/denonavpcontrol/</link>
    			<creator>Chris Couper</creator>
    			<email>ccouper@fastkat.com</email>
    			<sha>bffef7fe8da22c93f23cefcafdfa407fdcb76b68</sha>
    		</plugin>
    	</plugins>
    </extensions>
    Chris

  2. #2
    Senior Member
    Join Date
    Apr 2005
    Posts
    6,979

    Cannot Enable my Plugin

    Can you restart the server manually with --debug server.plugins and see what
    debug messages show regarding your plugin (if any)

    > I cannot get my plugin enabled on 7.4.x. It worked fine on 7.3
    >
    > First off it does not show up in the list of 3rd party plugings carried
    > over from the 7.3 list but I can fix that I think by updating the list
    > of repo files on the web page.
    >
    > My biggest concern is that even when I enter the repo file mannually it
    > seems to accept the file on a restart of the server. Then I selected to
    > enable the plugin in the list of inactive plugins and restarted the
    > server.
    >
    > Now my plugin has not been listed in the active plugin list and has
    > dissapeared from the inactive plugins. At the bottom of the plugins
    > page there is a list with my plugin name "Denon AVP/AVR Control" and a
    > table below that is empty with columns labeled:
    >
    > Enable Name: Description Author
    >
    > There are no entries in the server log stating that there are problems
    > when the server starts.



  3. #3
    Senior Member Aesculus's Avatar
    Join Date
    Jan 2008
    Posts
    261
    Quote Originally Posted by Triode View Post
    Can you restart the server manually with --debug server.plugins and see what
    debug messages show regarding your plugin (if any)
    I enabled server logging for plugins. Before I list all the entries with AVP I should state that every time I seem to restart the server and look in the plugin page my plugin seems to move around. Sometimes its not listed at all, sometimes its listed in the inactive plugins and sometimes the table is empty and sometimes the table has info in it.

    If the plugin shows up in the inactive and I enable it, then when the web page is refreshed indicating I need to restart the server, my plugin has disappeared from the inactive plug in list (note this is before restarting the server and after doing the apply).

    I am also using QNAP NAS and so I have to restart the server with SSOTS and cannot restart it from the SBS web settings GUI but I don't think that should be an issue.

    List of entries in the sever log with my plug in name in most recent order:

    0233: [09-10-24 09:35:20.5053] Slim::Utils::PluginDownloader::_downloadDone (200) digest matches - scheduling DenonAvpControl for install on restart
    0232: [09-10-24 09:35:20.4943] Slim::Utils::PluginDownloader::_downloadDone (176) downloaded DenonAvpControl to /opt/ssods4/var/home/SqueezeboxServer/Cache/DownloadedPlugins/DenonAvpControl.zip
    0231: [09-10-24 09:35:18.3916] Slim::Utils::PluginDownloader::install (159) install - downloading DenonAvpControl from http://denonavpcontrol.googlecode.co...ontrol_1_3.zip
    0161: [09-10-24 09:30:07.0031] Slim::Utils::PluginManager::load (209) Skipping plugin: DenonAvpControl - disabled
    0128: [09-10-24 09:29:56.1125] Slim::Utils::PluginManager::_parseInstallManifest (706) DenonAvpControl [Plugins:enonAvpControl::Plugin] INSTALLERROR_SUCCESS
    0079: [09-10-24 09:29:52.1441] Slim::Utils::PluginDownloader::extract (124) extracted DenonAvpControl to /opt/ssods4/var/home/SqueezeboxServer/Cache/InstalledPlugins/Plugins/DenonAvpControl
    0078: [09-10-24 09:29:50.8335] Slim::Utils::PluginDownloader::extract (89) removing existing /opt/ssods4/var/home/SqueezeboxServer/Cache/InstalledPlugins/Plugins/DenonAvpControl

    0036: [09-10-24 09:29:50.4332] Slim::Utils::PluginManager::_loadPluginCache (541) DenonAvpControl
    Chris

  4. #4
    Senior Member
    Join Date
    Apr 2005
    Posts
    6,979

    Cannot Enable my Plugin

    Does your install.xml file set the defaultState to disabled - I'm not sure
    this works for downloaded plugins. Try it with it set to "enabled".

    > 0161: [09-10-24 09:30:07.0031] Slim::Utils::PluginManager::load (209)
    > Skipping plugin: DenonAvpControl - disabled



  5. #5
    Senior Member Aesculus's Avatar
    Join Date
    Jan 2008
    Posts
    261
    I have been playing with this trying to get my repo and install files in synch and up to date but I think I have hosed them. I keep getting:

    0218: [09-10-25 11:57:47.9060] Slim::Utils::PluginDownloader::_downloadDone (194) digest does not match /opt/ssods4/var/home/SqueezeboxServer/Cache/DownloadedPlugins/DenonAvpControl.zip - DenonAvpControl will not be installed

    My repo is:
    Code:
    <?xml version="1.0"?>
    <extensions>
    	<plugins>
    		<plugin name="DenonAvpControl" version="1.4" minTarget="7.0" maxTarget="*">
    			<title lang="EN">Denon AVP/AVR Control</title>
    			<desc lang="EN">This plugin will control a network ready Denon AVP/AVR from the SqueezeCenter or Squeezebox.  The plugin will turn the Denon device on/off, adjust and synchronize the volumes.</desc>
    			<url>http://denonavpcontrol.googlecode.com/files/DenonAvpControl_1_4.zip</url>
    			<link>http://code.google.com/p/denonavpcontrol/</link>
    			<creator>Chris Couper</creator>
    			<email>ccouper@fastkat.com</email>
    			<sha>c21aa8514bc20b42ec3b3ce01d7991f01d03e370</sha>
    		</plugin>
    	</plugins>
    </extensions>
    And my install.xml is:
    Code:
    <?xml version="1.0"?> 
     <extension>
      	<name>PLUGIN_DENONAVPCONTROL_MODULE_NAME</name> 
      	<creator>Chris Couper</creator> 
      	<defaultState>enabled</defaultState> 
      	<description>PLUGIN_DENONAVPCONTROL_DESCRIPTION</description> 
      	<email>ccouper@fastkat.com</email> 
      	<homepageURL>http://code.google.com/p/denonavpcontrol/</homepageURL> 
      	<id>5D7FD5EB-EC04-41FA-9177-ACE35E800017</id> 
      	<module>Plugins::DenonAvpControl::Plugin</module> 
     	<targetApplication>
      		<id>SqueezeCenter</id> 
      		<maxVersion>*</maxVersion> 
      		<minVersion>7.0</minVersion> 
      	</targetApplication>
      	<type>2</type> 
      	<version>1.4</version> 
      </extension>
    Chris

  6. #6
    Senior Member
    Join Date
    Apr 2005
    Posts
    6,979

    Cannot Enable my Plugin

    > Slim::Utils::PluginDownloader::_downloadDone (194) digest does not match

    Means that the sha1 checksum does not match for your file - based on this it
    will not be installed. It should be the checksum when running sha1 on the
    whole zip file.

    ----- Original Message -----
    From: "Aesculus" <Aesculus.40o2pb1256565736 (AT) no-mx (DOT) forums.slimdevices.com>
    To: <developers (AT) lists (DOT) slimdevices.com>
    Sent: Sunday, October 25, 2009 8:11 PM
    Subject: Re: [Developers] Cannot Enable my Plugin


    >
    > I have been playing with this trying to get my repo and install files in
    > synch and up to date but I think I have hosed them. I keep getting:
    >
    > 0218: [09-10-25 11:57:47.9060]
    > Slim::Utils::PluginDownloader::_downloadDone (194) digest does not match
    > /opt/ssods4/var/home/SqueezeboxServer/Cache/DownloadedPlugins/DenonAvpControl.zip
    > - DenonAvpControl will not be installed
    >
    > My repo is:
    >
    > Code:
    > --------------------
    >
    > <?xml version="1.0"?>
    > <extensions>
    > <plugins>
    > <plugin name="DenonAvpControl" version="1.4" minTarget="7.0"
    > maxTarget="*">
    > <title lang="EN">Denon AVP/AVR Control</title>
    > <desc lang="EN">This plugin will control a network ready Denon AVP/AVR
    > from the SqueezeCenter or Squeezebox. The plugin will turn the Denon
    > device on/off, adjust and synchronize the volumes.</desc>
    >
    > <url>http://denonavpcontrol.googlecode.com/files/DenonAvpControl_1_4.zip</url>
    > <link>http://code.google.com/p/denonavpcontrol/</link>
    > <creator>Chris Couper</creator>
    > <email>ccouper (AT) fastkat (DOT) com</email>
    > <sha>c21aa8514bc20b42ec3b3ce01d7991f01d03e370</sha>
    > </plugin>
    > </plugins>
    > </extensions>
    >
    > --------------------
    >
    >
    > And my install.xml is:
    >
    > Code:
    > --------------------
    >
    > <?xml version="1.0"?>
    > <extension>
    > <name>PLUGIN_DENONAVPCONTROL_MODULE_NAME</name>
    > <creator>Chris Couper</creator>
    > <defaultState>enabled</defaultState>
    > <description>PLUGIN_DENONAVPCONTROL_DESCRIPTION</description>
    > <email>ccouper (AT) fastkat (DOT) com</email>
    > <homepageURL>http://code.google.com/p/denonavpcontrol/</homepageURL>
    > <id>5D7FD5EB-EC04-41FA-9177-ACE35E800017</id>
    > <module>Plugins:enonAvpControl::Plugin</module>
    > <targetApplication>
    > <id>SqueezeCenter</id>
    > <maxVersion>*</maxVersion>
    > <minVersion>7.0</minVersion>
    > </targetApplication>
    > <type>2</type>
    > <version>1.4</version>
    > </extension>
    >
    >
    > --------------------
    >
    >
    > --
    > Aesculus
    >
    > Chris
    > ------------------------------------------------------------------------
    > Aesculus's Profile: http://forums.slimdevices.com/member.php?userid=14876
    > View this thread: http://forums.slimdevices.com/showthread.php?t=70302
    >
    >

  7. #7
    Senior Member Aesculus's Avatar
    Join Date
    Jan 2008
    Posts
    261
    I checked the SHA1 on the repo and it matches what Google Code has for the zip file. Any other ideas?

    You can check it out here:

    http://code.google.com/p/denonavpcon...ontrol_1_4.zip
    Chris

  8. #8
    Senior Member
    Join Date
    Apr 2005
    Posts
    6,979

    Cannot Enable my Plugin

    Do you have a repo url I can try? This sha1 looks ok, so let me try
    installing it from your repo.

    ----- Original Message -----
    From: "Aesculus" <Aesculus.40q5m11256662804 (AT) no-mx (DOT) forums.slimdevices.com>
    To: <developers (AT) lists (DOT) slimdevices.com>
    Sent: Tuesday, October 27, 2009 4:59 PM
    Subject: Re: [Developers] Cannot Enable my Plugin


    >
    > I checked the SHA1 on the repo and it matches what Google Code has for
    > the zip file. Any other ideas?
    >
    > You can check it out here:
    >
    > http://code.google.com/p/denonavpcon...q=#makechanges
    >
    >
    > --
    > Aesculus
    >
    > Chris
    > ------------------------------------------------------------------------
    > Aesculus's Profile: http://forums.slimdevices.com/member.php?userid=14876
    > View this thread: http://forums.slimdevices.com/showthread.php?t=70302
    >
    >

  9. #9
    Senior Member Aesculus's Avatar
    Join Date
    Jan 2008
    Posts
    261
    Quote Originally Posted by Triode View Post
    Do you have a repo url I can try? This sha1 looks ok, so let me try
    installing it from your repo.
    http://code.google.com/p/denonavpcontrol/downloads/list
    Chris

  10. #10
    Senior Member
    Join Date
    Apr 2005
    Posts
    6,979

    Cannot Enable my Plugin

    >> Do you have a repo url I can try? This sha1 looks ok, so let me try
    >> installing it from your repo.
    >>
    >>

    > http://code.google.com/p/denonavpcontrol/downloads/list
    >


    It installed fine for me...

    [09-10-27 22:08:27.0599] Slim::Utils::PluginDownloader::_downloadDone (200)
    digest matches - scheduling DenonAvpControl for install on restart

    <restart>

    [09-10-27 22:08:34.4884] Slim::Utils::PluginDownloader::extract (124)
    extracted DenonAvpControl to
    /home/adrian/squeezecenter/7.4/trunk/server/Cache/InstalledPlugins/Plugins/DenonAvpControl

    [09-10-27 22:08:35.1933] Slim::Utils::PluginManager::_parseInstallManifest
    (706) DenonAvpControl [Plugins:enonAvpControl::Plugin]
    INSTALLERROR_SUCCESS


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •