(1) Any person convicted on a trial held by any Magistrate of the second or third class, or any person sentenced under section 349 may appeal to the District Magistrate. Transfer of appeals to first class Magistrate. The District Magistrate may direct that any appeal under this section, or any class of such appeals, shall be heard by ...