Skip to content

Commit

Permalink
Give MusixMatch a higher priority (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
moehmeni committed Dec 13, 2023
1 parent 8777d0d commit 436bd77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ syncedlyrics "SEARCH_TERM"
| Flag | Description |
| --- | --- |
| `-o` | Path to save `.lrc` lyrics, default="{search_term}.lrc" |
| `-p` | Comma-separated list of providers to include in searching |
| `-v` | Use this flag to show the logs |
| `--allow-plain` | Return a plain text (not synced) lyrics if no LRC format was found |

Expand All @@ -30,8 +31,8 @@ syncedlyrics.search("...", allow_plain_format=True, save_path="{search_term}_123
```

## Providers
- [Lrclib](https://github.com/tranxuanthang/lrcget/issues/2#issuecomment-1326925928)
- [Musixmatch](https://www.musixmatch.com/)
- [Lrclib](https://github.com/tranxuanthang/lrcget/issues/2#issuecomment-1326925928)
- [NetEase](https://music.163.com/)
- [Megalobiz](https://www.megalobiz.com/)
- ~~[Lyricsify](https://www.lyricsify.com/)~~ (Broken, should bypass Cloudflare protection)
Expand Down
2 changes: 1 addition & 1 deletion syncedlyrics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def search(
- `save_path`: Path to save `.lrc` lyrics. No saving if `None`
- `providers`: A list of provider names to include in searching; loops over all the providers as soon as an LRC is found
"""
_providers = [Lrclib(), Musixmatch(), NetEase(), Megalobiz()]
_providers = [Musixmatch(), Lrclib(), NetEase(), Megalobiz()]
if providers:
# Filtering the providers
_providers = [p for p in _providers if p.__class__.__name__ in providers]
Expand Down

0 comments on commit 436bd77

Please sign in to comment.