mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[GH-ISSUE #49] media-control is not really cross platform #951
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#951
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @0323pin on GitHub (Jun 6, 2022).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/49
Hi @aome510
I've finally enabled the
lyric-finderoption and built the package locally. It works really well, thanks!I've asked internally if https://genius.com/ is an acceptable source of lyrics or, if we have any license concerns with it.
If all is ok, I'll merge an update later enabling this feature.
As for
media-control, it will need to be off and not even possible to enable as an optional build feature for now.Although we do support dbus,
souvlakidoes not support our OS, according toCargo-toml,It's probably possible to fix this by simply adding a target definition but, I haven't looked into this yet.
Looking forward to the
coverfeature, theviuerandimagecrates work on NetBSD and should not be a problem to enable this option.Please keep
media-controlas an optional feature.Thanks
@aome510 commented on GitHub (Jun 6, 2022):
That's unfortunate. I'll disable
media-controlfeature by default for the next release.In the meantime, can you raise an issue upstream in https://github.com/Sinono3/souvlaki? I guess if NetBSD supports DBus, adding a new target to that crate will not be a problem.
@0323pin commented on GitHub (Jun 6, 2022):
@aome510 Thanks, but you don't need to disable it by default. As long as it's an optional feature, like it is now, I can disable it at build time. No worries, it was just an heads-up.
I was just looking at
src/platforms/linux/mod.rsto see if there was anything Linux specific 😄I think adding a new target might be all that is needed.
One last question if you don't mind. Did you get permission from Genius to use their API?
Regards
@aome510 commented on GitHub (Jun 6, 2022):
Ah, thanks for the clarification.
No, I use their public search API (no permission required AFAIK) and web crawling to get lyric data. I'm not an expert on this, so not sure if that will be a legal problem. FYI, I was inspired by
youtube-music. Maybe we can get some information from there.@0323pin commented on GitHub (Jun 6, 2022):
Thanks! Closing this now.
@0323pin commented on GitHub (Jun 6, 2022):
@aome510
lyric_finderfeature off by default 😞Concerns with the following paragraph,
"Commercial Use: Unless otherwise expressly authorized herein or by Genius' express written consent, you agree not to display, distribute, license, perform, publish, reproduce, duplicate, copy, create derivative works from, modify, sell, resell, exploit, transfer or transmit for any commercial purposes, any portion of the Service, use of the Service, or access to the Service. The Service is for your personal use and may not be used for direct commercial endeavors without the express written consent of Genius."
@0323pin commented on GitHub (Jun 7, 2022):
@aome510 I've finally fixed it.
lyric_finderis off by default but, it's possible to enable it at compile time. As formedia-control, I've submited a PR tosouvlakiafter test building it stand alone. Let's see what happens 😄Hopefully, they don't switch to
zbusfromdbus+dbus-crossroads,zbusdoesn't build on NetBSD 😨@aome510 commented on GitHub (Jun 7, 2022):
Wow, great to hear that. Thanks @0323pin 💪