Unoffical empeg BBS

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

Page 1 of 2 1 2 >
Topic Options
#108410 - 30/07/2002 13:04 charcoalgray99's empeg web interface v1.3
charcoalgray99
enthusiast

Registered: 14/05/2001
Posts: 279
"empeg web interface" is a add-on that provides a web interface to control various features of your empeg via Hijack's built-in khttpd server.

New in this version:
  • Popup windows for the remote, display, and now playing info
  • Support for the new Insert/Enqueue/Append serial commands
  • Popup Tune Info shows detailed information for a single tune (click the music note icon)
  • Now playing info automatically refreshes (thanks Aragon!)
  • Now playing shows an appropriate error message if notify=1 is not enabled
  • Almost all files moved to /drive0/opt/khttpd/charcoalgray99/ for a cleaner root directory

Please visit the website to download, read the requirements and installation notes.

empeg web interface

Tom

Top
#108411 - 30/07/2002 16:51 Re: charcoalgray99's empeg web interface v1.3 [Re: charcoalgray99]
Rod
journeyman

Registered: 04/05/2000
Posts: 84
Loc: Australia
VERY nice update .

Thanks.

Top
#108412 - 30/07/2002 16:58 Re: charcoalgray99's empeg web interface v1.3 [Re: Rod]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Yeah, this essentially kicks butt. I especially like the tear-off remote control, quite spiffy.

Yesterday he was sending me preview builds of the files and we ironed out some things. Was fun...
_________________________
Tony Fabris

Top
#108413 - 30/07/2002 17:11 Re: charcoalgray99's empeg web interface v1.3 [Re: charcoalgray99]
matthew_k
pooh-bah

Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
Sweet, I'll have to haul my player inside. The only thing the last one really needed was insert/append, as the web interface rocks for finding the song you were looking for.

Matthew

Top
#108414 - 30/07/2002 17:19 Re: charcoalgray99's empeg web interface v1.3 [Re: matthew_k]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
The only thing the last one really needed was insert/append

And this feature wasn't available to external apps until beta13, hence the fact that it didn't appear until now.
_________________________
Tony Fabris

Top
#108415 - 30/07/2002 17:40 Re: charcoalgray99's empeg web interface v1.3 [Re: tfabris]
matthew_k
pooh-bah

Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
Yeah, I know it wasn't Charcoalgray's fault... I'm just glad it's there now :-)

Matthew

Top
#108416 - 31/07/2002 07:28 Re: charcoalgray99's empeg web interface v1.3 [Re: matthew_k]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14477
Loc: Canada
Yuh, that feature was my fault. It's what I asked for (from SB) in trade for the "jiffies fix" in the kernel.

Cheers

Top
#108417 - 31/07/2002 07:48 Re: charcoalgray99's empeg web interface v1.3 [Re: charcoalgray99]
frog51
pooh-bah

Registered: 09/08/2000
Posts: 2091
Loc: Edinburgh, Scotland
Excellent - can't wait to get home and try this out. Wonder whether it'll fix my playlists issue with v1.2?

Here's hoping.
_________________________
Rory
MkIIa, blue lit buttons, memory upgrade, 1Tb in Subaru Forester STi
MkII, 240Gb in Mark Lord dock
MkII, 80Gb SSD in dock

Top
#108418 - 01/08/2002 00:34 Re: charcoalgray99's empeg web interface v1.3 [Re: frog51]
frog51
pooh-bah

Registered: 09/08/2000
Posts: 2091
Loc: Edinburgh, Scotland
Hmm, I must be doing something wrong - I deleted all my old xsl stuff and ftp'ed this new set on. Everything works fine, including the detachable windows etc, but when I click on playlists I get the same error I used to get with 1.2 (well, it's a little bit more of the same error)



Can anyone think of a cause for this?


Attachments
107158-xslerror.jpg (906 downloads)

_________________________
Rory
MkIIa, blue lit buttons, memory upgrade, 1Tb in Subaru Forester STi
MkII, 240Gb in Mark Lord dock
MkII, 80Gb SSD in dock

