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)



- jompan87 - 2011-08-21

first of thank you for headphones! awesome piece of software, now to my suggestion -


we know alot of people (including myself) is scrobbling music to last.fm from software's like spotify/wimp (and alternatives to thoes). now how about headphones interact with that scrobbled list and (with option) auto-add artist and the selected album/song you listend to if it dosnt already exist in your database/list Smile

that would almost automate the whole process of downloading songs


what ya think?


- donabi - 2011-08-21

Hi,

i don't know if you have notiveced:
there is a QPKG for the qnap NAS available:
http://forum.qnap.com/viewtopic.php?f=131&t=46800&start=30

Works so far ....
Is ther any hope of getting nzbindex.nl added to the Search Providers?


- johnmerrick - 2011-08-21

i keep getting this below when i add an album to my wanted list:
500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
File "C:\Users\Alan\Downloads\rembo10-headphones-9011d3e\cherrypy\_cprequest.py", line 645, in respond
response.body = self.handler()
File "C:\Users\Alan\Downloads\rembo10-headphones-9011d3e\cherrypy\lib\encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "C:\Users\Alan\Downloads\rembo10-headphones-9011d3e\cherrypy\_cpdispatch.py", line 29, in __call__
return self.callable(*self.args, **self.kwargs)
File "C:\Users\Alan\Downloads\rembo10-headphones-9011d3e\headphones\webserve.py", line 143, in markAlbums
searcher.searchNZB(mbid, new=False)
File "C:\Users\Alan\Downloads\rembo10-headphones-9011d3e\headphones\searcher.py", line 317, in searchNZB
sizenode = item.getElementsByTagName("reportConfusedize")[0].childNodes
IndexError: list index out of range

any ideas?


- tscheff - 2011-08-21

I'm having a little (permission) problem here. Headphones init.d script only starts with sudo, so autostart fails

Code:
sebastian@server:~$ service headphones start
Starting headphones
start-stop-daemon: unable to open pidfile '/var/run/headphones.pid' for writing (Permission denied)
sebastian@server:~$ sudo service headphones start
[sudo] password for sebastian:
Starting headphones

I've already tried to do
Code:
sebastian@server:~$ chown -R sebastian /home/sebastian/headphones/headphones
but it doesnt help. any hints how to fix the problem ?


- Thespirit - 2011-08-21

Hey guys, looking for a litle help, had a previous version working fantastically well, thanks a million this rocks, however updated and now i am getting the following error when i try and scan my library..

21-Aug-2011 18:36:27 - INFO :: Thread-12 : Scanning music directory: G:\Dan Music\MUSIC 3
Exception in thread Thread-12:
Traceback (most recent call last):
File "threading.pyc", line 552, in __bootstrap_inner
File "threading.pyc", line 505, in run
File "headphones\librarysync.pyc", line 52, in libraryScan
File "lib\beets\mediafile.pyc", line 852, in bitrate
ZeroDivisionError: float division by zero


any thoughts ?


won't connect? - moosenoz - 2011-08-22

try as i might, i cannot get headphones and sabnzdb to connect. i keep getting the following:

Timestamp Level Message
2011-08-22 10:21:15 INFO Unknown failure sending NZB to sab. Return text is:
2011-08-22 10:21:15 INFO Result text from SAB:
2011-08-22 10:21:15 INFO Found best result: Lissie...Catching.A-Tiger - 251.0 MB
2011-08-22 10:21:11 INFO Pre-processing result
2011-08-22 10:21:11 INFO No results found from http://nzb.su for Lissie Catching a Tiger
2011-08-22 10:21:05 INFO Parsing results from http://nzb.su
2011-08-22 10:21:05 INFO Found Lissie.Catching.A.Tiger.2010-pLAN9. Size: 75.0 MB
2011-08-22 10:21:05 INFO Found Lissie.Catching.A.Tiger.2010-pLAN9. Size: 74.0 MB
2011-08-22 10:21:05 INFO Found Lissie...Catching.A-Tiger. Size: 69.0 MB
2011-08-22 10:21:05 INFO Found Lissie...Catching.A.Tiger-(2010). Size: 72.0 MB
2011-08-22 10:21:05 INFO Found Lissie...Catching.A-Tiger. Size: 251.0 MB
2011-08-22 10:21:04 INFO Parsing results from NZBMatrix
2011-08-22 10:21:04 INFO Searching for Lissie Catching a Tiger since it was marked as wanted
2011-08-22 10:21:04 INFO Marking album: adc12746-07b4-4560-84eb-b29b014e2cbbas wanted...
2011-08-22 10:20:53 INFO Starting Headphones on port: 8181
2011-08-22 10:20:51 INFO Headphones is already up-to-date.
2011-08-22 10:20:51 INFO Checking to see if the database has all tables....

