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
#31758 - 02/10/2001 08:57 Re: Displayserver 2.0 [Re: Terminator]
declain
journeyman

Registered: 30/08/2001
Posts: 68
Loc: Massachusetts, USA
Sean,

I'll do that!

thanks for the fast response....

-Steve

_________________________
//== MK2 Rio Car 20 GB Single Drive ==\\

Top
#31759 - 02/10/2001 09:37 Re: Displayserver 2.0 [Re: declain]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
It should be possible to run both 1.1 and 2.0b1 at the same time. 2.0b1 uses a configfile /etc/displayserver.conf where you can set the portnumber to use.
if you set it to 81, you can access the empeg through : http://[ip of empeg] for 1.1 and http://[ip of empeg]:81 for 2.0
The installer doesn't change the init script. the only files affected are /etc/profile, /empeg/var/config.ini, /etc/displayserver.conf and the /opt structure



Frank van Gestel
_________________________
Frank van Gestel

Top
#31760 - 02/10/2001 10:03 Re: Displayserver 2.0 [Re: tonyc]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
The installer itself doesn't do anything special on the empeg, not even mounting disks read/write. it starts a script called install.sh which is in the mp3/tgz file. This script does the following :
- mount relevant partitions
- create directory /opt or symlink it to /drive[01]/opt
- untar the install.tar file from the mp3 file
- backup /etc/profile
- write new /etc/profile
- write new /etc/displayserver.conf
- add the quit=1 line to /empeg/var/config.ini if it doesn't exist
- ask to install the kernel ( it is optional )
- install kernel if wanted
- reboot



Frank van Gestel
_________________________
Frank van Gestel

Top
#31761 - 02/10/2001 10:35 Re: Displayserver 2.0 [Re: fvgestel]
Dearing
addict

Registered: 22/07/1999
Posts: 453
Loc: Florida
Frank,
Is there a known-bug list for displayserver? It seems to crash every time I select a playlist larger than about 12 members. A lot of messages go to STDERR when this happens. Would it help to show you these?
Sorry if this has been discussed; I just got a Mk2, and this is my first experience with ds.
Thanks,
Jason

_~= Dearing =~_
"WAY too happy about having #99."
_________________________
_~= Dearing =~_
Gettin' back into it thanks to slimrio!

Top
#31762 - 02/10/2001 10:58 Re: Displayserver 2.0 [Re: fvgestel]
declain
journeyman

Registered: 30/08/2001
Posts: 68
Loc: Massachusetts, USA
- unzip the zip file
- use emplode to upload ds2b1.mp3 to the empeg - Done (Uploaded to Unattached Items)
- hook your empeg to a serial port on your pc - Done
- run the included program empackager.exe - Done
- select 'quit' int the empeg menu (Where is the Quit?)

Having trouble installing...Must be the lack of sleep over the past two weeks...



_________________________
//== MK2 Rio Car 20 GB Single Drive ==\\

Top
#31763 - 02/10/2001 10:58 Re: Displayserver 2.0 [Re: fvgestel]
declain
journeyman

Registered: 30/08/2001
Posts: 68
Loc: Massachusetts, USA
- unzip the zip file
- use emplode to upload ds2b1.mp3 to the empeg - Done (Uploaded to Unattached Items)
- hook your empeg to a serial port on your pc - Done
- run the included program empackager.exe - Done
- select 'quit' int the empeg menu (Where is the Quit?)

Having trouble installing...Must be the lack of sleep over the past two weeks...



_________________________
//== MK2 Rio Car 20 GB Single Drive ==\\

Top
#31764 - 02/10/2001 11:07 Re: Displayserver 2.0 [Re: Dearing]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
It would help if you send me your exported CSV-file and info on which playlists cause problems. email

Frank van Gestel
_________________________
Frank van Gestel

Top
#31765 - 02/10/2001 11:12 Re: Displayserver 2.0 [Re: declain]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
I tested the initial installer with 12Gb disk. a new version of the installer, which I suppose is working with larger empegs is at http://empeg.dyndns.org/empeg/displayserver2.0b1/Empackager.zip
I haven't had any feedback though, so I don't know if this is causing the problem.

Frank van Gestel
_________________________
Frank van Gestel

