Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 1 of 2 1 2 >
Topic Options
#83824 - 27/03/2002 12:06 charcoalgray99's xsl stylesheet v1.2
charcoalgray99
enthusiast

Registered: 14/05/2001
Posts: 279
These files provide a web interface to control your empeg via hijack's khttp server.

Requirements: hijack v251+, IE6 or IE5.5 + XML Parser 3.0 or Mozilla 0.9.9

v1.2 is available here.

New features in v1.2
FTP Browser
Now Playing display on home page
My Links / My Commands / My Directories are built from JavaScript arrays. Edit jscripts.js to add/edit your own links.
Optional support for empegVNC.

To enable support for empegVNC, open the jscripts.js file and comment the appropriate line near the top. Then, download empegVNC and install using the instructions here. By default, the old html display will be used.

Here's a screenshot showing the new ftp browser:


Tom

Top
#83825 - 27/03/2002 12:13 Re: charcoalgray99's xsl stylesheet v1.2 [Re: charcoalgray99]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31563
Loc: Seattle, WA
Just to clarify CharcoalGray's post here...

You do not need VNC to use this. In fact, by default, the VNC thing is disabled.

Also: To install this, use Hijack to upload the contents of this zip (with the proper subfolder structure) to the root directory of your player.

I've been testing interim builds of this for CharcoalGray, and it really works well. Quite fun.

By the way, the FTP browser might not work optimally unless you've installed the latest Internet Explorer FTP browser enhancements. And it might not let you upload to the player from the FTP broswer window until you've told IE that the http://empeg and ftp://empeg are "trusted sites". But after that, it should work OK. Works fine for me in IE6...
_________________________
Tony Fabris

Top
#83826 - 27/03/2002 12:47 Re: charcoalgray99's xsl stylesheet v1.2 [Re: tfabris]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
do you have to do anything special to get the "now playing" function to display a song? Mine just shows a "-".
_________________________
|| loren ||

Top
#83827 - 27/03/2002 12:50 Re: charcoalgray99's xsl stylesheet v1.2 [Re: loren]
crazymelki
enthusiast

Registered: 16/02/2001
Posts: 373
Loc: Switzerland
I have the same "." Whats about the download and stream button? How is this working?

But the other 99% is looking cool!

bye
_________________________
crazymelki.com

Top
#83828 - 27/03/2002 12:58 Re: charcoalgray99's xsl stylesheet v1.2 [Re: loren]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31563
Loc: Seattle, WA
For the Now Playing thing to work, you have to enable the Notify feature.

I forget the exact syntax in config.ini, but it's in your Hijack FAQ...
_________________________
Tony Fabris

Top
#83829 - 27/03/2002 13:05 Re: charcoalgray99's xsl stylesheet v1.2 [Re: tfabris]
crazymelki
enthusiast

Registered: 16/02/2001
Posts: 373
Loc: Switzerland
too cool! And then the stream and download button is also working...Thanks man!

bye
_________________________
crazymelki.com

Top
#83830 - 27/03/2002 13:08 Re: charcoalgray99's xsl stylesheet v1.2 [Re: tfabris]
NiCKEL
journeyman

Registered: 27/02/2002
Posts: 59
Loc: Vancouver, BC, Canada
[output]
notify=1
[hijack]
supress_notify=1

Top
#83831 - 27/03/2002 15:09 Re: charcoalgray99's xsl stylesheet v1.2 [Re: tfabris]
charcoalgray99
enthusiast

Registered: 14/05/2001
Posts: 279
Thanks Tony, I knew there was some stuff I left out.

I think most of it was covered above. I'll try to add a "enable notify" error message to the now playing section instead of what it does now.

Tom

Top
#83832 - 27/03/2002 16:40 Re: charcoalgray99's xsl stylesheet v1.2 [Re: charcoalgray99]
rjf
journeyman

Registered: 30/11/2001
Posts: 84
Loc: Oregon
Just FYI, i added the suggested notify sections to my config.ini and rebooted the player, but I still don't get a now playing section. /proc/empeg_notify looks like:

notify_FidTime = "3450 0:03:07";
notify_Artist = "";
notify_FID = "0x3450";
notify_Genre = "";
notify_MixerInput = "PCM";
notify_Track = "9";
notify_Sound = "1";
notify_Title = "05) Not The Doctor (acoustic)";
notify_Volume = "69";
notify_L = "";
notify_Other = "";

I am using IE 6.0.2600. Also, with mozilla .9.9 the floating remote doesn't show, and under same when in the playlist page the riocar image has a bloated center section (looks fine under IE).

