Sneak peek at itunes based subsonic web UI

Third-party modifications and add-ons, Apps and Clients

Moderator: moderators

Postby mattgoldspink » Thu Aug 12, 2010 11:46 am

If you downloaded it already can go download the new version from the site. I found a few bugs when testing it on other install types on windows.

http://code.google.com/p/subtunes/downloads/list
mattgoldspink
 
Posts: 67
Joined: Mon Jun 21, 2010 9:24 am

Postby barretta » Thu Aug 12, 2010 12:03 pm

That seems like the right place, tho I can't get past the login screen for some reason (yes, I am using the correct existing name and password). On chrome, login keeps denying; on firefox, login screen just hangs.
barretta
 
Posts: 21
Joined: Thu Dec 31, 2009 2:02 am

Postby mattgoldspink » Thu Aug 12, 2010 1:27 pm

If you can crack open a javascript console in chrome or ff do you see any errors?
mattgoldspink
 
Posts: 67
Joined: Mon Jun 21, 2010 9:24 am

Postby barretta » Thu Aug 12, 2010 3:17 pm

Tried it again with 0.8.1 and it loads fine. It's a bit sluggish to move through folders, but am very impressed with GUI controls and player! Nice work!
barretta
 
Posts: 21
Joined: Thu Dec 31, 2009 2:02 am

Postby aktiveradio » Thu Aug 12, 2010 3:26 pm

Question I uploaded it all and now it asked me for a the URL to Subsonic I put in localhost:4040 or http://sitename.com:4040 but just get a blank page after that.

what is the correct format? Do I have some other problem also?
aktiveradio
 
Posts: 26
Joined: Tue Aug 10, 2010 5:14 pm

Postby mattgoldspink » Thu Aug 12, 2010 3:53 pm

@barretta

Yeah UI responsiveness is something I won't to improve (a lot!) It also depends on how many folders you have and how fast your server is but I have few issues I want to fix already there. Glad you got it up and running though

@aktiveradio

Firstly check you're using 0.8.1, I left in a small bug which meant it wouldn't autodetect your server correctly. You also need to host these files on the same server as your subsonic server (due to cross-domain limitations in the browser). If all else fails send a PM with your url and I'll take a look (I don't need a user account to get you beyond this step)
mattgoldspink
 
Posts: 67
Joined: Mon Jun 21, 2010 9:24 am

Postby mgrant » Thu Aug 12, 2010 8:08 pm

I'm unable to get this to work. My subsonic server is standalone running on ubuntu linux. the URL is http://192.168.xxx.yyy:8080/subsonic. On that same server I'm running apache webserver.

I extracted the 0.8.1 zip file to /var/www. Now when I access http://192.168.xxx.yyy/music it prompts me to enter the subsonic URL. I enter http://192.168.xxx.yyy:8080/subsonic and then I just get a blank page. If I reload the page it just prompts again for the subsonic URL.

-mg
mgrant
 
Posts: 76
Joined: Mon Mar 03, 2008 1:15 am

Postby mattgoldspink » Fri Aug 13, 2010 7:19 am

It looks like the same issue as aktiveradio, you need to be hitting the same port as the subsonic server too. Unfortunately javascript is locked down to only make requests to the same port.

Something I'll look to do is submit a patch to the server code so you can the host the subtunes UI anywhere and make crossdomain calls, but for now if you can make sure both are on the same protocol (http/https), same domain and same port (the default 80 or :xx), then it should work.
mattgoldspink
 
Posts: 67
Joined: Mon Jun 21, 2010 9:24 am

Postby thomasbruce » Fri Aug 13, 2010 10:28 am

I've not got a Mac so can't verify where everything goes, but I believe the following should work:

Go to: /Library/Application Support/Subsonic/jetty/<num>/webapp

Unzip the the subtunes zip file there so the path to the code in the zip is:

/Library/Application Support/Subsonic/jetty/<num>/webapp/subtunes/

That should be all. Then hit:

http://localhost:

And it should work. Let me know if it does and I'll update the docs on the site.



I got it almost to work on my mac. dropped the "subtunes" folder in the "webapp" folder and entered XXXXX.subsonic.org/subtunes but it only gave me the old login window. I tried to login to the subsonic web UI from there and after I was logged in I removed the /index.view and added subtunes instead. I was able to access the subtunes UI but was asked again to enter login info and only got this message:

"There was an error logging please check your credentials:"

is there a way to make this easy? by that I mean a way to not first log in to the web UI and then change /index.view to subtunes and login again?

