Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Headphones - Music albums & artists auto download program

Featured Replies

Just spotted this on the xbmc.org forums.

 

http://forum.xbmc.org/showthread.php?t=103688

 

It looks like Headphones is for music as CouchPotato is for movies and SickBeard is for TV series.

 

Haven't tried it out yet, but looking forward to it.

 

10/4

I havent gotten it to work on unraid yet but it worked on my windows machine just fine. It does not detect your current albums but the program is still pretty fresh. It worked when I tried running it with unraid but would never send the nzb to sabnzbd.

I havent gotten it to work on unraid yet but it worked on my windows machine just fine. It does not detect your current albums but the program is still pretty fresh. It worked when I tried running it with unraid but would never send the nzb to sabnzbd.

 

Looks interesting... added it to the list of things to look into and possibly create a package for.

  • 3 weeks later...

I've got this working today with the newest version (just running in the terminal window at the moment)

 

It's successfully scanning my Sorted Albums

 

It's sending the NZB to SABnzb as well as the category

 

No post processing as of yet but so far a good start

I've got this working today with the newest version (just running in the terminal window at the moment)

 

It's successfully scanning my Sorted Albums

 

It's sending the NZB to SABnzb as well as the category

 

No post processing as of yet but so far a good start

 

Let me know how this app works out for you.  It is still very new and I am not sure if I want to create a .conf file for it quite yet. 

Let me know how this app works out for you.  It is still very new and I am not sure if I want to create a .conf file for it quite yet. 

 

The right decision I'd say. If you can't install from zip and run in terminal then you're going to be a little baffled by the lack of post processing etc.  ;)

Let me know how this app works out for you.  It is still very new and I am not sure if I want to create a .conf file for it quite yet. 

 

The right decision I'd say. If you can't install from zip and run in terminal then you're going to be a little baffled by the lack of post processing etc.  ;)

 

I agree,.  I did just make a feature request in the thread on the XBMC forum and he had it added really quickly.  The logs can now be placed somewhere else, just like SABnzb and SickBeards logs can be.

 

Now I just need to get the feature added to CouchPotato!!

Well i've been messing with this for two days now and there have been some good updates today.  Post Processing is working: embedding album art, creating a single folder.jpg, writing metadata, renaming and moving files, deleting unnecessary files.  Just missing genre and i don't have to scrape with mediamonkey anymore

 

Josh

I have headphones running on unraid 5b6. Everything works except post processing of non ascii characters. I get the following error:

Error: ('ascii', u'path_of_file', 85, 86, 'ordinal not in range(128)')

Has anyone ran on this issue?

What steps are you guys using to get this running? Is it also set up to run at boot? I think I can figure it out, but figure I may as well ask the pros for help here.

 

Thanks for any help, it is really appreciated!

Starting the same way I start sickbeard and SABnzbd.  Create a rc.unraid_headphones file and just put "rc.unraid_headphones start" in your go file.  Not sure how necessary everything is here but it works for me.  Important to get it running as nobody

 

case $1 in
  start)
    if test -e /etc/rc.d/unraid.d/rc.unraid_headphones -a $(ps auxwww|grep Headphones.py|grep -v grep|wc -l) -lt 1; then
      if [ -d /mnt/cache/.custom/headphones/ ]; then
        cd /mnt/cache/.custom/headphones/
        LOG_DIR=($(grep ^log_dir /mnt/cache/.custom/headphones/config.ini | awk '{print $3}'))
        mkdir -p $LOG_DIR
        chown -R nobody:users . $LOG_DIR
        usermod -s /bin/bash nobody > /dev/null 2>$1
        su nobody -c 'python /mnt/cache/.custom/headphones/Headphones.py -d' > /dev/null 2>$1
        echo Headphones started.
      else
        echo Headphones could not be started because the installation directory, /mnt/cache/.custom/headphones/, could not be found.
        echo If Headphones is installed to the unRAID array and the unRAID array is stopped, run \"/etc/rc.d/unraid.d/rc.unraid_headphones start\" to start Headphones once the unRAID array is started.
      fi
    else
      echo Headphones is already started.
    fi
  ;;
  stop)
    if test -e /etc/rc.d/unraid.d/rc.unraid_headphones -a $(ps auxwww|grep Headphones.py|grep -v grep|wc -l) -gt 0; then
      kill $(ps auxwww|grep Headphones.py|grep -v grep|awk '{ print $2 }')
      sleep 4
      echo Headphones stopped.
    else
      echo Headphones is already stopped.
    fi
  ;;
