Open ducvuong25 opened 2 years ago
Hi, I am from Vietnam, sorry my writing English skill isn't very good. I face a problem in this library. when I pass an "url with slash at the end" as argument to plugin.url_for():
xbmcplugin.addDirectoryItem(plugin.handle, plugin.url_for(list_video, "http://qrt.vn/video/chuyen-muc-thoi-su/)", ListItem(subcate.string), True)
In list_video function:
@plugin.route("/listvideo/<path:url>") def list_video(url): pass
now the argument url have value: "http://qrt.vn/video/chuyen-muc-thoi-su" (lost slash character at the end)
I wonder if this is a bug?
@tamland
Hi, I am from Vietnam, sorry my writing English skill isn't very good. I face a problem in this library. when I pass an "url with slash at the end" as argument to plugin.url_for():
xbmcplugin.addDirectoryItem(plugin.handle, plugin.url_for(list_video, "http://qrt.vn/video/chuyen-muc-thoi-su/)", ListItem(subcate.string), True)
In list_video function:
now the argument url have value: "http://qrt.vn/video/chuyen-muc-thoi-su" (lost slash character at the end)
I wonder if this is a bug?