Plugin update

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Hydro
    Senior Member
    • Mar 2014
    • 234

    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 :



    If someone can help me, I don't understand what I'm doing wrong
  • bpa
    Senior Member
    • Oct 2005
    • 22879

    #2
    Originally posted by Hydro
    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 :



    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.

    Comment

    • Hydro
      Senior Member
      • Mar 2014
      • 234

      #3
      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

      Comment

      • mherger
        Babelfish's Best Boy
        • Apr 2005
        • 24640

        #4
        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
        Michael

        "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
        (LMS: Settings/Information)

        Comment

        • Hydro
          Senior Member
          • Mar 2014
          • 234

          #5
          Do you have an example ? I don't fully understand where I must put this ID.

          Comment

          • Hydro
            Senior Member
            • Mar 2014
            • 234

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

            Thank for your help

            Comment

            • mherger
              Babelfish's Best Boy
              • Apr 2005
              • 24640

              #7
              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
              Michael

              "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
              (LMS: Settings/Information)

              Comment

              Working...