When checking for duration not equals 0, also check if media type is not image and media is not paused.
Use UDAP protocol for getMute, setMute and getVolume instead of DLNA