mpd text length

new version of #131

I decided against a regex based approach, because in my opinion it makes not much sense cuting the middle part in this case, thus using regex would just add unnecessary complexity.