diff --git a/res/values/strings.xml b/res/values/strings.xml index b198e05..f5e0544 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -11,5 +11,6 @@ Next Please select a renderer Album Art + DLNA Playback diff --git a/src/com/github/nutomic/controldlna/upnp/Provider.java b/src/com/github/nutomic/controldlna/upnp/Provider.java index 3244dc8..75140c4 100644 --- a/src/com/github/nutomic/controldlna/upnp/Provider.java +++ b/src/com/github/nutomic/controldlna/upnp/Provider.java @@ -57,6 +57,8 @@ import android.support.v7.media.MediaRouter.ControlRequestCallback; import android.util.Pair; import android.util.SparseArray; +import com.github.nutomic.controldlna.R; + /** * Allows playing to a DLNA renderer from a remote app. * @@ -221,7 +223,8 @@ final class Provider extends MediaRouteProvider { MediaRouteDescriptor routeDescriptor = new MediaRouteDescriptor.Builder( d.getValue().id, d.getValue().name) - .setDescription("DLNA Playback") + .setDescription(getContext().getResources() + .getString(R.string.route_description)) .addControlFilters(CONTROL_FILTERS) .setPlaybackType(MediaRouter.RouteInfo.PLAYBACK_TYPE_REMOTE) .setVolumeHandling(MediaRouter.RouteInfo.PLAYBACK_VOLUME_VARIABLE)