i've tried changing ports, hosts, open and close firewalls, etc... i always get the above results.
i've successfully configured and been using couchpotato and sickbeard for some time. just can't headphones to work. any help would be appreciated.

Regards,


- rflores2323 - 2011-08-22

I am still having trouble of artists being populated even after I delete them. everytime headphones rescans my library these artists are shown up however I dont have the albums for them or they are not real arists on my list.


- HarryRosen - 2011-08-22

There is an option in the manage that you can uncheck that has do not manually add artist. I think that will stop the readding of the artist


- MarkHT - 2011-08-22

thanks rembo10 for this great sabnzbd add-on.
got headphones running on my synology NAS, i couldn't be more satisfied now.

Thanks to y'all who've been helping develop, keep up the progress.


- rflores2323 - 2011-08-22

ok I am still having trouble with artists being added that are not in my download folder.

I have deleted the artists (see log) however when it rescans my library these artists are added which are not in my download folder in bold.


Alex Gaudino Feat. Kelly Rowland
The Black Eyed Peas
Bone Thugs-n-Harmony
Cee Lo Green
Chab feat. JD Davis
David Guetta
David Guetta & Afrojack
David Guetta & Chris Willis
David Guetta Feat. Flo Rida & Nicki Minaj

Flo Rida
Hot Chelle Rae
Jason Derülo
Jennifer Lopez
Kardinal Offishall
Kelis
LMFAO
Michael Jackson
New Version of Soulbrother
Pitbull Active
Taio Cruz

log below.

