Headphones : Music albums and artists auto download program
-
- Newbie
- Posts: 19
- Joined: July 1st, 2010, 2:10 pm
Re: Headphones : Music albums and artists auto download prog
Hi rembo10,
my settings are in Headphones:
for Music Download Directory : /mnt/FreeNAS/Headphones
SABnzbd Category : Headphones (I have created in Sabnzbd this catergory, but I have still to set it manually in Sabnzbd)
Quality & Post Processing
Album Quality : Highest Quality excluding Lossless
Post-Processing : Move downloads to Destination Folder
Rename files
Correct metadata
Delete leftover files (.m3u, .nfo, .sfv, .nzb, etc.)
Add album art as 'folder.jpg' to album folder
Embed album art in each file
Advanced Settings
Renaming Options :
Folder Format: artist/[year] - album (I assume this is the same as I have below)
(I already have my music collection sorted like this :
Artist (Folder)
Year - Album (Folder)
Track no. - Title.mp3
I have tried to indentify the flder of Adele. It does not work. Now I am checking with manual adding of the artist. This also does not recognise all the albums.
F.i. album 19 is downloaded but not recognised. Album 21 is downloaded and recognised.
It is a lot of info hope you can guide me into the right direction.
my settings are in Headphones:
for Music Download Directory : /mnt/FreeNAS/Headphones
SABnzbd Category : Headphones (I have created in Sabnzbd this catergory, but I have still to set it manually in Sabnzbd)
Quality & Post Processing
Album Quality : Highest Quality excluding Lossless
Post-Processing : Move downloads to Destination Folder
Rename files
Correct metadata
Delete leftover files (.m3u, .nfo, .sfv, .nzb, etc.)
Add album art as 'folder.jpg' to album folder
Embed album art in each file
Advanced Settings
Renaming Options :
Folder Format: artist/[year] - album (I assume this is the same as I have below)
(I already have my music collection sorted like this :
Artist (Folder)
Year - Album (Folder)
Track no. - Title.mp3
I have tried to indentify the flder of Adele. It does not work. Now I am checking with manual adding of the artist. This also does not recognise all the albums.
F.i. album 19 is downloaded but not recognised. Album 21 is downloaded and recognised.
It is a lot of info hope you can guide me into the right direction.
Re: Headphones : Music albums and artists auto download prog
Perhaps add support for www.nzbindex.com. It has an easy rss-feature which should make it easy to import nzb-files
-
- Newbie
- Posts: 19
- Joined: July 1st, 2010, 2:10 pm
Re: Headphones : Music albums and artists auto download prog
I am still testing Headphones. Now I tested the post-processing.
In the log file of Headphones I see it is doing the post-processing. When I look in the folder where it should copy the mp3 I do see them.
The file names are correct but the foldernames not.
For instance Album 21 from Adele is now called _UA9RW~H
When I look in filezilla using Sftp I do see the right names showing up. I think it has to do with charactersets.
This is for all album folders but different names like :
_S9YFG~C
_IKNTA~Y
_DENZL~8
_5W0ZB~X
Solution:
I have updated to the latest version : 236916b8568523439d238bd9be346faea44c160c
By putting first only artist/album [year] it was correct, after that slight change to artist/album year. Also correct
Than finally to artist/album - year Perfect.
In the log file of Headphones I see it is doing the post-processing. When I look in the folder where it should copy the mp3 I do see them.
The file names are correct but the foldernames not.
For instance Album 21 from Adele is now called _UA9RW~H
When I look in filezilla using Sftp I do see the right names showing up. I think it has to do with charactersets.
This is for all album folders but different names like :
_S9YFG~C
_IKNTA~Y
_DENZL~8
_5W0ZB~X
Solution:
I have updated to the latest version : 236916b8568523439d238bd9be346faea44c160c
By putting first only artist/album [year] it was correct, after that slight change to artist/album year. Also correct
Than finally to artist/album - year Perfect.
Last edited by Placemaster on August 17th, 2011, 9:38 am, edited 1 time in total.
Re: Headphones : Music albums and artists auto download prog
Does anyone get an error page sometimes trying to mark all music of an artist to wanted? Also, I think it would be beneficial to have a page where we can select all albums to "wanted" if they are any status other than wanted.
Re: Headphones : Music albums and artists auto download prog
@Placemaster .. those names \i also see sometimes (before using HP) so I think it is an indexing site problem
-
- Newbie
- Posts: 19
- Joined: July 1st, 2010, 2:10 pm
Re: Headphones : Music albums and artists auto download prog
@rascalli,
since the new version it is working very well.
since the new version it is working very well.
-
- Newbie
- Posts: 19
- Joined: July 1st, 2010, 2:10 pm
Re: Headphones : Music albums and artists auto download prog
I have problems with the post processing. At the beginning it was working well. Now after 20 albums is does not process anything anymore.
Also with force post processing it is not working. The downloaded albums are staying in the original folder.
They look like this:
Fish - Vigil in a Wilderness of Mirrors [1990] (foldername)
01. Vigil In A Wilderness Of Mirrors (trackname)
How can I find out where it is going wrong? This to make further developments possible.
I have looked into putty to see live what is happening. See the info below.
17-Aug-2011 22:51:59 - INFO :: Thread-12 : Found a match in the database: De Dijk - Bloedend hart. Verifying to make sure it is the correct album
Exception in thread Thread-12:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/threading.py", line 525, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.6/threading.py", line 477, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/share/Headphones/headphones/postprocessor.py", line 510, in forcePostProcess
verify(release['AlbumID'], albumpath)
File "/usr/local/share/Headphones/headphones/postprocessor.py", line 115, in verify
for r,d,f in os.walk(albumpath):
File "/usr/local/lib/python2.6/os.py", line 284, in walk
if isdir(join(top, name)):
File "/usr/local/lib/python2.6/posixpath.py", line 70, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 14: ordinal not in range(128)
I am running Headphones on Freenas 0.7.2 Sabanda (revision 5543)
Also with force post processing it is not working. The downloaded albums are staying in the original folder.
They look like this:
Fish - Vigil in a Wilderness of Mirrors [1990] (foldername)
01. Vigil In A Wilderness Of Mirrors (trackname)
How can I find out where it is going wrong? This to make further developments possible.
I have looked into putty to see live what is happening. See the info below.
17-Aug-2011 22:51:59 - INFO :: Thread-12 : Found a match in the database: De Dijk - Bloedend hart. Verifying to make sure it is the correct album
Exception in thread Thread-12:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/threading.py", line 525, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.6/threading.py", line 477, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/share/Headphones/headphones/postprocessor.py", line 510, in forcePostProcess
verify(release['AlbumID'], albumpath)
File "/usr/local/share/Headphones/headphones/postprocessor.py", line 115, in verify
for r,d,f in os.walk(albumpath):
File "/usr/local/lib/python2.6/os.py", line 284, in walk
if isdir(join(top, name)):
File "/usr/local/lib/python2.6/posixpath.py", line 70, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 14: ordinal not in range(128)
I am running Headphones on Freenas 0.7.2 Sabanda (revision 5543)
Re: Headphones : Music albums and artists auto download prog
Hi
Under the Download Settings: I'm seeting the SABnzb host to be https://tvhost:9090/ and click on save. I then see an invalid SAB host message in the logs and that field now reads
http://https://tvhost:9090/
I'm running SABnzbd on one host and headphones on another but this does not seem to work.
Cheers
Under the Download Settings: I'm seeting the SABnzb host to be https://tvhost:9090/ and click on save. I then see an invalid SAB host message in the logs and that field now reads
http://https://tvhost:9090/
I'm running SABnzbd on one host and headphones on another but this does not seem to work.
Cheers
Re: Headphones : Music albums and artists auto download prog
Hey catch22 - sorry about that, there was a bug in the code. I just pushed the fix.
Placemaster - sometimes if an album is poorly tagged and file names aren't good, Headphones won't process the album (because it can't be sure it's the right album). If you're still having trouble, PM me.
Placemaster - sometimes if an album is poorly tagged and file names aren't good, Headphones won't process the album (because it can't be sure it's the right album). If you're still having trouble, PM me.
Re: Headphones : Music albums and artists auto download prog
Rembo, for the albums that are tagged poorly during downloading - would you suggest manually editing the files and let post processing run again?
Re: Headphones : Music albums and artists auto download prog
At the very bottom of the read me is:
That should be:If you run into any more issues, visit http://github.com/rembo10/headphones and report an issue.
If you run into any more issues, visit https://github.com/rembo10/headphones/issues and report an issue.
Re: Headphones : Music albums and artists auto download prog
New user attempting to get this working...
I've added a few artists/albums, but can get nothing to download.
SABnzbd version 0.6.8. My Sickbeard and Couch Potato are working and downloading fine.
Here are some log entries:
Timestamp Level Message
2011-08-19 23:18:24 INFO Unknown failure sending NZB to sab. Return text is:
2011-08-19 23:18:24 INFO Result text from SAB:
2011-08-19 23:18:24 INFO Found best result: Bush.Sixteen.Stone.Retail-1994 - 98.0 MB
2011-08-19 23:18:21 INFO Now adding/updating album: The Science of Things
2011-08-19 23:18:21 INFO Pre-processing result
2011-08-19 23:18:21 INFO No results found from https://nzb.su/ for Bush Sixteen Stone
2011-08-19 23:18:14 INFO Parsing results from https://nzb.su/
2011-08-19 23:18:14 INFO Found Bush.Sixteen.Stone.Retail-1994. Size: 98.0 MB
2011-08-19 23:18:14 INFO Found Bush.Sixteen.Stone-1994. Size: 92.0 MB
2011-08-19 23:18:14 INFO Found Bush.Sixteen-Stone. Size: 98.0 MB
2011-08-19 23:18:13 INFO Parsing results from NZBMatrix
2011-08-19 23:18:13 INFO Searching for Bush Sixteen Stone since it was marked as wanted
2011-08-19 23:18:13 INFO Marking album: eef2b4a3-49dc-33d7-9fbb-fb2313cd57b0as wanted...
2011-08-19 23:05:18 INFO Removed from results: Lonestar Im Already There (missing token: I)
2011-08-19 23:05:18 INFO No results found from https://nzb.su/ for Lonestar I'm Already There
2011-08-19 23:05:10 INFO Parsing results from https://nzb.su/
2011-08-19 23:05:10 INFO Found Lonestar...Im.Already-There. Size: 129.0 MB
2011-08-19 23:05:10 INFO Parsing results from NZBMatrix
2011-08-19 23:05:10 INFO Searching for Lonestar I'm Already There since it was marked as wanted
2011-08-19 23:05:09 INFO Marking album: 40d80313-c2be-3e2c-b05e-812fe5a853fcas wanted...
2011-08-19 23:04:42 INFO No results found from https://nzb.su/ for Soulja Boy Tell 'Em The DeAndre Way
2011-08-19 23:04:37 INFO Parsing results from https://nzb.su/
2011-08-19 23:04:37 INFO No results found from NZBMatrix for Soulja Boy Tell 'Em The DeAndre Way
2011-08-19 23:04:36 INFO Parsing results from NZBMatrix
2011-08-19 23:04:36 INFO Searching for Soulja Boy Tell 'Em The DeAndre Way since it was marked as wanted
2011-08-19 23:04:36 INFO Marking album: 15b46fca-ab21-4ca7-b796-e9e6cea9c510as wanted...
2011-08-19 23:01:00 INFO Unknown failure sending NZB to sab. Return text is:
2011-08-19 23:01:00 INFO Result text from SAB:
2011-08-19 23:01:00 INFO Found best result: Trey Songz-Ready-2009-H3X - 94.0 MB
2011-08-19 23:00:59 INFO Pre-processing result
2011-08-19 23:00:59 INFO Found Trey Songz-Ready-2009-H3X. Size: 94.0 MB
2011-08-19 23:00:54 INFO Parsing results from https://nzb.su/
2011-08-19 23:00:54 INFO Found Trey.Songz.Ready-2009. Size: 91.0 MB
2011-08-19 23:00:54 INFO Found Trey.Songz..-Ready. Size: 94.0 MB
2011-08-19 23:00:54 INFO Trey.Songz..-Ready is larger than the maxsize for this category, skipping. (Size: 306540707 bytes)
2011-08-19 23:00:53 INFO Parsing results from NZBMatrix
2011-08-19 23:00:53 INFO Searching for Trey Songz Ready since it was marked as wanted
2011-08-19 23:00:53 INFO Marking album: 5ce92d26-c60b-4fcf-8d0d-9c5d0d928c8cas wanted...
2011-08-19 23:00:19 INFO Starting Headphones on port: 8181
2011-08-19 23:00:19 INFO Headphones is already up-to-date.
2011-08-19 23:00:18 INFO Checking to see if the database has all tables....
Any ideas what I'm doing wrong?
Thanks.
I've added a few artists/albums, but can get nothing to download.
SABnzbd version 0.6.8. My Sickbeard and Couch Potato are working and downloading fine.
Here are some log entries:
Timestamp Level Message
2011-08-19 23:18:24 INFO Unknown failure sending NZB to sab. Return text is:
2011-08-19 23:18:24 INFO Result text from SAB:
2011-08-19 23:18:24 INFO Found best result: Bush.Sixteen.Stone.Retail-1994 - 98.0 MB
2011-08-19 23:18:21 INFO Now adding/updating album: The Science of Things
2011-08-19 23:18:21 INFO Pre-processing result
2011-08-19 23:18:21 INFO No results found from https://nzb.su/ for Bush Sixteen Stone
2011-08-19 23:18:14 INFO Parsing results from https://nzb.su/
2011-08-19 23:18:14 INFO Found Bush.Sixteen.Stone.Retail-1994. Size: 98.0 MB
2011-08-19 23:18:14 INFO Found Bush.Sixteen.Stone-1994. Size: 92.0 MB
2011-08-19 23:18:14 INFO Found Bush.Sixteen-Stone. Size: 98.0 MB
2011-08-19 23:18:13 INFO Parsing results from NZBMatrix
2011-08-19 23:18:13 INFO Searching for Bush Sixteen Stone since it was marked as wanted
2011-08-19 23:18:13 INFO Marking album: eef2b4a3-49dc-33d7-9fbb-fb2313cd57b0as wanted...
2011-08-19 23:05:18 INFO Removed from results: Lonestar Im Already There (missing token: I)
2011-08-19 23:05:18 INFO No results found from https://nzb.su/ for Lonestar I'm Already There
2011-08-19 23:05:10 INFO Parsing results from https://nzb.su/
2011-08-19 23:05:10 INFO Found Lonestar...Im.Already-There. Size: 129.0 MB
2011-08-19 23:05:10 INFO Parsing results from NZBMatrix
2011-08-19 23:05:10 INFO Searching for Lonestar I'm Already There since it was marked as wanted
2011-08-19 23:05:09 INFO Marking album: 40d80313-c2be-3e2c-b05e-812fe5a853fcas wanted...
2011-08-19 23:04:42 INFO No results found from https://nzb.su/ for Soulja Boy Tell 'Em The DeAndre Way
2011-08-19 23:04:37 INFO Parsing results from https://nzb.su/
2011-08-19 23:04:37 INFO No results found from NZBMatrix for Soulja Boy Tell 'Em The DeAndre Way
2011-08-19 23:04:36 INFO Parsing results from NZBMatrix
2011-08-19 23:04:36 INFO Searching for Soulja Boy Tell 'Em The DeAndre Way since it was marked as wanted
2011-08-19 23:04:36 INFO Marking album: 15b46fca-ab21-4ca7-b796-e9e6cea9c510as wanted...
2011-08-19 23:01:00 INFO Unknown failure sending NZB to sab. Return text is:
2011-08-19 23:01:00 INFO Result text from SAB:
2011-08-19 23:01:00 INFO Found best result: Trey Songz-Ready-2009-H3X - 94.0 MB
2011-08-19 23:00:59 INFO Pre-processing result
2011-08-19 23:00:59 INFO Found Trey Songz-Ready-2009-H3X. Size: 94.0 MB
2011-08-19 23:00:54 INFO Parsing results from https://nzb.su/
2011-08-19 23:00:54 INFO Found Trey.Songz.Ready-2009. Size: 91.0 MB
2011-08-19 23:00:54 INFO Found Trey.Songz..-Ready. Size: 94.0 MB
2011-08-19 23:00:54 INFO Trey.Songz..-Ready is larger than the maxsize for this category, skipping. (Size: 306540707 bytes)
2011-08-19 23:00:53 INFO Parsing results from NZBMatrix
2011-08-19 23:00:53 INFO Searching for Trey Songz Ready since it was marked as wanted
2011-08-19 23:00:53 INFO Marking album: 5ce92d26-c60b-4fcf-8d0d-9c5d0d928c8cas wanted...
2011-08-19 23:00:19 INFO Starting Headphones on port: 8181
2011-08-19 23:00:19 INFO Headphones is already up-to-date.
2011-08-19 23:00:18 INFO Checking to see if the database has all tables....
Any ideas what I'm doing wrong?
Thanks.
Re: Headphones : Music albums and artists auto download prog
aeonlux - sure, you can do that, but i'd rather fix it on my end so you don't have to
davevdg - are your sab settings correct? looks like it's not connecting
davevdg - are your sab settings correct? looks like it's not connecting
Re: Headphones : Music albums and artists auto download prog
Hey Rembo, great work you're doing
I'm having a problem with scanning the music library. Whenever I click submit query with the directory I want it to search, it gets an error in the terminal. It's not showing up in the logs so I'll try to type it...
Exception in thread-13"
Traceback (most recent call last):
file "C:\Program Files (X86)\Python27\lib\threading.py", line 552 in __bootstrap_inner
self.run()
File "C:\same as above\" line 505, in run self.___target(*self.___args,**self.__kwargs)
File "B:\Downloads\Usenet Headphones\headphones\librarysync.py". line 12 in libraryscan
tracks = myDB.select('SELECT Location, TrackID from tracks WHERE Location IS
unboundlocalError: local variable 'myDB' referenced before assignment
It looks like a problem with my directories or the way Python installed...? I have no idea how to read this error haha. Sorry if this has been answered before elsewhere, but I couldn't find an answer to this here
I'm having a problem with scanning the music library. Whenever I click submit query with the directory I want it to search, it gets an error in the terminal. It's not showing up in the logs so I'll try to type it...
Exception in thread-13"
Traceback (most recent call last):
file "C:\Program Files (X86)\Python27\lib\threading.py", line 552 in __bootstrap_inner
self.run()
File "C:\same as above\" line 505, in run self.___target(*self.___args,**self.__kwargs)
File "B:\Downloads\Usenet Headphones\headphones\librarysync.py". line 12 in libraryscan
tracks = myDB.select('SELECT Location, TrackID from tracks WHERE Location IS
unboundlocalError: local variable 'myDB' referenced before assignment
It looks like a problem with my directories or the way Python installed...? I have no idea how to read this error haha. Sorry if this has been answered before elsewhere, but I couldn't find an answer to this here
Re: Headphones : Music albums and artists auto download prog
shoot - nice catch, i switched a few things around and must've missed that. fixed in the latest