[Support] Linuxserver.io - Headphones


Recommended Posts

linuxserver_medium.png

 

Application Name: Headphones

Application Site: https://github.com/rembo10/headphones

Docker Hub: https://hub.docker.com/r/linuxserver/headphones/

Github: https://github.com/linuxserver/docker-headphones

 

Please post any questions/issues relating to this docker you have in this thread.

 

If you are not using Unraid (and you should be!) then please do not post here, instead head to linuxserver.io to see how to get support.

Edited by linuxserver.io
  • Upvote 2
Link to comment
  • 2 months later...
  • 3 weeks later...
  • 2 weeks later...

Getting an error in headphones when creating library:

 

2015-12-24 14:55:11	ERROR	Uncaught exception: Traceback (most recent call last):
File "/app/headphones/headphones/logger.py", line 210, in new_run
old_run(*args, **kwargs)
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/app/headphones/headphones/librarysync.py", line 330, in libraryScan
importer.artistlist_to_mbids(artist_list)
File "/app/headphones/headphones/importer.py", line 63, in artistlist_to_mbids
results = mb.findArtist(artist, limit=1)
File "/app/headphones/headphones/mb.py", line 101, in findArtist
artistResults = musicbrainzngs.search_artists(limit=limit, **criteria)['artist-list']
File "/app/headphones/lib/musicbrainzngs/musicbrainz.py", line 927, in search_artists
return _do_mb_search('artist', query, fields, limit, offset, strict)
File "/app/headphones/lib/musicbrainzngs/musicbrainz.py", line 777, in _do_mb_search
raise ValueError('at least one query term is required')
ValueError: at least one query term is required

 

Found https://github.com/rembo10/headphones/issues/2330 on Google.  Can develop branch be added as option in Docker config?  ...or is there another solution to this problem?

Link to comment

HAPPY NEW YEAR!

 

Was looking to be able to re-encode lossless audio files during processing and the setting says..."This option requires the lame, ffmpeg or xld encoder"  (Libav is also int the drop down.)

 

So the question is...which one is included in the docker as I can not seem to find any reference to it.

 

If one is not included...can you please advise which one to setup and how to do so?

 

Thanks!

Link to comment
  • 2 weeks later...

Hey folks,

 

I'm having 2 problems with Headphones. I can't find torrents and I get an error message when I manually post-process files.

 

I just installed Headphones on my new unRAID server, I run Deluge, and my Headphone settings are as follows:

1) Black hole settings, directory pointing to a folder I download torrent files to

2) Music Download directory is where Deluge moves torrents to after completion

3) Search providers is set to my private tracker with proper credentials

4) Quality is set to "Highest Quality including Lossless"

5) Post processing copies the download to my destination folder (Plex) so I can continue seeding

 

I can't snatch torrents. When I manually post-process completed downloads, everything works (download gets moved to my Plex folder and everything is renamed) but there are error messages in my log that are bothering me:

 

