How to force Shotwell re-read metadata from images?











up vote
3
down vote

favorite












I have some odd behavior of Shotwell: some of my ratings of a recent event photos have disappeared from the Shotwell's database.



Most of the photos that I had rated two stars are listed as not rated in Shotwell. However the file of the photo does say "rating 2", and Digikam as well confirms the rating is 2 when I reload the metadata from the photos.



Is there a way to force Shotwell to re-read the metadata from the photos and overwrite what's in the database?



Thank you!










share|improve this question


























    up vote
    3
    down vote

    favorite












    I have some odd behavior of Shotwell: some of my ratings of a recent event photos have disappeared from the Shotwell's database.



    Most of the photos that I had rated two stars are listed as not rated in Shotwell. However the file of the photo does say "rating 2", and Digikam as well confirms the rating is 2 when I reload the metadata from the photos.



    Is there a way to force Shotwell to re-read the metadata from the photos and overwrite what's in the database?



    Thank you!










    share|improve this question
























      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      I have some odd behavior of Shotwell: some of my ratings of a recent event photos have disappeared from the Shotwell's database.



      Most of the photos that I had rated two stars are listed as not rated in Shotwell. However the file of the photo does say "rating 2", and Digikam as well confirms the rating is 2 when I reload the metadata from the photos.



      Is there a way to force Shotwell to re-read the metadata from the photos and overwrite what's in the database?



      Thank you!










      share|improve this question













      I have some odd behavior of Shotwell: some of my ratings of a recent event photos have disappeared from the Shotwell's database.



      Most of the photos that I had rated two stars are listed as not rated in Shotwell. However the file of the photo does say "rating 2", and Digikam as well confirms the rating is 2 when I reload the metadata from the photos.



      Is there a way to force Shotwell to re-read the metadata from the photos and overwrite what's in the database?



      Thank you!







      shotwell metadata






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 26 '14 at 20:09









      Michele

      15317




      15317






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote













          Looks that there is no function for rebuilding database from photo files (in version 0.24.5 which I am using). The only way is probably delete the db file located ~/.local/share/shotwell/data/photo.db. After restarting Shotwell you should make a new import.






          share|improve this answer




























            up vote
            0
            down vote













            Not sure if it would work for ratings, but I read a while that a trick to force thumbnail regeneration was selecting everything, mirror (or rotate, or whatever you want), and then undo the operation. That forces Shotwell to re-read the file, and might fix your problem.



            It's pretty weird, though, because, I've even edited tags, rotation or whatever from external tools, and Shotwell has always managed to update its information.






            share|improve this answer





















              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "89"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














               

              draft saved


              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f516427%2fhow-to-force-shotwell-re-read-metadata-from-images%23new-answer', 'question_page');
              }
              );

              Post as a guest
































              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              1
              down vote













              Looks that there is no function for rebuilding database from photo files (in version 0.24.5 which I am using). The only way is probably delete the db file located ~/.local/share/shotwell/data/photo.db. After restarting Shotwell you should make a new import.






              share|improve this answer

























                up vote
                1
                down vote













                Looks that there is no function for rebuilding database from photo files (in version 0.24.5 which I am using). The only way is probably delete the db file located ~/.local/share/shotwell/data/photo.db. After restarting Shotwell you should make a new import.






                share|improve this answer























                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  Looks that there is no function for rebuilding database from photo files (in version 0.24.5 which I am using). The only way is probably delete the db file located ~/.local/share/shotwell/data/photo.db. After restarting Shotwell you should make a new import.






                  share|improve this answer












                  Looks that there is no function for rebuilding database from photo files (in version 0.24.5 which I am using). The only way is probably delete the db file located ~/.local/share/shotwell/data/photo.db. After restarting Shotwell you should make a new import.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Oct 10 at 19:28









                  Martin

                  3261210




                  3261210
























                      up vote
                      0
                      down vote













                      Not sure if it would work for ratings, but I read a while that a trick to force thumbnail regeneration was selecting everything, mirror (or rotate, or whatever you want), and then undo the operation. That forces Shotwell to re-read the file, and might fix your problem.



                      It's pretty weird, though, because, I've even edited tags, rotation or whatever from external tools, and Shotwell has always managed to update its information.






                      share|improve this answer

























                        up vote
                        0
                        down vote













                        Not sure if it would work for ratings, but I read a while that a trick to force thumbnail regeneration was selecting everything, mirror (or rotate, or whatever you want), and then undo the operation. That forces Shotwell to re-read the file, and might fix your problem.



                        It's pretty weird, though, because, I've even edited tags, rotation or whatever from external tools, and Shotwell has always managed to update its information.






                        share|improve this answer























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          Not sure if it would work for ratings, but I read a while that a trick to force thumbnail regeneration was selecting everything, mirror (or rotate, or whatever you want), and then undo the operation. That forces Shotwell to re-read the file, and might fix your problem.



                          It's pretty weird, though, because, I've even edited tags, rotation or whatever from external tools, and Shotwell has always managed to update its information.






                          share|improve this answer












                          Not sure if it would work for ratings, but I read a while that a trick to force thumbnail regeneration was selecting everything, mirror (or rotate, or whatever you want), and then undo the operation. That forces Shotwell to re-read the file, and might fix your problem.



                          It's pretty weird, though, because, I've even edited tags, rotation or whatever from external tools, and Shotwell has always managed to update its information.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 6 hours ago









                          jesjimher

                          25117




                          25117






























                               

                              draft saved


                              draft discarded



















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f516427%2fhow-to-force-shotwell-re-read-metadata-from-images%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest




















































































                              Popular posts from this blog

                              Ellipse (mathématiques)

                              Quarter-circle Tiles

                              Mont Emei