2012-06-11, 14:14
How do you perform a manual update? That should work, couldn't think of a reason that would explain this issue...
Error !
KeyError: 'music_encoder'
327 <legend>Re-Encoding Options</legend>
328 <small class="heading"><span style="float: left; margin-right: .3em; margin-top: 4px;" class="ui-icon ui-icon-info"></span>Note: this option requires the lame or ffmpeg encoder</small>
329 <div class="checkbox row clearfix">
330 <input type="checkbox" name="music_encoder" id="music_encoder" value="1" ${config['music_encoder']}/><label>Re-encode downloads during postprocessing</label>
331 </div>
332 <div id="encoderoptions" class="row clearfix checkbox">
333 <input type="checkbox" name="encoderlossless" value="1" ${config['encoderlossless']}/><label>Only re-encode lossless files (.flac)</label>
334 </div>
335 <%
D:\headphones_win32build\data/interfaces/default/config.html, line 330:
<input type="checkbox" name="music_encoder" id="music_encoder" value="1" ${config['music_encoder']}/><label>Re-encode downloads during postprocessing</label>
D:\headphones_win32build\data/interfaces/default/base.html, line 75:
${next.body()}
mako\runtime.pyo, line 718:
mako\runtime.pyo, line 692:
mako\runtime.pyo, line 660:
mako\template.pyo, line 296:
headphones\webserve.pyo, line 27:
Quote:2012-06-14 14:10:11 WARNING Attempt to query MusicBrainz for u2 failed (retried 3 times, caused by: HTTP Error 401: Unauthorized)
2012-06-14 14:09:23 INFO Starting Headphones on port: 8181
2012-06-14 14:09:21 INFO Checking to see if the database has all tables....
(2012-06-18, 13:32)rembo10 Wrote: @ HenryFord: is it possible to have your build script modify the version.py file to something like "build12345" or something? that way headphones won't be updatable from the exe. Let me know, thanks!Totally - I would go with "HEADPHONES_VERSION = build-$git-version-hash" - would that be sufficent to 'break' the updater?
(2012-06-18, 17:07)rembo10 Wrote: HenryFord - that is perfect. Hopefully you can automate that?Did it - the contents of the version.py-file as of now:
HEADPHONES_VERSION = "win32build-89c2(...)"
(2012-06-18, 13:32)rembo10 Wrote: Headphones has just been updated - but unfortunately the updater in the old version is broken (sorry about that - totally dropped the ball with the github api update)
To update manually:
1. if you installed it through git, just cd into the headphones directory and run a "git pull"
2. if you installed by downloading the zip/tarball from github, just redownload it (zip, tar), copy over your headphones.db and config.ini files from the previous install, and fire it up!
3. if you installed the HenryFord version: wait for him to update the exe!
One of the better features in this new version is the "Refresh Artists based on When they were Last Updated" feature. Basically it'll pick up where it left off when forcing an artist update, instead of starting from Adele everytime :-)
Any questions you can ask here or on github - i'll try to pay more attention over the next few days :-)
Anyways, hope you like it - more to come :-)
@ HenryFord: is it possible to have your build script modify the version.py file to something like "build12345" or something? that way headphones won't be updatable from the exe. Let me know, thanks!
(2012-06-19, 09:11)simonk83 Wrote: My headphones seems to have issues communicating with XBMC to update when new albums are downloaded. I had a log ready to paste but then I updated Headphones and lost it
I'll see if it happens again with the latest version, and if so I'll post logs etc. I use the same details as Sickbeard and CP though and they seem to kick off an update OK...
2012-06-20 07:31:52 WARNING Error sending notification request to XBMC
2012-06-20 07:31:52 WARNING Error opening XBMC url:
2012-06-20 07:31:52 INFO XBMC url: 192.168.1.29:3142/xbmcCmds/xbmcHttp/?parameter=Notification%28Headphones%2CQueens+of+the+Stone+Age+-+Songs+for+the+Deaf+added+to+your+library%2C3000%2Chttp%3A%2F%2Fec1.images-amazon.com%2Fimages%2FP%2FB00006F83Y.01.LZZZZZZZ.jpg%29&command=ExecBuiltIn
2012-06-20 07:31:52 INFO Sending notification command to XMBC
2012-06-20 07:31:52 WARNING Error sending update request to XBMC
2012-06-20 07:31:52 WARNING Error opening XBMC url:
2012-06-20 07:31:52 INFO XBMC url: 192.168.1.29:3142/xbmcCmds/xbmcHttp/?parameter=XBMC.updatelibrary%28music%29&command=ExecBuiltIn
2012-06-20 07:31:52 INFO Sending library update command to XBMC
2012-06-20 07:31:52 INFO Post-processing for Queens of the Stone Age - Songs for the Deaf complete