Headphones : Music albums and artists auto download program

Got a program that plays well with SABnzbd? Share it here!

Re: Sickbeard for Music albums and artists

Postby al1937 » May 25th, 2011, 4:02 pm

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. ??
Last edited by al1937 on May 25th, 2011, 4:16 pm, edited 1 time in total.
al1937
Newbie
Newbie
 
Posts: 39
Joined: November 25th, 2009, 3:49 am

Re: Sickbeard for Music albums and artists

Postby rembo10 » May 25th, 2011, 4:54 pm

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.
rembo10
Jr. Member
Jr. Member
 
Posts: 56
Joined: April 26th, 2011, 3:29 am

Re: Sickbeard for Music albums and artists

Postby rembo10 » May 25th, 2011, 6:47 pm

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
rembo10
Jr. Member
Jr. Member
 
Posts: 56
Joined: April 26th, 2011, 3:29 am

Re: Sickbeard for Music albums and artists

Postby aaearon » May 26th, 2011, 4:04 pm

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.
aaearon
Release Testers
Release Testers
 
Posts: 13
Joined: September 9th, 2008, 9:32 pm

Re: Sickbeard for Music albums and artists

Postby rembo10 » May 26th, 2011, 11:12 pm

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.
rembo10
Jr. Member
Jr. Member
 
Posts: 56
Joined: April 26th, 2011, 3:29 am

Re: Sickbeard for Music albums and artists

Postby aaearon » May 26th, 2011, 11:37 pm

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?
aaearon
Release Testers
Release Testers
 
Posts: 13
Joined: September 9th, 2008, 9:32 pm

Re: Sickbeard for Music albums and artists

Postby xplizion » May 27th, 2011, 9:56 am

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.
xplizion
Newbie
Newbie
 
Posts: 4
Joined: August 3rd, 2010, 6:35 am

Re: Sickbeard for Music albums and artists

Postby al1937 » May 27th, 2011, 12:17 pm

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.
al1937
Newbie
Newbie
 
Posts: 39
Joined: November 25th, 2009, 3:49 am

Re: Sickbeard for Music albums and artists

Postby rembo10 » May 27th, 2011, 5:24 pm

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!
rembo10
Jr. Member
Jr. Member
 
Posts: 56
Joined: April 26th, 2011, 3:29 am

Re: Sickbeard for Music albums and artists

Postby rembo10 » May 27th, 2011, 8:30 pm

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.
rembo10
Jr. Member
Jr. Member
 
Posts: 56
Joined: April 26th, 2011, 3:29 am

Re: Sickbeard for Music albums and artists

Postby blancNoir » May 30th, 2011, 9:42 pm

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.
Last edited by blancNoir on May 30th, 2011, 9:48 pm, edited 1 time in total.
blancNoir
Newbie
Newbie
 
Posts: 1
Joined: May 24th, 2011, 4:55 pm

Re: Sickbeard for Music albums and artists

Postby bry » May 31st, 2011, 11:37 am

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.
bry
Newbie
Newbie
 
Posts: 3
Joined: May 31st, 2011, 11:32 am

Re: Sickbeard for Music albums and artists

Postby rascalli » June 2nd, 2011, 9:26 am

@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 ?
User avatar
rascalli
Moderator
Moderator
 
Posts: 666
Joined: January 18th, 2008, 1:30 am
Location: Bossche bollen land

Re: Sickbeard for Music albums and artists

Postby compcentral » June 2nd, 2011, 11:17 am

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.)? 
Last edited by compcentral on June 2nd, 2011, 11:28 am, edited 1 time in total.
compcentral
Newbie
Newbie
 
Posts: 8
Joined: May 5th, 2011, 3:43 pm

Re: Sickbeard for Music albums and artists

Postby rembo10 » June 3rd, 2011, 7:05 am

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.
rembo10
Jr. Member
Jr. Member
 
Posts: 56
Joined: April 26th, 2011, 3:29 am

PreviousNext

Return to Third-party Addons