[PR #34] [MERGED] Add lyric_finder lib crate #1528

Closed
opened 2026-03-14 15:18:56 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/aome510/spotify-player/pull/34
Author: @aome510
Created: 5/8/2022
Status: Merged
Merged: 5/12/2022
Merged by: @aome510

Base: masterHead: add-lyric-finder-lib


📝 Commits (10+)

  • 2f09a3e initialize the lib
  • 5fa731b add examples
  • 74a5743 update the example using tokio and simple async get_lyric function
  • 3befa0b implement search_lyric_urls function
  • 9afbc66 update example
  • 105ed53 remove html2text and add a base implementation for parse function
  • def2db0 able to parse lyric text unformatted
  • 0151da2 cleanup
  • f4f3199 add separator between should_parse=true nodes
  • c69ff06 add log, remove sep from parse_dom_node func

📊 Changes

5 files changed (+607 additions, -33 deletions)

View changed files

📝 Cargo.lock (+330 -32)
📝 Cargo.toml (+1 -1)
lyric_finder/Cargo.toml (+25 -0)
lyric_finder/examples/lyric-finder.rs (+22 -0)
lyric_finder/src/lib.rs (+229 -0)

📄 Description

Implemented the lyric_finder crate that retrieves a song's lyric using https://genius.com and its APIs


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/aome510/spotify-player/pull/34 **Author:** [@aome510](https://github.com/aome510) **Created:** 5/8/2022 **Status:** ✅ Merged **Merged:** 5/12/2022 **Merged by:** [@aome510](https://github.com/aome510) **Base:** `master` ← **Head:** `add-lyric-finder-lib` --- ### 📝 Commits (10+) - [`2f09a3e`](https://github.com/aome510/spotify-player/commit/2f09a3ef4db23f856aabd723da7f23d43a413e39) initialize the lib - [`5fa731b`](https://github.com/aome510/spotify-player/commit/5fa731b6c7cb82d1c7ec4a793ea59dd6fdb1fedd) add examples - [`74a5743`](https://github.com/aome510/spotify-player/commit/74a57433df86ef0ff02c037dbdd17794c5e786dd) update the example using `tokio` and simple async `get_lyric` function - [`3befa0b`](https://github.com/aome510/spotify-player/commit/3befa0b6a1f8d5645f8ac1a85ec876425d713b1d) implement `search_lyric_urls` function - [`9afbc66`](https://github.com/aome510/spotify-player/commit/9afbc6648d5cfcd20ed24c7d72dd5e5a8fe233e6) update example - [`105ed53`](https://github.com/aome510/spotify-player/commit/105ed5384799d9a1a8ec7a2e61ab50dd85a9f4fa) remove `html2text` and add a base implementation for `parse` function - [`def2db0`](https://github.com/aome510/spotify-player/commit/def2db0349fbd1f205ee51141e470352b6209265) able to parse lyric text unformatted - [`0151da2`](https://github.com/aome510/spotify-player/commit/0151da2b7ef1c101a84a71bf99e24f7d9feed942) cleanup - [`f4f3199`](https://github.com/aome510/spotify-player/commit/f4f319927d8ddcf66b6dfed61dbf6975a4055a15) add separator between `should_parse=true` nodes - [`c69ff06`](https://github.com/aome510/spotify-player/commit/c69ff06cdd813dedd685c1067f5c4ed0eb2995b7) add `log`, remove `sep` from `parse_dom_node` func ### 📊 Changes **5 files changed** (+607 additions, -33 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+330 -32) 📝 `Cargo.toml` (+1 -1) ➕ `lyric_finder/Cargo.toml` (+25 -0) ➕ `lyric_finder/examples/lyric-finder.rs` (+22 -0) ➕ `lyric_finder/src/lib.rs` (+229 -0) </details> ### 📄 Description Implemented the `lyric_finder` crate that retrieves a song's lyric using https://genius.com and its APIs --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 15:18:56 +03:00
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/spotify-player#1528
No description provided.