2016-01-12 11:30:07	ERROR	Uncaught exception: Traceback (most recent call last):
File "/app/headphones/headphones/logger.py", line 210, in new_run
old_run(*args, **kwargs)
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/app/headphones/headphones/postprocessor.py", line 1189, in forcePostProcess
verify(rgid, folder, keep_original_folder=keep_original_folder)
File "/app/headphones/headphones/postprocessor.py", line 219, in verify
doPostProcessing(albumid, albumpath, release, tracks, downloaded_track_list, Kind, keep_original_folder)
File "/app/headphones/headphones/postprocessor.py", line 452, in doPostProcessing
plex.update()
File "/app/headphones/headphones/notifiers.py", line 362, in update
sections = r.getElementsByTagName('Directory')
AttributeError: 'NoneType' object has no attribute 'getElementsByTagName'
2016-01-12 11:30:07	ERROR	Request raised exception: No connection adapters were found for '192.168.1.12:32400/library/sections'
2016-01-12 11:30:07	INFO	Sending library update command to Plex Media Server@ 192.168.1.12:32400
2016-01-12 11:30:07	INFO	Post-processing for Michael Bublé - Christmas complete
2016-01-12 11:30:07	INFO	Library scan complete
2016-01-12 11:30:07	INFO	Updating artist track counts
2016-01-12 11:30:07	INFO	Completed matching tracks from directory: /music/Michael Bublé - Christmas (2011)
2016-01-12 11:30:07	INFO	Track matching is 100.0% complete
2016-01-12 11:30:07	INFO	Track matching is 50.0% complete
2016-01-12 11:30:07	INFO	Now matching songs by Michael Bublé
2016-01-12 11:30:07	INFO	Found 16 new/modified tracks in: '/music/Michael Bublé - Christmas (2011)'. Matching tracks to the appropriate releases....
2016-01-12 11:30:07	INFO	16 new/modified songs found and added to the database
2016-01-12 11:30:07	INFO	Scanning music directory: /music/Michael Bublé - Christmas (2011)
2016-01-12 11:30:07	INFO	Updating file permissions in /music/Michael Bublé - Christmas (2011)
2016-01-12 11:30:06	INFO	Checking which files we need to move.....
2016-01-12 11:30:06	INFO	Moving files: /torrents/seeds/music/Michael Buble? - Christmas (2011) [FLAC]/headphones-modified
2016-01-12 11:30:06	INFO	Renaming files
2016-01-12 11:30:06	INFO	Successfully applied metadata to: /torrents/seeds/music/Michael Buble? - Christmas (2011) [FLAC]/headphones-modified/16 Michael's Christmas Greeting.flac
2016-01-12 11:30:06	INFO	Successfully applied metadata to: /torrents/seeds/music/Michael Buble? - Christmas (2011) [FLAC]/headphones-modified/02 Santa Claus Is Coming to Town.flac
2016-01-12 11:30:06	INFO	Successfully applied metadata to: /torrents/seeds/music/Michael Buble? - Christmas (2011) [FLAC]/headphones-modified/06 Holly Jolly Christmas.flac
2016-01-12 11:30:06	INFO	Successfully applied metadata to: /torrents/seeds/music/Michael Buble? - Christmas (2011) [FLAC]/headphones-modified/05 All I Want For Christmas Is You.flac
2016-01-12 11:30:06	INFO	Successfully applied metadata to: /torrents/seeds/music/Michael Buble? - Christmas (2011) [FLAC]/headphones-modified/12 Cold December Night.flac
2016-01-12 11:30:06	INFO	Successfully applied metadata to: /torrents/seeds/music/Michael Buble? - Christmas (2011) [FLAC]/headphones-modified/09 Christmas (Baby Please Come Home).flac
2016-01-12 11:30:06	INFO	Successfully applied metadata to: /torrents/seeds/music/Michael Buble? - Christmas (2011) [FLAC]/headphones-modified/07 Santa Baby.flac
2016-01-12 11:30:06	INFO	Successfully applied metadata to: /torrents/seeds/music/Michael Buble? - Christmas (2011) [FLAC]/headphones-modified/01 It’s Beginning to Look a Lot Like Christmas.flac
2016-01-12 11:30:06	INFO	Successfully applied metadata to: /torrents/seeds/music/Michael Buble? - Christmas (2011) [FLAC]/headphones-modified/14 Ave Maria.flac
2016-01-12 11:30:06	INFO	Successfully applied metadata to: /torrents/seeds/music/Michael Buble? - Christmas (2011) [FLAC]/headphones-modified/10 Silent Night.flac
2016-01-12 11:30:06	INFO	Successfully applied metadata to: /torrents/seeds/music/Michael Buble? - Christmas (2011) [FLAC]/headphones-modified/03 Jingle Bells.flac
2016-01-12 11:30:06	INFO	Successfully applied metadata to: /torrents/seeds/music/Michael Buble? - Christmas (2011) [FLAC]/headphones-modified/11 Blue Christmas.flac
2016-01-12 11:30:06	INFO	Successfully applied metadata to: /torrents/seeds/music/Michael Buble? - Christmas (2011) [FLAC]/headphones-modified/08 Have Yourself a Merry Little Christmas.flac
2016-01-12 11:30:06	INFO	Successfully applied metadata to: /torrents/seeds/music/Michael Buble? - Christmas (2011) [FLAC]/headphones-modified/04 White Christmas.flac
2016-01-12 11:30:06	INFO	Successfully applied metadata to: /torrents/seeds/music/Michael Buble? - Christmas (2011) [FLAC]/headphones-modified/15 Mis Deseos?Feliz Navidad.flac
2016-01-12 11:30:06	INFO	Successfully applied metadata to: /torrents/seeds/music/Michael Buble? - Christmas (2011) [FLAC]/headphones-modified/13 I’ll Be Home For Christmas.flac
2016-01-12 11:30:06	INFO	Beets recommendation for tagging items: Recommendation.strong
2016-01-12 11:29:48	INFO	Preparing to write metadata to tracks....
2016-01-12 11:29:48	INFO	Adding album art to folder
2016-01-12 11:29:48	INFO	No suitable album art found from Amazon. Checking Last.FM....
2016-01-12 11:29:47	INFO	Copying files to 'headphones-modified' subfolder to preserve downloaded files for seeding
2016-01-12 11:29:47	INFO	Starting post-processing for: Michael Bublé - Christmas
2016-01-12 11:29:47	INFO	Querying MusicBrainz for the release group id for: Michael Buble? - Christmas
2016-01-12 11:29:47	INFO	Processing: Michael Buble? - Christmas (2011) [FLAC]
2016-01-12 11:29:47	INFO	Found 1 folders to process (0 ignored).
2016-01-12 11:29:47	INFO	Force checking download folder for completed downloads

