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)



- ironkid - 2011-12-18

HenryFord Wrote:Not in the .ini - what are the permissions on the folder you are saving to/trying to post-process?

I'm guessing you mean this, I'm very new at linux:

root@Tower:~# cd /mnt/cache
root@Tower:/mnt/cache# ls -l
total 1
drwxrwxrwx 4 root root 152 2011-12-18 11:46 _downloads/
drwx--x--x 15 root root 704 2011-12-11 13:43 _music/

The post process folder is /mnt/cache/_music


- HenryFord - 2011-12-18

ironkid Wrote:I'm guessing you mean this, I'm very new at linux:

root@Tower:~# cd /mnt/cache
root@Tower:/mnt/cache# ls -l
total 1
drwxrwxrwx 4 root root 152 2011-12-18 11:46 _downloads/
drwx--x--x 15 root root 704 2011-12-11 13:43 _music/

The post process folder is /mnt/cache/_music
Try: chmod -R 755 /mnt/cache/_music

And afterwards try post-processing it again.


- ironkid - 2011-12-18

Output:

root@Tower:/mnt/cache# chmod -R 755 /mnt/cache/_music
root@Tower:/mnt/cache# ls -l
total 1
drwxrwxrwx 4 root root 152 2011-12-18 11:46 _downloads/
drwxr-xr-x 15 root root 704 2011-12-11 13:43 _music/

I clicked on 'Force Post-Process' and get log message:
INFO Checking to see if there are any folders to process in download_dir: /mnt/cache/_music

10 min later the logs shows nothing else and the folder contents haven't changed, what should I expect?


- HenryFord - 2011-12-18

sorry - try it with chmod 777 instead of 755.
Which user is running headphones/sabnzbd?


- ironkid - 2011-12-18

HenryFord Wrote:sorry - try it with chmod 777 instead of 755.

root@Tower:/mnt/cache# chmod -R 777 /mnt/cache/_music
root@Tower:/mnt/cache# ls -l
total 1
drwxrwxrwx 4 root root 152 2011-12-18 11:46 _downloads/
drwxrwxrwx 15 root root 704 2011-12-11 13:43 _music/

still nothing happens after 10min

HenryFord Wrote:Which user is running headphones/sabnzbd?

how can i check this?


- Dilligaf - 2011-12-18

ironkid Wrote:This is what I did:
http://lime-technology.com/forum/index.php?topic=16198.msg150719.msg#150719

the only difference is that i have all my apps installed in a SSD drive mounted with SNAP. The install directory is /mnt/disk/apps/headphones.

In general it works fine, I can find music and pass the NZB to SAB. The issue I'm having is that it does not post-process the music or recognize my library.
For example, in the manage tab I have set the music library location at '\mnt\cache\_music'. When I click on 'Submit Query' I get in the log the error message:

WARNING Cannot find directory: \mnt\cache\_music. Not scanning

But this folder exists and have some albums to test.

It doesn't recognize either the 'Music Dowload Folder'. If I click on 'Force Post-Process Albums in Download Folder', the logs shows:

INFO Checking to see if there are any folders to process in download_dir: /mnt/cache/_music

and nothing else will happen.


Don't know if it will help but try to change your download directory so it's not the same as your music directory.

Mike


- HarryRosen - 2011-12-18

In mine, I have sab put it in a folder called /mnt/user/complete/music

I don't have it go directly to a drive, I send it to the mounted share which basically is the cache drive.

and I point headphones to that same directory /mnt/user/Complete/Music

and it processes just fine, try that instead of putting the cache drive as the mnt point, assuming you have a complete folder that sab sends too, also I assume you are using categories in sab


- ironkid - 2011-12-18

Dilligaf Wrote:Don't know if it will help but try to change your download directory so it's not the same as your music directory.

Mike

tried, didn't work


- ironkid - 2011-12-18

HarryRosen Wrote:In mine, I have sab put it in a folder called /mnt/user/complete/music

I don't have it go directly to a drive, I send it to the mounted share which basically is the cache drive.

and I point headphones to that same directory /mnt/user/Complete/Music

and it processes just fine, try that instead of putting the cache drive as the mnt point, assuming you have a complete folder that sab sends too, also I assume you are using categories in sab

SAB has a category so NZBs coming from headphones are saved in folder /mnt/cache/_music. no problems here.

I just changed the download folder to /mnt/user/_downloads and the library folder to /mnt/user/_music, still doesn't work Huh Huh


- ZestyChicken - 2011-12-18

I just installed Headphones on a Windows7 64 box. When I have it scan my library, I get the following error:

8-Dec-2011 09:49:14 - INFO :: Thread-16 : Completed scanning of directory: //NAS/My Music
18-Dec-2011 09:49:14 - INFO :: Thread-16 : Checking filepaths to see if we can find any matches
18-Dec-2011 09:49:14 - INFO :: Thread-16 : Done checking empty filepaths
18-Dec-2011 09:49:14 - INFO :: Thread-16 : Done syncing library with directory: //NAS/My Music
18-Dec-2011 09:49:14 - INFO :: Thread-16 : Updating track counts
18-Dec-2011 09:49:14 - INFO :: Thread-16 : Found 283 new artists
18-Dec-2011 09:49:14 - INFO :: Thread-16 : Importing 283 new artists
18-Dec-2011 09:49:15 - WARNING :: Thread-12 : Attempt to query MusicBrainz for Charles & Eddie failed: HTTP Error 403: Forbidden
18-Dec-2011 09:49:20 - WARNING :: Thread-12 : Attempt to query MusicBrainz for Charles & Eddie failed: HTTP Error 403: Forbidden
18-Dec-2011 09:49:26 - INFO :: Thread-12 : No results found for: Charles & Eddie
18-Dec-2011 09:49:26 - WARNING :: Thread-14 : Attempt to query MusicBrainz for Charles & Eddie failed: HTTP Error 403: Forbidden
18-Dec-2011 09:49:31 - WARNING :: Thread-14 : Attempt to query MusicBrainz for Charles & Eddie failed: HTTP Error 403: Forbidden
18-Dec-2011 09:49:36 - WARNING :: Thread-14 : Attempt to query MusicBrainz for Charles & Eddie failed: HTTP Error 403: Forbidden
18-Dec-2011 09:49:41 - WARNING :: Thread-14 : Attempt to query MusicBrainz for Charles & Eddie failed: HTTP Error 403: Forbidden
18-Dec-2011 09:49:46 - WARNING :: Thread-14 : Attempt to query MusicBrainz for Charles & Eddie failed: HTTP Error 403: Forbidden
18-Dec-2011 09:49:52 - INFO :: Thread-14 : No results found for: Charles & Eddie
18-Dec-2011 09:49:53 - WARNING :: Thread-16 : Attempt to query MusicBrainz for Helmet failed: HTTP Error 403: Forbidden
18-Dec-2011 09:49:58 - WARNING :: Thread-16 : Attempt to query MusicBrainz for Helmet failed: HTTP Error 403: Forbidden
18-Dec-2011 09:50:03 - WARNING :: Thread-16 : Attempt to query MusicBrainz for Helmet failed: HTTP Error 403: Forbidden
18-Dec-2011 09:50:08 - WARNING :: Thread-16 : Attempt to query MusicBrainz for Helmet failed: HTTP Error 403: Forbidden
18-Dec-2011 09:50:13 - WARNING :: Thread-16 : Attempt to query MusicBrainz for Helmet failed: HTTP Error 403: Forbidden
18-Dec-2011 09:50:19 - INFO :: Thread-16 : No results found for: Helmet

Could this be a port issue? I created a Musicbrainz account hoping that would work - it didn't. A web search came up with some solutions that didnt apply to me...


- HarryRosen - 2011-12-19

have you tried without the underscore?


- HenryFord - 2011-12-19

ZestyChicken Wrote:18-Dec-2011 09:50:13 - WARNING :: Thread-16 : Attempt to query MusicBrainz for Helmet failed: HTTP Error 403: Forbidden
18-Dec-2011 09:50:19 - INFO :: Thread-16 : No results found for: Helmet

Could this be a port issue? I created a Musicbrainz account hoping that would work - it didn't. A web search came up with some solutions that didnt apply to me...
Most likely this is an error in your config - make sure that you entered your username&password correctly for MusicBrainz.


- BigladUK - 2011-12-19

HenryFord Wrote:Most likely this is an error in your config - make sure that you entered your username&password correctly for MusicBrainz.

Where exactly do I put in the Music Brainz credentials as I can't see an option in the GUI for them.

Thanks

Si


- sladinki007 - 2011-12-19

HenryFord Wrote:Most likely this is an error in your config - make sure that you entered your username&password correctly for MusicBrainz.

I got the same issue out of the blue
added yesterday a bunch of music and now today it doesn't work

same error as above

Quote:2011-12-19 20:35:38 WARNING Attempt to query MusicBrainz for fergie failed: HTTP Error 403: Forbidden
2011-12-19 20:35:33 WARNING Attempt to query MusicBrainz for fergie failed: HTTP Error 403: Forbidden
2011-12-19 20:35:27 WARNING Attempt to query MusicBrainz for fergie failed: HTTP Error 403: Forbidden
2011-12-19 20:35:21 WARNING Attempt to query MusicBrainz for fergie failed: HTTP Error 403: Forbidden
2011-12-19 20:35:16 WARNING Attempt to query MusicBrainz for fergie failed: HTTP Error 403: Forbidden

anybody knows how to solve this ?


- ironkid - 2011-12-19

HarryRosen Wrote:have you tried without the underscore?

I tried and didn't work either. This is becoming a matter of pride... Huh