Another frontend, need opinions (beta release)

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

Moderator: moderators

Postby brett » Mon Aug 16, 2010 8:17 am

burjast wrote:Really horrific solution :) Now subsonix doesn't work at all, problems with vhosts. When calling non-existing vhost ip:port/mediaplayer/music.swf file gets pulled from other wrong folder.

Server root: /
Subsonix root: stream/

when accessed via SERVER var, mediaplayer is opened from otherfolder/ location (even though access thorough ip is defaulted to /)

Strange problem, makes me dizzy :) Find another solution please, when changing var with vhost, page doesn't even fully load, so at this time I don't have solution for this.


For now just edit that line directly, and put in your server address manually, instead of javascript doing it, say that juke.php was located here: http://www.serverip.com:port/stream/juke.php , do this


Code: Select all
swfobject.embedSWF('http://www.serverip.com:port/stream/mediaplayer/'+type+'.swf', 'player', w, h, '9', 'swfobject/expressInstall.swf', flashvars, params, attributes);

But replace it with your server address/port/directory
brett
 
Posts: 55
Joined: Thu Jun 10, 2010 7:13 am

Postby burjast » Mon Aug 16, 2010 8:26 am

stream is vhosted, directly on subdomain, so

stream.domain.com/mediaplayer/+'type...

but whatever i implement, page is broken:

Cannot redeclare logged_in() (previously declared in functions.php on line 6)

logouting doesn't help solve this problem
I just know.
burjast
 
Posts: 71
Joined: Mon Jul 20, 2009 9:00 am
Location: Slovenia

Postby brett » Tue Aug 17, 2010 12:57 am

burjast wrote:stream is vhosted, directly on subdomain, so

stream.domain.com/mediaplayer/+'type...

but whatever i implement, page is broken:

Cannot redeclare logged_in() (previously declared in functions.php on line 6)

logouting doesn't help solve this problem


Try not to download any of the singular files right now, grab the zips that have been tested please
brett
 
Posts: 55
Joined: Thu Jun 10, 2010 7:13 am

Postby kenz » Mon Oct 11, 2010 8:09 pm

it looks to be a very good work !!
(pls don't see the following as offensive talks)
but we need to be a super-computed-networks engeener from the MIT to understand how to install it :)
at this time it just f***ed up my normal subsonic install.....so I will just enjoy your nice screenshots and be jealous :) :) :)
:cry: :cry:
kenz
 
Posts: 15
Joined: Fri Aug 13, 2010 7:56 am

Postby soonerrob » Tue Oct 12, 2010 2:39 pm

Ive got the script working... only 1 thing wrong...

some of the graphics are not showing up... the background images.. the icons on the top buttons...

not sure what is causing this.


something else i overcame... i couldnt get the install script to connect to my subsonic server... tried for over an hour...

finally i thought it might be username and password, because the password for this particular login had !#@$ type characters...

made a new login with standard characters and it connected perfectly.

here is a screenshot of my image problem..

Image
soonerrob
 
Posts: 15
Joined: Sat Mar 28, 2009 1:41 am

Postby brett » Wed Oct 13, 2010 6:25 am

soonerrob wrote:Ive got the script working... only 1 thing wrong...

some of the graphics are not showing up... the background images.. the icons on the top buttons...

not sure what is causing this.

Look in js/juke.js, there should be some lines similar to this
Code: Select all
$('#menu .headerimgset').eq(0).css("backgroundImage","url('img/0.png')");

It should be this:
Code: Select all
            $('#menu .headerimgset').eq(0).css("background","url('img/0.png')");
            $('#menu .headerimgset').eq(1).css("background","url('img/1.png')");
            $('#menu .headerimgset').eq(2).css("background","url('img/2.png')");
            $('#menu .headerimgset').eq(3).css("background","url('img/3.png')");
            $('#menu .headerimgset').eq(4).css("background","url('img/4.png')");
            $('#menu .headerimgset').eq(5).css("background","url('img/5.png')");

I fixed this in a later version but have yet to release the full script as I'm still working on a better setup script, which the login test you mentioned later should also be fixed. Let me know if this works
brett
 
Posts: 55
Joined: Thu Jun 10, 2010 7:13 am

Postby kingmos » Thu Oct 14, 2010 2:54 pm

First of all - great work!

I've got the same problem, no images. And css seems messed up too. I don't have a file called juke.js, any suggestions? Latest version, downloaded an hour ago.. Running on Apache

Image
kingmos
 
Posts: 13
Joined: Thu Oct 14, 2010 2:51 pm

Postby brett » Sat Oct 16, 2010 7:27 am

kingmos wrote:First of all - great work!

I've got the same problem, no images. And css seems messed up too. I don't have a file called juke.js, any suggestions? Latest version, downloaded an hour ago.. Running on Apache


