Kodi Community Forum
Headphones - Music albums & artists auto download program - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: Headphones - Music albums & artists auto download program (/showthread.php?tid=103688)



- rembo10 - 2012-03-05

@nordge1: maybe it's a permissions issue? Make sure the user you're running headphones as has read permissions at least (and probably write if you're moving your music there during post processing) for that top level music folder.


- nordge1 - 2012-03-05

Rembo10

I'm certain the permissions are correct but just in case I ran the following on the music directory:
chown -R "User" -R /media/UserData/storage/music
&
chown -R localadmin /home/"User"/headphones

I am rerunning the scan now but it's not looking good so far.


- Mikesch - 2012-03-07

So I installed the Win32-Binary, updated to the current version, scanned my library... all working fine. But when I add albums as wanted, it seems to find the albums in the search process, but doesn't add them to sabnzbd. The log is as following:

Code:
2012-03-07 10:54:14    INFO    Parsing results from https://www.newzbin2.es/
2012-03-07 10:54:13    INFO    No results found from NZBs.org for Mayer Hawthorne How Do You Do
2012-03-07 10:54:13    WARNING    Error fetching data from NZBs.org: HTTP Error 403: Forbidden
2012-03-07 10:54:13    INFO    Parsing results from nzbsorg
2012-03-07 10:54:13    INFO    Found Mayer Hawthorne--How Do You Do-WEB-2011-OMA. Size: 98.0 MB
2012-03-07 10:54:13    INFO    Found Mayer Hawthorne-How Do You Do-2011-MTD. Size: 71.0 MB
2012-03-07 10:54:13    INFO    Parsing results from http://nzb.su
2012-03-07 10:54:13    INFO    Found Mayer.Hawthorne...How.Do.You-Do. Size: 136.0 MB
2012-03-07 10:54:12    INFO    Parsing results from NZBMatrix
2012-03-07 10:54:12    INFO    Searching for Mayer Hawthorne How Do You Do since it was marked as wanted
2012-03-07 10:54:12    INFO    Marking album: ebe291d3-89b3-42bd-b59c-8eb64adc13fcas wanted...

Settings are all correct, as far as I can see. Anyone's got an idea?

Edit: Forget what I wrote. Sometimes, when you click on send, the right idea comes to mind. In my case, it was to simple switch off nzbs.org and newzbin, as I don't have an account for them and in the case of newzbin, headphones seems to hang... now works as intended. Laugh


- HenryFord - 2012-03-08

Okay - I consider myself awesome now Smile After a lot of hard work I got the search-servlet to run with tomcat.
@rembo10: it is available for you Smile Details through PM

Meh - scratch that... it worked for a brief moment, and now it isn't anymore...


- HenryFord - 2012-03-08

I am back to awesome again Wink Got it to work, finally. Now in a stable manner.


- kri kri - 2012-03-09

Mikesch Wrote:So I installed the Win32-Binary, updated to the current version, scanned my library... all working fine. But when I add albums as wanted, it seems to find the albums in the search process, but doesn't add them to sabnzbd. The log is as following:

Code:
2012-03-07 10:54:14    INFO    Parsing results from https://www.newzbin2.es/
2012-03-07 10:54:13    INFO    No results found from NZBs.org for Mayer Hawthorne How Do You Do
2012-03-07 10:54:13    WARNING    Error fetching data from NZBs.org: HTTP Error 403: Forbidden
2012-03-07 10:54:13    INFO    Parsing results from nzbsorg
2012-03-07 10:54:13    INFO    Found Mayer Hawthorne--How Do You Do-WEB-2011-OMA. Size: 98.0 MB
2012-03-07 10:54:13    INFO    Found Mayer Hawthorne-How Do You Do-2011-MTD. Size: 71.0 MB
2012-03-07 10:54:13    INFO    Parsing results from http://nzb.su
2012-03-07 10:54:13    INFO    Found Mayer.Hawthorne...How.Do.You-Do. Size: 136.0 MB
2012-03-07 10:54:12    INFO    Parsing results from NZBMatrix
2012-03-07 10:54:12    INFO    Searching for Mayer Hawthorne How Do You Do since it was marked as wanted
2012-03-07 10:54:12    INFO    Marking album: ebe291d3-89b3-42bd-b59c-8eb64adc13fcas wanted...

Settings are all correct, as far as I can see. Anyone's got an idea?

Edit: Forget what I wrote. Sometimes, when you click on send, the right idea comes to mind. In my case, it was to simple switch off nzbs.org and newzbin, as I don't have an account for them and in the case of newzbin, headphones seems to hang... now works as intended. Laugh
You can't use the updater with the windows version. You need to wait for it to be updated and then re-download the windows version.


Settings Page - timpj5 - 2012-03-09

I have been getting this error for quite some time... I somehow turned on FLAC audio and would like to turn it off, but can't because the settings page getting a mako error:

Quote:Error !
KeyError: 'torrentblackhole_dir'
122
123 <tr>
124 <td>
125 <h3>Black Hole Directory:</h3><input type="text" name="torrentblackhole_dir" value="${config['torrentblackhole_dir']}" size="50"><br>
126
127 <i class="smalltext">Folder your Download program watches for Torrents</i>
128 </td>
129
130 <td>
C:\headphones\data/interfaces/default/config.html, line 125:
<h3>Black Hole Directory:</h3><input type="text" name="torrentblackhole_dir" value="${config['torrentblackhole_dir']}" size="50"><br>
C:\headphones\data/interfaces/default/base.html, line 68:
${next.body()}
mako\runtime.pyc, line 718:
mako\runtime.pyc, line 692:
mako\runtime.pyc, line 660:
mako\template.pyc, line 296:
headphones\webserve.pyc, line 27:

Any help would be appreciated...


RE: Headphones - Music albums & artists NZB auto download program - MrHaugen - 2012-03-12

I'm having a problem again with post processing of tracks. Tracks is left in the download folder, and no renaming is done.

Everything worked fine for a long time. Then I changed the "Path to Destination folder" from my final Artist/Album folder, to a temporary folder. After a few successful downloads and post processing, it stopped the post processing process after downloads. It might have been an update that stopped this. I'm at the latest build.

I changed the folder because I wanted more control over the MP3 to Flac upgrade process. I've tried to change back to the original "final destination" folder, but post processing will not kick in again. No matter if I restart the web page, upgrade or not. I do not think that changing this folder should stop post processing anyway.

Any ideas of what I can do? I really need the renaming of the files to work as a minimum.


RE: Headphones - Music albums & artists NZB auto download program - rembo10 - 2012-03-13

Have you checked the logs? Nothing's changed in the post processing code for a while. Might just be stuck on an album or something (which is something I'd like to look into if that's the case)


RE: Headphones - Music albums & artists NZB auto download program - misterpink - 2012-03-13

Any updated info on which MB server everyone is using - I'm having problems on any of the available choices in the latest HP and can't add artists to save my life. Is there a for-donation private server up yet people are using?


RE: Headphones - Music albums & artists NZB auto download program - HenryFord - 2012-03-13

My server changed the port to 5000 - that is probably why you have problems.
If you are interested in donatig, PM me - but I doubt that more power behind the server will do a lot... My server is not running at the limit and yet mb is still slow...


RE: Headphones - Music albums & artists NZB auto download program - MrHaugen - 2012-03-14

(2012-03-13, 22:43)rembo10 Wrote: Have you checked the logs? Nothing's changed in the post processing code for a while. Might just be stuck on an album or something (which is something I'd like to look into if that's the case)

I think I've found some possible problems. Here's where it vent wrong. Beyonce Shasha album was snatched, downloaded and processed. While Beyonce-4 album was only snatched and downloaded.
Code:
2012-03-09 21:59:07    Beyonce-4-Deluxe Edition-2CD-FLAC-2011-PERFECT [nzb][album page]    598.0 MB    Snatched    [retry][new]
2012-03-09 21:59:01    Beyonce.I.Am.Sasha.Fierce.Deluxe.Edition.CD.FLAC.2009-PERFECT [nzb][album page]    532.0 MB    Processed    [retry][new]

I do not have the logs back to this day, when it stopped. I restarted the server after this. It is however very clear that this 4 album are taling up a hell of a lot of lines in the log. With errors based on problems with lyrics for the Beyonce 4 album.

Code:
2012-03-12 20:09:18    WARNING    Cannot find lyrics on: http://lyrics.wikia.com/index.php?title=Beyonc%C3%AF%C2%BF%C2%BD:I+Miss+You&action=edit
2012-03-12 20:09:17    WARNING    Cannot find lyrics on: http://lyrics.wikia.com/index.php?title=Beyonc%C3%AF%C2%BF%C2%BD:I+Care&action=edit
2012-03-12 20:09:16    WARNING    Cannot find lyrics on: http://lyrics.wikia.com/index.php?title=Beyonc%C3%AF%C2%BF%C2%BD:1%2B1&action=edit

In the following log, I've turned off the embedded lyrics at 23:14:36.
This errors are not seen any more. It also show when I added the fatboy album and downloaded it. It downloaded successfully, but nothing more happened. It looks like headphones is still stuck on that friggin Beyonce 4 album Sad

Code:
Timestamp    Level    Message
2012-03-13 23:34:19    INFO    Renaming files
2012-03-13 23:34:19    ERROR    Error getting recommendation: 'type'. Not writing metadata
2012-03-13 23:34:09    INFO    Writing metadata
2012-03-13 23:34:09    INFO    Cleaning up files
2012-03-13 23:34:09    INFO    No suitable album art found. Not adding album art
2012-03-13 23:34:08    INFO    Starting post-processing for: Beyoncé - 4
2012-03-13 23:29:26    INFO    Renaming files
2012-03-13 23:29:26    ERROR    Error getting recommendation: 'type'. Not writing metadata
2012-03-13 23:29:09    INFO    Writing metadata
2012-03-13 23:29:09    INFO    Cleaning up files
2012-03-13 23:29:09    INFO    No suitable album art found. Not adding album art
2012-03-13 23:29:08    INFO    Starting post-processing for: Beyoncé - 4
2012-03-13 23:24:23    INFO    Renaming files
2012-03-13 23:24:23    ERROR    Error getting recommendation: 'type'. Not writing metadata
2012-03-13 23:24:09    INFO    Writing metadata
2012-03-13 23:24:09    INFO    Cleaning up files
2012-03-13 23:24:09    INFO    No suitable album art found. Not adding album art
2012-03-13 23:24:08    INFO    Starting post-processing for: Beyoncé - 4
2012-03-13 23:19:30    INFO    Renaming files
2012-03-13 23:19:30    ERROR    Error getting recommendation: 'type'. Not writing metadata
2012-03-13 23:19:13    INFO    Writing metadata
2012-03-13 23:19:13    INFO    Cleaning up files
2012-03-13 23:19:13    INFO    No suitable album art found. Not adding album art
2012-03-13 23:19:08    INFO    Starting post-processing for: Beyoncé - 4
2012-03-13 23:14:36    INFO    Renaming files
2012-03-13 23:14:36    WARNING    Cannot find lyrics on: http://lyrics.wikia.com/index.php?title=Beyonc%C3%AF%C2%BF%C2%BD:Run+The+World+%28Girls%29+%28Jochen+Simms+Club+Remix%29&action=edit
2012-03-13 23:14:34    WARNING    Cannot find lyrics on: http://lyrics.wikia.com/index.php?title=Beyonc%C3%AF%C2%BF%C2%BD:Run+The+World+%28Girls%29+%28Red+Top+Club+Remix%29&action=edit
2012-03-13 23:14:33    WARNING    Cannot find lyrics on: http://lyrics.wikia.com/index.php?title=Beyonc%C3%AF%C2%BF%C2%BD:Run+The+World+%28Girls%29+%28Kaskade+Club+Remix%29&action=edit
2012-03-13 23:14:32    INFO    NZB sent to SAB successfully



RE: Headphones - Music albums & artists NZB auto download program - rembo10 - 2012-03-14

Try moving that album out of the folder for now.... it might be an encoding problem.... are you mounting an external drive? the locale might need to be set.... you can PM me for more info
HenryFord.... sorry I haven't had a chance to update your port, i'll do it now.

As for a private server, if there's enough interest i'll hook it up. Send me an email @ headphonesapp at gmail if you're interested and want to reserve a spot. Write "VIP" as the subject :-)


RE: Headphones - Music albums & artists NZB auto download program - rembo10 - 2012-03-14

(2012-03-13, 22:55)misterpink Wrote: Any updated info on which MB server everyone is using - I'm having problems on any of the available choices in the latest HP and can't add artists to save my life. Is there a for-donation private server up yet people are using?

My server is going private. Here is more info:
http://headphones.codeshy.com/



RE: Headphones - Music albums & artists NZB auto download program - HenryFord - 2012-03-14

(2012-03-14, 11:32)rembo10 Wrote: My server is going private. Here is more info:
http://headphones.codeshy.com/
Will you continue to run it inside carton or did you figure out how to sport musicbrainz with nginx without being slow as sh...?
Would be nice to have a little guide handy, I would probably go ahead and invest a little bit of additional time.
Also: Do you use my search-servlet I provided via PM? Because if there is no need for it, I would remove it Wink