XBMC Community Forum
Headphones - Music albums & artists auto download program - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for XBMC (/forumdisplay.php?fid=116)
+--- Thread: Headphones - Music albums & artists auto download program (/showthread.php?tid=103688)



RE: Headphones - Music albums & artists auto download program - gibxxi - 2014-05-23 21:27

Small bug report: The "Back To (Artist)" link displayed at the top of the album page is disappearing on refresh if an album is "snatched". Not sure if this has been fixed / mentioned prior. Just mentioning it now in passing.


RE: Headphones - Music albums & artists auto download program - squatingyeti - 2014-05-24 03:18

(2014-05-21 22:42)wpbpete Wrote:  Dilligaf,
Thanks man, it's working perfectly.
FYI so it may help others,
I didn't need to clone Headphones with TortoiseGit, just had to dl the Git zip.
Also only copied from the Win32 folder the following,
Shutdown Headphones
copied files: cache, config.ini, headphones.db, logs
click Headphones.py and good to go
thanks again
Smile

Rembo10,
The new update features looks very cool, thanks

Hey, I did exactly this, but I still get the dos window hanging around. There is no pythonw.exe that I've seen. Did you figure out how to solve this? I don't mind it there, I'd just prefer I have the ability to have it hidden.

EDIT: Actually, doing this has caused an error somehow with headphones if I tell it to save changes and scan :/

any ideas from this log anyone?

Uncaught exception: Traceback (most recent call last):
File "C:\Users\squatingyeti\Downloads\headphones-master\headphones\logger.py", line 139, in new_run
old_run(*args, **kwargs)
File "C:\Program Files\Python\lib\threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\Users\squatingyeti\Downloads\headphones-master\headphones\librarysync.py", line 64, in libraryScan
encoded_track_string = track['Location'].encode(headphones.SYS_ENCODING)
File "C:\Program Files\Python\lib\encodings\cp1252.py", line 12, in encode
return codecs.charmap_encode(input,errors,encoding_table)
UnicodeEncodeError: 'charmap' codec can't encode character u'\ufffd' in position 97: character maps to


Re: RE: Headphones - Music albums & artists auto download program - jamesd86 - 2014-05-24 03:20

(2014-05-24 03:18)squatingyeti Wrote:  
(2014-05-21 22:42)wpbpete Wrote:  Dilligaf,
Thanks man, it's working perfectly.
FYI so it may help others,
I didn't need to clone Headphones with TortoiseGit, just had to dl the Git zip.
Also only copied from the Win32 folder the following,
Shutdown Headphones
copied files: cache, config.ini, headphones.db, logs
click Headphones.py and good to go
thanks again
Smile

Rembo10,
The new update features looks very cool, thanks

Hey, I did exactly this, but I still get the dos window hanging around. There is no pythonw.exe that I've seen. Did you figure out how to solve this? I don't mind it there, I'd just prefer I have the ability to have it hidden.

If you go to python install folder it should be there


RE: Headphones - Music albums & artists auto download program - Dilligaf - 2014-05-24 04:00

Python should install to c:\Python27 and in this folder there should be python.exe and pythonw.exe if you right click on headphones.py in the headphones directory you can select open with and then browse to pythonw.exe If python is installed in Program Files then remove it and let it install to its default location ( c:\python27 ) as spaces in its path can cause problems


RE: Headphones - Music albums & artists auto download program - squatingyeti - 2014-05-24 15:12

(2014-05-24 04:00)Dilligaf Wrote:  Python should install to c:\Python27 and in this folder there should be python.exe and pythonw.exe if you right click on headphones.py in the headphones directory you can select open with and then browse to pythonw.exe If python is installed in Program Files then remove it and let it install to its default location ( c:\python27 ) as spaces in its path can cause problems

Thank you!


RE: Headphones - Music albums & artists auto download program - wpbpete - 2014-05-25 14:35

(2014-05-24 15:12)squatingyeti Wrote:  
(2014-05-24 04:00)Dilligaf Wrote:  Python should install to c:\Python27 and in this folder there should be python.exe and pythonw.exe if you right click on headphones.py in the headphones directory you can select open with and then browse to pythonw.exe If python is installed in Program Files then remove it and let it install to its default location ( c:\python27 ) as spaces in its path can cause problems

Thank you!
+1


RE: Headphones - Music albums & artists auto download program - T800 - 2014-06-28 12:25

(2014-05-24 03:18)squatingyeti Wrote:  
(2014-05-21 22:42)wpbpete Wrote:  Dilligaf,
Thanks man, it's working perfectly.
FYI so it may help others,
I didn't need to clone Headphones with TortoiseGit, just had to dl the Git zip.
Also only copied from the Win32 folder the following,
Shutdown Headphones
copied files: cache, config.ini, headphones.db, logs
click Headphones.py and good to go
thanks again
Smile

