attached is a patch which should server as a "proof of concept" for how to automatically thumbnail (i.e. "add coverart") for video files uploaded to an ipod.
the patch adds a new preference "automatically generate video thumbnails", and a "customize' option for this preference which can be used to change the program used for thumbnailing.
in the c code, i've added the feature after the other "coverart_template" code, so that if someone had already set that up and prefers this method, it should remain with the same behavior.
i think a "final" version of this patch ought to avoid executing an external program at all and instead use some built in library functions--but i heard on IRC that someone else was working on adding video playback support so i think it makes the most sense to wait for that to get done to make sure there isn't any duplicated effort. and in the meantime, this works....
lemme know what you think!
Log in to post a comment.