Headphones : Music albums and artists auto download program

Got a program that plays well with SABnzbd? Share it here!
User avatar
rascalli
Moderator
Moderator
Posts: 656
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Re: Headphones : Music albums and artists auto download prog

Post by rascalli »

Maybe an idea for headphones to remember the artists that the user deleted.
As I have some VA albums & HeadPhones keeps adding all artist from this ;-/

Or if some one else has an idea how to avoid this .. let me know
Starf0x
Newbie
Newbie
Posts: 46
Joined: September 28th, 2010, 6:41 am

Re: Headphones : Music albums and artists auto download prog

Post by Starf0x »

Split it up, I have a folder of artists and a folder of compilations, the latter I do not scan.
Maybe in the future as HP is growing vastly I'll add them together again.

Starf0x
User avatar
rascalli
Moderator
Moderator
Posts: 656
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Re: Headphones : Music albums and artists auto download prog

Post by rascalli »

Hmmm , good idea ...

So if I make these folders , will HP then delete them of it's db ??
User avatar
rascalli
Moderator
Moderator
Posts: 656
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Re: Headphones : Music albums and artists auto download prog

Post by rascalli »

I would like to change the following values :

nzb_search_interval = 360
libraryscan_interval = 180

So I tried it to set to once every 24 hours : 1440
But somehow this does not work ... any idea's how to change this so it holds ??
Starf0x
Newbie
Newbie
Posts: 46
Joined: September 28th, 2010, 6:41 am

Re: Headphones : Music albums and artists auto download prog

Post by Starf0x »

rascalli wrote:Hmmm , good idea ...

So if I make these folders , will HP then delete them of it's db ??
Nope, just shutdown HP and delete the database.
Start it and let is scan your artists folder.

Starf0x
Placemaster
Newbie
Newbie
Posts: 19
Joined: July 1st, 2010, 2:10 pm

Re: Headphones : Music albums and artists auto download prog

Post by Placemaster »

I am trying to get Headphones up and running on my 0.7.2 Sabanda (revision 5543).

I have installed it with the following commands:

fetch http://github.com/rembo10/headphones/tarball/master
tar -xzf master
rm master
mv rembo10-headphones* Headphones

When I try to run python Headphones.py I do get the following errors:

Traceback (most recent call last):
File "Headphones.py", line 7, in <module>
import headphones
File "/mnt/FreeNAS/Temp/Headphones/headphones/__init__.py", line 7, in <module>
import sqlite3
File "/usr/local/lib/python2.6/sqlite3/__init__.py", line 24, in <module>
from dbapi2 import *
File "/usr/local/lib/python2.6/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ImportError: No module named _sqlite3

sqlite3-3.6.19 is installed. What do I miss?
404
Newbie
Newbie
Posts: 1
Joined: August 15th, 2011, 12:35 pm

Re: Headphones : Music albums and artists auto download prog

Post by 404 »

Long time lurker - first time poster

Just started using Headphones and I like what I see so far but I've run into a slight problem that maybe someone can figure out for me. I've started by trying to download albums for two artists, Eminem and Filter but for every NZB it finds for those artists the log reads: Unable to parse the best result NZB. Skipping.

I can understand that there could be a problem with those NZBs but it strikes me as odd that its every one it tries. Here is a sampling of the actual log:

Code: Select all


