I\'m playing around with get_iplayer (fantastic) it\'s running every few hours to grab any new episodes of whatever....
After it has finished grabbing anything new i
There's a package called libnautilus that provides tools for working with nautilus, including emblems. It's what Dropbox uses, for example, to add emblems showing sync status. You could try looking at the source of that.
gvfs-set-attribute ~/Videos -t stringv metadata::emblems new urgent
gvfs-set-attribute -t string $FOLDER metadata::custom-icon file:///home/user/path/to/icon.jpg