replace snprintf by macro (memcpy) for huge performance gains

this results in a performance increase by the factor of 10 and more
episodes, series parsers: replace if/else by switch

prettier code + considerable performance gain on gcc