Code:
Timestamp    Level    Message
2011-08-23 10:17:03    INFO    Updating artist information from Last.fm
2011-08-23 10:16:58    INFO    Jason Derülo is already in the database. Updating 'have tracks', but not artist information
2011-08-23 10:16:57    INFO    David Guetta Feat. Flo Rida & Nicki Minaj is already in the database. Updating 'have tracks', but not artist information
2011-08-23 10:16:55    INFO    Updating complete for: New Version of Soulbrother
2011-08-23 10:16:55    INFO    Now adding/updating: New Version of Soulbrother
2011-08-23 10:16:51    INFO    David Guetta Feat. Flo Rida & Nicki Minaj is already in the database. Updating 'have tracks', but not artist information
2011-08-23 10:16:50    INFO    David Guetta Feat. Flo Rida & Nicki Minaj is already in the database. Updating 'have tracks', but not artist information
2011-08-23 10:16:48    INFO    David Guetta Feat. Flo Rida & Nicki Minaj is already in the database. Updating 'have tracks', but not artist information
2011-08-23 10:16:39    INFO    David Guetta & Chris Willis is already in the database. Updating 'have tracks', but not artist information
2011-08-23 10:16:37    INFO    Updating complete for: Kelis
2011-08-23 10:16:36    INFO    Now adding/updating album: The Remixes Remixed EP
2011-08-23 10:16:31    INFO    Now adding/updating album: Acapella
2011-08-23 10:16:18    INFO    Now adding/updating album: 4th of July (Fireworks)
2011-08-23 10:16:14    INFO    Now adding/updating album: Lil' Star
2011-08-23 10:16:08    INFO    Now adding/updating album: Bossy
2011-08-23 10:15:58    INFO    Now adding/updating album: In Public
2011-08-23 10:15:48    INFO    Now adding/updating album: Millionaire
2011-08-23 10:15:39    INFO    Now adding/updating album: Milkshake
2011-08-23 10:15:27    INFO    Now adding/updating album: Trick Me
2011-08-23 10:15:21    INFO    Now adding/updating album: Young, Fresh n' New
2011-08-23 10:15:15    INFO    Now adding/updating album: Get Along With You
2011-08-23 10:15:09    INFO    Now adding/updating album: Good Stuff
2011-08-23 10:15:05    INFO    Now adding/updating album: Caught Out There
2011-08-23 10:14:57    INFO    Now adding/updating album: The Hits
2011-08-23 10:14:52    INFO    Now adding/updating album: Flesh Tone
2011-08-23 10:14:46    INFO    Now adding/updating album: Kelis Was Here
2011-08-23 10:14:37    INFO    Now adding/updating album: Tasty
2011-08-23 10:14:29    INFO    Now adding/updating album: Wanderland
2011-08-23 10:14:20    INFO    Now adding/updating album: Kaleidoscope
2011-08-23 10:14:16    INFO    Now adding/updating: Kelis
2011-08-23 10:14:04    INFO    David Guetta & Chris Willis is already in the database. Updating 'have tracks', but not artist information
2011-08-23 10:14:00    INFO    David Guetta & Afrojack is already in the database. Updating 'have tracks', but not artist information
2011-08-23 10:13:58    INFO    The Black Eyed Peas is already in the database. Updating 'have tracks', but not artist information
2011-08-23 10:13:57    INFO    David Guetta & Chris Willis is already in the database. Updating 'have tracks', but not artist information
2011-08-23 10:13:56    INFO    Updating complete for: Chab feat. JD Davis
2011-08-23 10:13:55    INFO    Now adding/updating: Chab feat. JD Davis
2011-08-23 10:13:51    INFO    Alex Gaudino Feat. Kelly Rowland is already in the database. Updating 'have tracks', but not artist information
2011-08-23 10:13:47    INFO    Updating complete for: Kardinal Offishall
2011-08-23 10:13:46    INFO    Now adding/updating album: BodyBounce (feat. Akon)
2011-08-23 10:13:43    INFO    Now adding/updating album: And What
2011-08-23 10:13:39    INFO    Now adding/updating album: Numba 1 (Tide Is High)
2011-08-23 10:13:32    INFO    Now adding/updating album: Dangerous (feat. Akon)
2011-08-23 10:13:21    INFO    Now adding/updating album: Belly Dancer / Sick!
2011-08-23 10:13:15    INFO    Now adding/updating album: Limited Time Only (Hosted by Akon)
2011-08-23 10:12:59    INFO    Now adding/updating album: Eye & I
2011-08-23 10:12:52    INFO    Now adding/updating album: Not 4 Sale
2011-08-23 10:12:39    INFO    Now adding/updating album: Fire and Glory
2011-08-23 10:12:33    INFO    Now adding/updating album: Quest for Fire: Firestarter, Volume 1
2011-08-23 10:12:30    INFO    Now adding/updating: Kardinal Offishall
2011-08-23 10:12:24    INFO    David Guetta Feat. Flo Rida & Nicki Minaj is already in the database. Updating 'have tracks', but not artist information
2011-08-23 10:12:22    INFO    Updating complete for: David Guetta & Afrojack
2011-08-23 10:12:22    INFO    Now adding/updating: David Guetta & Afrojack
2011-08-23 10:12:18    INFO    Updating complete for: David Guetta & Chris Willis
2011-08-23 10:12:18    INFO    Now adding/updating: David Guetta & Chris Willis
2011-08-23 10:12:12    INFO    Updating complete for: Alex Gaudino Feat. Kelly Rowland
2011-08-23 10:12:12    INFO    Now adding/updating: Alex Gaudino Feat. Kelly Rowland
2011-08-23 10:12:08    INFO    Updating complete for: David Guetta Feat. Flo Rida & Nicki Minaj
2011-08-23 10:12:08    INFO    Now adding/updating: David Guetta Feat. Flo Rida & Nicki Minaj
2011-08-23 10:12:04    INFO    Importing 26 new artists
2011-08-23 10:12:04    INFO    Found 26 new artists
2011-08-23 10:12:02    INFO    Updating track counts
2011-08-23 10:12:02    INFO    Done syncing library with directory: /media/Expansion Drive/Sabnzbd complete/Music
2011-08-23 10:12:02    INFO    Done checking empty filepaths
2011-08-23 10:11:57    INFO    Checking filepaths to see if we can find any matches
2011-08-23 10:11:57    INFO    Completed scanning of directory: /media/Expansion Drive/Sabnzbd complete/Music
2011-08-23 10:10:54    INFO    Scanning music directory: /media/Expansion Drive/Sabnzbd complete/Music
2011-08-23 08:10:24    INFO    Deleting all traces of artist: 8e36a284-0fe5-44d2-a498-a3d5628d0b96
2011-08-23 08:10:20    INFO    Deleting all traces of artist: 766fea24-cf9f-4e60-8e8b-6637aa350233
2011-08-23 08:10:17    INFO    Deleting all traces of artist: 54aa5ada-622c-4950-82b6-361dd2e06b25
2011-08-23 08:10:15    INFO    Deleting all traces of artist: 56e045b8-ddb9-4121-b334-f1eb23d02876
2011-08-23 08:09:59    INFO    Deleting all traces of artist: 777562ee-1bc2-4654-84ee-0835f32f40e5
2011-08-23 08:06:09    INFO    Deleting all traces of artist: 03647192-f55b-42b2-9a74-db28fcae8fd1
2011-08-23 08:06:04    INFO    Deleting all traces of artist: 1239d1bc-cc09-43e0-bcd0-374f60346138
2011-08-23 08:05:57    INFO    Deleting all traces of artist: f9fc5c2b-ac86-4d97-bce4-e1018034c0fb
2011-08-23 08:05:52    INFO    Deleting all traces of artist: 6bfb3cad-8266-4d33-b13b-8f760ac16bdd
2011-08-23 07:10:53    INFO    Starting Headphones on port: 8083
2011-08-23 07:10:53    INFO    Headphones is already up-to-date.
2011-08-23 07:10:52    INFO    Checking to see if the database has all tables...

