Changeset View
Changeset View
Standalone View
Standalone View
core/data/scripts/digitaglinktree/digitaglinktree
Context not available. | |||||
23 | # 1.1->1.2: | 23 | # 1.1->1.2: | ||
---|---|---|---|---|---|
24 | # Support for hierarchical tags was added. The script can either create | 24 | # Support for hierarchical tags was added. The script can either create | ||
25 | # a hierarchical directory structure for these tags (default) or treat them | 25 | # a hierarchical directory structure for these tags (default) or treat them | ||
26 | # as tags beeing on the same level resulting in a flat dir structure (-f) | 26 | # as tags being on the same level resulting in a flat dir structure (-f) | ||
27 | # | 27 | # | ||
28 | # 1.2->1.3 | 28 | # 1.2->1.3 | ||
29 | # Added support for multiple tags assigned to one photo. Up to now only | 29 | # Added support for multiple tags assigned to one photo. Up to now only | ||
Context not available. | |||||
367 | # directory buth neverless | 367 | # directory buth neverless | ||
368 | # refImages contains also data about photos in this album. But since it is | 368 | # refImages contains also data about photos in this album. But since it is | ||
369 | # not cloned, the cloned root # does not exits and so the photo therin does | 369 | # not cloned, the cloned root # does not exits and so the photo therin does | ||
370 | # not exist. Thats what we check here. | 370 | # not exist. That's what we check here. | ||
371 | next if( ! -r "${photoRootDir}$path/$image" ); | 371 | next if( ! -r "${photoRootDir}$path/$image" ); | ||
372 | $count++; | 372 | $count++; | ||
373 | 373 | | |||
Context not available. | |||||
601 | # directory buth neverless | 601 | # directory buth neverless | ||
602 | # refImages contains also data about photos in this album. But since it is | 602 | # refImages contains also data about photos in this album. But since it is | ||
603 | # not cloned, the cloned root # does not exits and so the photo therin does | 603 | # not cloned, the cloned root # does not exits and so the photo therin does | ||
604 | # not exist. Thats what we check here. | 604 | # not exist. That's what we check here. | ||
605 | next if( ! -r "${photoRootDir}$path/$image" ); | 605 | next if( ! -r "${photoRootDir}$path/$image" ); | ||
606 | $count++; | 606 | $count++; | ||
607 | 607 | | |||
Context not available. | |||||
981 | foreach $i (keys(%albumRoots)) { | 981 | foreach $i (keys(%albumRoots)) { | ||
982 | # print "Album roots -> $i:", $albumRoots{$i}, ", ", $opt_r, "\n"; | 982 | # print "Album roots -> $i:", $albumRoots{$i}, ", ", $opt_r, "\n"; | ||
983 | # Extract data needed from database | 983 | # Extract data needed from database | ||
984 | # Interprete -r as base for all albums | 984 | # Interpret -r as base for all albums | ||
985 | $albumRoots{$i}="$opt_r$albumRoots{$i}"; | 985 | $albumRoots{$i}="$opt_r$albumRoots{$i}"; | ||
986 | 986 | | |||
987 | $ret+=getTaggedImages(\%images, $database, $albumRoots{$i}, $i, \%paths, \%pathNames, $vers, $tage, $tagi); | 987 | $ret+=getTaggedImages(\%images, $database, $albumRoots{$i}, $i, \%paths, \%pathNames, $vers, $tage, $tagi); | ||
Context not available. |