add info to documentation/website about traling slash urls #71

Closed
dersphere opened this Issue Dec 31, 2012 · 2 comments

3 participants

@dersphere

It should be suggested to have the views which provide a list of listitems end with a slash and the views which return via set_resolved_url end without a trailing slash.

Else the xbmc internal PlayMedia()-method which is used e.g. on favorites, won't work correctly.

@jbeluch jbeluch was assigned Jan 1, 2013
@ulion

another problem:
some xbmc module such as filemanager, will remove the tailing slash and then call plugin to list dir items, it's unhappy to xbmcswift2 depended addons.
so currently for this problem, my workaround is patch xbmcswift2 to let the tailing slash optional when resolving the input plugin url, it's harmless, and works.

@dersphere

Interesting.

Changing swift to match URLs to views with and without trailing slashes sounds like a good idea to me, @jbeluch?

@jbeluch jbeluch closed this in dea9719 Feb 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment