zimmerst / phoshare

Automatically exported from code.google.com/p/phoshare
Other
0 stars 0 forks source link

Adding some spaces while renaming picture using -n option #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Here is the command line I use:

sudo /Applications/Phoshare.app/Contents/MacOS/Phoshare -a "cadre" -n 
"\${index}-\${caption}" -d -u --size 800 --export /Users/Serge/Desktop/Temp/

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

Name of the file expected :"1-DSC00056"
outpout name of the file:" 1- DSC00056"

It add 2 spaces one at the begining and one after the "-" and before the 
original name of the picture.

It actually makes this picture ureadable by the Multimedia Server of my NAS 
which is accessible by uPnP by my photoframe. 

I've tried with another uPnP player (xbmc) and it reproduces the issue. 
Therefore I think my NAS is not able to access picture with name beginning by 
space (and maybe with space I've not tried yet because of the time my NAS spend 
to re-index the multimedia server while changing file name)

What version of the product are you using? On what operating system?

the last one 1.3.6 on MacOS 10.6.4

Please provide any additional information below.

Original issue reported on code.google.com by thomas.v...@gmail.com on 12 Dec 2010 at 5:53

GoogleCodeExporter commented 9 years ago
Ah, I slightly changed the format string, and might have forgotten to update 
the documentation. Try:
   -n "{index}-{caption}"
without adding a \$ in front of the field names.

Sorry about that.

Original comment by tsporkert on 12 Dec 2010 at 6:17

GoogleCodeExporter commented 9 years ago
Phoshare 1.4 expands on the use of templates, and I've updated the 
documentation and help files to show the proper use of the templates.

Original comment by tsporkert on 4 Jan 2011 at 7:19