Marcelo 3 Posted February 24, 2015 Posted February 24, 2015 Xnappo, Great work. For me it's fixed. If I can report another issue probrably related to encoding if I try to select movies by genre I have problems with movies that have na genre with Unicode. For example if I click the genre "aventura", the list with movies with this genre is populated. If the genre is "ação" wich is action in portuguese the list returns empty. No movie at all. Thanks alot. Marcelo.
xnappo 1605 Posted February 24, 2015 Posted February 24, 2015 (edited) Hi @@Marcelo - can you post a log with log level set to '1' when this occurs? Thanks, xnappo Edited February 24, 2015 by xnappo 1
Marcelo 3 Posted February 24, 2015 Author Posted February 24, 2015 Here it is. Thanks for all this great effort. kodi.log 1
xnappo 1605 Posted February 24, 2015 Posted February 24, 2015 (edited) Please try opening: resources/lib/List.py and change line 928 from: u = 'http://' + server + '/mediabrowser/Users/' + userid + '/Items?&SortBy=SortName&Fields=' + detailsString + '&Recursive=true&SortOrder=Ascending&IncludeItemTypes=' + content + '&Genres=' + item.get("Name") + '&format=json&ImageTypeLimit=1' to: u = 'http://' + server + '/mediabrowser/Users/' + userid + '/Items?&SortBy=SortName&Fields=' + detailsString + '&Recursive=true&SortOrder=Ascending&IncludeItemTypes=' + content + '&Genres=' + urllib.quote(item.get("Name")) + '&format=json&ImageTypeLimit=1' change is from item.get("Name") to urllib.quote(item.get("Name")) xnappo Edited February 24, 2015 by xnappo
Marcelo 3 Posted February 24, 2015 Author Posted February 24, 2015 (edited) I did the change but I received an error back. Here is the log. kodi.log Edited February 24, 2015 by Marcelo
xnappo 1605 Posted February 24, 2015 Posted February 24, 2015 Hmm - ok. @@Luke - just so I don't go on a wild goose chase, what does the server want for non-ascii Genre names in the URL? xnappo
xnappo 1605 Posted February 25, 2015 Posted February 25, 2015 @@Marcelo - this is fixed in the Git now (95% sure anyway) - please test. xnappo
Marcelo 3 Posted February 25, 2015 Author Posted February 25, 2015 Xnappo, Be 100% sure. Just tested it and it's working perfectly. Thanks alot for your work. Regards, Marcelo.
Recommended Posts