Open strugee opened 1 year ago
I'm definitely interested in getting this ported, I just don't have much free time. I'll look into it when I have the time. I appreciate any help with it!
the skill thinks it's being initialized for the first time even though it's not
This might have been user error on my part - settings files appear to get overwritten if the JSON doesn't parse.
I can't seem to get it working on Neon either. This is from the cli log.
2024-01-03 01:15:50.188 - skills - neon_core.skills.intent_service:handle_utterance:261 - INFO - lang=en-us ['play stairway to heaven from jellyfin']
2024-01-03 01:15:53.577 - jellyfin-skill.lostlightprojects - INFO - {'utterances': ['play stairway to heaven from jellyfin'], 'lang': 'en-us', 'media': 'stairway to heaven', 'utterance': 'play stairway to heaven from jellyfin'}
2024-01-03 01:15:53.688 - skills - ovos_utils.file_utils:resolve_resource_file:153 - WARNING - Deprecation version=0.1.0. Caller=ovos_utils.dialog:166. Expected a dict config and got None.
2024-01-03 01:15:54.058 - jellyfin-skill.lostlightprojects - ERROR - can only concatenate str (not "NoneType") to str
Traceback (most recent call last):
File "/home/neon/venv/lib/python3.10/site-packages/ovos_utils/messagebus.py", line 601, in wrapper
handler(message)
File "/home/neon/.local/share/neon/skills/jellyfin-skill.lostlightprojects/__init__.py", line 111, in handle_jellyfin
if not self.connect_to_jellyfin():
File "/home/neon/.local/share/neon/skills/jellyfin-skill.lostlightprojects/__init__.py", line 90, in connect_to_jellyfin
self.log.debug("Testing connection to: " + self.settings.get("hostname"))
TypeError: can only concatenate str (not "NoneType") to str
Edit:
FTR this is the settings.json
{
"jellyfin": {
"Server": {
"hostname": "http://192.168.1.213",
"port": "8096",
"user": "neon",
"password": "N30n!"
}
}
}
Mycroft AI is gone and Neon AI and OVOS are now generally accepted as the canonical stewards of the Mycroft codebase. See this FAQ. Neon in particular has taken over Mark II maintenance.
As such, it would be great to get this skill ported over to the new way of doing things. I'm interested in contributing to this since I want to run the skill on Neon myself, just want to know if you'll take patches. I hear https://github.com/mikejgray/ovos-skill-projen should be of help but haven't actually used it yet.
Logs:
Note in particular that despite the "legacy skill signature detected" message, indicating that there's some kind of compatibility thing enabled, the skill thinks it's being initialized for the first time even though it's not. As such the settings I added to
/home/neon/.config/neon/skills/jellyfin-skill.lostlightprojects/settings.json
(I guessed the key names based onsettingsmeta.yaml
) are overwritten.