mirror of
https://github.com/kokarare1212/librespot-python.git
synced 2026-04-25 08:35:49 +03:00
[GH-ISSUE #251] [REQUEST] change stored_credentials path #41
Labels
No labels
bug
dependencies
duplicate
enhancement
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot-python-kokarare1212#41
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 @van4oza on GitHub (Nov 15, 2023).
Original GitHub issue: https://github.com/kokarare1212/librespot-python/issues/251
I'm trying to use librespot in AWS Lambda, but the only RW dir there is /tmp. librespot keeps creating credentials file in os.getcwd(). even if I override it keeps getting back and failing
Probably there is solution already?
@kokarare1212 commented on GitHub (Nov 15, 2023):
Perhaps passing Session.Configuration as an argument to the constructor of Session.Builder will work.
https://github.com/kokarare1212/librespot-python/blob/main/librespot/core.py#L1367-L1420
https://github.com/kokarare1212/librespot-python/blob/main/librespot/core.py#L1690-L1840
@van4oza commented on GitHub (Nov 15, 2023):
thx!