Giter Club home page Giter Club logo

Comments (13)

scarstens avatar scarstens commented on May 20, 2024

After stopping it and restarting my unraid box, headphones no longer even loads in the web interface.

from unplugged.

Influencer avatar Influencer commented on May 20, 2024

I'll look into this

from unplugged.

scarstens avatar scarstens commented on May 20, 2024

If there is anything I can do to help let me know. I still can't get headphones to load at all on my server now. I think I'm going to wipe all the headphones files and try again from scratch tonight... though I'm sure the version will still be an issue even if it loads. Look forward to the fix!

from unplugged.

Influencer avatar Influencer commented on May 20, 2024

Ok, I think I'm going to remove the updating function from the plug-in. You can update headphones from within the app itself so being able to do it twice is redundant. Also, if you update from the plug-in, the app will not update its versions file so then the app will think it is behind and ask for an update as well.

As for headphones not loading, check the permissions of the data and install directories. Also delete cookies, I know headphones sets cookies that causes an issue with the unraid gui, not sure if it could work in reverse.

from unplugged.

scarstens avatar scarstens commented on May 20, 2024

A good idea, on the whole updating issue. I still have the version issue as of now (obviously) but I did finally get Heaphones to load again.

I re-downloaded and re-installed headphones. Still no web gui. tried updating the port, no luck. Finally update the Port, Install AND Data directories all at the same time, that finally fixed my issue. I just added _2 and moved the port to 8081 which I read might be the default port. I think you may be right though, it was probably some permissions issue on one of the folders I had setup. So thanks for pointing me in the right direction.

from unplugged.

scarstens avatar scarstens commented on May 20, 2024

Do note that I tried to update Headphones from inside the web gui, and that update also failed... sigh. ;)

from unplugged.

Influencer avatar Influencer commented on May 20, 2024

Thats odd, I tested it yesterday and it worked fine. Might still be a permissions issue.

Try this;
From telnet, go to your data directory and type

ls -l

Give me the output; Do the same for the install directory.

from unplugged.

scarstens avatar scarstens commented on May 20, 2024

