Unoffical empeg BBS

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

Page 2 of 3 < 1 2 3 >
Topic Options
#245107 - 02/01/2005 20:59 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: Gleep]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
Quote:
Don't the tweak functions remove things from the playlist?

If you long press the tweak by artist, it will remove ALL artists matching the currently playing track. Probably not the desired effect if you want to just remove one track.
_________________________
Mark Cushman

Top
#245108 - 05/01/2005 04:14 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: cushman]
kendrick
member

Registered: 09/12/2003
Posts: 150
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

Invalid at the top level of the document. Error processing resource 'http://192.168.0.178/?FID=101&EXT=default.xml'. Line ...

artist=Various

I GET THAT ERROR WHEN I TRY TO RUN THE WEBPAGE default.xml

Top
#245109 - 05/01/2005 04:18 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: kendrick]
kendrick
member

Registered: 09/12/2003
Posts: 150
Nevermind I fixed it, My computer was renaming the .xsl file to .xml.

Top
#245110 - 25/01/2005 23:41 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: cushman]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
Just wanted to give a friendly bump.
_________________________
Brad B.

Top
#245111 - 26/01/2005 00:57 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: SE_Sport_Driver]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
Quote:
Just wanted to give a friendly bump.

Just got a new Linux dev box up and running, so I'll be working on this in the nearer future, but I'm currently adding support for 480x320 resolution to Palantir (for Tungsten T3 and T5 owners, plus Tapwave Zodiac and maybe some of the Sony devices). It's coming, though.
_________________________
Mark Cushman

Top
#245112 - 23/06/2005 11:58 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: cushman]
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
If one uses player v3, the player data is utf-8 encoded.
But the http output claims it is iso-8859-1 encoded.

Where to fix that? In the stylesheet or in hijack?

Thanks,
Pim

Top
#245113 - 23/06/2005 12:26 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: pim]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
That would be a Hijack issue.

What should it be returning, for v2 and for v3?

Top
#245114 - 23/06/2005 12:48 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: mlord]
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
iso8859-1 for v2 and utf-8 for v3.

Pim

Top
#245115 - 23/06/2005 12:50 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: pim]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
Quote:
iso8859-1 for v2 and utf-8 for v3.

Pim


Should it be "iso8859-1" (as above), or "iso-8859-1" (as currently done)?

Cheers

Top
#245116 - 23/06/2005 12:52 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
And for that matter, should it be "utf-8" or "UTF-8" ?

Top
#245117 - 23/06/2005 14:26 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: mlord]
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
Browsers don't seem to care about the extra hyphen or the case.

I did a test with a small cgi script, sending out various
content-type charsets and appropriately encoded body texts.

Firefox 1.04 and IE 6.0 always get it right.

I'm not sure what the preferred notation is. I guess if you leave
the v2 output as it is, and use "utf-8' for v3, we would be pretty safe.

Thanks,
Pim

Top
#245118 - 23/06/2005 18:16 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: pim]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
Okay. Hijack v433 in a few minutes, then.

The only change is the UTF-8 charset type for XML ouput.

I suppose someday I should also set it for regular browser output, too.

Cheers

Top
#245119 - 23/06/2005 21:25 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: mlord]
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
Quote:

Okay. Hijack v433 in a few minutes, then.

The only change is the UTF-8 charset type for XML ouput.



Great! Works as expected.

Quote:

I suppose someday I should also set it for regular browser output, too.



Yes, it applies to al output that uses tag data.
The encoding for regular playlist views is still wrong.

Thanks,
Pim

Top
#245120 - 24/06/2005 00:37 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: pim]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
Quote:

Yes, it applies to al output that uses tag data.


Hijack v434.

Top
#245121 - 26/07/2005 00:23 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: mlord]
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
Quote:
Hijack v434.


Sorry it took this long to test.

There's a typo that makes html playlists fail to display correctly.
The header says "charset-utf-8' instead of 'charset=utf-8'.

The bug is there too for xml output, but it is unnoticed, as
there's another encoding tag in the xml itself.

Pim

Top
#245122 - 26/07/2005 01:14 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: pim]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
Quote:

There's a typo that makes html playlists fail to display correctly.
The header says "charset-utf-8' instead of 'charset=utf-8'.


Hijack v438, shortly.

Top
#245123 - 26/07/2005 16:11 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: mlord]
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
Thanks Marc! Works as advertised.

Another plea:

I'd like to be able to use both Empeg Web Lite and Charcoalgray's
XSL stylesheet, but there's only room for one default.xsl.

How about having the XSL sheet configurable in the URL, like

http://player/?FID=101&EXT=.xml&XSL=my.xsl

Thanks anyway,

Pim

Top
#245124 - 26/07/2005 16:18 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: cushman]
Mataglap
enthusiast

Registered: 11/06/2003
Posts: 384
Is the attachement in the first post from 30 Dec 2004 still the current version?

--Nathan

Top
#245125 - 26/07/2005 16:30 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: Mataglap]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
The latest version can always be found here.
_________________________
Mark Cushman

Top
#245126 - 26/07/2005 16:35 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: pim]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
_________________________
Mark Cushman

