2014-04-23, 22:59
I'm not very good with the linux terminal and have followed guides on getting Headphones up and running. It's been running pretty well for a couple of months and is now having problems, I guess because of the update issue as rembo mentioned a few posts back.
Simple, I'll go do a git pull. So I head to the terminal, cd .headphones which is where my Headphones.py file is, and run git pull, and get the following error;
fatal: Not a git repository (or any of the parent directories): .git
That's about exhausted my linux terminal knowledge. I'd rather not have to do a full reinstall, as I guess I'd lose all my hard figured out settings...I must be able to to an in place update...right?
Haylp!
EDIT: I would add that it's all working in that it finds and snatches albums, but it won't post process them (rename and move). Doesn't look like it's even trying from the logs. Secondly, when I ask it to force post-process, it does one album, then stops post processing the remaining albums after trying to notify XBMC as per the below...
Simple, I'll go do a git pull. So I head to the terminal, cd .headphones which is where my Headphones.py file is, and run git pull, and get the following error;
fatal: Not a git repository (or any of the parent directories): .git
That's about exhausted my linux terminal knowledge. I'd rather not have to do a full reinstall, as I guess I'd lose all my hard figured out settings...I must be able to to an in place update...right?
Haylp!
EDIT: I would add that it's all working in that it finds and snatches albums, but it won't post process them (rename and move). Doesn't look like it's even trying from the logs. Secondly, when I ask it to force post-process, it does one album, then stops post processing the remaining albums after trying to notify XBMC as per the below...
Code:
2014-04-23 20:27:54 ERROR
Uncaught exception: Traceback (most recent call last):
File "/home/sjswallow/.headphones/headphones/logger.py", line 126, in new_run
old_run(*args, **kwargs)
File "/usr/lib/python2.7/threading.py", line 504, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/sjswallow/.headphones/headphones/postprocessor.py", line 1057, in forcePostProcess
verify(snatched['AlbumID'], folder, snatched['Kind'])
File "/home/sjswallow/.headphones/headphones/postprocessor.py", line 261, in verify
doPostProcessing(albumid, albumpath, release, tracks, downloaded_track_list, Kind)
File "/home/sjswallow/.headphones/headphones/postprocessor.py", line 446, in doPostProcessing
xbmc.update()
File "/home/sjswallow/.headphones/headphones/notifiers.py", line 210, in update
request = self._sendjson(host, 'AudioLibrary.Scan')
File "/home/sjswallow/.headphones/headphones/notifiers.py", line 197, in _sendjson
response = request.request_json(url, method="POST", data=simplejson.dumps(data), headers=headers)
File "/home/sjswallow/.headphones/headphones/request.py", line 87, in request_json
response = request_response(url, **kwargs)
File "/home/sjswallow/.headphones/headphones/request.py", line 22, in request_response
request_method = getattr(requests, method)
AttributeError: 'module' object has no attribute 'POST'
2014-04-23 20:27:54 INFO
Sending library update command to XBMC @ http://LENOVOXBMC:80