def P_serviceplayable(self, request): sRef = "" if "sRef" in request.args.keys(): sRef = request.args["sRef"][0] sRefPlaying = "" if "sRefPlaying" in request.args.keys(): sRefPlaying = request.args["sRefPlaying"][0] return getPlayableService(sRef, sRefPlaying)