Top
#245127 - 26/07/2005 16:38 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: cushman]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
This would work on the first page, but I construct the URL's for each subsequent page, and the stylesheet would have to support adding in the additional style parameter to each link it builds. It should be easy to hack EWL to do this, though. (i.e. you can do it and send it to me)
_________________________
Mark Cushman

Top
#245128 - 26/07/2005 17:15 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: cushman]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
Quote:
http://your_empeg_ip/?fid=101&ext=.xml&style=my.xsl


I just use: http://my_empeg_ip/?FID=101&EXT=.xml and it works fine...

Mark, can you add on the download page that notify=1 needs to be in the config.ini for your style sheet to work? I know I should have known better, but my display wasn't working properly because I had forgotten that I started with a "stock" config.ini and it took me a while to remember. It just might save someone else some time.

I still love how this works/looks! Are you still planning on some other versions?
_________________________
Brad B.

Top
#245129 - 26/07/2005 18:19 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: SE_Sport_Driver]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
Quote:
I just use: http://my_empeg_ip/?FID=101&EXT=.xml and it works fine...

Yes if you have the correct xsl file listed in config.ini for hijack (or keep the default of default.xsl). pim was asking about being able to switch on the fly. In a post above, I described a way we could have an index.html in the root directory with different links to different stylesheets - that would depend on having the stylesheet support passing that style= parameter in all subequent links.

Quote:
Mark, can you add on the download page that notify=1 needs to be in the config.ini for your style sheet to work?

Will do.

Quote:
I still love how this works/looks! Are you still planning on some other versions?

Yes, but not high on my priority list.
_________________________
Mark Cushman

Top
#245130 - 28/07/2005 15:16 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: pim]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
Quote:
Thanks Marc! Works as advertised.

Another plea:

I'd like to be able to use both Empeg Web Lite and Charcoalgray's
XSL stylesheet, but there's only room for one default.xsl.

How about having the XSL sheet configurable in the URL, like

http://player/?FID=101&EXT=.xml&XSL=my.xsl

Thanks anyway,

Pim


Isn't that what the existing "&STYLE=xxxxxx" parameter does?

Cheers

Top
#245131 - 28/07/2005 19:50 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: mlord]
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
Indeed.

I only knew about the config.ini customization.

And let me apologize for spelling your name wrong.

Pim

Top
#245132 - 28/04/2007 00:07 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: cushman]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
Gahd the BBS Search is pitiful. Typing Empeg Web Lite into the search box doesn't find this page for me. But google.ca found it right away, so here I am again.

Hijack v471 is now released. This version automatically looks for the /default.xsl file and changes the "Click Here for Playlists" links to .xml (rather than .htm) when that stylesheet exists.

Well, actually, it looks for the khttpd_style file, which defaults to /default.xsl and can be set to anything you want in the [hijack] section of the config.ini file, as in:

[hijack]
khttpd_style=/drive0/my_stylesheet.xsl


That's an old feature, of course, but automatically using it now is the new one.

-ml

Top
#245133 - 28/04/2007 00:09 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
Here (attached) is a slightly hacked version of Cushman's Empeg Web Lite. Nothing wrong with his, but I wanted it to show the time-remaining on the display. Also, the year is not set on most of my tunes, so seeing () on the page was a bit annoying, and I removed that field altogether.

Cheers


Attachments
298416-default.xsl (172 downloads)


Top
#245134 - 28/04/2007 00:48 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: mlord]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Quote:
Gahd the BBS Search is pitiful. Typing Empeg Web Lite into the search box doesn't find this page for me. But google.ca found it right away, so here I am again.

Immediately above the search box is the text:

Quote:
(Default is any word, use + in front of words for all words searching)

So if you type in "+empeg +web +lite", the first result is this thread.

Also, not that it's documented on the same page -- you have to actually click on "Advanced search tips" to see it:

Quote:
"Use quotes around a phrase to search for a phrase"

So typing in ""empeg web lite"" also has this thread as the first result.

Then again, just typing in "empeg web lite", without additional quotes or plus-signs, also results in this thread as the first in the list.
_________________________
Bitt Faulk

Top
#245135 - 28/04/2007 02:07 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: mlord]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
Hey Mark, ever go back and look at this request from a while ago? This was the next step to getting a list of currently playing tracks on the web interface. I was thinking about revisiting some changes I was hoping to make to the stylesheet, and your post got my attention.

Also, the parens around the year parameter could be removed if the year was null. That would be fairly simple to do in the stylesheet.
_________________________
Mark Cushman

Top
#245136 - 28/04/2007 10:11 Re: Empeg Web Lite - Stylesheet for Hijack's http server [Re: cushman]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
Quote:
Hey Mark, ever go back and look at this request from a while ago?

Oh, fooey! How did I ever forget about that one. All right, nag me again in a few weeks if the feature hasn't appeared by then.
Quote:

Also, the parens around the year parameter could be removed if the year was null. That would be fairly simple to do in the stylesheet.

Yeah, if I wasn't such a crappy javascript novice!

Top
Page 2 of 3 < 1 2 3 >