Comments (3)
@fireXtract I tested with creating a new user on my machine. You could just run the script without sudo
and everything seems to work fine. I can delete/rename/modify the files without root. Does that fix for you?
from spotify-downloader.
Yes that is true. My bad. I went looking for a solution to a problem that didn't exist! One will run into issues if they run the script as sudo then later as a regular user. This is because the last_albumart.jpg at the very least will have root as owner. My posted code will need to check if 'SUDO_UID' exists before writing chown, otherwise the program wont run WITHOUT sudo.
from spotify-downloader.
Yeah. Basically, don't use the script as a lower privileged user after using it as a higher privileged user otherwise it will cause problems.
@fireXtract thanks for this issue. I made a commit in README.md to remove sudo
as it is not necessary at all.
from spotify-downloader.
Related Issues (20)
- Constant error when downloading playlist "MaxRetryError: HTTPSConnectionPool(host='api.spotify.com', port=443): Max retries exceeded with url: /v1/playlists/4k9P8e9c3fIXIWWfCV08Qq?additional_types=track (Caused by ResponseError('too many 404 error responses'))"
- Not able to login in Termux to download liked songs
- Cant download some albums
- Songs missing in termux but found in windows
- Constant DownloadError After Update HOT 1
- Attribute error when trying to download own PUBLIC playlist.
- spotdl fails due to large number of opened sockets in CLOSE_WAIT state
- Structured folders HOT 1
- Preserve original `list-position`, when local/unavailable songs are skipped
- ModuleNotFoundError: No module named 'jaconv'
- Can you explain how you match the Youtube music to the Spotify music? HOT 1
- Cant download track HOT 1
- "No results found" when trying spotify podcast url HOT 2
- Void Linux support HOT 1
- Running the commands to donwload user saved albums or songs fails with error 'ResponseError: too many 429 error responses' HOT 21
- Skip file not respected HOT 1
- Cache being written to a non-existent location HOT 1
- Search function not working properly (hangs, doesn't return results) HOT 1
- Refresh access token error HOT 2
- failed to convert, but have ffmpeg. Encoder not found. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spotify-downloader.