And finally, I like some of the stuff that is showing up in your screenshot Tom -- the ftp browser, etc. Can you tell me how to add that, or make it part of the default?

Thanks for the hard work, it looks great.

rjf&

Top
#83833 - 27/03/2002 16:46 Re: charcoalgray99's xsl stylesheet v1.2 [Re: rjf]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31563
Loc: Seattle, WA
All that stuff you listed should work under IE, assuming that the files were placed into the proper folder structure (not all in the root directory, there is an "images" subfolder and some folders under that) on the player, and assuming that Javascript is allowed to run for that web site. And assuming the player has been marked back to RO again and rebooted.

If all of the above conditions have been met, try exiting IE and restarting it.
_________________________
Tony Fabris

Top
#83834 - 27/03/2002 16:54 Re: charcoalgray99's xsl stylesheet v1.2 [Re: tfabris]
rjf
journeyman

Registered: 30/11/2001
Posts: 84
Loc: Oregon
Nope, no go. I added my empeg as a trusted site under IE, so everything is enabled. I rebooted the player, restarted IE. The only thing I haven't done is reboot.

Is there some bit of info I can reap to help figure this out?

Thanks,
rjf&

Top
#83835 - 27/03/2002 16:57 Re: charcoalgray99's xsl stylesheet v1.2 [Re: rjf]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31563
Loc: Seattle, WA
And Charcoal's files are added with the proper directory structure onto the car player?
_________________________
Tony Fabris

Top
#83836 - 27/03/2002 16:59 Re: charcoalgray99's xsl stylesheet v1.2 [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31563
Loc: Seattle, WA
Also, do you have anything else running or configured on your home system that might stop Javascript?

For example, disabling javascript in IE, or running the PC-Cillin web-plug-in that over-compensates for pages with Javascript (I hate PC-Cillin).
_________________________
Tony Fabris

Top
#83837 - 27/03/2002 17:09 Re: charcoalgray99's xsl stylesheet v1.2 [Re: tfabris]
rjf
journeyman

Registered: 30/11/2001
Posts: 84
Loc: Oregon
Yeah. So here is a listing of my root:

empeg:/# ls
bin drive0 etc index.html mnt sbin usr
default.xsl drive1 images lib proc swapfile var
dev empeg images.tar lost+found readme.txt tmp

then a list of /images:

empeg:/images# ls
default.css display_red.png fascia_top.gif rioremote
display_amber.png empeg.gif icon_play.gif show_remote.gif
display_blank.png fascia_bottom.gif icon_stream.gif
display_blue.png fascia_left.gif jscripts.js
display_green.png fascia_right.gif pix.gif

and rioremote has the right stuff in it too (shows up okay).

Where should the "now playing" show up? Front page? Where on the page?

rjf&

Top
#83838 - 27/03/2002 17:12 Re: charcoalgray99's xsl stylesheet v1.2 [Re: tfabris]
rjf
journeyman

