cseverino / openmeta

Automatically exported from code.google.com/p/openmeta
1 stars 0 forks source link

The help text is misleading with regards to commas and quotes #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The help file states that commas should not be used, but they appear to work 
fine to separate tags in a string. Instead it only mentions the use of quotes, 
which does not appear possible when setting multiple tags with a script.

What steps will reproduce the problem?

Say I want want to copy multipal tags with spaces with a bash script all at 
once, because this is faster than doing it one at a time, one might have 
expected this to work:

$ tagnames="Cambridge \"New York\"'
$ openmeta -a $tagnames -p ./picture.jpg

What is the expected output? What do you see instead?

openmeta could have interpreted this as two tag names, one as Cambridge and one 
as New York. Instead it sees tags as:
1) Cambridge
2) "New
3) York"

However, if I set the tags with commas like this it works fine:
$ tagnames="Cambridge,New York"
$ openmeta -a "$tagnames" -p ./picture.jpg

The output is: Cambridge "New York"

Why is this apparently not allowed according to the help text, which is printed 
when running openmeta without any inputs? Use of commas like this is very 
useful, particularly because they are used as delimiters in the the output of 
exiftool.

The output of openmeta tags are very difficult to process if there are spaces 
in tag names.

What version of the product are you using? On what operating system?
Version: 1.3 (not 0.1 as stated in help text)
Mac: 10.6

Please provide any additional information below.

I describe what I am using openmeta for and provide my script here: 
http://theadventuresofsuperdoc.blogspot.co.uk/2012/04/how-to-make-picasa-name-ta
gs-be-indexed.html

Original issue reported on code.google.com by cjre...@gmail.com on 26 Apr 2012 at 9:08