Top
#31766 - 02/10/2001 11:20 Re: Displayserver 2.0 [Re: fvgestel]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
If it helps... the first installer you released worked fine on my 42GB empeg. 12GB on the primary drive, 30GB on the slave.


|| loren.cox ||
_________________________
|| loren ||

Top
#31767 - 02/10/2001 13:20 Re: Displayserver 2.0 [Re: declain]
Terminator
old hand

Registered: 12/01/2000
Posts: 1079
Loc: Dallas, TX
You have to go to a shell prompt on the player, mount rw, and then per tony's directions -
- Add the "Quit" option to the empeg player's menu by
editing the config.ini file:

echo "[Menu]" >> config.ini
echo "Quit=1" >> config.ini

Sean



Top
#31768 - 03/10/2001 08:49 Requests for Displayserver 2.0 [Re: fvgestel]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

I have two requests for Displayserver 2.0. I have not had a chance to install the beta yet, but I hope to very soon. So, you might have a chance to say the famous words "it is in 2.0"...

1) When using the browser to download tracks, there are potentially illegal filename characters or HTML characters in the URL. This happens when the tags contain characters, like ?, ", # and /. These cause the HTML to be malformed, or to give an illegal filename in the Wintel world. You can save the link location, paste it in and edit it, but it would be nice if this was automatically done for you.

2) Is there a way to have the download URL contain information from the Track Number tag? I know it is part of the database. The reason is that, while the display on the browser is in tracklist order based on the playlist, saving the files locally forces an alphabetical sort. The default information for the fields appears to be artist - source - title. Can this be changed to artist - source - tracknumber - title?

Thanks! Just some thoughts. It might even be possible to do this manipulation in the templates for 2.0, but I have not had a chance to look yet.

Paul G.
SN# 090000587 (96GB Smoke)
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#31769 - 03/10/2001 09:58 Re: Requests for Displayserver 2.0 [Re: pgrzelak]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
Your last statement is correct, the pages are generated in javascript, so you could choose how to display your data yourself :
urls looks like this :
http://empeg/ds-bin/getfid?output=js&file=test1.html&fid=xxx for displaying playlists/song info
http://empeg/ds-bin/getfid?output=raw&savefile=[filename]&fid=xxx for downloading playlists/songs
http://empeg/ds-bin/getfid?output=m3u&fid=xxx for generating m3u playlist
http://empeg/ds-bin/sendserial?serialcmds=%23xxx to let the empeg play a certain song/playlist

the getfid method with js output generates a javascript array, which is iterated in the html-templates and generates tables on the fly

Frank van Gestel
_________________________
Frank van Gestel

Top
#31770 - 03/10/2001 10:02 Re: Requests for Displayserver 2.0 [Re: fvgestel]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Cool! Thanks!!!

Paul G.
SN# 090000587 (96GB Smoke)
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#31771 - 03/10/2001 10:03 Re: Displayserver 2.0 [Re: fvgestel]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
It just occured to me that you could also suffer from javascript errors, due to illegal characters in song info.
Look at the source of the generated page. If the array on top contains all playlist info, then this could be the case.

Frank van Gestel
_________________________
Frank van Gestel

Top
#31772 - 03/10/2001 15:45 Re: Displayserver 2.0 [Re: tonyc]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands

Also, I had heard there would be a more elegant backup solution in 2.0, is that ready for testing in this beta? I found that I could select individual files for download, but I saw talk of a new way of backing up an entire Empeg. Will that be coming?


I'm just testing the new empegbackup util. It doesn't need the CSV-file anymore; just give a destination directory and displayserver URL.
It's at 150Mb now. I've got 12Gb of free diskspace, so I should be able to store a complete backup. I let you know later.

Frank van Gestel
_________________________
Frank van Gestel

Top
#31773 - 04/10/2001 00:00 Re: Displayserver 2.0 [Re: fvgestel]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
I just succesfully backup up my complete empeg (10.5 Gb). I wil test a restore tonight

Frank van Gestel
_________________________
Frank van Gestel

Top
#31774 - 04/10/2001 02:06 Re: Displayserver 2.0 [Re: fvgestel]
pupvogel
journeyman

Registered: 29/08/2000
Posts: 96
Loc: Hamburg, Germany
Hi Frank,
I'm still having trouble installing; but it looks different with the new installer:

----------------------------------------------
q

Remounting first music partition read-only

Remounting second music partition read-only

Player exited normally: 0

Switching to shell-player loop

Starting bash.

empeg:/empeg/bin# TMOUT=0

empeg:/empeg/bin# export ARCHIVE=`ls -lrt /drive0/fids/ /drive1/fids/ 2>/dev/nul
l|grep 544539| sed -e '$!d' -e 's/.* //'`
----------------------------------------------
(now it's sitting there for about a minute)
----------------------------------------------

empeg:/empeg/bin# if [ -n "$ARCHIVE" ][ -n "$ARCHIVE" ]; then

> tar xzfO $ARCHIVE empackager/install.sh | /bin/bash

> else

> echo "package not found"

> fi

tar (child): 305b0: Cannot open: No such file or directory

tar (child): Error is not recoverable: exiting now

tar: Child returned status 2

tar: empackager/install.sh: Not found in archive

tar: Error exit delayed from previous errors
----------------------------------------------
Could it be I have too many songs on it ? I think there are about 12000 on it right now.
The size of ds2b1.mp3 is correct, 544539 bytes.

Dr. Pupvogel
mk2 #080000169

Top
#31775 - 04/10/2001 02:39 Re: Displayserver 2.0 [Re: pupvogel]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
I think I found a solution. ls /drive0/fids generates different output than ls /drive0/fids/*0
Will put a new installer up this evening....

Frank van Gestel
_________________________
Frank van Gestel

Top
#31776 - 04/10/2001 03:37 Re: Displayserver 2.0 [Re: fvgestel]
pupvogel
journeyman

Registered: 29/08/2000
Posts: 96
Loc: Hamburg, Germany
Cool, thanks !!

Dr. Pupvogel
mk2 #080000169

Top
#31777 - 04/10/2001 06:51 Re: Displayserver 2.0 [Re: Terminator]
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
Sorry, I don't really get it. I must have skipped Tony's instructions.
I do the following:
- Upload the ds2b1.mp3 to the unattached items
- Attach mpeg to COM1
- Run Empackager
- I assume I have to power off and on the empeg after checking the DEBUG oprion on Empackager, because that's the only way I can find to interact with that. Am I correct?
- If I am, what happens is that I see the boot procedure of empeg on the screen as I woulkd see it in any terminal program (Hyperterminal, for example).
- At a certain point of the boot, I get
Press 'q' now to go into development mode. You Have Zero Seconds To Comply...
which does not allow me to enter the development mode. What should I do at this point?

Also, I already have Displayserver 1.1 running.

Help! :)


Taym
_________________________
MK II BLUE/RED 12GB #923
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#31778 - 04/10/2001 07:25 Re: Displayserver 2.0 [Re: Taym]
Dearing
addict

Registered: 22/07/1999
Posts: 453
Loc: Florida
I didn't think Empackager allowed you to type anything in the debug window. I think it's just to see/copy the text for debug reasons. You shouldn't have to reboot the empeg yourself at all during the installation. Empackager should be started with the player already running on the empeg, as the first thing empeckager does is send "q" to the empeg, thus quitting the player.
HTH,
Jason

_~= Dearing =~_
"WAY too happy about having #99."
_________________________
_~= Dearing =~_
Gettin' back into it thanks to slimrio!

Top
#31779 - 04/10/2001 08:58 Re: Displayserver 2.0 [Re: Dearing]
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
Oh. So, where is teh "quit". I know this has alreadty been asked, still I did not get where it is.

Taym
_________________________
MK II BLUE/RED 12GB #923
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#31780 - 04/10/2001 09:15 Re: Displayserver 2.0 [Re: Taym]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
- connect serial cable
- power on empeg. Make sure player is running
- start empackager.
- click debug checkbox
- select serial port
- click start-button

empackager should send "q" to the empeg after reboot and start install-script.

If you want to run 1.1 and 2.0 at the same time, you should modify /etc/displayserver.conf and change the listenport to something else than 80

Frank van Gestel
_________________________
Frank van Gestel

Top
#31781 - 04/10/2001 09:39 Re: Displayserver 2.0 [Re: fvgestel]
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
Thank you Frank. Simply, the player was not running.
Now, though, I get this:


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

Remounting first music partition read-only
Remounting second music partition read-only

No secondary hard disk

Player exited normally: 0

Switching to shell-player loop

Starting bash.

empeg:/empeg/bin# TMOUT=0

empeg:/empeg/bin# export ARCHIVE=`ls -lrt /drive0/fids/ /drive1/fids/ 2>/dev/nul
l|grep 544539| sed -e '$!d' -e 's/.* //'`

empeg:/empeg/bin# if [ -n "$ARCHIVE" ][ -n "$ARCHIVE" ]; then

> tar xzfO $ARCHIVE empackager/install.sh | /bin/bash

> else

> echo "package not found"

> fi

tar (child): a130: Cannot open: No such file or directory

tar (child): Error is not recoverable: exiting now

tar: Child returned status 2

tar: empackager/install.sh: Not found in archive

tar: Error exit delayed from previous errors
--------------------------


Help!


Taym
_________________________
MK II BLUE/RED 12GB #923
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#31782 - 04/10/2001 09:56 Re: Displayserver 2.0 [Re: Taym]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31567
Loc: Seattle, WA
The "quit" menu option does not appear unless the file CONFIG.INI has been edited on the player to add it.

Frank, you might want to consider having your installer program do this automatically.

Also, in case someone hasn't figured this out yet, you can't use displayserver (or any third-party stuff like it) unless the empeg has the DEVELOPER image installed on it. Just in case anyone was wondering why the serial commands weren't working on their consumer-installed player.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#31783 - 04/10/2001 10:20 Re: Displayserver 2.0 [Re: tfabris]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
FYI, this is from Frank earlier in this thread...

The installer itself doesn't do anything special on the empeg, not even mounting disks read/write. it starts a script called install.sh which is in the mp3/tgz file. This script does the following :
- mount relevant partitions
- create directory /opt or symlink it to /drive[01]/opt
- untar the install.tar file from the mp3 file
- backup /etc/profile
- write new /etc/profile
- write new /etc/displayserver.conf
- add the quit=1 line to /empeg/var/config.ini if it doesn't exist
- ask to install the kernel ( it is optional )
- install kernel if wanted
- reboot


Sounds like the installer already takes care of this.

-Tony
MkII #554
_________________________
- Tony C
my empeg stuff

Top
#31784 - 04/10/2001 10:32 Re: Displayserver 2.0 [Re: tonyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31567
Loc: Seattle, WA
add the quit=1 line to /empeg/var/config.ini if it doesn't exist
Sounds like the installer already takes care of this.


Then why did somebody say they didnt get the "quit" option?

Possibilities:

- User was running Consumer build an installer didn't work at all?
- Bug in installer preventing it from working?
- quit=1 is added, but "[Menu]" section above it is not added?

___________
Tony Fabris
_________________________
Tony Fabris

Top
#31785 - 04/10/2001 10:33 Re: Displayserver 2.0 [Re: tfabris]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands

Frank, you might want to consider having your installer program do this automatically.

It already did. There is a problem with the detection of the uploaded file.


Also, in case someone hasn't figured this out yet, you can't use displayserver (or any third-party stuff like it) unless the empeg has the DEVELOPER image installed on it.

I though everyone reads readme's

Frank van Gestel
_________________________
Frank van Gestel

Top
#31786 - 04/10/2001 10:46 Re: Displayserver 2.0 [Re: tfabris]
declain
journeyman

Registered: 30/08/2001
Posts: 68
Loc: Massachusetts, USA
I definitely had the developer image and did not get the quit. After much time trying, I went with the option at the end of the readme, which worked great.

_________________________
//== MK2 Rio Car 20 GB Single Drive ==\\

Top
#31787 - 04/10/2001 10:47 Re: Displayserver 2.0 [Re: tfabris]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands

- User was running Consumer build an installer didn't work at all?
- Bug in installer preventing it from working?
- quit=1 is added, but "[Menu]" section above it is not added?

- people applying power after starting the installer

If you press the start-button, the player app is stopped and the shell is used to start the install-script
if you power on after pressing the start-button, the player doesn't get interrupted

Frank van Gestel
_________________________
Frank van Gestel

Top
Page 2 of 3 < 1 2 3 >