.
Hello,
The unix representation of the path is...
"~/Pictures/Radio\ Upstream"
The full HFS path is...
Nemisis:Users:jack:Pictures:Radio Upstream:
This location of the Radio Upstream folder is Dave's suggested location for the
folder
under Mac OSX. I forget the location for windows machines.
Dave's code does take the images and move them into the proper heirarchy in the
images
folder every minute. ... My www/images folder has quite a few images in it, more
images
in there than posts in the other folders. ... The entire heirarchy ot the images
folder need
not be scanned, just the newest folder. ... Perhaps there should be a mechanism
for the
action of publishing, or the adding of an image to the Radio Upstream folder, or
future
tools that handel other media types, to make a data entry into an upstreamTable.
The
table gets scanned, and whatever data is in the table gets upstreamed, and
removed from
the table. ...
Jack
--- In radio-dev@yahoogroups.com, "Marc Barrot" <marc@p...> wrote:
> --- In radio-dev@yahoogroups.com, "Peter Breuls" <breuls@c...> wrote:
> > I think he's running the My Pictures tool:
> > It does exactly that: watch a folder and move every image that's
> > dropped there into the www/images/YYYY/MM/DD folder.
>
> Ok, so the upstreaming code is behaving exactly as expected :-)
>
> Under the new upstreaming scheme, any 'special' folder under Radio's
> root 'www' folder is scanned for upstreaming once an hour. I suppose
> David built an upstream driver in the myPicture tool that takes care
> of the folder watching.
>
> We've already built some limited support for My Pictures style image
> management: once the images are moved into the Year / Month folders
> hierarchy, they are upstreamed with the same timing as regular posts.
>
> Refer to the upstreaming preferences page
> http://127.0.0.1:5335/system/pages/prefs?page=1.4 for a detailed schedule.
>
> What is missing is proper support for the upstreaming of My Pictures'
> 'special' folder.
>
> We have provided for this need through a new upstreaming callback
> script in user.radio.callbacks.upstreamScanFolder. David should update
> My Pictures to place in that table the address of a script that
> determines when the folder whose upstreaming cache table address was
> passed as a parameter should upstream.
>
> I wrote such a script for activeRenderer 2.5.2, so that aR's importing
> mechanism kept triggering every 5 minutes. All upstreamScanFolder
> callback scripts are called every 10 seconds.
>
> I'll place the activeRender upstreamScanFolder script in the Files
> section of this group, to serve as a template.
>
> David, if you're still browsing this list, get in touch with me
> please. If you are not, I guess I'll try to unearth your email address
> from my archives, it's been quite a while :-)
>
> Jack, for now, if you tell us the complete pathname for your My
> Pictures 'special' folder, I can send you a quick fix.
>
> Cheers
>
> Marc