Link to comment
  • 2 months later...

Hi gents,

 

I'm trying to figure out an annoying problem I have. It seems that Headphones is post processing things into a temporary directory.... No idea why its doing this as all of the mappings are correct. (It can scan my /music directory to import the files into the database, but it wont post process back into the same /music directory)

 

The temp/headphones_XXX/headphones is building a temp directory for each album it post processes. It then shows up in the albums list as being snatched/downloaded also with the file location in this temp location

 

Any thoughts?

 

2016-03-27 09:50:11	DEBUG	Renaming /tmp/headphones_niNQyp/headphones/01 - Face to the Floor.mp3 ---> Chevelle - Hats Off to the Bull - 01 - Face to the Floor.mp3
2016-03-27 09:50:11	DEBUG	Renaming /tmp/headphones_niNQyp/headphones/04 - The Meddler.mp3 ---> Chevelle - Hats Off to the Bull - 04 - The Meddler.mp3
2016-03-27 09:50:11	DEBUG	Renaming /tmp/headphones_niNQyp/headphones/13 - Still Running (Live at the Metro) (Bonus Track).mp3 ---> Chevelle - Hats Off to the Bull - 13 - Still Running (live at the Metro).mp3
2016-03-27 09:50:11	DEBUG	Renaming /tmp/headphones_niNQyp/headphones/02 - Some Old Trip.mp3 ---> Chevelle - Hats Off to the Bull - 02 - Same Old Trip.mp3
2016-03-27 09:50:11	DEBUG	Renaming /tmp/headphones_niNQyp/headphones/12 - Glimpse of the Con (Bonus Track).mp3 ---> Chevelle - Hats Off to the Bull - 12 - Glimpse of the Con.mp3
2016-03-27 09:50:11	DEBUG	Renaming /tmp/headphones_niNQyp/headphones/06 - Envy.mp3 ---> Chevelle - Hats Off to the Bull - 06 - Envy.mp3
2016-03-27 09:50:11	DEBUG	Renaming /tmp/headphones_niNQyp/headphones/11 - Clones.mp3 ---> Chevelle - Hats Off to the Bull - 11 - Clones.mp3
2016-03-27 09:50:11	DEBUG	Renaming /tmp/headphones_niNQyp/headphones/10 - Prima Donna.mp3 ---> Chevelle - Hats Off to the Bull - 10 - Prima Donna.mp3
2016-03-27 09:50:11	DEBUG	Renaming /tmp/headphones_niNQyp/headphones/08 - Arise.mp3 ---> Chevelle - Hats Off to the Bull - 08 - Arise.mp3
2016-03-27 09:50:11	DEBUG	Renaming /tmp/headphones_niNQyp/headphones/09 - Revenge.mp3 ---> Chevelle - Hats Off to the Bull - 09 - Revenge.mp3
2016-03-27 09:50:11	INFO	Renaming files
2016-03-27 09:50:11	INFO	Successfully applied metadata to: /tmp/headphones_niNQyp/headphones/05 - Pinata.mp3
2016-03-27 09:50:10	INFO	Successfully applied metadata to: /tmp/headphones_niNQyp/headphones/03 - Ruse.mp3
2016-03-27 09:50:10	INFO	Successfully applied metadata to: /tmp/headphones_niNQyp/headphones/07 - Hats Off to the Bull.mp3
2016-03-27 09:50:10	INFO	Successfully applied metadata to: /tmp/headphones_niNQyp/headphones/01 - Face to the Floor.mp3
2016-03-27 09:50:10	INFO	Successfully applied metadata to: /tmp/headphones_niNQyp/headphones/04 - The Meddler.mp3
2016-03-27 09:50:10	INFO	Successfully applied metadata to: /tmp/headphones_niNQyp/headphones/13 - Still Running (Live at the Metro) (Bonus Track).mp3
2016-03-27 09:50:10	INFO	Successfully applied metadata to: /tmp/headphones_niNQyp/headphones/02 - Some Old Trip.mp3
2016-03-27 09:50:10	INFO	Successfully applied metadata to: /tmp/headphones_niNQyp/headphones/12 - Glimpse of the Con (Bonus Track).mp3
2016-03-27 09:50:10	INFO	Successfully applied metadata to: /tmp/headphones_niNQyp/headphones/06 - Envy.mp3
2016-03-27 09:50:10	INFO	Successfully applied metadata to: /tmp/headphones_niNQyp/headphones/11 - Clones.mp3
2016-03-27 09:50:10	INFO	Successfully applied metadata to: /tmp/headphones_niNQyp/headphones/10 - Prima Donna.mp3