Sure, here it is below. On a seperate note, have you considered any way to customize the userAgent...musicbrainz is being a PITA. (http://forum.xbmc.org/showthread.php?tid=103688&pid=964747#pid964747). Wish I knew more about PY, my php dev knowledge does me no good here!

Linux 3.4.36-unRAID.
root@RnRUnraid:# ls
initconfig@ mdcmd* mkmbr* powerdown@ samba@
root@RnRUnraid:
# cd /mnt/user/appdata/headphones_2
root@RnRUnraid:/mnt/user/appdata/headphones_2# ls -l
total 561
drwxr-xr-x 1 nobody users 72 2013-05-08 17:38 cache/
-rw------- 1 nobody users 3062 2013-05-08 17:38 config.ini
-rw-r--r-- 1 nobody users 567296 2013-05-08 18:24 headphones.db
drwxr-xr-x 1 nobody users 80 2013-05-08 17:29 logs/
root@RnRUnraid:/mnt/user/appdata/headphones_2# cd
root@RnRUnraid:~# cd /usr/local/headphones_2
root@RnRUnraid:/usr/local/headphones_2# ls -l
total 88
-rw-r--r-- 1 root root 4240 2013-05-08 17:29 API_REFERENCE
-rw-r--r-- 1 root root 35147 2013-05-08 17:29 COPYING
-rwxr-xr-x 1 root root 6681 2013-05-08 17:29 Headphones.py*
-rw-r--r-- 1 root root 1492 2013-05-08 17:29 README.md
-rw-r--r-- 1 root root 419 2013-05-08 17:29 TODO
drwxr-xr-x 3 root root 0 2013-05-08 17:29 bs4/
drwxr-xr-x 6 root root 0 2013-05-08 17:29 cherrypy/
drwxr-xr-x 6 root root 0 2013-05-08 17:29 data/
drwxr-xr-x 2 root root 0 2013-05-08 17:29 headphones/
drwxr-xr-x 7 root root 0 2013-05-08 17:29 html5lib/
-rw-r--r-- 1 root root 2949 2013-05-08 17:29 init-alt.freebsd
-rw-r--r-- 1 root root 2401 2013-05-08 17:29 init.fedora.centos.systemd
-rwxr-xr-x 1 root root 2054 2013-05-08 17:29 init.freebsd*
-rw-r--r-- 1 root root 525 2013-05-08 17:29 init.osx
-rw-r--r-- 1 root root 1544 2013-05-08 17:29 init.solaris11
-rwxr-xr-x 1 root root 5927 2013-05-08 17:29 init.ubuntu*
drwxr-xr-x 11 root root 0 2013-05-08 17:29 lib/
drwxr-xr-x 3 root root 0 2013-05-08 17:29 mako/
root@RnRUnraid:/usr/local/headphones_2#

from unplugged.

Influencer avatar Influencer commented on May 20, 2024

Thats the issue, for some reason the install directory is owned by root, headphones can't access it. I'd bet that if you ran headphones as root it would update fine (but you'd have issues with accessing anything downloaded by headphones then).

Run this on the install dir:
chown -R nobody:users /usr/local/headphones/

Out of interest, give me the output of ls -l on your previous data and install directories.

from unplugged.

scarstens avatar scarstens commented on May 20, 2024

Here are the old folders. I'm guessing when I clicked "update plugin" that somehow root took over? No idea. It was working, I clicked update, it "restarted" or claimed to and then no web gui. I didn't create any of the folders myself before setting them in the settings... just assumed if I set a folder that didn't exist, that it would be created.

Oh, and I assume you meant to chown the new headphones_2 directory I have it installed in, doing that now.

root@RnRUnraid:/usr/local/headphones# ls -l
total 88
-rw-r--r-- 1 root root 4240 2013-05-08 17:10 API_REFERENCE
-rw-r--r-- 1 root root 35147 2013-05-08 17:10 COPYING
-rwxr-xr-x 1 root root 6681 2013-05-08 17:10 Headphones.py*
-rw-r--r-- 1 root root 1492 2013-05-08 17:10 README.md
-rw-r--r-- 1 root root 419 2013-05-08 17:10 TODO
drwxr-xr-x 3 root root 0 2013-05-08 17:10 bs4/
drwxr-xr-x 6 root root 0 2013-05-08 17:10 cherrypy/
drwxr-xr-x 6 root root 0 2013-05-08 17:10 data/
drwxr-xr-x 2 root root 0 2013-05-08 17:10 headphones/
drwxr-xr-x 7 root root 0 2013-05-08 17:10 html5lib/
-rw-r--r-- 1 root root 2949 2013-05-08 17:10 init-alt.freebsd
-rw-r--r-- 1 root root 2401 2013-05-08 17:10 init.fedora.centos.systemd
-rwxr-xr-x 1 root root 2054 2013-05-08 17:10 init.freebsd*
-rw-r--r-- 1 root root 525 2013-05-08 17:10 init.osx
-rw-r--r-- 1 root root 1544 2013-05-08 17:10 init.solaris11
-rwxr-xr-x 1 root root 5927 2013-05-08 17:10 init.ubuntu*
drwxr-xr-x 11 root root 0 2013-05-08 17:10 lib/
drwxr-xr-x 3 root root 0 2013-05-08 17:10 mako/
root@RnRUnraid:/usr/local/headphones# ^C
root@RnRUnraid:/usr/local/headphones# cd /mnt/user/appdata/headphones
root@RnRUnraid:/mnt/user/appdata/headphones# ls -l
total 160
drwxr-xr-x 1 root users 72 2013-05-01 12:21 cache/
-rw------- 1 root users 3062 2013-05-08 17:29 config.ini
-rw-r--r-- 1 root users 156672 2013-05-08 13:10 headphones.db
drwxr-xr-x 1 root users 80 2013-04-21 18:21 logs/
root@RnRUnraid:/mnt/user/appdata/headphones#

from unplugged.

scarstens avatar scarstens commented on May 20, 2024

I want to say it worked, I wasn't watching the screen when it took over a minute to update, I came back and this is the version now: Version: ebbe9083594ae86ce98a6e4e4ff3d3a6040a86d0, the settings screen says
Update available to version: ebbe9083594ae86ce98a6e4e4ff3d3a6040a86d0, so I'm guessing the headphones web gui update worked. Now you just need turn the versioning off in the settings screen right? Also... this is a weird version number, is that really what they use for versions?

from unplugged.

Influencer avatar Influencer commented on May 20, 2024

Yes, the version number is actually the commit hash for github. It's the
same as what couchpotato and Sickbeard use for versioning.

If both have the same string then it worked. I'll remove the update code
from the plugin.
On May 9, 2013 12:17 AM, "Seth Carstens" [email protected] wrote:

I want to say it worked, I wasn't watching the screen when it took over a
minute to update, I came back and this is the version now: Version:
ebbe908ebbe908,
the settings screen says
Update available to version: ebbe908ebbe908,
so I'm guessing the headphones web gui update worked. Now you just need
turn the versioning off in the settings screen right? Also... this is a
weird version number, is that really what they use for versions?


Reply to this email directly or view it on GitHubhttps://github.com//issues/21#issuecomment-17648587
.

from unplugged.

ausey00 avatar ausey00 commented on May 20, 2024

Hi Guys,

I'm getting this same error, but it isn't fixed with the instructions laid out above.
I too am at a loss...

Thanks,
Austin

Install Dir

root@Tower:/usr/local/headphones# ls -l
total 88
-rw-r--r--  1 nobody users  4240 2013-06-21 17:07 API_REFERENCE
-rw-r--r--  1 nobody users 35147 2013-06-21 17:07 COPYING
-rwxr-xr-x  1 nobody users  6681 2013-06-21 17:07 Headphones.py*
-rw-r--r--  1 nobody users  1492 2013-06-21 17:07 README.md
-rw-r--r--  1 nobody users   419 2013-06-21 17:07 TODO
drwxr-xr-x  3 nobody users     0 2013-06-22 09:34 bs4/
drwxr-xr-x  6 nobody users     0 2013-06-22 09:34 cherrypy/
drwxr-xr-x  6 nobody users     0 2013-06-21 17:07 data/
drwxr-xr-x  2 nobody users     0 2013-06-22 09:34 headphones/
drwxr-xr-x  7 nobody users     0 2013-06-22 09:34 html5lib/
-rw-r--r--  1 nobody users  2949 2013-06-21 17:07 init-alt.freebsd
-rw-r--r--  1 nobody users  2401 2013-06-21 17:07 init.fedora.centos.systemd
-rwxr-xr-x  1 nobody users  2054 2013-06-21 17:07 init.freebsd*
-rw-r--r--  1 nobody users   525 2013-06-21 17:07 init.osx
-rw-r--r--  1 nobody users  1544 2013-06-21 17:07 init.solaris11
-rwxr-xr-x  1 nobody users  5927 2013-06-21 17:07 init.ubuntu*
drwxr-xr-x 11 nobody users     0 2013-06-22 09:34 lib/
drwxr-xr-x  3 nobody users     0 2013-06-22 09:34 mako/

Data Dir

drwxr-xr-x 1 nobody users       72 2013-04-28 20:35 cache/
-rw------- 1 nobody users     3151 2013-06-22 09:43 config.ini
-rw-r--r-- 1 nobody users 55538688 2013-06-21 14:24 headphones.db
drwxr-xr-x 1 nobody users      240 2013-06-10 19:11 logs/

from unplugged.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.