Registered: 30/11/2001
Posts: 84
Loc: Oregon
Right, nothing else. Pure IE 6.0 (and I have Mozilla installed, and it doesn't work there either).

rjf&

Top
#83839 - 27/03/2002 17:35 Re: charcoalgray99's xsl stylesheet v1.2 [Re: rjf]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31563
Loc: Seattle, WA
What's up with the ".tar" at the end of images?

It should not be a tar file. It should be a directory with all those files loose inside of it. That's your problem.
_________________________
Tony Fabris

Top
#83840 - 27/03/2002 18:35 Re: charcoalgray99's xsl stylesheet v1.2 [Re: tfabris]
NiCKEL
journeyman

Registered: 27/02/2002
Posts: 59
Loc: Vancouver, BC, Canada
The directory listing appears to have
images

In addition to
images.tar

So that may not be his problem.

Did you try adding the empeg's address to your trusted sites? The ftp goodies were acting odd for me untill I did that.

-Geoff

Top
#83841 - 27/03/2002 18:37 Re: charcoalgray99's xsl stylesheet v1.2 [Re: tfabris]
rjf
journeyman

Registered: 30/11/2001
Posts: 84
Loc: Oregon
As a subsequent post notes, the images directory is there, and the tar file I just accidently left there.

Just to make sure, I just deleted it, and no change.

rjf&

Top
#83842 - 27/03/2002 18:38 Re: charcoalgray99's xsl stylesheet v1.2 [Re: NiCKEL]
rjf
journeyman

Registered: 30/11/2001
Posts: 84
Loc: Oregon
Yeah, it's in my trusted list.

And in fact shows as a trusted site in the statusbar...

rjf&


Edited by rjf (27/03/2002 18:39)

Top
#83843 - 27/03/2002 19:26 Re: charcoalgray99's xsl stylesheet v1.2 [Re: rjf]
Flatline
new poster

Registered: 19/02/2002
Posts: 18
Loc: San Jose, Ca
I couldn't get the ftp section working until I enabled both commands and removed my password protection. I still haven't gotten Now Playing to show anything besides the two little icons

Top
#83844 - 28/03/2002 01:22 Re: charcoalgray99's xsl stylesheet v1.2 [Re: Flatline]
charcoalgray99
enthusiast

Registered: 14/05/2001
Posts: 279
I haven't tested the ftp browser with a password, I doubt it will work unless IE prompts you to login.

I honestly have no idea why the now playing isn't working for you guys, sorry.

I found a hijack bug when I tried to set notify back to 0. The /proc/empeg_nofity will permanently show the last track played before notify was turned off.

Tom

Top
#83845 - 28/03/2002 07:46 Re: charcoalgray99's xsl stylesheet v1.2 [Re: charcoalgray99]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14472
Loc: Canada
There's no such thing as a Hijack bug, only user bugs.

When changing config.ini, you should always reboot the player afterwards.

-ml

Top
#83846 - 28/03/2002 08:06 Re: charcoalgray99's xsl stylesheet v1.2 [Re: rjf]
crocklobster
member

Registered: 19/12/2001
Posts: 108
Here's one. Are you browsing to http://yourempeg/ or http://yourempeg?FID=101&ext=.xml? If you don't browse to the former, you won't see the index.html I believe. (Though I could be totally off base, as I haven't loaded this on yet). I think all of that stuff you see in the screen shot is from the index.html wrapper.


Top
#83847 - 28/03/2002 09:29 Re: charcoalgray99's xsl stylesheet v1.2 [Re: crocklobster]
rjf
journeyman

Registered: 30/11/2001
Posts: 84
Loc: Oregon
The former, just plain http://empeg. I get the basic screen, with the flyout remote, and various links on the side. but no ftp browser link, and no no playing text or icons.

Top
#83848 - 28/03/2002 10:59 Re: charcoalgray99's xsl stylesheet v1.2 [Re: charcoalgray99]
eternalsun
Pooh-Bah

Registered: 09/09/1999
Posts: 1721
Loc: San Jose, CA
Charcoal,

I have to say your stuff is really cool. Is it possible to put in a non-owner mode in there? I'd like to expose the interface to some co-workers but I don't really need them mucking around with FTP, setting off random songs in my headphones and so forth. How about it? :-D

Calvin

Top
#83849 - 28/03/2002 11:00 Re: charcoalgray99's xsl stylesheet v1.2 [Re: charcoalgray99]
adavidw
addict

Registered: 10/11/2000
Posts: 497
Loc: Utah, USA
Hey Tom,

This version still has the bug that I found in the last version and forgot to report. Basically, the code for the remote has a press on the '3' button actually sending the code for the '6' button instead. Makes it kind of hard to do text entry and stuff that way...
_________________________
-Aaron

Top
#83850 - 28/03/2002 12:24 Re: charcoalgray99's xsl stylesheet v1.2 [Re: adavidw]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31563
Loc: Seattle, WA
I thought he'd long since fixed that. I reported that one in one of the earliest releases of the XSL files...
_________________________
Tony Fabris

Top
#83851 - 28/03/2002 12:56 Re: charcoalgray99's xsl stylesheet v1.2 [Re: charcoalgray99]
ellweber
member

Registered: 14/01/2002
Posts: 156
Loc: Saratoga, CA, USA
Tom,

This is a great contribution, thanks for all of your work. I have a few questions, however

Any idea why the VNC display only works the first time I open up the page. On subsequent attempts I just get a grey block where the facia used to be. It says "Loading Java Applet" and then goes grey.

Also, should the "Now Playing" field get updated when the track changes or just show what was playing when you first open the window?

Lynn

Top
#83852 - 28/03/2002 14:15 Re: charcoalgray99's xsl stylesheet v1.2 [Re: ellweber]
Draghtnod
journeyman

Registered: 03/02/2002
Posts: 71
how do i get that VNC thing working? the link to the install instructions doesnt work..

Top
#83853 - 28/03/2002 16:51 Re: charcoalgray99's xsl stylesheet v1.2 [Re: Draghtnod]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Sorry. My power was out today. Try again now.
_________________________
Bitt Faulk

Top
Page 1 of 2 1 2 >