Sorry it took so long to respond, could you tell me the name of the root album there(the one that shows only the '#' symbol? I didn't do many checks for invalid characters and I feel that may be the issue.


As for the images, I actually separated the javascript in a newer version that has not been released yet, the portion you are looking for is in juke.php.
Code: Select all
$('#menu .headerimgset').eq(0).css("background","url('/img/0.png')");
            $('#menu .headerimgset').eq(1).css("background","url('/img/1.png')");
            $('#menu .headerimgset').eq(2).css("background","url('/img/2.png')");
            $('#menu .headerimgset').eq(3).css("background","url('/img/3.png')");
            $('#menu .headerimgset').eq(4).css("background","url('/img/4.png')");
            $('#menu .headerimgset').eq(5).css("background","url('/img/5.png')");

should be
Code: Select all
$('#menu .headerimgset').eq(0).css("background","url('img/0.png')");
            $('#menu .headerimgset').eq(1).css("background","url('img/1.png')");
            $('#menu .headerimgset').eq(2).css("background","url('img/2.png')");
            $('#menu .headerimgset').eq(3).css("background","url('img/3.png')");
            $('#menu .headerimgset').eq(4).css("background","url('img/4.png')");
            $('#menu .headerimgset').eq(5).css("background","url('img/5.png')");


It doesn't look like the visualization is working either, I had issues when connecting locally if the script was setup to route through a public IP or vice versa.
brett
 
Posts: 55
Joined: Thu Jun 10, 2010 7:13 am

Postby mieloup » Fri Nov 12, 2010 10:13 pm

Hello,

First I can't tell you if it's a good work (cause it doesn't work for me ) but look'like ;)

I've got this message

' Script variables look setup, create the database if you haven't already, then configure your music/video folders ' and every thing looks fine but I can't congigure my folder : I select them and then nothing ...

Can you help me ?


Thx :)
mieloup
 
Posts: 1
Joined: Fri Nov 12, 2010 10:00 pm

Soma.fm

Postby rasputinschild » Tue Nov 16, 2010 3:27 pm

Hey Brett,
Supersonic looks great, I see you've got built in DI.fm stuff, would you consider adding the Soma.fm streams?
Nowhere else can you get a stream of secret agent music.

Thanks!
rasputinschild
 
Posts: 16
Joined: Mon Dec 15, 2008 9:18 pm
Location: Canda

Postby jayknow05 » Tue Nov 23, 2010 5:33 am

I've managed to get the settings.php file complete and correct, although I had to manually build it for some reason setup wasn't saving the file.

Anyways, now when I load the juke.php file I just get a blank page. I put in a couple echos and it seems like it is choking on the database, which seems to be working correctly. Any suggestions?


Code: Select all
<?php
   require_once(getcwd()."/includes/connection.php");
   $result = $sonic->query("SELECT * FROM users") or die("Jukebox not <a href='/setup.php'>setup</a>");
   $result = "SELECT * FROM users WHERE username = '".$_SESSION['username']."'";
   foreach($sonic->query($result) as $row) {
      if ($row['admin'] == 1) define('ADMIN','1');
      else define('ADMIN','0');
   }

?>



It seems to get stuck early on in this block of code. NOTHING shows up, not even Jukebox not setup.
jayknow05
 
Posts: 6
Joined: Sat Nov 20, 2010 8:23 am

Postby jayknow05 » Wed Nov 24, 2010 2:12 am

I got through my "settings.php" file and FINALLY made it to "login.php". There was an error in the "form_functions.php"

Replaced

Code: Select all
function display_errors($error_array) {
   echo <p class=/"errors/">";
   echo "Please review the following fields:<br />";
   foreach($error_array as $error) {
      echo " - " . $error . "<br />";
   }
   echo "</p>";
}

This line is just escaped wrong:
Code: Select all
echo <p class=/"errors/">";

Code: Select all
function display_errors($error_array) {
   echo '<p class="errors">';
   echo "Please review the following fields:<br />";
   foreach($error_array as $error) {
      echo " - " . $error . "<br />";
   }
   echo "</p>";
}
jayknow05
 
Posts: 6
Joined: Sat Nov 20, 2010 8:23 am

Postby frankspin » Wed Nov 24, 2010 5:27 pm

Forgive my ignorance with this question. I read over Bret's install and the one posted on page 3 before posting this.

Can this be installed over the current Subsonic setup or does it need mysql or WAMP to work?

I have subsonic running on a HTPC and am trying to minimize resource overhead on it.
frankspin
 
Posts: 11
Joined: Fri Aug 06, 2010 2:31 pm

Please keep me in the loop!

Postby cosmicdave » Wed Nov 24, 2010 7:57 pm

Please let me know when it's released...looks really nice!
cosmicdave
 
Posts: 2
Joined: Sat Sep 11, 2010 10:37 am

Postby ccandreva » Fri Nov 26, 2010 10:21 pm

Is the download link still http://www.valleynerds.com/brett/ ?

www.valleynerds.com doesn't seem to be responding.
User avatar
ccandreva
 
Posts: 104
Joined: Fri May 28, 2010 8:22 pm

PreviousNext

Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 8 guests