Page 2 of 21
Re: Sickbeard for Music albums and artists
Posted: May 25th, 2011, 3:02 pm
by al1937
Hi rembo10
Thanks for the fix, it worked fine, but I have another for you.
I got the following error when I tried to download. Using Sab 0.6.2 and latest headphones.
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "M:\Headphones\cherrypy\_cprequest.py", line 645, in respond
response.body = self.handler()
File "M:\Headphones\cherrypy\lib\encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "M:\Headphones\cherrypy\_cpdispatch.py", line 29, in __call__
return self.callable(*self.args, **self.kwargs)
File "M:\Headphones\webServer.py", line 275, in queueAlbum
searcher.searchNZB(AlbumID)
File "M:\Headphones\searcher.py", line 95, in searchNZB
urllib.urlopen(saburl)
File "C:\Python2.7\lib\urllib.py", line 84, in urlopen
return opener.open(url)
File "C:\Python2.7\lib\urllib.py", line 205, in open
return getattr(self, name)(url)
File "C:\Python2.7\lib\urllib.py", line 342, in open_http
h.endheaders(data)
File "C:\Python2.7\lib\httplib.py", line 937, in endheaders
self._send_output(message_body)
File "C:\Python2.7\lib\httplib.py", line 797, in _send_output
self.send(msg)
File "C:\Python2.7\lib\httplib.py", line 759, in send
self.connect()
File "C:\Python2.7\lib\httplib.py", line 740, in connect
self.timeout, self.source_address)
File "C:\Python2.7\lib\socket.py", line 553, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
IOError: [Errno socket error] [Errno 11004] getaddrinfo failed
OK I shutdown headphones and tried again and now I get returned to the list of albums and no download. ??
Re: Sickbeard for Music albums and artists
Posted: May 25th, 2011, 3:54 pm
by rembo10
Does the status change from "Skipped" to "Wanted"? It could just be that there were no results.
I'm trying it out on Win7 now - seems ok, and is sending to Sab (latest 0.6.2) correctly.
Can you try another album you know is posted and let me know what happens? I will work on the issue of having to restart after making changes to settings. The only thing that should require a restart is changing the headphones host/port/username/password.
Re: Sickbeard for Music albums and artists
Posted: May 25th, 2011, 5:47 pm
by rembo10
For some reason new settings won't take effect til a restart. I added a note on the settings page to reflect this.
Latest version at:
http://github.com/rembo10/headphones
or you can clone via git:
git://github.com/rembo10/headphones.git
Re: Sickbeard for Music albums and artists
Posted: May 26th, 2011, 3:04 pm
by aaearon
Really loving the concept of this. Great idea and I never thought of something like this until I was linked this project.
I ran into some issues and went ahead and posted them on git. I won't be around past today due to the memorial day weekend but I tried to include as much information as I possibly good. Hopefully this helps. Keep up the good work.
Re: Sickbeard for Music albums and artists
Posted: May 26th, 2011, 10:12 pm
by rembo10
I added support for Newznab & NZBs.org.
Not sure if NZBs.org is working because I don't have an account (I just modified some of the Sickbeard code). So if someone could test this out that would be great. Also let me know what the NZBs.org categories for Lossless & mp3 albums are, that would be awesome.
As always, get the latest at
http://github.com/rembo10/headphones
P.S. You may need to dump your config.ini file if upgrading so it can write the new categories. I will fix this soon.
Re: Sickbeard for Music albums and artists
Posted: May 26th, 2011, 10:37 pm
by aaearon
Definitely have to nuke your existing config. I tried NZBs.org and set it as my only provider but it doesn't seem to work. I'm not sure what feedback I can provide beyond that since I don't see anything coming up in the log.
In terms of lossless/mp3 album categories for nzbs.org, what do you mean?
Re: Sickbeard for Music albums and artists
Posted: May 27th, 2011, 8:56 am
by xplizion
This is awesome
Just downloaded and playing a bit with it.
What would be great is to be able to just give him a folder where all my music is to index, instead of an iTunes library.
I'll be following this one up for sure.
Re: Sickbeard for Music albums and artists
Posted: May 27th, 2011, 11:17 am
by al1937
Hi rembo10
There only seems to be two selectable categories: mp3 and video. Lossless is not mentioned anywhere.
I've not been able to determine if it works properly or not as yet.
Re: Sickbeard for Music albums and artists
Posted: May 27th, 2011, 4:24 pm
by rembo10
al1937 wrote:
Hi rembo10
There only seems to be two selectable categories: mp3 and video. Lossless is not mentioned anywhere.
I've not been able to determine if it works properly or not as yet.
Ah - good to know - thanks!
Re: Sickbeard for Music albums and artists
Posted: May 27th, 2011, 7:30 pm
by rembo10
xplizion wrote:
This is awesome
Just downloaded and playing a bit with it.
What would be great is to be able to just give him a folder where all my music is to index, instead of an iTunes library.
I'll be following this one up for sure.
I will implement this asap.
Re: Sickbeard for Music albums and artists
Posted: May 30th, 2011, 8:42 pm
by blancNoir
Rembo I'm very Intruiged by this. I haven't cloned the report yet but was just wondering what api are you using for artist data,. Last. Fm? My only concern would be the overall availability of less known band's back catalog on usenet. In your, and other users, experience how often are you able to find what you're looking for? Again this looks really cool. I can't wait to try it out.
Re: Sickbeard for Music albums and artists
Posted: May 31st, 2011, 10:37 am
by bry
rembo,
what kind of post processing are you looking to add? Right now I use media monkey post processing for all my music.
you may want to look into that software for some possible features you can add.
Re: Sickbeard for Music albums and artists
Posted: June 2nd, 2011, 8:26 am
by rascalli
@Rembo , this looks very nice ..
I set an album to wnated that I know is on nzbmatrix .. when does it look for this ? Is there a log somewhere ?
Re: Sickbeard for Music albums and artists
Posted: June 2nd, 2011, 10:17 am
by compcentral
I too am developing a solution like yours called Audio-Matic (
http://www.audio-matic.com/About.php). Just to give you a heads up, post-processing with music can get interesting. I finally have mine working fairly well now. What are you doing for reading tag information contained in files (ie. ID3, APE, etc.)?
Re: Sickbeard for Music albums and artists
Posted: June 3rd, 2011, 6:05 am
by rembo10
Hey sorry - been out of town for a few days.
I'm using MusicBrainz as my api. As for the usenet availability it really just depends - but MusicBrainz is pretty good about having lesser known bands' information.
I've been looking into using Beets as a post-processing add-on. It's written in Python so it would be pretty easy to integrate I think
https://github.com/sampsyo/beets
He's also using MusicBrainz to get the metadata.
As for looking for albums, right now it searches it right away if you set anything to wanted, then it does a backlog search every 12 hours - I'll make this all customizable in settings.
I wonder why it's not finding your album - I actually set an album size limit if you leave the FLAC option unchecked (just because FLAC albums are sometimes posted in the mp3 album category). Kind of a quick workaround that I'm planning on improving. Logging would definitely help though :-p . It will be added soon. If you want to PM me what you're looking for I can try to figure out why it's not finding it.
Audio-matic looks awesome. Would love to chat about how yours works. I think Beets uses mutagen to read and write tags, so i'll probably just integrate the same backend.