Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use sync esqlite api instead of stream api to support MacOS #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

isamert
Copy link

@isamert isamert commented Mar 13, 2022

Esqlite author stated1 that stream functions does not work well with
MacOS. So I simply replaced those functions with their non-stream
counterparts.

This theoretically makes versuri a bit slower (because it spawns a new
process every time it does a request to DB instead of talking with an
already spawned process) but (at least for my use case) I haven't
experienced any noticeable slowdown. This probably effects the bulk
operations most but I don't use them. Feedback is appreciated on this.

Fixes #3

Esqlite author stated[1] that stream functions does not work well with
MacOS

[1]: mhayashi1120/Emacs-esqlite#2 (comment)
@mihaiolteanu
Copy link
Owner

mihaiolteanu commented Mar 17, 2022

Most of the time spent on saving the lyrics with versuri-save-bulk would be spend in actually retrieving them from their respective websites, not in saving them locally.

I'm not noticing any real slowdown, either.

Can someone who uses MacOS confirm that this PR fixes their problem? (@aladine?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not able to search any song or artist on Mac
2 participants