Closed (works as designed)
Project:
Slideshow Creator
Version:
6.x-1.43
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Apr 2012 at 11:27 UTC
Updated:
27 Apr 2012 at 00:51 UTC
Assume your images stored in a same director, like sliedshow-images/folder1/image1.jpg ....
I create a script to generate .sscctl file includes one Title option from image file name
#! /bin/sh
for IMG in */*
do
if [ "${IMG##*.}" = "jpg" ] || [ "${IMG##*.}" = "png" ] || [ "${IMG##*.}" = "JPG" ] || [ "${IMG##*.}" = "PNG" ] ; then
echo "Create CTL file for" $IMG;
pName=${IMG%.*};
nName=$pName".sscctl";
f=`basename "$IMG"`;
t=${f%.*};
echo "Title:" $t > "$nName";
fi
done
Comments
Comment #1
rhouse commentedHi 0000sir, Thanks, that might be a helpful starting point for those who wish to give their files "title-y" names. It still relies on titles being in alphabetical order, I think, but it will be helpful for others to roll their own generator. Cheers.
Comment #2
rhouse commented