esac

Same here. I am using a very similar file (copied from coach-potato and modified). I have couchpotato and sickbeard installed and headphones it runs fine (except postprocessing of non ascii characters) without any additional library.

 

case $1 in
  start)
    if test -e /etc/rc.d/unraid.d/rc.unraid_headphones -a $(ps auxwww|grep Headphones.py|grep -v grep|wc -l) -lt 1; then
      if [ -d /mnt/cache/.custom/headphones ]; then
        cd /mnt/cache/.custom/headphones/
        chown -R nobody:users .
        usermod -s /bin/bash nobody > /dev/null 2>&1
        su nobody -c "python Headphones.py -d > /dev/null 2>&1"
        echo Headphones started.
      else
        echo Headphones could not be started because the installation directory, /mnt/cache/.custom/headphones, could not be found.
        echo If Headphones is installed to the unRAID array and the unRAID array is stopped, run \"/etc/rc.d/unraid.d/rc.unraid_headphones start\" to start Headphones once the unRAID array is started.
      fi
    else
      echo Headphones is already started.
    fi
  ;;
  stop)
    if test -e /etc/rc.d/unraid.d/rc.unraid_headphones -a $(ps auxwww|grep Headphones.py|grep -v grep|wc -l) -gt 0; then
      kill $(ps auxwww|grep Headphones.py|grep -v grep|awk '{ print $2 }')
      sleep 4
      echo Headphones stopped.
    else
      echo Headphones is already stopped.
    fi
  ;;
esac

Warning - I tried to scan my music with the post processing "delete extra files" checked and it appears to have deleted the songs it didn't match. Overall, it seems to miss a fair number of songs due to file name vs song name differences. Some can't be fixed due to limitations on the characters which can be used for file names. No way to force a match either.

 

Peter

 

Can it scan / import libraries using metadata yet? Last time I looked it was based on filename / dir structure only.

  • 1 month later...

G'day,

I was wondering whether someone could help me with the rc.unraid_headphones file? (how to make it, where to put it) I have the headphones application directory at mnt/cache/.headphones

I just need to be able to make it install on boot and run as nobody etc, at the moment if i telnet in and try and launch it, it dosnt work.

 

Regards, Brett

  • 2 months later...

Anyone got this running? I can parse the NZB to SAB and get it to download music but I'm having issues getting to recognize the directories. I'm getting in the log the message:

 

WARNING Cannot find directory: /mnt/cache/music. Not scanning

 

even though the folder does exist.

 

PS: sorry to have posted this message in several threads, it's the only missing piece in my SAB/SB/CP setup and it's getting me crazy

I havent gotten it to work on unraid yet but it worked on my windows machine just fine. It does not detect your current albums but the program is still pretty fresh. It worked when I tried running it with unraid but would never send the nzb to sabnzbd.

 

Looks interesting... added it to the list of things to look into and possibly create a package for.

 

I can't wait

  • 2 weeks later...

Anyone made a walk through to install headphones in Unraid? Would be very interested in checking it out, but have no sea where to start

This is what I did.

 

http://lime-technology.com/forum/index.php?topic=16198.msg150719.msg#150719

 

Hope it helps.

 

only thing that i have found that is strange is that you have to leave the terminal window open otherwise it shuts the program down.

 

 

 

 

Add '-d' to the end of the command line to allow you to close your terminal window.

 

Example: /mnt/cache/.headphones/python Headphones.py -d

great. that is helpful

  • 6 months later...

Is this working?  Interested...

 

EDIT: I installed it, my nzb or torrents can't find any of my music...  bleh...

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.