Top
#108419 - 01/08/2002 01:04 Re: charcoalgray99's empeg web interface v1.3 [Re: frog51]
charcoalgray99
enthusiast

Registered: 14/05/2001
Posts: 279
What version of IE is that?

Tom

Top
#108420 - 01/08/2002 01:10 Re: charcoalgray99's empeg web interface v1.3 [Re: charcoalgray99]
frog51
pooh-bah

Registered: 09/08/2000
Posts: 2091
Loc: Edinburgh, Scotland
Version 5.5. Whatever revision comes with Win2k. Re your comment in the other thread about XML core services 4.0 I will download it and check this evening if I have the latest version.

As I say, everything else works beautifully.
_________________________
Rory
MkIIa, blue lit buttons, memory upgrade, 1Tb in Subaru Forester STi
MkII, 240Gb in Mark Lord dock
MkII, 80Gb SSD in dock

Top
#108421 - 01/08/2002 01:12 Re: charcoalgray99's empeg web interface v1.3 [Re: frog51]
charcoalgray99
enthusiast

Registered: 14/05/2001
Posts: 279
That should fix it.

IE5.5 ships with the "working draft", the update is required for documents using XSLT 1.0 spec.

Tom

Top
#108422 - 01/08/2002 01:52 Re: charcoalgray99's empeg web interface v1.3 [Re: charcoalgray99]
Dava
member

Registered: 06/12/2000
Posts: 192
Loc: Bucks UK
Just tried it and it looks great. Good effort.

I find that the update of the display is a little slower than my old version of a web interface so I took a delve into your Java refresh routine and changed the values. Is there a specific reason you chose 2500 as the default? I changed it to 200 and it works fine. Could this have implications I am not aware of?
_________________________
MK2 smoked 32Gb S/n 090000949 MK2a Blue 20GB racked and out of sync

Top
#108423 - 01/08/2002 03:33 Re: charcoalgray99's empeg web interface v1.3 [Re: frog51]
Aragon
member

Registered: 17/05/2002
Posts: 148
Loc: Cape Town, South Africa
Hi frog51,

My Win2k shipped with IE 5.0 which needed the XML upgrade to be installed. I'm using MSXML 3.0 which works cool.


Regards,
Aragon

Top
#108424 - 01/08/2002 07:11 Re: charcoalgray99's empeg web interface v1.3 [Re: Aragon]
frog51
pooh-bah

Registered: 09/08/2000
Posts: 2091
Loc: Edinburgh, Scotland
This all sounds very positive. I'll install the XML core package tonight and give you an update tomorrow.

Cheers for the advice
_________________________
Rory
MkIIa, blue lit buttons, memory upgrade, 1Tb in Subaru Forester STi
MkII, 240Gb in Mark Lord dock
MkII, 80Gb SSD in dock

Top
#108425 - 01/08/2002 07:22 Re: charcoalgray99's empeg web interface v1.3 [Re: charcoalgray99]
Dava
member

Registered: 06/12/2000
Posts: 192
Loc: Bucks UK
The playlists work fine on mine but I have problems with the FTP Browser. I get a "Page cannot be displayed" error. If I type ftp://empegip/ into the address bar then no problem.

What could this be??

I am on IE 6.0.2600.0000.
_________________________
MK2 smoked 32Gb S/n 090000949 MK2a Blue 20GB racked and out of sync

Top
#108426 - 01/08/2002 10:00 Re: charcoalgray99's empeg web interface v1.3 [Re: charcoalgray99]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Tom, may I suggest that your web page be more strongly worded with regard to the XML parser.

Perhaps a little warning box along these lines:

"If you are running IE 5.5 and you see strange code on the screen such as EEEEEE FFFF ?fid=&ext.m3u, then you do not have the proper XML core services installed. Please click here to install them."
_________________________
Tony Fabris

Top
#108427 - 01/08/2002 11:04 Re: charcoalgray99's empeg web interface v1.3 [Re: tfabris]
charcoalgray99
enthusiast

