Page 4 of 21
Re: Headphones : Music albums and artists auto download program
Posted: June 5th, 2011, 11:28 am
by rembo10
splnut wrote:
Yes. I have the api's for sab and nzbmatrix. I tried deleteing config.ini and setting it back up again and also restarting the app numerous times.
Might just be that the album is not available - if it finds a match the status will change to snatched. What provider are you using? I'm still not sure if NZBs.org is working 100%
I'm going to add a force check option & interval option in settings. For now you can click retry and it will do another search. I'm going to put up a more functional version in the next few days which should have everything working and better searching, and better MusicBrainz integration.
Re: Headphones : Music albums and artists auto download program
Posted: June 5th, 2011, 12:46 pm
by splnut
I am using NZBMatrix. I first searched for the Album on Nzbmatrix to make sure it was available. I changed the status to wanted but nothing happens.
I.e. -
Artist - Common
Album - Electric Circus
Status in headphones is Wanted
History and Upcoming tabs are empty
Re: Headphones : Music albums and artists auto download program
Posted: June 5th, 2011, 3:42 pm
by rascalli
Maybe an option to let it show the results ? (audio-matic does this & lets you choose what nzb you want)
Re: Headphones : Music albums and artists auto download program
Posted: June 11th, 2011, 6:57 am
by Phunky
So how stable would you say this is? Just finished setting up my local NAS and stumbled on this, sounds really up my street but if it's still in early development it might not be worth it just yet.
Re: Headphones : Music albums and artists auto download program
Posted: June 11th, 2011, 10:10 am
by timmyb12345
So I've stumbled across this and am extremely interested in it.
I have SABnzbd automation with Movies and TV Series (With Sickbeard) and now i'm looking to get all my music collection automated.
I cannot get this to run on my Windows 7 64bit Python32 3.2 setup however, It just doesn't seem to want to run. Stack Trace below:
Traceback (most recent call last):
File "headphones.py", line 2, in
import cherrypy
File "D:\Systems\Headphones\rembo10-headphones-bd3a173 (2)\rembo10-headphones-
bd3a173\cherrypy\__init__.py", line 65, in
from cherrypy._cperror import HTTPError, HTTPRedirect, InternalRedirect
File "D:\Systems\Headphones\rembo10-headphones-bd3a173 (2)\rembo10-headphones-
bd3a173\cherrypy\_cperror.py", line 344
except ValueError, x:
Not sure if that helps. What interests me is the ability for this to hook up into an iTunes library. With the introduction of iOS5 in the Fall - i am looking to centralize my Itunes library in the home.
- Web Interface is a 100% must, so thank you for making this. Audio Matic is available I know but this doesn't come with a web interface.
- Do you think there is a possibility of introducing some way of forcing an iTunes update? Once an album has downloaded for example?
Re: Headphones : Music albums and artists auto download program
Posted: June 11th, 2011, 12:23 pm
by rascalli
Would it be an option to build in logging ?
As some how headphones only imports 3 of my artists I have in my share.
And those are not even the first 3
The are in the middle M & N .. any idea ?
---
I also get this error if I do not go to another page after clicking submit :
Code: Select all
Traceback (most recent call last):
File "/share/HDA_DATA/headphones/cherrypy/_cprequest.py", line 645, in respond
response.body = self.handler()
File "/share/HDA_DATA/headphones/cherrypy/lib/encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/share/HDA_DATA/headphones/cherrypy/_cpdispatch.py", line 29, in __call__
return self.callable(*self.args, **self.kwargs)
File "/share/HDA_DATA/headphones/webServer.py", line 326, in importItunes
itunesimport.itunesImport(path)
File "/share/HDA_DATA/headphones/itunesimport.py", line 34, in itunesImport
artist = ws.Query().getArtistById(artistid, inc)
File "/share/HDA_DATA/headphones/musicbrainz2/webservice.py", line 972, in getArtistById
result = self._getFromWebService('artist', uuid, include)
File "/share/HDA_DATA/headphones/musicbrainz2/webservice.py", line 1179, in _getFromWebService
stream = self._ws.get(entity, id_, includeParams, filterParams)
File "/share/HDA_DATA/headphones/musicbrainz2/webservice.py", line 285, in get
raise WebServiceError(str(e), e)
WebServiceError: HTTP Error 403: Forbidden
Re: Headphones : Music albums and artists auto download program
Posted: June 12th, 2011, 11:08 pm
by baz
W7 64-bit... I get this error with python 3.2 (32-bit & 64-bit), any ideas? SB and CP work great.
Code: Select all
C:\Program Files (x86)\Headphones>\Python32\python.exe headphones.py
Traceback (most recent call last):
File "headphones.py", line 2, in <module>
import cherrypy
File "C:\Program Files (x86)\Headphones\cherrypy\__init__.py", line 65, in <mo
dule>
from cherrypy._cperror import HTTPError, HTTPRedirect, InternalRedirect
File "C:\Program Files (x86)\Headphones\cherrypy\_cperror.py", line 344
except ValueError, x:
^
SyntaxError: invalid syntax
C:\Program Files (x86)\Headphones>
Thanks!
Re: Headphones : Music albums and artists auto download program
Posted: June 12th, 2011, 11:13 pm
by baz
baz wrote:
W7 64-bit... I get this error with python 3.2 (32-bit & 64-bit), any ideas? SB and CP work great.
Thanks!
Nevermind... just needed to install Python 2.7.
Re: Headphones : Music albums and artists auto download program
Posted: June 12th, 2011, 11:34 pm
by baz
rascalli wrote:
Would it be an option to build in logging ?
+1 for logging... I tried to request an album I know is on nzbmatrix but it never makes it to Sabnzb
Thx
Re: Headphones : Music albums and artists auto download program
Posted: June 13th, 2011, 4:36 am
by rembo10
Logging coming asap. I'm just out of town til Thursday so I haven't really been able to work on it much, but I'm keeping an eye on the thread and will work out all the bugs and add in more of the backend functionality as soon as I get back.
timmyb12345 wrote:
Not sure if that helps. What interests me is the ability for this to hook up into an iTunes library. With the introduction of iOS5 in the Fall - i am looking to centralize my Itunes library in the home.
- Web Interface is a 100% must, so thank you for making this. Audio Matic is available I know but this doesn't come with a web interface.
- Do you think there is a possibility of introducing some way of forcing an iTunes update? Once an album has downloaded for example?
iTunes integration was a big one for me too. I know a lot of people don't use iTunes though so I want to make it completely optional. Maybe just have one button with 'Enable iTunes integration' and that would take care of importing downloaded albums to iTunes, mirroring your iTunes library artists, etc.
@rascalli - the 403 forbidden error is something to do with MusicBrainz - I know they upgraded their API so there may be some issues with that. I'll get in touch with them to see if I need to make any changes.
As for showing the results - that's not a bad idea. Would that just be if you're setting an album to wanted manually? Or maybe have a list of pending downloads in the 'Manage' section, with options to select which one you want?
In either case, I'll be back to work on this by the weekend and will hopefully get out something a little more robust by Sunday or Monday
Re: Headphones : Music albums and artists auto download program
Posted: June 13th, 2011, 5:37 am
by rascalli
@Rembo10 , I would say show result when you manually set an album to wanted
But your other idea to have them IN manage is also very good
Re: Headphones : Music albums and artists auto download program
Posted: June 14th, 2011, 8:57 am
by rembo10
Added in force checking for wanted albums and force updating active artists (under Manage->Force Search)
Latest @
http://github.com/rembo10/headphones
Next up is logging.....
@rascalli - I'm going to go through your artist list to see if there are any problems with the MB query - hopefully I can get a fix up soon
Re: Headphones : Music albums and artists auto download program
Posted: June 14th, 2011, 1:07 pm
by jdwoods
This looks cool.
Has anybody successfully gotten this to work on Mac?
I'd love to try it out as I have CouchPotato and SickBeard running. Would love to add something like this.
Re: Headphones : Music albums and artists auto download program
Posted: June 14th, 2011, 1:10 pm
by nomar383
jdwoods wrote:
This looks cool.
Has anybody successfully gotten this to work on Mac?
I'd love to try it out as I have CouchPotato and SickBeard running. Would love to add something like this.
Works fine on my mac. Similar to SickBeard.
Re: Headphones : Music albums and artists auto download program
Posted: June 15th, 2011, 12:37 pm
by jdwoods
I have headphones up and running. I have added a few artists in. I have selected a number of their albums as wanted. I have conifigred Sab and NzbMatrix similar to how I have configured SickBeard.
I have not gotten a single album to download yet though. I have tried to force the application to search for albums and receive the following error:
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "/path/_cprequest.py", line 645, in respond
response.body = self.handler()
File "/path/lib/encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/path/_cpdispatch.py", line 29, in __call__
return self.callable(*self.args, **self.kwargs)
File "/path/webServer.py", line 341, in forceSearch
searcher.searchNZB()
File "path/searcher.py", line 179, in searchNZB
urllib.urlopen(saburl)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib.py", line 87, in urlopen
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib.py", line 203, in open
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib.py", line 338, in open_http
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 "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 683, in connect
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/socket.py", line 512, in create_connection
IOError: [Errno socket error] [Errno 61] Connection refused
This is pretty odd considering in Terminal when I type Python, I receive this:
Code: Select all
Python 2.7.1 (r271:86882M, Nov 30 2010, 09:39:13)
[GCC 4.0.1 (Apple Inc. build 5494)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
Any input on this?