{"action":"created","issue":{"url":"https://api.github.com/repos/asciidisco/plugin.video.netflix/issues/331","repository_url":"https://api.github.com/repos/asciidisco/plugin.video.netflix","labels_url":"https://api.github.com/repos/asciidisco/plugin.video.netflix/issues/331/labels{/name}","comments_url":"https://api.github.com/repos/asciidisco/plugin.video.netflix/issues/331/comments","events_url":"https://api.github.com/repos/asciidisco/plugin.video.netflix/issues/331/events","html_url":"https://github.com/asciidisco/plugin.video.netflix/issues/331","id":317517786,"number":331,"title":"Title with french accent can't be exported to library","user":{"login":"mac1202","id":5730439,"avatar_url":"https://avatars1.githubusercontent.com/u/5730439?v=4","gravatar_id":"","url":"https://api.github.com/users/mac1202","html_url":"https://github.com/mac1202","followers_url":"https://api.github.com/users/mac1202/followers","following_url":"https://api.github.com/users/mac1202/following{/other_user}","gists_url":"https://api.github.com/users/mac1202/gists{/gist_id}","starred_url":"https://api.github.com/users/mac1202/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mac1202/subscriptions","organizations_url":"https://api.github.com/users/mac1202/orgs","repos_url":"https://api.github.com/users/mac1202/repos","events_url":"https://api.github.com/users/mac1202/events{/privacy}","received_events_url":"https://api.github.com/users/mac1202/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-25T07:57:55Z","updated_at":"2018-04-26T15:59:22Z","closed_at":null,"author_association":"NONE","body":"*I'm submitting a ...*\r\n  - [X ] bug report\r\n  - [ ] feature request\r\n  - [ ] support request\r\n\r\n## General infomration\r\n\r\n### Prerequisites\r\n\r\n* [ ] Are you running the latest version?\r\nyes\r\n### Description\r\nI m using the french version of netflix when I try to export to library a title with accent (for example 13 reasons why : au delà des raisons) the plugin give me this error : \r\n```\r\nERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--\r\n                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!\r\n                                            Error Type: <type 'exceptions.UnicodeEncodeError'>\r\n                                            Error Contents: 'ascii' codec can't encode character u'\\xe0' in position 87: ordinal not in range(128)\r\n                                            Traceback (most recent call last):\r\n                                              File \"/home/mac//.kodi/addons/plugin.video.netflix/addon.py\", line 42, in <module>\r\n                                                NAVIGATION.router(paramstring=REQUEST_PARAMS)\r\n                                              File \"/home/mac//.kodi/addons/plugin.video.netflix/resources/lib/utils.py\", line 45, in wrapped\r\n                                                result = func(*args, **kwargs)\r\n                                              File \"/home/mac//.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py\", line 160, in router\r\n                                                self.export_to_library(video_id=params['id'], alt_title=alt_title)\r\n                                              File \"/home/mac//.kodi/addons/plugin.video.netflix/resources/lib/utils.py\", line 45, in wrapped\r\n                                                result = func(*args, **kwargs)\r\n                                              File \"/home/mac//.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py\", line 593, in export_to_library\r\n                                                build_url=self.build_url)\r\n                                              File \"/home/mac//.kodi/addons/plugin.video.netflix/resources/lib/Library.py\", line 371, in add_movie\r\n                                                self.write_strm_file(path=filename, url=url, title_player=movie_meta)\r\n                                              File \"/home/mac//.kodi/addons/plugin.video.netflix/resources/lib/Library.py\", line 117, in write_strm_file\r\n                                                self.log('Writing {}'.format(path.decode('ascii','ignore')))\r\n                                            UnicodeEncodeError: 'ascii' codec can't encode character u'\\xe0' in position 87: ordinal not in range(128)\r\n                                            -->End of Python script error report<--\r\n```\r\n\r\n## Context (Environment)\r\n\r\n### Installation\r\n\r\n* [ ] I installed the plugin via zip from the Releases page\r\n* [X ] I´m using the Netflix Repo\r\n* [ ] I´m using a different source (Please tell which)\r\n\r\n### Operating System\r\n\r\n* [X ] Linux (x86/x64)\r\n* [ ] OSX (x86/x64)\r\n* [ ] Windows (x86/x64)\r\n* [ ] Linux (ARM)\r\n* [ ] Android\r\n"},"comment":{"url":"https://api.github.com/repos/asciidisco/plugin.video.netflix/issues/comments/384695220","html_url":"https://github.com/asciidisco/plugin.video.netflix/issues/331#issuecomment-384695220","issue_url":"https://api.github.com/repos/asciidisco/plugin.video.netflix/issues/331","id":384695220,"user":{"login":"liberty-developer","id":16488597,"avatar_url":"https://avatars0.githubusercontent.com/u/16488597?v=4","gravatar_id":"","url":"https://api.github.com/users/liberty-developer","html_url":"https://github.com/liberty-developer","followers_url":"https://api.github.com/users/liberty-developer/followers","following_url":"https://api.github.com/users/liberty-developer/following{/other_user}","gists_url":"https://api.github.com/users/liberty-developer/gists{/gist_id}","starred_url":"https://api.github.com/users/liberty-developer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liberty-developer/subscriptions","organizations_url":"https://api.github.com/users/liberty-developer/orgs","repos_url":"https://api.github.com/users/liberty-developer/repos","events_url":"https://api.github.com/users/liberty-developer/events{/privacy}","received_events_url":"https://api.github.com/users/liberty-developer/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T15:59:21Z","updated_at":"2018-04-26T15:59:21Z","author_association":"COLLABORATOR","body":"> File \"/home/mac//.kodi/addons/plugin.video.netflix/resources/lib/Library.py\", line 117, in write_strm_file\r\n\r\nAt line 117 / version 0.12.9 is no code which will produce this error.\r\nSo most likely you are NOT at the current version."}}
{"actor":{"display_login":"liberty-developer"}}