jbeluch/xbmcswift2 — pull request #2 by takoi (2012-09-09 12:47:32+00:00)
Title: A couple of things

1. Added defaults for the ```Plugin``` constructor. I don't see why anybody would need to override these, but I left them for backwards comparability..

2. Added a ```route_for``` method to determine where an url routes. A use-case for this can be seen here: https://github.com/takoi/xbmc-addon-nrk/blob/master/default.py#L63 Basically, it replaces the entire playable-or-directory logic by using route_for to find out whether it routes to the play node or not.