Version: 742e89bdb9b8d6ec3618f3711e105d69898546f9


- johnmerrick - 2011-08-23

i Can't use the program anymore since updating. Just keep getting 'Indexerror'

Shame


- Ecwfrk - 2011-08-24

rflores2323 Wrote:ok I am still having trouble with artists being added that are not in my download folder.

I have deleted the artists (see log) however when it rescans my library these artists are added which are not in my download folder in bold.

Those artists are listed in an ID3 tag somewhere. I had the same kind of problem as somehow I got a bunch of files that had the ALBUMARTIST field filled with the artist's names in a Lastname Firstname format so I was pulling up things like Clapton Eric as an artist. I also had a lot of things like duets and guest artists showing like your David Guetta & Chris Willis problem because they were listed in the ALBUMARTIST field that way.

I used mp3tag to go through my library and strip out everything but the tags I use and to search out and clean up a few others that weren't right and that solved it.


- Ecwfrk - 2011-08-24

MarkHT Wrote:thanks rembo10 for this great sabnzbd add-on.
got headphones running on my synology NAS, i couldn't be more satisfied now.

Thanks to y'all who've been helping develop, keep up the progress.

Agreed. Lots of improvements in a very short time. Already very usuable and getting better and better quickly.

Now I just need something for Music Videos and Books and all my media needs will be met.

And Headphones seems like it wouldn't be too hard to modify to handle books. Gonna have to look into that sometime. Smile


- kri kri - 2011-08-26

Is there a way to add soundtracks to headphones? I added John Williams but none of the soundtracks added.


- markswift - 2011-08-26

Crashes on clicking settings on latest GIT pull... :-(