[GH-ISSUE #24] Error at Passing Folder path with music files #10

Closed
opened 2026-02-27 19:05:23 +03:00 by kerem · 2 comments
Owner

Originally created by @dhakkann on GitHub (Nov 2, 2022).
Original GitHub issue: https://github.com/akashrchandran/syrics/issues/24

60%|███████████████████▏ | 87/145 [00:51<00:34, 1.68it/s]
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/bin/syrics", line 8, in
sys.exit(main())
^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/syrics/core.py", line 164, in main
unable = fetch_files(link)
^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/syrics/core.py", line 135, in fetch_files
save_lyrics(format_lrc(lyrics_json), path=file_name)
^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/syrics/core.py", line 58, in format_lrc
if (lyrics_json['lyrics']['syncType'] == 'UNSYNCED' and not config['force_synced']) or not config['synced_lyrics']:
~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'force_synced'
IMG_20221102_162126

Originally created by @dhakkann on GitHub (Nov 2, 2022). Original GitHub issue: https://github.com/akashrchandran/syrics/issues/24 60%|███████████████████▏ | 87/145 [00:51<00:34, 1.68it/s] Traceback (most recent call last): File "/data/data/com.termux/files/usr/bin/syrics", line 8, in <module> sys.exit(main()) ^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/syrics/core.py", line 164, in main unable = fetch_files(link) ^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/syrics/core.py", line 135, in fetch_files save_lyrics(format_lrc(lyrics_json), path=file_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/syrics/core.py", line 58, in format_lrc if (lyrics_json['lyrics']['syncType'] == 'UNSYNCED' and not config['force_synced']) or not config['synced_lyrics']: ~~~~~~^^^^^^^^^^^^^^^^ KeyError: 'force_synced' ![IMG_20221102_162126](https://user-images.githubusercontent.com/98802609/199471635-2b9028a0-8fe1-49da-9d4b-a46f3a0240fd.jpg)
kerem 2026-02-27 19:05:23 +03:00
Author
Owner

@akashrchandran commented on GitHub (Nov 4, 2022):

Please try now, you will need to update the program.

pip install syrics --upgrade
<!-- gh-comment-id:1302824209 --> @akashrchandran commented on GitHub (Nov 4, 2022): Please try now, you will need to update the program. ``` pip install syrics --upgrade ```
Author
Owner

@dhakkann commented on GitHub (Nov 6, 2022):

Thanks
Works Well now

<!-- gh-comment-id:1304894671 --> @dhakkann commented on GitHub (Nov 6, 2022): Thanks Works Well now
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/syrics#10
No description provided.