evemorgen / akttym Goto Github PK
View Code? Open in Web Editor NEWPython script to add currently playing track on Spotify to personal music library - headlessly
License: MIT License
Python script to add currently playing track on Spotify to personal music library - headlessly
License: MIT License
wanted to ask whether this will be maintained further?
If yes, would like to report this error that i get after adding username, client_secret and client_secret.
/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/akttym/akttym.py:24: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config = yaml.load(open(dir_path + '/config.yaml'))
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/akttym/main.py", line 11, in
main()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/akttym/main.py", line 6, in main
akttym()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/akttym/akttym.py", line 25, in akttym
check_config(config, dir_path)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/akttym/akttym.py", line 12, in check_config
if key not in config or config.get(key) is None:
AttributeError: 'str' object has no attribute 'get'
Just wanted to ask whether you could add an option to delete a song from Library?
I just wanted to share the problem I encountered while setting up the Automator and the solution that I found searching the web, so that others don't have to.
You could add this to the FAQ part in the description part and mark the issue as closed.
Error:
The action “Run Shell Script” encountered an error: “/Library/Developer/CommandLineTools/usr/bin/python3: No module named akttym”
Solution:
Add
"export PATH=/usr/local/bin:$PATH"
before
python3 -m akttym
in Automator
export PATH=/usr/local/bin:$PATH
python3 -m akttym
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.