pcwii/kodi-skill

Trying to show german movies

Closed this issue · 1 comments

I asked mycroft "zeige filme sortiert nach titel"
Which should translate to "show movies sorted by title",
Got an error. Message below:

Traceback (most recent call last):
  File "/home/pi/mycroft-core/mycroft/skills/core.py", line 865, in wrapper
    handler(message)
  File "/opt/mycroft/skills/kodi-skill.pcwii/__init__.py", line 535, in handle_play_film_intent
    movie_name = self.movie_regex(message.data.get('utterance'))
  File "/opt/mycroft/skills/kodi-skill.pcwii/__init__.py", line 366, in movie_regex
    my_movie = re.sub('\W', ' ', my_movie)
UnboundLocalError: local variable 'my_movie' referenced before assignment
pcwii commented

@gumulka, There appears to be be an issue with the German (de-de) translation for some of the intents.
I do not speak German so I am not certain what the intents should contain as they were submitted from another contributor. If you are able to contribute to the translation that would be wonderful. The following Vocab files could use some translation. FilmKeyword.voc, GenreKeyword.voc, InfoKeyword.voc, PauseKeyword.voc, ResumeKeyword.voc, ScanKeyword.voc, SelectKeyword.voc, SetsKeyword.voc, SkipDirectionKeyword.voc, StopKeyword.voc, StudioKeyword.voc, SubtitlesKeyword.voc, TitleKeyword.voc, VisibilityKeyword.voc,