automating more stuff via deadbeef-plugins eclass. also adding some sanity checks