Registered: 14/05/2001
Posts: 279
Thanks Tony, I added that.

Tom

Top
#108428 - 01/08/2002 11:10 Re: charcoalgray99's empeg web interface v1.3 [Re: charcoalgray99]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
_________________________
Tony Fabris

Top
#108429 - 01/08/2002 13:04 Re: charcoalgray99's empeg web interface v1.3 [Re: Dava]
FlibblE
journeyman

Registered: 16/02/2000
Posts: 94
Loc: UK - NE Wales
I get strange things in the ftp bit too. In the root I've got a file with a name made up of three unprintable characters. Also I seem to have a file called 'D' in my /usr/local directory.

Any ideas what these are? do they really exist!

Top
#108430 - 01/08/2002 13:53 Re: charcoalgray99's empeg web interface v1.3 [Re: FlibblE]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Yeah, we went back and forth with Mark on that one for a while.

It's Microsofts' bug. When using their FTP browser enhancements, every folder will have a nonexistent file that looks like a shortcut, but with random characters in its file name.

Microsoft isn't following the standard for communicating with the FTP server. Mark's FTP Daemon is following the standard, which is somehow confusing Microsoft and there's that extra entry appearing. At least that's how I understand it to be.

Tom, you might want to mention THAT on the web page, too.

The fact that the characters in the icon name are random hunks of memory makes me think that the potential for a buffer overflow exploit exists there somewhere....
_________________________
Tony Fabris

Top
#108431 - 02/08/2002 03:55 Re: charcoalgray99's empeg web interface v1.3 [Re: tfabris]
FlibblE
journeyman

Registered: 16/02/2000
Posts: 94
Loc: UK - NE Wales
'Microsoft isn't following the standard for communicating with the FTP server'

Hehe, sounds like Microsoft!

Top
#108432 - 03/08/2002 17:47 Re: charcoalgray99's empeg web interface v1.3 [Re: charcoalgray99]
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
I have a problem streaming via the web interface. Windows media player doesn't play any audio and after approx. 30 seconds the playlist sidebar displays what appears to be the .mp3 file in text form as shown in the attachment.

At the same time as WMP starts displaying the .mp3 data I get khttpd messages on the serial port:

