Fixing the Speed URL Service



The inner workings of that URL Service are about as complicated as any I've worked on but I think I can help guide you through some steps to troubleshoot it.
[list][*]Ideally you have a fork of the Services.bundle from Github ([https://github.com/p...Services.bundle](https://github.com/plexinc-plugins/Services.bundle)) but editing your local copy can work too. It's best if you (shut down PMS) move the Services.bundle from the plug-ins folder to another easily accessible location and create a symlink back into the plugins folder. That will prevent PMS from over-writing your changes when you start PMS again (which it should now be safe to do).[*]In the Services.bundle navigate to the Speed URL Service code "Contents/Service Sets/com.plexapp.plugins.speed/URL/Speed/ServiceCode.pys"[*]In your editor of choice, change lines 89-94 from :[/list]

<br />
try:<br />
	result = service.getDataForExperience('', experience)<br />
	return result['programmedContent']['videoPlayer']['mediaDTO']<br />
except:<br />
	raise Ex.MediaGeoBlocked<br />




to:

<br />
<br />
result = service.getDataForExperience('', experience)<br />
Log(result)<br />
return result['programmedContent']['videoPlayer']['mediaDTO']<br />



[list][*]Save the changes and then try to load a video using the URL Service version of your plugin. The plugin log should contain as much data as it is possible to grab about the video (from the provider) and hopefully the answer to what needs to be changed in order to get playback working. Or, it may contain an error which points to deeper problems with the service.[/list]

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.