NeonGeckoCom / skill-local_music

Neon Skill for Local Music Playback
Other
4 stars 1 forks source link

Add support for multiple music paths and downloadable demo tracks #17

Closed NeonDaniel closed 1 year ago

NeonDaniel commented 1 year ago

Description

Support default user music path Support demo music from URL (zip)

Issues

Other Notes

NeonDaniel commented 1 year ago

Currently working, but metadata is not properly extracted from ID3 tags:

2023-03-09 14:25:37.096 - skills - skill_local_music.util:update_library:163 - ERROR - /home/neon/.cache/neon/demo_music/MUSIC/ROCK/Blinding Light Show -Moonchild Triumph.mp3 encountered error: 'TALB'
Traceback (most recent call last):
  File "/home/neon/venv/lib/python3.7/site-packages/skill_local_music/util/__init__.py", line 127, in update_library
    album = meta.tags['album'][0]
  File "/home/neon/venv/lib/python3.7/site-packages/ovos_ocp_files_plugin/models.py", line 66, in __getitem__
    return super().__getitem__(k)
  File "/home/neon/venv/lib/python3.7/site-packages/ovos_ocp_files_plugin/tbm_utils/structures.py", line 68, in __getitem__
    raise KeyError(key)
KeyError: 'TALB'
2023-03-09 14:25:37.112 - skills - skill_local_music.util:update_library:165 - INFO - tags=<ID3v2Frames({
    'comment': [
        <ID3v2Comment({
            'description': '',
            'language': 'XXX',
            'text': 'https://archive.org/details/maxellrocksample00newy',
        })>,
        <ID3v2Comment({
            'description': '',
            'language': 'eng',
            'text': 'https://archive.org/details/maxellrocksample00newy',
        })>,
    ],
    'encodersettings': ['LAME 64bits version 3.99.5 (http://lame.sf.net)'],
    'title': ['Blinding light show/Moonchild / Triumph'],
    'tracknumber': ['1'],
--