2011-08-15 13:00:57	ERROR	Unable to parse the best result NZB. Skipping.
2011-08-15 13:00:56	INFO	Pre-processing result
2011-08-15 13:00:56	INFO	Found Filter.Short.Bus.1995.NHH-INT. Size: 75.0 MB
2011-08-15 13:00:56	INFO	Parsing results from NZBMatrix
2011-08-15 13:00:56	INFO	Searching for Filter Short Bus since it was marked as wanted
2011-08-15 13:00:55	ERROR	Unable to parse the best result NZB. Skipping.
2011-08-15 13:00:55	ERROR	Unable to parse the best result NZB. Skipping.
2011-08-15 13:00:54	ERROR	Unable to parse the best result NZB. Skipping.
2011-08-15 13:00:53	INFO	Pre-processing result
2011-08-15 13:00:53	INFO	Found Filter.The.Trouble.With.Angels.2CD-2010. Size: 116.0 MB
2011-08-15 13:00:53	INFO	Found Filter.The.Trouble.With.Angels.2CD-2010. Size: 115.0 MB
2011-08-15 13:00:53	INFO	Found Filter.The.Trouble.With.Angels.2CD-2010. Size: 115.0 MB
2011-08-15 13:00:52	INFO	Parsing results from NZBMatrix
2011-08-15 13:00:52	INFO	Searching for Filter The Trouble With Angels since it was marked as wanted
2011-08-15 13:00:21	INFO	Updating complete for: Filter
2011-08-15 13:00:16	INFO	Now adding/updating album: Filter
2011-08-15 13:00:09	INFO	Now adding/updating album: The Trouble With Angels
2011-08-15 13:00:01	INFO	Now adding/updating album: Anthems for the Damned
2011-08-15 12:59:51	INFO	Now adding/updating album: The Amalgamut
2011-08-15 12:59:40	INFO	Now adding/updating album: Guitar Lesson With Filter -- Learn to Play Captain Bligh
2011-08-15 12:59:33	INFO	Now adding/updating album: Title of Record
2011-08-15 12:59:11	INFO	Now adding/updating album: Short Bus
2011-08-15 12:59:04	INFO	Now adding/updating: Filter
2011-08-15 12:57:52	ERROR	Unable to parse the best result NZB. Skipping.
2011-08-15 12:57:51	ERROR	Unable to parse the best result NZB. Skipping.
2011-08-15 12:57:50	ERROR	Unable to parse the best result NZB. Skipping.
2011-08-15 12:57:49	ERROR	Unable to parse the best result NZB. Skipping.
2011-08-15 12:57:48	ERROR	Unable to parse the best result NZB. Skipping.
2011-08-15 12:57:47	ERROR	Unable to parse the best result NZB. Skipping.
2011-08-15 12:57:46	ERROR	Unable to parse the best result NZB. Skipping.
2011-08-15 12:57:44	INFO	Pre-processing result
2011-08-15 12:57:44	INFO	Found Eminem.The.Slim.Shady.LP-1999. Size: 96.0 MB
2011-08-15 12:57:44	INFO	Found Eminem...The.Slim.Shady.LP-[1999. Size: 60.0 MB
2011-08-15 12:57:44	INFO	Found Eminem.The.Slim.Shady.LP.Special.Edition.2CD-1999. Size: 86.0 MB
2011-08-15 12:57:44	INFO	Found Eminem...The.Slim.Shady-LP. Size: 149.0 MB
2011-08-15 12:57:44	INFO	Found Eminem.The.Slim.Shady.LP-1999. Size: 97.0 MB
2011-08-15 12:57:44	INFO	Found Eminem...The.Slim.Shady.LP.Ltd-Edition. Size: 61.0 MB
2011-08-15 12:57:44	INFO	Eminem.The.Slim.Shady.LP.Deluxe.Version-1999 is larger than the maxsize for this category, skipping. (Size: 396906987 bytes)
2011-08-15 12:57:44	INFO	Found Eminem.The.Slim.Shady.LP.Japanese.Edition.1999.DeBT-iNT. Size: 116.0 MB
2011-08-15 12:57:44	INFO	Parsing results from NZBMatrix
2011-08-15 12:57:44	INFO	Searching for Eminem The Slim Shady LP since it was marked as wanted
2011-08-15 12:53:26	INFO	Updating complete for: Eminem
2011-08-15 12:53:16	INFO	Now adding/updating album: Recovery
2011-08-15 12:53:02	INFO	Now adding/updating album: Relapse
2011-08-15 12:52:46	INFO	Now adding/updating album: Encore
2011-08-15 12:52:34	INFO	Now adding/updating album: The Eminem Show
2011-08-15 12:52:23	INFO	Now adding/updating album: The Marshall Mathers LP
2011-08-15 12:52:04	INFO	Now adding/updating album: The Slim Shady LP
2011-08-15 12:51:52	INFO	Now adding/updating album: Infinite
2011-08-15 12:51:47	INFO	Now adding/updating: Eminem
2011-08-15 12:51:23	INFO	Starting Headphones on port: 8181
2011-08-15 12:51:22	INFO	Headphones is already up-to-date.
2011-08-15 12:51:21	INFO	Checking to see if the database has all tables....
I downloaded Headphones today from Github. After installing it updated itself. Any chance there is a bug in the update?

Thanks for any help you can give.
dazzawright75
Newbie
Newbie
Posts: 4
Joined: August 16th, 2011, 4:28 am

Re: Headphones : Music albums and artists auto download prog

Post by dazzawright75 »

Hi, I too was getting the "Unable to parse the best result NZB" error, turns out I had the incorrect NZBMatrix API set. The correct one is on the "Index Sites" page in the SabNZBD config.
stabu
Jr. Member
Jr. Member
Posts: 64
Joined: December 10th, 2008, 10:02 pm

Re: Headphones : Music albums and artists auto download prog

Post by stabu »

anyway to keep the group names on the folder? Also anyway to get new releases in the database that arent out yet?
aeonlux
Newbie
Newbie
Posts: 5
Joined: August 16th, 2011, 10:12 am

Re: Headphones : Music albums and artists auto download prog

Post by aeonlux »

Hi, have been using headphones for a couple of days now. And so far so good - but I do notice some bugs around post-processing. Sometimes, if one of the albums can't be processed - it runs into a cosntant loop and the items below are ignored.

I see quite a bit of python related errors and a temporary solution was to remove that album from the folder, restart HP and manually click force post-processing.

The albums that I have ran into this problem are:
Eminem - Relapse [2009]
Eminem - The Marshall Mathers LP [2000]

They both look properly named, not sure what the problem is. Will edit the post with the error when I see it again.
Placemaster
Newbie
Newbie
Posts: 19
Joined: July 1st, 2010, 2:10 pm

Re: Headphones : Music albums and artists auto download prog

Post by Placemaster »

I just starting to use Headphones. Program is great but I have some questions.
I already have a folder with my MP3's. It is set-up like this :
Artist
Year - Album
Track no. - Title.mp3

If the Album has more than one cd there will be 2 folders in the Album folder.
When scanning these folders it does not recognise the albums. Is there a way to let them be recognised by Headphones?

If an album is downloaded by Headphones it looks like this The KLF - The White Room [1991].
When I try to post process it it make an folder with The KLF and a subfolder _97WCX~P. This should be The White Room. Do I have some setting wrong? Or is this normal behaviour?

On the homepage it show that I already have some files downloaded. When I click on the artist the number of files is 0.

When downloading an album it does not go to the right folder. In SABnzbd Category: I have put music like the catergories I have defined in Sabnzbd.
It ends up in the main download folder.
Is nzbmatrix the best nzb archiver to use with Headphones?

Again great program but I have to get used to work with it. Keep up the good work!
Last edited by Placemaster on August 16th, 2011, 2:55 pm, edited 1 time in total.
aeonlux
Newbie
Newbie
Posts: 5
Joined: August 16th, 2011, 10:12 am

Re: Headphones : Music albums and artists auto download prog

Post by aeonlux »

Is it just me or anyone else getting random artists added to the list?

Currently I have
<209>
08
09
10c
11:11
12 Gauge
12:06

And a couple more random artists just added to my list without me adding it
Placemaster
Newbie
Newbie
Posts: 19
Joined: July 1st, 2010, 2:10 pm

Re: Headphones : Music albums and artists auto download prog

Post by Placemaster »

I have the same. I think Headphones picks them from other albums.
aeonlux
Newbie
Newbie
Posts: 5
Joined: August 16th, 2011, 10:12 am

Re: Headphones : Music albums and artists auto download prog

Post by aeonlux »

I think a button is needed to turn this feature off, I don't want my list populated with other artists that I have not heard before.
rembo10
Jr. Member
Jr. Member
Posts: 56
Joined: April 26th, 2011, 2:29 am

Re: Headphones : Music albums and artists auto download prog

Post by rembo10 »

A lot of the false positives have been fixed in the develop branch - you can also turn off auto-importing for new artists. It also won't readd an incorrect artist if you manually fix it by deleting that artist and adding the correct one.

Rascalli - try changing the settings while Headphones is shut down to get the new configs to stick. it only reads the config file on startup

Placemaster - what are your file/folder settings? Are you pointing headphones to the correct download_dir? It uses metadata to identify albums, so subfolders don't matter
Post Reply