khttpd: open(/à) failed, rc=-2
khttpd: open(/B) failed, rc=-2
khttpd: open(/ý
!À) failed, rc=-2
khttpd: open(/€) failed, rc=-2
khttpd: open(/ Z+å“Ÿ>ŠbUs¤k) failed, rc=-2
khttpd: open(/I

Q,QGLŽNAg˜U.Fƒ(ISD•”) failed, rc=-2
khttpd: open(/jpˆ/(„%) failed, rc=-2



I am using 2.0b13, Hijack291 & empeg web interface 1.3. The PC uses XP, IE6.0, MSXML4.0 & WMP8.0.

I have added the following lines to a stock config.ini:
[output]
notify=1
[serial]
car_rate=115200
[hijack]
suppress_notify=1


Does anyone have any idea why this isn't working?


Attachments
107792-wmp.JPG (920 downloads)


Top
#108433 - 03/08/2002 19:15 Re: charcoalgray99's empeg web interface v1.3 [Re: AndrewT]
charcoalgray99
enthusiast

Registered: 14/05/2001
Posts: 279
Do you notice the same problem when streaming from the regular hijack interface? http://empeg/?playlists

Tom

Top
#108434 - 04/08/2002 15:21 Re: charcoalgray99's empeg web interface v1.3 [Re: charcoalgray99]
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
I'd never tried that before. Yes, it's exactly the same - so the web interface obviously isn't a part in what's going wrong?

Top
#108435 - 04/08/2002 16:19 Re: charcoalgray99's empeg web interface v1.3 [Re: AndrewT]
charcoalgray99
enthusiast

Registered: 14/05/2001
Posts: 279
It seems like a bug in the way media player is requesting the stream, or the way hijack is sending it. I'm sure Mark doesn't test with Media Player. I've always used winamp, but I just fired up WMP8 to test this out. Everything seems to work fine for me.

Just thinking out loud... Could it be a problem with file associations? Maybe install winamp, test that out, then reinstall WMP and see if the problem goes away.

Tom

Top
#108436 - 04/08/2002 16:40 Re: charcoalgray99's empeg web interface v1.3 [Re: tfabris]
djc
enthusiast

Registered: 08/08/2000
Posts: 351
Loc: chicago
"If you are running IE 5.5 and you see strange code on the screen such as EEEEEE FFFF ?fid=&ext.m3u, then you do not have the proper XML core services installed. Please click here to install them."

hmm, i don't think this is the solution. i'm running win2k pro, sp3, ie5.5, and the latest MSXML parser. i still get the symptoms shown above.

any other ideas?

thanks,
--dan.

Top
#108437 - 04/08/2002 17:24 Re: charcoalgray99's empeg web interface v1.3 [Re: charcoalgray99]
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
Excellent, it worked straight away with Winamp To be honest I loathe WMP and had already made a mental note to install Winamp at some stage anyhow.

While I didn't re-install WMP, I did remove Winamp's associations thereby allowing WMP to become the default streaming app again and it was the same as before.

It now also works with your web interface so for my part, the problem is fixed and I'm VERY HAPPY with the outcome, thanks for all your help

In the wider scheme of things I'd be happy to help diagnose this further but I think I was the only person who experienced it so there's no need I guess.

Top
#108438 - 05/08/2002 00:03 Re: charcoalgray99's empeg web interface v1.3 [Re: djc]
charcoalgray99
enthusiast

Registered: 14/05/2001
Posts: 279
hmm, i don't think this is the solution. i'm running win2k pro, sp3, ie5.5, and the latest MSXML parser. i still get the symptoms shown above.

I'm not really sure what to say. Did you double check to make sure your running a 3.0+ xml parser? Maybe try upgrading to IE6?

Tom

Top
#108439 - 06/08/2002 00:39 Re: charcoalgray99's empeg web interface v1.3 [Re: frog51]
frog51
pooh-bah

Registered: 09/08/2000
Posts: 2091
Loc: Edinburgh, Scotland
Took me a while to get it sorted (Microsoft issue) but upgrading XML has got me sorted. No EEEEEEEEE errors

Thanks guys.
_________________________
Rory
MkIIa, blue lit buttons, memory upgrade, 1Tb in Subaru Forester STi
MkII, 240Gb in Mark Lord dock
MkII, 80Gb SSD in dock

Top
#108440 - 06/08/2002 06:26 Re: charcoalgray99's empeg web interface v1.3 [Re: charcoalgray99]
djc
enthusiast

Registered: 08/08/2000
Posts: 351
Loc: chicago
upgrading to IE6 did the trick. i was trying to avoid that solution, but it did work.

i tried reinstalling MSXML 4.0 twice, and it didn't make any difference. microsoft, go figure.

--dan.

Top
#108441 - 28/08/2002 20:12 Re: charcoalgray99's empeg web interface v1.3 [Re: charcoalgray99]
jimhogan
carpal tunnel

Registered: 06/10/1999
Posts: 2591
Loc: Seattle, WA, U.S.A.
Tom,

This looks exciting! Can you tell me when you say 'limited support" for Mozilla, what does that mean? Sorry if that is spelled out somewhere and I missed it.

Also, curious to know if other browsers support some of all of the requisite XML specs. I use IE on my work laptop to be employer-compliant, but I have foresworn IE for home use and use Mozilla+Opera
_________________________
Jim


'Tis the exceptional fellow who lies awake at night thinking of his successes.

Top
#108442 - 29/08/2002 02:02 Re: charcoalgray99's empeg web interface v1.3 [Re: AndrewT]
furtive
old hand

Registered: 14/08/2001
Posts: 886
Loc: London, UK
> In the wider scheme of things I'd be happy to help diagnose this further but I think I was the only person who experienced it so there's no need I guess.

I too have that problem



I'll just install WinAmp to fix it though....
_________________________
Mk2a RioCar 120Gb - now sold to the owner of my old car
Rio Karma - now on ebay...

Top
#108443 - 31/08/2002 17:32 Re: charcoalgray99's empeg web interface v1.3 [Re: furtive]
charcoalgray99
enthusiast

Registered: 14/05/2001
Posts: 279
It was discussed in this thread.

Tom

Top
#108444 - 31/08/2002 17:38 Re: charcoalgray99's empeg web interface v1.3 [Re: jimhogan]
charcoalgray99
enthusiast

Registered: 14/05/2001
Posts: 279
"Limited support" for Mozilla means not everything works in Mozilla. I don't know why, I've spent hours trying.

The problems aren't XML spec problems, but how Mozilla uses JavaScript in the XML/XSL

Tom

Top
#108445 - 01/09/2002 12:25 Re: charcoalgray99's empeg web interface v1.3 [Re: charcoalgray99]
AlB
member

Registered: 06/02/2002
Posts: 149
Loc: SF
Discussed but unresolved.....

Top
#108446 - 01/09/2002 14:55 Re: charcoalgray99's empeg web interface v1.3 [Re: AlB]
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
Agreed, I'm surprised this hasn't been raised again & again. Perhaps most people don't stream through WMP any longer, I don't for this exact same reason.

Top
#108447 - 19/06/2003 02:10 Re: charcoalgray99's empeg web interface v1.3 [Re: charcoalgray99]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
Here I am bumping another really old thread...

I don't use the xml interface very often, but every time I do, I'm impressed with how slick it is! Nice job, charcoalgray99!

Only recently have I noticed one problem: in IE (6.0), the View -> Encoding menu is greyed out. Without it, I can't get non-english song/playlist titles to appear properly.

Is this a problem with IE and the way it processes XML? If I go to about:blank, I can pick encodings there. I don't ever use IE (I'm a Moz'er) so maybe my IE isn't set right...

Or is there a spot in one of the xml and/or html files on the empeg where I can force a specific encoding for my player?
_________________________
--The Amigo

Top
#358414 - 30/04/2013 12:10 Re: charcoalgray99's empeg web interface v1.3 [Re: TheAmigo]
suomi35
enthusiast

Registered: 16/02/2002
Posts: 290
Loc: Denver, CO
It seems that charcoalgray99's empeg web interface v1.3 is no longer available...nor http://427.org, for that matter.

Does anyone have the original zip file?
I've been scouring the net for it...working on something fairly interesting smile
_________________________
-Jason

Top
#358424 - 30/04/2013 22:51 Re: charcoalgray99's empeg web interface v1.3 [Re: suomi35]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14477
Loc: Canada
Remind me.. how does that differ from empeg weblite-0.95, which is the AJAX enhanced web interface I use on my own players?

Top
#358426 - 01/05/2013 01:45 Re: charcoalgray99's empeg web interface v1.3 [Re: mlord]
suomi35
enthusiast

Registered: 16/02/2002
Posts: 290
Loc: Denver, CO
Greetings Mark!

It may not differ at all...I just wanted to test it with something I am developing and hoping to release to the Empeg community in the near future. I just want to make sure it works with the stock hijack web interface, charcoalgray99's, as well as weblite in case I need to make the code more robust.

Cheers
_________________________
-Jason

Top
#358427 - 01/05/2013 01:52 Re: charcoalgray99's empeg web interface v1.3 [Re: suomi35]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14477
Loc: Canada
Well, here (attached) is weblite-0.95.zip
Hopefully you can figure out how to install it.. I think it's mainly a matter of getting the files onto the empeg via FTP.


Attachments
weblite-0.95.zip (57 downloads)
Description: weblite-0.95



Top
#358428 - 01/05/2013 03:17 Re: charcoalgray99's empeg web interface v1.3 [Re: mlord]
suomi35
enthusiast

Registered: 16/02/2002
Posts: 290
Loc: Denver, CO
Thanks for that...I got it setup with ease and then noticed that it simply redirects to EXT=.xml in the URL instead of .htm so it won't be an issue since I can just force EXT=.htm and get the data that way regardless of what's setup on different players grin

I'm glad I looked into weblite...I would have missed the enqueue feature otherwise.

Cheers
_________________________
-Jason

Top
#358445 - 01/05/2013 16:31 Re: charcoalgray99's empeg web interface v1.3 [Re: suomi35]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
I might have it around somewhere at home, I'll try and search the NAS and other archives over the next few days for you Jason.

Top
#358451 - 01/05/2013 19:22 Re: charcoalgray99's empeg web interface v1.3 [Re: drakino]
suomi35
enthusiast

Registered: 16/02/2002
Posts: 290
Loc: Denver, CO
Thanks drakino!
It's cool to converse with you guys...it's been many years shocked
_________________________
-Jason

Top
#358466 - 02/05/2013 05:12 Re: charcoalgray99's empeg web interface v1.3 [Re: suomi35]
julf
veteran

Registered: 01/10/2001
Posts: 1307
Loc: Amsterdam, The Netherlands
BTW, Jason, where does your nick come from?

Top
#358468 - 02/05/2013 13:43 Re: charcoalgray99's empeg web interface v1.3 [Re: suomi35]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
Anyone remember what the filenames were? I did some searches on my NAS and didn't find it, but I may not be looking for the right name.

The downsides of being a digital packrat without fully organizing it. I've got stuff all over the place on the NAS, and no easy ability to search the contents of it all. A simple find . > file.txt gave me a 121mb file. Ugg.

Top
#358479 - 02/05/2013 15:32 Re: charcoalgray99's empeg web interface v1.3 [Re: suomi35]
suomi35
enthusiast

Registered: 16/02/2002
Posts: 290
Loc: Denver, CO
I used to live in Finland and the 35 is part of an old inside joke grin
_________________________
-Jason

Top
#358481 - 02/05/2013 16:07 Re: charcoalgray99's empeg web interface v1.3 [Re: suomi35]
julf
veteran

Registered: 01/10/2001
Posts: 1307
Loc: Amsterdam, The Netherlands
Originally Posted By: suomi35
I used to live in Finland


Ah! Where in Finland, and when?

Top
#358483 - 02/05/2013 18:30 Re: charcoalgray99's empeg web interface v1.3 [Re: julf]
suomi35
enthusiast

Registered: 16/02/2002
Posts: 290
Loc: Denver, CO
95-96 in Iitti smile
_________________________
-Jason

Top
#358488 - 02/05/2013 20:17 Re: charcoalgray99's empeg web interface v1.3 [Re: suomi35]
julf
veteran

Registered: 01/10/2001
Posts: 1307
Loc: Amsterdam, The Netherlands
Originally Posted By: suomi35
95-96 in Iitti smile


Ah, I left Finland in 96. Can't remember anything special about Iitti, but I did visit Kuusankoski and Kouvola many times.

Top
#358535 - 06/05/2013 12:46 Re: charcoalgray99's empeg web interface v1.3 [Re: julf]
juenk
journeyman

Registered: 12/01/2002
Posts: 84
Loc: Waardenburg, The Netherlands
Found this (see attached)on my NAS, is this the (complete?) version you are looking for?

Jelle


Attachments
charcoalgray99.zip (81 downloads)

_________________________
Empeg M2A Blue # 010101908 80Gb
Empeg M2A Blue # 030102771 with backlight buttons - Need repair (IDE cable connection on main board) - volunteers?

Top
#358539 - 06/05/2013 17:19 Re: charcoalgray99's empeg web interface v1.3 [Re: juenk]
suomi35
enthusiast

Registered: 16/02/2002
Posts: 290
Loc: Denver, CO
AWESOME! This is it. Thanks so much for finding and posting it. smile
_________________________
-Jason

Top
Page 1 of 2 1 2 >