Headphones - Music albums & artists auto download program

  Thread Rating:
  • 7 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
gibxxi Offline
Fan
Posts: 377
Joined: Oct 2011
Reputation: 4
Post: #1411
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.

[Image: all-thin-fanart@2x.jpg]
DT: Intel Core-i7 - 4770K / Nvidia GTX-770 | HTPC: Intel Core-i5 - 4670K / Nvidia GTX-750 Ti
TV: Sony KDL-40EX524 | AVR: Onkyo TX-NR515 | SPK: 2x Pioneer CS-7070 / 3x Tannoy F1 Custom
find quote
squatingyeti Offline
Junior Member
Posts: 2
Joined: May 2014
Reputation: 0
Post: #1412
(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
(This post was last modified: 2014-05-24 03:24 by squatingyeti.)
find quote
jamesd86 Offline
Junior Member
Posts: 24
Joined: Aug 2013
Reputation: 0
Post: #1413
(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
find quote
Dilligaf Online
Fan
Posts: 731
Joined: Dec 2008
Reputation: 29
Post: #1414
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

If I have been of help, please add to my reputation as a way of saying thanks, it's free.
find quote
squatingyeti Offline
Junior Member
Posts: 2
Joined: May 2014
Reputation: 0
Post: #1415
(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!
find quote
wpbpete Offline
Member
Posts: 71
Joined: Feb 2013
Reputation: 1
Post: #1416
(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
find quote
T800 Offline
Posting Freak
Posts: 997
Joined: Jan 2011
Reputation: 6
Post: #1417
(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'

Living Room i3 • W7 Ultimate x64 • 120GB SSD • HD 7750 • 2x TBS8922 tuners • Aeon Nox 4.0
Bedroom A6 3500 • W7 Ultimate x64 • 40GB SSD • HD 6550 • Aeon Nox 4.0
Servers unRAID server for Movies (22TB) • unRAID server for TV Shows/Music (11TB)
HTPC http://forum.xbmc.org/showthread.php?tid=99831
unRAID Server http://forum.xbmc.org/showthread.php?tid=106786
(This post was last modified: 2014-06-28 12:26 by T800.)
find quote
T800 Offline
Posting Freak
Posts: 997
Joined: Jan 2011
Reputation: 6
Post: #1418
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.

Living Room i3 • W7 Ultimate x64 • 120GB SSD • HD 7750 • 2x TBS8922 tuners • Aeon Nox 4.0
Bedroom A6 3500 • W7 Ultimate x64 • 40GB SSD • HD 6550 • Aeon Nox 4.0
Servers unRAID server for Movies (22TB) • unRAID server for TV Shows/Music (11TB)
HTPC http://forum.xbmc.org/showthread.php?tid=99831
unRAID Server http://forum.xbmc.org/showthread.php?tid=106786
(This post was last modified: 2014-06-28 13:23 by T800.)
find quote
dofl Offline
Junior Member
Posts: 3
Joined: Jul 2014
Reputation: 0
Post: #1419
For anyone interested; I've build a MusicBrainz mirror at http://musicbrainz.dofl.nl
(This post was last modified: 2014-07-16 15:41 by dofl.)
find quote
zakmck Offline
Junior Member
Posts: 1
Joined: Jul 2014
Reputation: 0
Post: #1420
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!
find quote
dofl Offline
Junior Member
Posts: 3
Joined: Jul 2014
Reputation: 0
Post: #1421
Under Quality and Post Processing set 'Preferred Bitrate' to 320
And underneath it in Ignored words fill in things like FLAC, 128, VBS, etc.
find quote
macbean Offline
Junior Member
Posts: 19
Joined: Jul 2012
Reputation: 0
Post: #1422
i've looked around but don't really see any feedback on this. What is the best way to handle 'Various Artist' items? I have many collections and movie soundtracks that are sitting in my unmatched section because I can't get them to match up without duplication. I added a couple manually, but then I see two sets of tracks listed under that album. One set showing what I have, the other saying they are wanted.

Another question, I love how when you view and artist, it pulls the songkick info so you can see the touring schedule. Is there any way to collect this all onto another view? so you could go see a page of when ALL of your artists are touring and where?
find quote
Wayda Offline
Junior Member
Posts: 5
Joined: Jan 2013
Reputation: 0
Post: #1423
i have a finished album, all 16 tracks are there, but it says 32/16, then when i look at the album it shows 16 tracks in green and 16 tracks in blue, is this how its intended to be or am i doing something wrong?

thank you
find quote
Post Reply