Link to comment
  • 1 month later...
  • 1 month later...

How to setup headphones with deluge?

 

I've replied to your couchpotato question on the same topic.  You can't specify localhost needs to be your Unraid IP and the password for this one is the webui one not the one you set for use with couchpotato.

Link to comment

About headphones the problem with folder not with deluge

I map docker like this

/music    >        /mnt/user/media/music/

/config    >      /mnt/cache/appdata/headphones

/downloads >  /mnt/user/downloads/music/

 

In headphones

in Download settings

I enable deluge 

Move When Completed      >      /downloads

Music Download Directory  >      /downloads

 

 

in Quality & Post Processing

Destination Directory      >          /music

 

In Manage

Path to directory            >          /music

 

 

 

In deluge

i set music label when complete  >  /downloads/music

 

 

 

The problem when download finish headphones cant Post Processing

What mistake i did ?

 

Link to comment

Well I don't use either but I'm guessing it's something to do with deluge is still accessing the files in /downloads so headphones can't move them to /music Also where is /downloads mapped to on deluge?

 

I don't use torrents so I can't be of any more help. Sorry.

 

You're setting deluge to move the files to /downloads/music yet headphones I'm guessing wants to move them to /music  Conflict of interests..

 

 

Link to comment
  • 1 month later...
  • 3 weeks later...

Anyone else use Headphones with the local Musicbrainz server docker?  Headphones seems brutally slow using my local MusicBrainz server, if I query the same LOCAL Musicbrainz server directly via the web interface, it seems to be fairly quick.  Headphones seems to pause on "(Album information for this artist is currently being loaded)" .. 

 

Any help is appreciated.

Link to comment

I just set up both in the last couple of days. Everything seems to be working pretty well so far, but I haven't used headphones in years, and I didn't try out the musicbrainz headphones mirror, I just used my own. I think it works fine, it's not lightning fast but it loads in probably 20 seconds or so if I had to guess.

Link to comment
  • 2 weeks later...

Anyone else use Headphones with the local Musicbrainz server docker?  Headphones seems brutally slow using my local MusicBrainz server, if I query the same LOCAL Musicbrainz server directly via the web interface, it seems to be fairly quick.  Headphones seems to pause on "(Album information for this artist is currently being loaded)" .. 

 

Any help is appreciated.

 

I am having the same issue also. changing back and forth from host to bridge seems to fix it somewhat. it will allow the artist to load fully. but then after some time u will have to keep changing between host and bridge again to add another artist correctly.. i have no idea what changed bc i used to be able to use headphones and local musicbrainz perfectly fine.

 

It also seems like after the first album is loaded headphones log states that its rebooting and wants to update. then does all scheduled background tasks then just keeps repeating as it  is stuck in this loop untill you reboot the docker container.

 

hopefully someone can help with this issue

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.