This is already implemented. In Library Settings, scroll down and you will find Scan Frequency, where you can select Never, Daily and weekly. Also, everytime you make a change in your shares (reload metadata for example), the Library is updated, all shares are scanned. Also, you can mannually scan a single selected share by holding down Select and selecting scan for changes, this feature is usefull if you know what share has changed and you don’t want all shares to be scanned, meaning, it is faster.
It looks similar to a cron structure, “hour 3” being 2am with an interval of “86400” (the number of seconds in 24 hours). doubt I can throw a * in the “hour” key and cut the seconds down to 43200 to make it every 12 hours but will see… @James?
I added two options: Hourly and Twice Daily. I can only verify the Hourly option at this point but will update the post if the “Twice” option works.
Ftp’d and Backed up: AutoIndexingOptions.plist(Appliances/Media.frappliance)and Localizable.strings(Appliances/Media.frappliance/Enlish.lproj)
In AutoIndexing, copy and pasted the “Daily” option:
I pasted this above its current location.
I removed the:
leaving just the:
I changed the IntervalSec from:
I left the:
<integer>1</integer> to 1 for Hourly and changed it to 3 for the Daily (as “Twice” became 2 representing the second option)
In the Localizable.strings file I copy and pasted line 280 and 281:
and edited it to read:
I FTP’d 'em back, relaunched AppleTV from Maintenance and viola. As always I make no claim to the consequences of these changes…
I did generally the same thing for “Twice Daily” changing the <integer> to 43200 (for every 12 hours). My assumption is that like a cron, Media will trigger every “0” minute (top of the hour) and then use the <integer> value to compare to the last scan time. If it is >= it’ll scan… We’ll see.
Let me know if you have any questions,