New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Headphones not Updating #685
Comments
Having a similar problem here, too. Clicking on "Check for new version" just results in a "Error checking for update" box that disappears after 2 seconds or so. Can't give any debug output, though, because althoug I started headphones with the -v (verbose) option the log file / console output contains no information on what the problem might be. :-( |
Same issue here after a brand new install on ubuntu server 12.04 14-Jun-2012 05:17:44 - INFO :: MainThread : Starting Headphones on port: 5005 |
Check for new version also failing to check |
github api that headphones uses has been depreciated as of the 12th |
Updating the libs now (with a few other changes). Update in a few hours..... |
N3MIS15 - did you update the github library in your branch? i was just about to do it but it's easier just to merge yours in :-) let me know - i'll hold off for a bit |
nah, i started but got side tracked with maraschino. feel free to pinch the code from maraschino and adapt it to headphones i just used urllib with the new api |
anything in that headphones branch is untested... |
yeah i just looked through it :-) the error when force checking for an update seems to be on the web UI side - since it will check for a newer version (git) on startup but downloading the zip is throwing a problem - so that'll get fixed up asap anyways anyways, thanks for the help. i'll take a look at maraschino's code |
Ah, nevermind. It's an api problem. the checkGithub function is throwing back a 404 not found error :-/ |
Alright - it's working again. Depending on your install, you'll have to either run a "git pull" to get up to the latest version or redownload the tarball/zip (you can copy over your headphones.db and config.ini) |
wicked, thanks rembo, because im on a Synology, using the SynoCommunity package, i just stopped headphones, replaced the lib, and headphones directory, started headphones, and then did an update. Its now picked up the version from GIT ok. Cheers! |
Hey willuk, can you give me a more detailed description of how to manually update on the synology? I know how to work with ssh. What to download, what exactly to replace? Many thanks! |
Hey mate, Give me 10 mins, just in a meeting and I'll write up a few steps for you :) Sent from my iPhone On 19 Jun 2012, at 09:30, evantklooster
|
evantklooster, let me know if this is enough info! I SSH'd onto my Synology as root, Download the github master using wget, into a temporary location Unziped the download (unzip rembo10-headphones-89c2a8c.zip Stop Headphones in the DSM Then i copied, the contents of the "headpones" and "lib" folders from the unzipped archive into, lib = /volume1/@appstore/headphones/share/Headphones/lib start headphones back up again in DSM, and ask it to update when it asks! This obviously assumes you have a volume1, replace with whatever volume your apps are installed too! |
Ah, many thanks for this excellent step by step guide. I think I can manage this, I'll try 2n8. Maybe the only thing is what github command you execute: wget ..... ? Thanks! |
I would also like to know what github command you execute: wget ..... ? |
I think he just means download the zip with wget, so: |
That's it sorry yeh, used wget as rembo described above! :) Sent from my iPhone On 20 Jun 2012, at 16:42, rembo10
|
hmm not getting any results after copying the files. I had 2 create the folders lib and headphones because they didn't exist.. Can it be my headphones is installed in another place? I use superzebulon as package repository. |
never mind, found out that the directory for files is at /usr/local/var probably has something to do with superzebulon packages. Updating went okay... thanks for all the help. |
It's working for me also, path was as described by willuk2010 . I'm using the SynoCommunity packages. |
ahh... thats why, im using the new SynoCommunity repos! you could try and use find to locate the Headphones.py, the directory this python script is located in, should contain the headphones, and lib directories you need to replace with the ones you downloaded from the master zip. find / -name Headphones.py mine comes back with, /volume1/@appstore/headphones/share/Headphones/Headphones.py yours should comeback with a different location.. |
wicked ;) |
Hi,
Headphones doesn't seem to be updating... I'm running it on a Synology DS1511+ NAS.
12-Jun-2012 23:12:21 - INFO :: MainThread : Headphones is updating...
12-Jun-2012 23:12:21 - INFO :: MainThread : Downloading update from: http://github.com/rembo10/headphones/tarball/master
12-Jun-2012 23:12:25 - INFO :: MainThread : Extracing file/usr/local/headphones/share/Headphones/master
12-Jun-2012 23:12:29 - INFO :: MainThread : Deleting file/usr/local/headphones/share/Headphones/master
12-Jun-2012 23:12:30 - WARNING :: MainThread : Headphones failed to update: expected a character buffer object. Restarting.
12-Jun-2012 23:12:30 - INFO :: MainThread : Removing pidfile /usr/local/headphones/var/headphones.pid
12-Jun-2012 23:12:30 - INFO :: MainThread : Headphones is restarting...
The text was updated successfully, but these errors were encountered: