fogh / couchpotato-alfred Goto Github PK
View Code? Open in Web Editor NEWControl CouchPotato from Alfred app
Home Page: http://fogh.github.io/CouchPotato-Alfred/
License: The Unlicense
Control CouchPotato from Alfred app
Home Page: http://fogh.github.io/CouchPotato-Alfred/
License: The Unlicense
Seems like another API method is needed.
There is a API method called "updater.update" maybe thats the right one.
Store host URL and API key in plist file instead of hardcoded variables.
In macOS Sierra typing Couch add movie doesn't work. In fact hitting space after couch add, defaults to a web search.
Below is a snippet of the error in the debug log
2017-01-21 20:54:44][ERROR: input.scriptfilter] Code 1: Traceback (most recent call last): File "<string>", line 2, in <module> File "couchpotatoAlfred.py", line 102, in search_movie data = get_data("movie.search" + "?q=" + urllib.quote(query)) File "couchpotatoAlfred.py", line 61, in get_data return json.loads(res.read()) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads return _default_decoder.decode(s) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded
Can this be updated to work with Sierra?
I think the problem is missing url encoding.
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.