Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 7 of 7

Thread: Plugin update

  1. #1
    Senior Member
    Join Date
    Mar 2014
    Posts
    191

    Plugin update

    Hi

    I just update my plugin from 1.0.0 to 1.1.0

    So I update the install.xml, zip the folder (when you open the zip it's the main folder) and update repo.xml with the new version and new sha1.

    But it doesn't work, everytime I try to install it I have :

    [17-04-05 00:18:32.7954] Slim::Plugin::Extensions::Plugin::findUpdates (307) Constellation action install version 1.1.0
    [17-04-05 00:18:32.7956] Slim::Plugin::Extensions::Settings::_addInfo (240) installing Constellation from http://erwann.laville.free.fr/Constellation.zip
    [17-04-05 00:18:32.7960] Slim::Utils::PluginDownloader::install (159) install - downloading Constellation from http://erwann.laville.free.fr/Constellation.zip
    [17-04-05 00:18:32.9458] Slim::Plugin::Extensions::Settings::__ANON__ (147) PluginDownloader is still busy - waiting a little longer...
    [17-04-05 00:18:32.9461] Slim::Plugin::xPL::Plugin::xplExecuteCallback (585) Warning: Called without a client: prefset
    [17-04-05 00:18:33.0002] Slim::Plugin::Extensions::Settings::__ANON__ (147) PluginDownloader is still busy - waiting a little longer...
    [17-04-05 00:18:34.0005] Slim::Plugin::Extensions::Settings::__ANON__ (147) PluginDownloader is still busy - waiting a little longer...
    [17-04-05 00:18:35.0004] Slim::Plugin::Extensions::Settings::__ANON__ (147) PluginDownloader is still busy - waiting a little longer...
    [17-04-05 00:18:36.0021] Slim::Plugin::Extensions::Settings::__ANON__ (147) PluginDownloader is still busy - waiting a little longer...
    [17-04-05 00:18:37.0008] Slim::Plugin::Extensions::Settings::__ANON__ (147) PluginDownloader is still busy - waiting a little longer...
    [17-04-05 00:18:38.0004] Slim::Plugin::Extensions::Settings::__ANON__ (147) PluginDownloader is still busy - waiting a little longer...
    [17-04-05 00:18:38.8338] Slim::Utils::PluginDownloader::_downloadDone (176) downloaded Constellation to C:\ProgramData\Squeezebox\Cache\DownloadedPlugins\ Constellation.zip
    [17-04-05 00:18:38.8352] Slim::Utils::PluginDownloader::_downloadDone (194) digest does not match C:\ProgramData\Squeezebox\Cache\DownloadedPlugins\ Constellation.zip - Constellation will not be installed
    This is the link to my repo :

    http://erwann.laville.free.fr/repo.xml

    If someone can help me, I don't understand what I'm doing wrong

  2. #2
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    15,146
    Quote Originally Posted by Hydro View Post
    Hi

    I just update my plugin from 1.0.0 to 1.1.0

    So I update the install.xml, zip the folder (when you open the zip it's the main folder) and update repo.xml with the new version and new sha1.

    But it doesn't work, everytime I try to install it I have :



    This is the link to my repo :

    http://erwann.laville.free.fr/repo.xml

    If someone can help me, I don't understand what I'm doing wrong
    1. You can enable logging for plugin.extensions to get more detail on the download and install process.
    2. Your install.xml LMS details (e.g min & maxversion) do not match repo.xml details - make sure there is no conflict between both xml files.

  3. #3
    Senior Member
    Join Date
    Mar 2014
    Posts
    191
    I already activate plugins.extensions.

    I try to change the minimum version into the same for repo.xml and install.xml, change the sha1 after rezip the folder, but it doesn't work same error

  4. #4
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,746

    Plugin update

    > If someone can help me, I don't understand what I'm doing wrong

    You need to add the version number to the filename, or add some other
    unique feature to it. Otherwise LMS might be downloading an old version
    from some caching proxy, or even not download it at all, because an old
    version with the same name is already on your disk.

    --

    Michael

  5. #5
    Senior Member
    Join Date
    Mar 2014
    Posts
    191
    Do you have an example ? I don't fully understand where I must put this ID.

  6. #6
    Senior Member
    Join Date
    Mar 2014
    Posts
    191
    It's now I have look into philippe44 repo and found where to add version number.

    Thank for your help

  7. #7
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,746

    Plugin update

    > It's now I have look into philippe44 repo and found where to add version
    > number.


    Yes, the new repo file looks better.

    --

    Michael

Posting Permissions

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