Rembo10,
The new update features looks very cool, thanks

Hey, I did exactly this, but I still get the dos window hanging around. There is no pythonw.exe that I've seen. Did you figure out how to solve this? I don't mind it there, I'd just prefer I have the ability to have it hidden.

EDIT: Actually, doing this has caused an error somehow with headphones if I tell it to save changes and scan :/

any ideas from this log anyone?

Uncaught exception: Traceback (most recent call last):
File "C:\Users\squatingyeti\Downloads\headphones-master\headphones\logger.py", line 139, in new_run
old_run(*args, **kwargs)
File "C:\Program Files\Python\lib\threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\Users\squatingyeti\Downloads\headphones-master\headphones\librarysync.py", line 64, in libraryScan
encoded_track_string = track['Location'].encode(headphones.SYS_ENCODING)
File "C:\Program Files\Python\lib\encodings\cp1252.py", line 12, in encode
return codecs.charmap_encode(input,errors,encoding_table)
UnicodeEncodeError: 'charmap' codec can't encode character u'\ufffd' in position 97: character maps to



I'm getting this error on OSX, how do I fix it?

Code:
Uncaught exception: Traceback (most recent call last):
File "/Users/mc/Headphones/headphones/logger.py", line 139, in new_run
old_run(*args, **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 477, in run
File "/Users/mc/Headphones/headphones/updater.py", line 30, in dbUpdate
importer.addArtisttoDB(artistid=artistid, extrasonly=False, forcefull=forcefull)
File "/Users/mc/Headphones/headphones/importer.py", line 470, in addArtisttoDB
cache.getThumb(AlbumID=rg['id'])
File "/Users/mc/Headphones/headphones/cache.py", line 420, in getThumb
artwork_path = c.get_thumb_from_cache(ArtistID, AlbumID)
File "/Users/mc/Headphones/headphones/cache.py", line 171, in get_thumb_from_cache
self._update_cache()
File "/Users/mc/Headphones/headphones/cache.py", line 285, in _update_cache
data = lastfm.request_lastfm("album.getinfo", artist=dbartist['ArtistName'], album=dbartist['AlbumTitle'], api_key=lastfm_apikey)
File "/Users/mc/Headphones/headphones/lastfm.py", line 43, in request_lastfm
data = request.request_json(ENTRY_POINT, timeout=20, params=kwargs)
File "/Users/mc/Headphones/headphones/request.py", line 100, in request_json
response = request_response(url, **kwargs)
File "/Users/mc/Headphones/headphones/request.py", line 32, in request_response
response = request_method(url, **kwargs)
File "lib/requests/api.py", line 55, in get
File "lib/requests/api.py", line 44, in request
File "lib/requests/sessions.py", line 383, in request
File "lib/requests/sessions.py", line 486, in send
File "lib/requests/adapters.py", line 330, in send
File "lib/requests/packages/urllib3/connectionpool.py", line 480, in urlopen
File "lib/requests/packages/urllib3/connectionpool.py", line 285, in _make_request
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 874, in request
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 911, in _send_request
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 868, in endheaders
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 740, in _send_output
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 699, in send
File "lib/requests/packages/urllib3/connection.py", line 89, in connect
File "lib/requests/packages/urllib3/connection.py", line 83, in _prepare_conn
AttributeError: 'HTTPConnection' object has no attribute '_tunnel_host'



RE: Headphones - Music albums & artists auto download program - T800 - 2014-06-28 13:21

Sussed it, did this:

(2014-05-21 22:42)wpbpete Wrote:  Dilligaf,
Thanks man, it's working perfectly.
FYI so it may help others,
I didn't need to clone Headphones with TortoiseGit, just had to dl the Git zip.
Also only copied from the Win32 folder the following,
Shutdown Headphones
copied files: cache, config.ini, headphones.db, logs
click Headphones.py and good to go
thanks again
Smile

Rembo10,
The new update features looks very cool, thanks

and I updated python.


RE: Headphones - Music albums & artists auto download program - dofl - 2014-07-16 15:41

For anyone interested; I've build a MusicBrainz mirror at http://musicbrainz.dofl.nl


RE: Headphones - Music albums & artists auto download program - zakmck - 2014-07-20 00:24

can you please tell me how to download mp3 only?
I just want 320kbps mp3s, "Auto-Detect Preferred Bitrate" will do the trick?
"mp3" in "Required Words"?

thank you!


RE: Headphones - Music albums & artists auto download program - dofl - Yesterday 11:11

Under Quality and Post Processing set 'Preferred Bitrate' to 320
And underneath it in Ignored words fill in things like FLAC, 128, VBS, etc.