and am I doing something wrong since I get this message everytime I try to login?

"There was an error logging please check your credentials:"

love the UI and really want this to work!

thx :D


Edit:

I downloaded the new version of subtunes and was able to login but if i double click on a song to play it only starts the first song in the list and it has no sound. I can also not double click on another song after that it only continues with the first track. the play button do not work aswell. unable to click on it.

in playlist view when I click to play a song I get this:

"caught error on statechange for TypeError: Result of expression '(this.snapshot || this.data)' [null] is not an object."
thomasbruce
 
Posts: 64
Joined: Fri Apr 09, 2010 3:09 pm

Postby mattgoldspink » Fri Aug 13, 2010 1:59 pm

Is this with Safari? If so it turns out there's some known issues with it and the soundmanager library I use:

http://code.google.com/p/subtunes/issues/detail?id=17

Could you try opening the file subsonic-viewport.js and removing the line:

soundManager.useHTML5Audio = true;

(should be the second line)

Let me know if that helps at all.
mattgoldspink
 
Posts: 67
Joined: Mon Jun 21, 2010 9:24 am

Postby mgrant » Fri Aug 13, 2010 3:08 pm

Here's how I got it to work for me on standalone subsonic.

First some background:

subsonic is installed in /var/subsonic
subsonic is accessed at http://192.168.xxx.yyy:8080/subsonic

Following the instructions from mattgoldspink I extracted the subsonic-0.8.1.zip to /var/subsonic/jetty/<num>/webapp. This created /var/subsonic/jetty/<num>/webapp/music.

To access subtunes I can browse to http://192.168.xxx.yyy:8080/subsonic/music.

Other than the previously reported slowness issues (I have a large collection) it seems to work great!

Thanks!
mgrant
 
Posts: 76
Joined: Mon Mar 03, 2008 1:15 am

Postby aktiveradio » Sat Aug 14, 2010 1:41 am

mgrant wrote:Here's how I got it to work for me on standalone subsonic.

First some background:

subsonic is installed in /var/subsonic
subsonic is accessed at http://192.168.xxx.yyy:8080/subsonic

Following the instructions from mattgoldspink I extracted the subsonic-0.8.1.zip to /var/subsonic/jetty/<num>/webapp. This created /var/subsonic/jetty/<num>/webapp/music.

To access subtunes I can browse to http://192.168.xxx.yyy:8080/subsonic/music.

Other than the previously reported slowness issues (I have a large collection) it seems to work great!

Thanks!


I just did the same thing and it works fine now, thank!
aktiveradio
 
Posts: 26
Joined: Tue Aug 10, 2010 5:14 pm

Postby thomasbruce » Sat Aug 14, 2010 11:08 am

mattgoldspink wrote:Is this with Safari? If so it turns out there's some known issues with it and the soundmanager library I use:

http://code.google.com/p/subtunes/issues/detail?id=17

Could you try opening the file subsonic-viewport.js and removing the line:

soundManager.useHTML5Audio = true;

(should be the second line)

Let me know if that helps at all.



Yes I'm using safari 5.0.1
I removed the second line and it all works fine now. Thank you!

Only one little thing and that is that I have to login thru the regular web interface first and the add the /music in the browser to get to the Subtunes UI. Is there a way to get it to go directly to Subtunes when I enter the xxxxx.subsonic.org address?

EDIT:

I got it to go directly to Subtunes by editing the index.html file inside the webapp folder and changing index.view to /music
thomasbruce
 
Posts: 64
Joined: Fri Apr 09, 2010 3:09 pm

cant seem to get it working

Postby Frank2808 » Fri Sep 24, 2010 1:21 am

Hey guys, I can't seem to get this working. I'm running SubSonic on Windows Home Server. I downloaded 0.8.1 and unzipped it to C:\subsonic\jetty\1802\webapp\ creating C:\subsonic\jetty\1802\webapp\music. I point my browser to http://192.168.2.9/music and I get a box promting me for my subsonic address. I enter http://192.168.2.9 and all I get is a blank page with a java error. I'm running on port 80. What am I missing?
Frank2808
 
Posts: 8
Joined: Tue Aug 11, 2009 4:56 pm

Postby mattgoldspink » Sat Sep 25, 2010 11:19 pm

Hi Frank,

Could you post the error your getting?
mattgoldspink
 
Posts: 67
Joined: Mon Jun 21, 2010 9:24 am

PreviousNext

Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 3 guests