Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
Thread started 29 Oct 2014 (Wednesday) 05:12
Search threadPrev/next
sponsored links (only for non-logged)

Stuck with Shotwell

 
wallace1837
Member
139 posts
Likes: 1
Joined Sep 2011
     
Oct 29, 2014 05:12 |  #1

I am stuck with shotwell.

I started doing photography some years ago and started shooting RAW+JPEG. Since I was using linux, the "default" place to store/sort my photo was shotwell.

I wanted to try other options, I thought it would be easy, since I used to option to write the metadata to the file directly.

Unfortunately 20 000+ pictures tagged and rated, later, I found out there is a bug in shotwell ( https://bugzilla.gnome​.org/show_bug.cgi?id=7​17899 (external link) ) where tags are not recorded!

Does anyone have found a migration solution (apart from the time consuming task of re tagging all pictures)?


Primes:
Bower 14mm 2.8, Takumar 28.mm 3.5, Bower 35mm 1.4, Takumar 50mm 1.4, Canon 50mm 1.8, mamiya 55mm 1.8, Samyang 85mm 1.4, Meyer-optik 135 2.8, Mamiya 135mm 2.8, Takumar 135mm 3.5, Mamiya 400mm 6.3
Zooms:
Canon 28-105mm 3.5-4.5, Canon 100-300mm 5.6L.

  
  LOG IN TO REPLY
kirkt
Cream of the Crop
6,597 posts
Gallery: 5 photos
Likes: 1542
Joined Feb 2008
Location: Philadelphia, PA USA
     
Oct 29, 2014 08:21 |  #2

If you are not afraid of the command line, try Exiftool - you may be able to find a graphical front end interface for it for linux as well:

http://www.sno.phy.que​ensu.ca/~phil/exiftool​/#system (external link)

kirk


Kirk
---
images: http://kirkt.smugmug.c​om (external link)

  
  LOG IN TO REPLY
wallace1837
THREAD ­ STARTER
Member
139 posts
Likes: 1
Joined Sep 2011
     
Oct 29, 2014 08:39 |  #3

kirkt wrote in post #17239429 (external link)
If you are not afraid of the command line, try Exiftool - you may be able to find a graphical front end interface for it for linux as well:

http://www.sno.phy.que​ensu.ca/~phil/exiftool​/#system (external link)

kirk

I can use exiftool, but the information I want to input is in a weird database from shotwell.

If I could extract info from that shotwell database in an efficient way I would be golden. Does anyone know how to do it?


Primes:
Bower 14mm 2.8, Takumar 28.mm 3.5, Bower 35mm 1.4, Takumar 50mm 1.4, Canon 50mm 1.8, mamiya 55mm 1.8, Samyang 85mm 1.4, Meyer-optik 135 2.8, Mamiya 135mm 2.8, Takumar 135mm 3.5, Mamiya 400mm 6.3
Zooms:
Canon 28-105mm 3.5-4.5, Canon 100-300mm 5.6L.

  
  LOG IN TO REPLY
BigAl007
Cream of the Crop
Avatar
8,118 posts
Gallery: 556 photos
Best ofs: 1
Likes: 1681
Joined Dec 2010
Location: Repps cum Bastwick, Gt Yarmouth, Norfolk, UK.
     
Oct 29, 2014 10:11 |  #4

wallace1837 wrote in post #17239473 (external link)
I can use exiftool, but the information I want to input is in a weird database from shotwell.

If I could extract info from that shotwell database in an efficient way I would be golden. Does anyone know how to do it?

What format is the database file in? Could you open it and use SQL to pull the data you need from the tables, and then pipe that into exiftool? using something like Perl to automate it?

Alan


alanevans.co.uk (external link)

  
  LOG IN TO REPLY
wallace1837
THREAD ­ STARTER
Member
139 posts
Likes: 1
Joined Sep 2011
     
Oct 29, 2014 10:51 |  #5

BigAl007 wrote in post #17239661 (external link)
What format is the database file in? Could you open it and use SQL to pull the data you need from the tables, and then pipe that into exiftool? using something like Perl to automate it?

Alan

They use something called SQLite. I am not versed in database query . Maybe this is a one liner to extract the full path filename and all the tags and rating associated?

Any SQLite expert in the room?


Primes:
Bower 14mm 2.8, Takumar 28.mm 3.5, Bower 35mm 1.4, Takumar 50mm 1.4, Canon 50mm 1.8, mamiya 55mm 1.8, Samyang 85mm 1.4, Meyer-optik 135 2.8, Mamiya 135mm 2.8, Takumar 135mm 3.5, Mamiya 400mm 6.3
Zooms:
Canon 28-105mm 3.5-4.5, Canon 100-300mm 5.6L.

  
  LOG IN TO REPLY
BigAl007
Cream of the Crop
Avatar
8,118 posts
Gallery: 556 photos
Best ofs: 1
Likes: 1681
Joined Dec 2010
Location: Repps cum Bastwick, Gt Yarmouth, Norfolk, UK.
     
Oct 29, 2014 14:14 |  #6

SQLite is your basic open source database management package. It should be avilable on just about all *nix installations. If you do any sort of programming at all it should not be too difficult to find some basic SQL instructional documentation and use it to at least pull out the table structure. Once you have the table structure it should not then be too hard to knock up some queries that will pull the data out of the database. You should then be able to use this extracted data and pass it to Exiftool.

This website is probably built using an SQLite database and PHP, it seems to be the most common solution to dynamic content creation on the web, so basic instruction should not be too hard to find. One other thing, if you have a windows machine with Access then Access can also open SQLite database files, as I have done that with the files from an online ecommerce site that I help manage, just to have a look at the layout of the tables.

Sorry not to be of more help.

Alan


alanevans.co.uk (external link)

  
  LOG IN TO REPLY
wallace1837
THREAD ­ STARTER
Member
139 posts
Likes: 1
Joined Sep 2011
     
Jan 22, 2016 14:56 as a reply to  @ BigAl007's post |  #7

Some water under the bridge...

Now I have extracted the list of files and their rating. I can write the rating to the jpg with exiftool.

Unfortunately, Shotwell does not "refresh" the rating after it is written to the file!

Anyone knows a trick?


Primes:
Bower 14mm 2.8, Takumar 28.mm 3.5, Bower 35mm 1.4, Takumar 50mm 1.4, Canon 50mm 1.8, mamiya 55mm 1.8, Samyang 85mm 1.4, Meyer-optik 135 2.8, Mamiya 135mm 2.8, Takumar 135mm 3.5, Mamiya 400mm 6.3
Zooms:
Canon 28-105mm 3.5-4.5, Canon 100-300mm 5.6L.

  
  LOG IN TO REPLY
BigAl007
Cream of the Crop
Avatar
8,118 posts
Gallery: 556 photos
Best ofs: 1
Likes: 1681
Joined Dec 2010
Location: Repps cum Bastwick, Gt Yarmouth, Norfolk, UK.
     
Jan 22, 2016 17:58 |  #8

wallace1837 wrote in post #17868667 (external link)
Some water under the bridge...

Now I have extracted the list of files and their rating. I can write the rating to the jpg with exiftool.

Unfortunately, Shotwell does not "refresh" the rating after it is written to the file!

Anyone knows a trick?

I'm not sure I follow your problem. From what you seem to be saying you used Shotwell to add metadata to your images, in the form of a rating. Shotwell recorded this data to its own SQLite database (I think Adobe Lightroom is also based on SQLite), but fails to write it to the actual file. But you have managed to extract the details of the file and the rating from the database by manually querying the table. Having pulled this data from the table you have fed it to Exiftool and updated the actual image file.

Now surely you have no problems, the data is still in the SQLite database that is used by Shotwell, so shotwell can still happily do it's stuff. Your images also have this data stored internally thanks to what you did with Exiftool, so when you try importing the image file into another DAM application the new program will be able to read that data from the file, and incorporate it into whatever system it uses. Why do you need Shotwell to do anything more?

Alan


alanevans.co.uk (external link)

  
  LOG IN TO REPLY
sponsored links (only for non-logged)

2,188 views & 0 likes for this thread, 3 members have posted to it.
Stuck with Shotwell
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is Niagara Wedding Photographer
1245 guests, 116 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.