[emphatic] v2.04 released

Posted by: tonyc

[emphatic] v2.04 released - 03/08/2004 23:57

Get it at the usual place.

Changes for v2.00:
  • The Windows batch file was broken in v2.00, and has been fixed, and hopefully fixed correctly. If you had install problems, try again with this one.
  • Install scripts now support an "upgrade" where the existing XML file is kept intact, and config.ini is left unchanged.
  • The postinstall script has been fixed to add some important config.ini changes, without which emphatic won't function properly.
  • Thanks to some improvements to the Hijack user APIs, emphatic now provides the option to bring itself to the foreground on player startup. This requires Hijack v408 or later. The new behavior is now the default, so if you wish to turn it off, set the auto_foreground setting in the XML file to "false."
  • New track attribute, "bpm", which is the beats per minute as calculated by the player. Shown in the Track Details screen in the default XML file


Enjoy this release, and please post here if you have any problems, or any general comments about this release. Please keep feature requests in the other relevant thread in this forum.
Posted by: anti

Re: [emphatic] v2.01 released - 04/08/2004 19:18

Hi,

I just installed emphatic,
but I'm having some problems.

It seems to work, but the display is ... mixed with the original output.
Not sure what went wrong at which point,
but it's not usable this way

I tried to grab a screenshot via hijack+jemplode,
but the screenshot looks normal...
Posted by: tonyc

Re: [emphatic] v2.01 released - 04/08/2004 19:38

The quick fix is to go into the player menu (accessible from the emphatic menu as well) and select "Info: Off." If this is happening for you every time, then I'll need you to tell me what player version you're running, and I'll have to investigate to see why it's not able to turn the built-in info display off for you.
Posted by: Skunk

Re: [emphatic] v2.01 released - 04/08/2004 19:57

Quote:
The quick fix is to go into the player menu (accessible from the emphatic menu as well) and select "Info: Off."


If you still get still get that "ghost Info" after selecting "off" , try holding down the "down" button.

Doing so will produce or undo the "ghost info" regardless if Info is turned off on the player's menu.
Posted by: mvigneau

Re: [emphatic] v2.01 released - 04/08/2004 20:22

I am having problems installing version 2.01. Here is the output of the command prompt. Any help would be greatly appreciated. I am unable to create the /usr/local/bin directory myself because I get the same RC=1 error.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Installing emphatic...
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Please enter the IP address of your empeg:
> 192.168.1.115


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Please enter the directory to install emphatic to:
> /usr/local/bin


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Perform an upgrade install of emphatic? Selecting "no" here will allow you
to change advanced config options, and will install the default emphatic XML
configuration file. If you select "yes", we will perform an upgrade install,
and your existing configuration will be unchanged. If you upgrade, you will
have to add new config options to the XML by hand.
Upgrade an existing emphatic installation in /usr/local/bin (y/n)?
n

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Would you like me to modify your config.ini to launch emphatic
when your empeg boots?
If you choose 'n' here, you will have to launch emphatic manually,
or using a 3rd party launcher
Add ;@EXEC_ONCE entry to config.ini? (y/n)?
y


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
emphatic allows you to rate your songs to provide a weighted shuffle mode
that favors your highest-rated songs. Would you like to add this shuffle
mode to your config.ini? If you have already done this before, select
'n' here. You can always add/modify this shuffle mode in config.ini later
if you know what you're doing.
Add "Favorites" shuffle mode to config.ini? (y/n)?
y


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
For optimum performance, you may want to reserve some player memory for
running emphatic and other 3rd party applications. If you select 'y'
here, config.ini will be modified to reserve 10 cache blocks (about 300k).
If you select 'n', the ReserveCache entry in your config.ini will be left
as-is.
Reserve 10 cache blocks for 3rd party applications? (y/n)?
y


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Alright, pay attention. Song ratings in emphatic range from 1 to 10.
Prior to running emphatic, the player has all song ratings set at 0.
This means that songs you haven't rated yet aren't going to pop up in a
weighted shuffle mode until the very end. This is usually not
desirable behavior.

To fix this, the installation procedure can walk through your dynamic
data partition and initialize song ratings to 5, which will mean all
songs start off with an "average" rating, which you can raise or lower
to your liking.

I've tested this procedure extensively on my own empegs, under various
versions of player software v2 and v3. I have had no problems with this
procedure, but because it involves writing some data to the player's
dynamic data partition, I'm giving you the chance to bail out on this
part of the install. If you choose not to initialize your song ratings,
you will find that unrated songs rarely show up in a shuffle, which will
make doing song ratings difficult if you're in "Favorites" shuffle mode.

If you choose "Y" here, the install process will execute emphatic on
your empeg to initialize the song rating data. This may take some time,
possibly up to a minute or more, but probably more like 20-30 seconds.

If you're really worried, you may wish to break out of this script now
and back up your dynamic data partition.

Initialize song rating data on your empeg? (y/n)?
y


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Okay, I will now install emphatic to directory /usr/local/bin on 192.168.1.115
config.ini will be modified to launch emphatic on startup
config.ini will be modified to add "Favorites" shuffle mode
config.ini will be modified to reserve memory for 3rd party apps
song ratings on /dev/hda3 will be initialized to "5"

Do you wish to proceed? (y/n)?
y
Connected to 192.168.1.115.
220 Connected.
User (192.168.1.115:(none)):
230 Login okay.
ftp> quote site rw
200 Okay.
ftp> quote site exec mkdir -p /usr/local/bin
541 ERROR (rc=1)
ftp> cd /usr/local/bin
431 No such directory.
ftp> bin
200 Okay.
ftp> put emphatic
200 Okay.
150 Opening data connection.
226 Okay.
ftp: 371248 bytes sent in 0.69Seconds 540.39Kbytes/sec.
ftp> put postinstall.sh
200 Okay.
150 Opening data connection.
226 Okay.
ftp: 2971 bytes sent in 0.00Seconds 2971000.00Kbytes/sec.
ftp> ascii
200 Okay.
ftp> put emphatic.xml
200 Okay.
150 Opening data connection.
226 Okay.
ftp: 15405 bytes sent in 0.00Seconds 15405000.00Kbytes/sec.
ftp> put emphatic.dtd
200 Okay.
150 Opening data connection.
226 Okay.
ftp: 23043 bytes sent in 0.00Seconds 23043000.00Kbytes/sec.
ftp> quote site chmod 755 emphatic
200 Okay.
ftp> quote site chmod 755 /usr/local/bin/postinstall.sh
550 Failed.
ftp> quote site chmod 644 emphatic.dtd
200 Okay.
ftp> quote site chmod 644 emphatic.xml
200 Okay.
ftp> quote site exec /usr/local/bin/postinstall.sh /usr/local/bin 1 1 1 1
541 ERROR (rc=1)
ftp> quote site exec rm -f /usr/local/bin/postinstall.sh
541 ERROR (rc=1)
ftp> quote site ro
200 Okay.
ftp> quit
221 Happy Fishing.
emphatic installed successfully
Press any key to continue . . .
Posted by: tfabris

Re: [emphatic] v2.01 released - 04/08/2004 20:29

Quote:
ftp> quote site exec mkdir -p /usr/local/bin
541 ERROR (rc=1)
ftp> cd /usr/local/bin
431 No such directory.

Woops.

Every place it says "exec" it gets a 541 error. Is it because "exec" doesn't exist?
Posted by: mvigneau

Re: [emphatic] v2.01 released - 04/08/2004 20:43

That's the problem...how do I fix it?
Posted by: tfabris

Re: [emphatic] v2.01 released - 04/08/2004 21:04

I have no idea. My evil twin will probably be in here shortly to help troubleshoot this.
Posted by: pgrzelak

Re: [emphatic] v2.01 released - 04/08/2004 21:12

Which evil twin is that???

Meanwhile, I notice that the commands without the exec seem to be working fine (chmod, etc.). Perhaps try the mkdir command without the exec prefix?
Posted by: tonyc

Re: [emphatic] v2.01 released - 04/08/2004 21:14

What version of Hijack are you running?

SITE EXEC wasn't always in the kftpd that's built into Hijack, but it's been there for quite a while. Unless you're running a very old Hijack release, I'm not sure what could cause this.
Posted by: tonyc

Re: [emphatic] v2.01 released - 04/08/2004 21:15

Quote:
Which evil twin is that???

Meanwhile, I notice that the commands without the exec seem to be working fine (chmod, etc.). Perhaps try the mkdir command without the exec prefix?

Doesn't help with the postinstall, unless he wants to drop to a shell and execute that with the same arguments listed in the output above. But that doesn't help me automate it for anyone else who might run into this problem.
Posted by: mvigneau

Re: [emphatic] v2.01 released - 04/08/2004 21:20

I am running Version 410 of Hijack. I ran mkdir along and this is what I get

ftp> mkdir
Directory name local
550 Failed.
ftp>
Posted by: tonyc

Re: [emphatic] v2.01 released - 04/08/2004 21:30

If you just run mkdir with the drives mounted read-only (without calling SITE RW first) then that's what you'll get. But I'm sending SITE RW so it's not a permissions problem. It's not really the mkdir I'm wondering about though, it's the EXEC of the postinstall script. I'm kinda stumped here...
Posted by: tman

Re: [emphatic] v2.01 released - 04/08/2004 21:41

You've probably got a file called local in /usr/
Run the following three commands in a FTP client and paste the results:

dir /
dir /usr
dir /usr/local
Posted by: mvigneau

Re: [emphatic] v2.01 released - 04/08/2004 21:45

ftp> open 192.168.1.115
Connected to 192.168.1.115.
220 Connected.
User (192.168.1.115:(none)):
230 Login okay.
ftp> dir /
200 Okay.
150 Opening data connection.
drwx------ 2 0 0 12288 Apr 1 2003 lost+found
drwxr-xr-x 4 0 0 1024 Apr 1 2003 empeg
drwxr-xr-x 2 0 0 1024 Jul 4 2000 dev
drwxr-xr-x 2 0 0 1024 Apr 13 1999 tmp
drwxr-xr-x 2 0 0 1024 Apr 13 1999 etc
drwxr-xr-x 2 0 0 1024 Apr 1 2003 bin
drwxr-xr-x 2 0 0 1024 Feb 8 2000 lib
drwxr-xr-x 4 0 0 1024 Apr 1 2003 usr
drwxr-xr-x 2 0 0 1024 Jul 6 1999 drive0
drwxr-xr-x 2 0 0 1024 Apr 1 2003 sbin
drwxr-xr-x 2 0 0 1024 Jun 2 1999 drive1
drwxr-xr-x 2 0 0 1024 Jun 3 1999 proc
lrwxrwxrwx 1 0 0 10 Apr 1 2003 swapfile -> ./dev/hda6
-rwxr-xr-x 1 0 0 371248 Nov 15 13:37 emphatic
-rw-r--r-- 1 0 0 2971 Nov 15 13:37 postinstall.sh
-rw-r--r-- 1 0 0 15405 Nov 15 13:37 emphatic.xml
-rw-r--r-- 1 0 0 23043 Nov 15 13:37 emphatic.dtd
total 866
226 Okay.
ftp: 1118 bytes received in 1.99Seconds 0.56Kbytes/sec.
ftp> dir /usr
200 Okay.
150 Opening data connection.
drwxr-xr-x 2 0 0 1024 Jun 1 1999 lib
drwxr-xr-x 3 0 0 1024 Jan 15 2002 share
total 4
226 Okay.
ftp: 133 bytes received in 0.00Seconds 133000.00Kbytes/sec.
ftp> dir /usr/local
200 Okay.
550 Failed.
ftp>
Posted by: tonyc

Re: [emphatic] v2.01 released - 04/08/2004 23:02

Can you run the script from hyperterminal and paste in all the debug output that comes out on the serial console?
Posted by: tman

Re: [emphatic] v2.01 released - 04/08/2004 23:09

Do you have the consumer version of the player software installed by any chance? If so then you'll need the developer version.
Posted by: mvigneau

Re: [emphatic] v2.01 released - 04/08/2004 23:12

Yes...I do...I will reflash it now with the developer as well as reflash Hijack.
Posted by: tonyc

Re: [emphatic] v2.01 released - 04/08/2004 23:17

There's the problem. I'll update my docs to refer to the fact that the install won't work on the consumer player. I think it used to before.
Posted by: mvigneau

Re: [emphatic] v2.01 released - 04/08/2004 23:50

That definiitely worked!!!

I think that it is pretty cool...How do I switch it off and on? Not all of my songs have lyrics, so I would like to go back to normal.
Posted by: JBjorgen

Re: [emphatic] v2.01 released - 04/08/2004 23:54

I loaded emphatic on my mk2 tonight. Played around with it just a bit. It's taking a little getting used to for the user interface. Hopefully I'll grow more accustomed to it with time. Script worked great for me with v. 3.0 alpha 7 and Hijack 410. Had some weird overlay problems when I first booted but when I restarted emphatic, everything sorted itself out.
Posted by: tonyc

Re: [emphatic] v2.01 released - 05/08/2004 01:20

Quote:
That definiitely worked!!!

I think that it is pretty cool...How do I switch it off and on? Not all of my songs have lyrics, so I would like to go back to normal.

Glad it's working out for you.

When you click the knob (or use the "menu" button on the remote) you'll get the emphatic menu, and you can select "hide" to hide emphatic and go back to the regular player UI. When you want to switch back to it, open Hijack menu and emphatic will be there.

Incidentally, many of the display modes don't have a lyrics field on them, so you could just switch to one of those instead (using the "info" button, or from the menu.) Or you can create your own display mode if you play with the XML file a bit.
Posted by: tonyc

Re: [emphatic] v2.01 released - 05/08/2004 01:25

Quote:
I loaded emphatic on my mk2 tonight. Played around with it just a bit. It's taking a little getting used to for the user interface. Hopefully I'll grow more accustomed to it with time. Script worked great for me with v. 3.0 alpha 7 and Hijack 410. Had some weird overlay problems when I first booted but when I restarted emphatic, everything sorted itself out.

Yeah, it is a bit of a departure from the standard player interface, though the player menu itself is always there from within emphatic if you want it. If there's anything in particular about the UI you don't like or have questions about, let me know. I tried to make it as easy/intuitive as the limited amount of buttons and VFD real-estate would allow.

It's also good to hear from someone for whom the script worked flawlessly.
Posted by: mcomb

Re: [emphatic] v2.01 released - 05/08/2004 01:36

Don't take this as heresy, but is there any way to get emphatic to run in the background doing nothing and only foreground itself (automatically) if a song with lyrics is played?

-Mike
Posted by: tonyc

Re: [emphatic] v2.01 released - 05/08/2004 01:57

Quote:
Don't take this as heresy, but is there any way to get emphatic to run in the background doing nothing and only foreground itself (automatically) if a song with lyrics is played?

-Mike

Kinda, if I understand what you're asking for.

You can create a display mode that has nothing but a lyrics field, and set the "show" attribute to "withlyrics." But emphatic is still in the "foreground," it's just not displaying anything.

If that's not what you're asking for, can you clarify what you want it to do?
Posted by: mcomb

Re: [emphatic] v2.01 released - 05/08/2004 02:09

Quote:
If that's not what you're asking for, can you clarify what you want it to do?

Maybe. I was interested in minimizing the CPU overhead when there aren't any lyrics to display and continuing to use the player's built-in UI since I am used to it. The extra display capabilities of emphatic sound cool, but I'm not convinced that I would really use them. I need to play with it more to decide. Basically I was thinking that a "lite" mode that only affected the player when a lyric tagged song came on might be more comfortable for some people.

edit: Also this could allow other apps to take over the foreground the rest of the time.

-Mike
Posted by: tonyc

Re: [emphatic] v2.01 released - 05/08/2004 02:18

Quote:
Maybe. I was interested in minimizing the CPU overhead when there aren't any lyrics to display and continuing to use the player's built-in UI since I am used to it.

Hmm, ok. When is the CPU utilization high for you?

Quote:
Basically I was thinking that a "lite" mode that only affected the player when a lyric tagged song came on might be more comfortable for some people.

Yeah, the problem is I'm either running or I'm not. If I'm running, I have the whole screen, and I have to call to the kernel to display the player's screen. I could unbind from all the buttons and not display anything, if that's what you're looking for... I'll have to think about how it would work exactly, but I'll consider it.. I'd much prefer solving whatever UI problems people feel there are, though.

Edit: Just saw your edit regarding running another application in the foreground. The thing is, if I go truly to the background (the equivalent of the "Hide" option in the menu) the Hijack menu pops up, and you have to re-select emphatic when you want it back. With the newer Hijack improvements, I can "take over" the display whenever I want, but to yield the display back to the player, I need to call WAITMENU (null) which requires you to re-select the app. I don't think there's any way for the app to just sit in the background, take the display when the lyrics are active, then give it back.

Also, if you've got an app running in the foreground, what happens if lyrics pop up?
Posted by: mcomb

Re: [emphatic] v2.01 released - 05/08/2004 02:40

Quote:
When is the CPU utilization high for you?

Honestly its more of a waste not, want not thing. If I don't want emphatic displaying anything at that moment it seems like a waste to have it buffering and redrawing the screen. I may have some other app running that could utilize those cycles. I haven't tried it without all the shiney, flashy stuff on though so it probably isn't as big of a deal as I am making it. It definitely lags my player and causes audio dropouts at times under your last release with scrolling text and burnin going.

Quote:
I'd much prefer solving whatever UI problems people feel there are, though.

Again, waste not, want not. If I'm happy with the players menus and other UI...

Quote:
I don't think there's any way for the app to just sit in the background, take the display when the lyrics are active, then give it back.

Ah, yeah thats a bummer. It would be cool to have more of a multitasked interface where emphatic can popup and show lyrics when appropriate, but if it isn't using the display something else (gps, traffic info, OBDII data, etc.) could grab it for a while. It feels like emphatic is trying to replace the existing player UI when I would prefer that it just augment it when appropriate.

-Mike
Posted by: tonyc

Re: [emphatic] v2.01 released - 05/08/2004 03:08

Quote:
It definitely lags my player and causes audio dropouts at times under your last release with scrolling text and burnin going.

I've seen lag, but never an audio dropout, even with the most strenuous settings on. If you turn off the burn-in (or switch to a mode that doesn't use it) things are MUCH faster. There is still a bit of a lag when I go to read the lyrics from the MP3 file (and the player is aggressively trying to fill its cache), but that's going to be there regardless of whether I'm in the foreground or background. So even if I could grant your wish, I'm not sure that it'd bring you joy.

For now, try pasting this into your XML and seeing if this works for you. This will show lyrics when they're there, and nothing when they're not.

<display_mode name="Vertical Lyrics" visual="Marquesas">
<vlyrics font="small" color="bright" nextcolor="dim" bgcolor="black" x="1" y="1" width="128" height="32" showtitle="true" speed="5" show="withlyrics"/>
<playerscreen blendmode="transparent" burnin="false" show="withoutlyrics"/>
</display_mode>

Quote:
Ah, yeah thats a bummer. It would be cool to have more of a multitasked interface where emphatic can popup and show lyrics when appropriate, but if it isn't using the display something else (gps, traffic info, OBDII data, etc.) could grab it for a while.

That'd be great, but as things are now, multiple apps can't even play nicely with each other when only one of them is trying to use the display/input. Nobody's been able to nail down exactly why, but basically, if you run two apps concurrently, even if one is just hanging around in the background, bad things often happen. Are you running something else right now that you'd want to use while emphatic is running, or are you just speaking hypothetically?
Posted by: anti

Re: [emphatic] v2.01 released - 05/08/2004 06:53

Yes,
that (holding down) fixed it.

I'm running 2b13 with hijack 408.
Posted by: SE_Sport_Driver

Re: [emphatic] v2.01 released - 05/08/2004 09:45

Why are you running Beta13 ? You should install 2.00final.
Posted by: tonyc

Re: [emphatic] v2.01 released - 05/08/2004 11:30

Quote:
Why are you running Beta13 ? You should install 2.00final.

Yeah, what he said. There are a ton of fixes in 2.00 final that aren't even in the v3 alphas. I did very limited testing with 2.0b13 a long time ago, and didn't find anything extremely incompatible, but to be sure, please consider upgrading to v2.
Posted by: mlord

Re: [emphatic] v2.01 released - 05/08/2004 11:55

try again without the "quote" part.
Posted by: tman

Re: [emphatic] v2.01 released - 05/08/2004 13:37

It wasn't working because kftpd is trying to exec /bin/sh to then run the specified command. /bin/sh doesn't exist on a consumer release of the empeg software.
I'm trying to think of any particular reason to use the consumer release instead of the developer release. The only one I can think of at the moment is that it's slightly smaller to download
Posted by: tonyc

Re: [emphatic] v2.01 released - 05/08/2004 15:51

Quote:
I'm trying to think of any particular reason to use the consumer release instead of the developer release. The only one I can think of at the moment is that it's slightly smaller to download

Yeah. For what it's worth, I've added "developer image" to the requirements for emphatic.
Posted by: mcomb

Re: [emphatic] v2.01 released - 05/08/2004 17:41

Quote:
Are you running something else right now that you'd want to use while emphatic is running, or are you just speaking hypothetically?


gpsapp is the only other thing I am running at the moment that would be a likely candidate. But, I'm not sure how well the two would play together anyway. To be useful, gpsapp would have to be able to take over the screen to give directions even if emphatic was currently scrolling song info. At that point you need more of a windowing system where multiple apps can draw to the screen at the same time and I realize that adds another layer of complexity to hijack that probably isn't worth the trouble. I guess hijack could do something cooperative where when an app wanted to grab the screen it could specify a priority and the highest priority wins total control of the display.

The nagging (hypothetical) concern in the back of my mind is that an appliication like emphatic that wants to be running all the time discourages development of other applications because it takes exclusive control of the empegs limited resources.

-Mike
Posted by: tfabris

Re: [emphatic] v2.01 released - 05/08/2004 18:30

After trying for quite a while to get emphatic and GPSapp playing nice together (with both of them launching at boot-up), I have switched to using Launcher instead, and now I can choose either one to launch on command. I've found this to be a decent compromise.
Posted by: Skunk

Re: [emphatic] v2.01 released - 05/08/2004 18:51

Launcher?
Tony, can you please fill me in?
Both empacman and emphatic start at the same time on boot for me. (They both function by the way, running at the same time without crashing or freezing with empacman bieng in the background.)
I usually let empacman ends on it's own or I found that if you quick press the rotary button once, empacman goes away.
Posted by: mcomb

Re: [emphatic] v2.01 released - 05/08/2004 18:56

I'm not sure if this is a bug or by design, but is there a reason emphatic always turns off the visuals auto change feature when it starts up?

-Mike
Posted by: SE_Sport_Driver

Re: [emphatic] v2.01 released - 05/08/2004 18:56

I think we need an emphatic boot animation!
Posted by: tfabris

Re: [emphatic] v2.01 released - 05/08/2004 18:58

Launcher is a third-party application written by CanuckInLA that binds to the hijack menu as the only thing running in memory at that time. From that, you can choose to launch any programs you've configured within it.

Here's a thread where I talk about it, but I don't have a link handy for you to download it.

Launcher may have recently become obsoleted by Mark's completion of the Menu_exec feature, but I haven't tried that feature yet so I don't know quite how it works.
Posted by: tonyc

Re: [emphatic] v2.01 released - 05/08/2004 19:05

Quote:
The nagging (hypothetical) concern in the back of my mind is that an appliication like emphatic that wants to be running all the time discourages development of other applications because it takes exclusive control of the empegs limited resources.

-Mike

Yeah, that's a nagging concern of mine as well, and I asked for a solution to it in this thread. But there were still unresolved issues with the design of exactly how it would work. We got pretty far through some of the higher-level thinking, but when it came to "how do we actually code this so that it would work" things got stuck.

Without some way for the user to explicitly (and without a lot of effort) switch between which app is in the foreground, or the ability to have 2 or more apps write to different sections of the screen at the same time, I don't see how running multiple apps at one time can be practical.
Posted by: tonyc

Re: [emphatic] v2.01 released - 05/08/2004 19:09

Quote:
I'm not sure if this is a bug or by design, but is there a reason emphatic always turns off the visuals auto change feature when it starts up?

The only things it should be doing on startup are:

1. Switch to Info:Off
2. Select the visual of the first display mode.

It's possible it's getting hung up on the visual selection. The only way I can select a specific visual is by sending IR codes to invoke the player menu. If it's landing on the wrong menu item, then it's possible the menus aren't always acting the same, or IR codes are being lost or something.

Edit: Okay, you're running v3a7, which is what I did 99% of my development on. So I think maybe the IR codes aren't all getting through properly. I think I'll slow down the rate at which I send them in the next version to see if that helps things along.
Posted by: mcomb

Re: [emphatic] v2.01 released - 05/08/2004 19:13

Quote:
2. Select the visual of the first display mode.

Bingo, that isn't happening so it must be getting the wrong menu item. I can see it going through the menus as you send IR codes and its clearly selecting the auto change menu and then off rather than my selected visual (Image Pan). I'm running v3a7.

-Mike
Posted by: tonyc

Re: [emphatic] v2.01 released - 05/08/2004 19:14

All the time? I see this happen sometimes (maybe 1 out of every 5 tries) in my car but not on AC at home. Which is strange...
Posted by: mcomb

Re: [emphatic] v2.01 released - 05/08/2004 19:17

Quote:
All the time?

Seems to be consistent. I just did it five times in a row.

-Mike
Posted by: Skunk

Re: [emphatic] v2.01 released - 05/08/2004 19:21

I think this was mentioned before but if you have anything selected other than "off" on the player's menu>shuffle, emphatic will shuffle (if shuffle is selected in emphatic) by album and not songs.

Is this a feature or bug?
Posted by: tonyc

Re: [emphatic] v2.01 released - 05/08/2004 19:23

Quote:
Seems to be consistent. I just did it five times in a row.

-Mike

D'oh. Strange that it would be that consistent. Can you do the following for me? Without emphatic rnning, enter the following button presses (you'll need a remote handy):

Bottom
4
Bottom
3
Left
Bottom

Where do you land? You should be in the visuals by name menu. That's the sequence emphatic is sending. If you land somewhere else then something funky is going on. Otherwise, I'll have to think about slowing down the rate at which I'm sending IR codes.
Posted by: tonyc

Re: [emphatic] v2.01 released - 05/08/2004 19:24

Quote:
I think this was mentioned before but if you have anything selected other than "off" on the player's menu>shuffle, emphatic will shuffle (if shuffle is selected in emphatic) by album and not songs.

Is this a feature or bug?

Say what?

All "shuffle" from within emphatic does is send a Zero IR code. Which toggles between "shuffle off" and "whatever shuffle mode you last selected."

What is "shuffle by album?" Sounds like an oft-requested feature that doesn't exist on the empeg.
Posted by: mcomb

Re: [emphatic] v2.01 released - 05/08/2004 19:29

Quote:
Bottom
4
Bottom
3
Left
Bottom


Gets me...

Playlists
Visuals
By Type
By Type (nothing happens when I press 3)
Auto Change
Off

-Mike
Posted by: tonyc

Re: [emphatic] v2.01 released - 05/08/2004 19:31

Quote:
Gets me...
By Type (nothing happens when I press 3)


Aw, crap. Let me guess, you don't have any Favorite Visuals defined?

Looks like I made an assumption that the "Favorites" menu option would be there, but apparently, it disappears.
Posted by: mcomb

Re: [emphatic] v2.01 released - 05/08/2004 19:40

Quote:
Aw, crap. Let me guess, you don't have any Favorite Visuals defined?

Yeah, you're right. I've never bothered with the favorite visual feature (forgot it even existed actually).

-Mike
Posted by: tonyc

Re: [emphatic] v2.01 released - 05/08/2004 20:01

Okay, I'll have to pick another way of landing on the visuals by name option. It'll probably be hitting 7 instead of 3 to land on "Select Mode" and then going left twice, but I need to test that on a v2 player, as I have a faint memory of the Visuals menu changing quite a bit between v2 and v3. I hope I can find something that works for both so I don't have to code special cases.

If you want, you can delete the "visual=" attribute from the display mode(s) and it won't bother switching visuals.
Posted by: Skunk

Re: [emphatic] v2.01 released - 05/08/2004 20:14

Actually I should of said Artist not Album.

Never mind. It was past lunch and I was very hungry.

I think the player was forcing shuffle "off" even though on emphatic's display I had an "s" for shuffle mode.

I can not duplicate the behavior so it must of been "user error"
Posted by: Skunk

Re: [emphatic] v2.01 released - 05/08/2004 20:29

Found it Tony thanks.

Quote:
Launcher may have recently become obsoleted by Mark's completion of the Menu_exec feature, but I haven't tried that feature yet so I don't know quite how it works


That's funny. I know I've seen the feature in Hijack but is no longer there?!?!
v410
Posted by: tfabris

Re: [emphatic] v2.01 released - 05/08/2004 21:02

Try Hijack's feature first, rather than worrying about installing Launcher. It might be better and easier. I just haven't tried it yet.
Posted by: newguy1

Re: [emphatic] v2.01 released - 05/08/2004 21:13

Tony, I was having a problem running previous version in the car(DC mode).Do you know what caused it or if it works in the car/DC mode?I haven't reinstalled it yet to check it out.

Also does it matter where it gets installed eg:/usr/local/bin or can it be as simple as /programs ?
Posted by: tonyc

Re: [emphatic] v2.01 released - 05/08/2004 21:59

I honestly don't know what caused it, but I recommend you try v2.01 and see how it goes. I have one other report of problems in the car, and I'm working on getting some more info.
Posted by: wfaulk

Re: [emphatic] v2.01 released - 05/08/2004 22:22

Quote:
I should of said


"should've" or "should have"

Quote:
it must of been


"must've" or "must have"
Posted by: tfabris

Re: [emphatic] v2.01 released - 05/08/2004 22:26

You might want to set your serial port rate to be 115200 in car mode and make sure that hijack has supress_notify=1. That might help DC mode problems.
Posted by: newguy1

Re: [emphatic] v2.01 released - 05/08/2004 22:41

Just installed and it seems to work fine in AC mode.Will attempt DC mode soon.
Yea I just noticed tony added the supress_notify=1 thing in
my config.
I thought i needed to add [output]notify=1 ?
Posted by: tman

Re: [emphatic] v2.01 released - 05/08/2004 23:14

For one thing it's actually suppress_notify and not supress_notify. At one point it was supress_notify but Mark corrected the typo.

notify in the output section tells the player to send out information on the serial port about what it's playing and what point it is at in the song.
suppress_notify in the hijack section however tells Hijack to silently absorb those messages and not send them out on the serial port. The messages are still parsed by Hijack however.
Posted by: tonyc

Re: [emphatic] v2.01 released - 05/08/2004 23:16

Quote:
Yea I just noticed tony added the supress_notify=1 thing in
my config.
I thought i needed to add [output]notify=1 ?

The new script should have done both for you. Only notify=1 is required, but if you don't have suppress_notify, you'll have a bunch of messages output on the serial console, which will slow things down, especially if car_rate isn't set properly.
Posted by: newguy1

Re: [emphatic] v2.01 released - 06/08/2004 00:04

Yes those settings are in there so it must have done it. I added the serial car_rate setting to my config.and tried it in forced DC mode and it appears to be functioning
Maybe my problems from the earlier version were because I didn't have the serial car rate setting or the suppress setting.
Posted by: mlord

Re: [emphatic] v2.01 released - 06/08/2004 00:16

Launcher is obsolete. Use ;@MENUEXEC instead!
Posted by: tonyc

Re: [emphatic] v2.02 released - 06/08/2004 00:39

v2.02 is out:
  • Changed the loop timer to try to reduce CPU utilization. The player should hopefully lag less now.
  • The method I was using for switching visuals depended on having favorite visuals set, and some people don't, so I'm trying a new way. This one uses one less button press, and seems to work on both v2 final and v3a8.
  • It's the Unix script's turn for a bugfix. Took the passive mode command out, which really shouldn't have been there. If you tried to install from a Unix box and it failed, try, try again.


As always, feedback is welcome.
Posted by: JBjorgen

Re: [emphatic] v2.02 released - 06/08/2004 02:23

Just installed it yesterday, and today found the info modes that have song info overlaying the visuals. I'm sure you noted it somewhere, but I just "discovered" it for myself today. I must say, I was giddy. It'll take some tweaking to get it the way I like it, but I'm floored with it already. Yet another addition of coolness factor to the already coolest ever car-stereo. I'm stoked. Simple minds, simple pleasures, eh?

Thanks Tony C., you rawk!
Posted by: mcomb

Re: [emphatic] v2.01 released - 06/08/2004 04:54

I tried version 2.01 in the car on the way home from work today for the first time and its freezing up for me as well. It runs for a couple seconds and then just goes to a black screen. The music continues to play and all the controls seem to respond, but I never get any other output on the display. I pulled it from the dash and reinserted it a few times and it always seems to do the same thing.

-Mike
Posted by: JBjorgen

Re: [emphatic] v2.01 released - 06/08/2004 05:46

I get a similar problem with mine in Big Lyrics mode. I've played a song where the lyrics display fine in other modes, but in big lyrics mode, after the transient info goes away, I'm left with a blank screen and music.
Posted by: tonyc

Re: [emphatic] v2.01 released - 06/08/2004 09:34

Quote:
I get a similar problem with mine in Big Lyrics mode. I've played a song where the lyrics display fine in other modes, but in big lyrics mode, after the transient info goes away, I'm left with a blank screen and music.

Are you running v2 by any chance? I'm thinking that's because you don't have the "big" font for big lyrics mode. The empeg lads have not given me permission to redistribute fonts, so I haven't. You'll need to extract the "13pixel.bf" font from one of the v3 alphas. The only fonts that are on *all* player releases are small.bf and medium.bf. 13pixel.bf and large.bf are sometimes there, sometimes not, and v3a8 has neither of those two. If you do a ls on the /empeg/lib/fonts directory and it's missing any of those files, that means some fonts aren't there.

BTW, glad you like the app, thanks for the kind words.
Posted by: tonyc

Re: [emphatic] v2.01 released - 06/08/2004 09:45

Quote:
I tried version 2.01 in the car on the way home from work today for the first time and its freezing up for me as well. It runs for a couple seconds and then just goes to a black screen. The music continues to play and all the controls seem to respond, but I never get any other output on the display. I pulled it from the dash and reinserted it a few times and it always seems to do the same thing.

-Mike

Hmm. It runs for a few seconds? Strange. Only thing I can think of at the moment is to bump up your ReserveCache, maybe it's running out of memory. But that doesn't seem right, either. You don't have gpsapp or anything else running "in the background" at the time, do you? I might need you to try Force DC mode and send me any serial output if it happens there.
Posted by: webroach

Re: [emphatic] v2.02 released - 06/08/2004 11:18

Is there any way, using emphatic (the new version of which is AMAZING, Tony...thank you for all your hard work on it!), that it may be possible to actually get japanese (and other) tag information onto the empeg?

You know, so I don't have to keep two sets of MP3s, one for my Nitrus (which fscking rocks, so far showing both Japanese and Russian tags without a problem) and one for my empeg (which shows neither)?
Posted by: Roger

Re: [emphatic] v2.02 released - 06/08/2004 11:56

FYI: In v3a8 "...the car-player now supports tags in all the languages of Europe, except Georgian and Armenian (and they might count as Asia anyway)."

If you ask really nicely, they might extend this to Japanese.
Posted by: peter

Re: [emphatic] v2.02 released - 06/08/2004 12:15

Quote:
FYI: In v3a8 "...the car-player now supports tags in all the languages of Europe, except Georgian and Armenian (and they might count as Asia anyway)."

If you ask really nicely, they might extend this to Japanese.

It's not just about niceness, unfortunately: we (I) drew Cyrillic, Greek, and Latin Extended-A. We licensed in the Japanese glyphs, and we'd have to check whether our licence covers the car-player.

Peter
Posted by: webroach

Re: [emphatic] v2.02 released - 06/08/2004 12:19

Quote:
If you ask really nicely, they might extend this to Japanese.


Please, please, please extend language support on the empeg to Japanese. Since I don't have v3a8, I'm only assuming that "all the languages of Europe" includes cyrillic for Russian. Which makes me giddy. If we get Japanese tag support, my head will officially explode and rain tamarind flavored candy upon all those around me. I could also be open to coughing up beer / pizza money for the boys (to the extent that my wallet can handle).

I just want to see the actual tags for my songs, rather than:

ª×ªêÂÃÀs¹q¼v­ìÁn¤jºÐ
q¼v­ìÁn¤jªêÂÃÀs¹
ÃÀs¹q¼v­ìÁÃÀs¹q¼v­ìÁº

Posted by: tonyc

Re: [emphatic] v2.02 released - 06/08/2004 12:21

Quote:
Is there any way, using emphatic (the new version of which is AMAZING, Tony...thank you for all your hard work on it!), that it may be possible to actually get japanese (and other) tag information onto the empeg?

You know, so I don't have to keep two sets of MP3s, one for my Nitrus (which fscking rocks, so far showing both Japanese and Russian tags without a problem) and one for my empeg (which shows neither)?

Hmm. You'll have to excuse my ignorance here, but is there a Japanese font on the empeg to begin with? Assuming there is, the next question revolves around whether vfdlib (the graphics library I'm using) can support whatever mechanism is used to map characters in the tags to characters in the font.

If you can send me a small MP3 with Japanese tags, along with an image of what it's supposed to look like (maybe just the same words typed out in a word processor or something) I'll see what I can do. Send it to the email address on the emphatic "Contact" page.
Posted by: webroach

Re: [emphatic] v2.02 released - 06/08/2004 12:26

Quote:
We licensed in the Japanese glyphs, and we'd have to check whether our licence covers the car-player.


I'm not joking here: I will create the font file from scratch if that's what its going to take.

As much as I love my empeg and stand in awe of the amazing amount of work that has gone into it (and CONTINUES to go into it through the goodness of the Cambridge teams hearts), for me, not having support for Japanese is akin to Tony F. having a player that refuses to correctly read tags for Rush.

Don't get me wrong: I'm not bitching. Just pointing out my reasons for wanting this, and making it clear that I'm not just saying "Ahem....could you get to work on this?". I'm willing to put the work into making it happen, by doing whatever I can to help.

Also, there are a number of freeware kanji fonts available, some even in the linux distros.....
Posted by: peter

Re: [emphatic] v2.02 released - 06/08/2004 12:31

Quote:
Since I don't have v3a8, I'm only assuming that "all the languages of Europe" includes cyrillic for Russian. Which makes me giddy.

Not just Cyrillic for Russian but Cyrillic extensions for Macedonian, Ukrainian, and so on. (U+0400..U+045F)

Quote:
If we get Japanese tag support, my head will officially explode and rain tamarind flavored candy upon all those around me.

There's a potential licensing issue, and also the issue of the sheer size of the font. It'd probably be for Mark 2a or memory-upgraded players only.

Peter
Posted by: tonyc

Re: [emphatic] v2.02 released - 06/08/2004 13:36

Quote:
There's a potential licensing issue, and also the issue of the sheer size of the font. It'd probably be for Mark 2a or memory-upgraded players only.

Peter

While you're here and discussing font licensing, can I get an answer to the question I asked you and Rob via PM and email regarding redistribution of the player fonts? I'd like to include small.bf, medium.bf, large.bf, and 13pixel.bf in emphatic since some of them are missing from various releases of the player software, and I'd like some degree of certainty that they'll be there. If the answer is "no" then that's fine, I'd just like to know if it's a reasonable request or not.
Posted by: peter

Re: [emphatic] v2.02 released - 06/08/2004 14:20

Quote:
While you're here and discussing font licensing, can I get an answer to the question I asked you and Rob via PM and email regarding redistribution of the player fonts? I'd like to include small.bf, medium.bf, large.bf, and 13pixel.bf in emphatic since some of them are missing from various releases of the player software, and I'd like some degree of certainty that they'll be there. If the answer is "no" then that's fine, I'd just like to know if it's a reasonable request or not.

We haven't worked out an answer yet. On the one hand, large and 13pixel were IIRC drawn entirely by us, so the relicensing thing doesn't apply -- but on the other hand they were only ever included in player releases by accident. No player release has ever used them.

Peter
Posted by: peter

Re: [emphatic] v2.02 released - 06/08/2004 14:23

Quote:
I'm not joking here: I will create the font file from scratch if that's what its going to take.

Haven't the vfdlib people reverse-engineered the v3 font format? If they have, you potentially don't need our help at all...

Quote:
Also, there are a number of freeware kanji fonts available, some even in the linux distros.....

Not, I'd guess, in a 6-pixel-tall size...

Peter
Posted by: tonyc

Re: [emphatic] v2.02 released - 06/08/2004 15:22

Quote:
We haven't worked out an answer yet. On the one hand, large and 13pixel were IIRC drawn entirely by us, so the relicensing thing doesn't apply -- but on the other hand they were only ever included in player releases by accident. No player release has ever used them.

Okay. I just wanted to know what the limitations are. If it'd be easier, I can revise my request to just include large and 13pixel since the other two are pretty much guaranteed to be present for the foreseeable future.

-Tony
Posted by: mcomb

Re: [emphatic] v2.01 released - 06/08/2004 16:34

Quote:
Hmm. It runs for a few seconds? Strange. Only thing I can think of at the moment is to bump up your ReserveCache, maybe it's running out of memory. But that doesn't seem right, either. You don't have gpsapp or anything else running "in the background" at the time, do you? I might need you to try Force DC mode and send me any serial output if it happens there.


Well, it runs briefly. Like its dieing about the same time that it sends the IR codes to set the visual mode. Here is a dump from it crashing in forced DC mode...

Prolux 4 empeg car - 2.1490 Feb 13 2004
Vcb: 0x40800000
emphatic(13): memory violation at pc=0x02009ff0, lr=0x0200a668 (bad address=0x0)
pc : [<02009ff0>] lr : [<0200a668>]
sp : bffff854 ip : bffff86c fp : bffff868
r10: 40145128 r9 : 0200254c r8 : 0204b800
r7 : 02001e80 r6 : 4000c2a8 r5 : 00000001 r4 : 0205ecb4
r3 : 00000008 r2 : 00000000 r1 : 00000000 r0 : 00000000
Flags: Nzcv IRQs on FIQs on Mode USER_32 Segment user
Control: C0C7917D Table: C0C7917D DAC: 00000015
Function entered at [<02009fc4>] from [<0200a668>]
Function entered at [<0200a528>] from [<0200b4c4>]
r4 = 0205ECB4
Function entered at [<0200aeb8>] from [<02006ce0>]
Function entered at [<02005964>] from [<02003a44>]
r5 = 00000001 r4 = 0205ECB4
Function entered at [<0200254c>] from [<4007d040>]
r4 = BFFFFE54
Function entered at [<4007cee4>] from [<020024bc>]
r10 = 4001D858 r9 = 00000000 r8 = 00000000 r7 = 00000000
r6 = 02002498 r5 = 00000000 r4 = 4001E5EC
Posted by: tonyc

Re: [emphatic] v2.01 released - 06/08/2004 16:52

Okay, can you delete the "visual=" attribute from the first display mode and try again? There is no valid reason I can think of why it's dying there when the only thing I changed was the specific codes I'm sending... Especially one that would only happen in DC mode. But if you don't set a visual attribute, it won't try to send those codes, and I can see if it's really related to that or not. Still doesn't tell me where to look, but it at least gets rid of the possible red herring.

It also would be helpful if you can bump up the debug level of emphatic by running it with the following:

/usr/local/bin/emphatic --debug 5

and send me the output right around the time it crashes.

Are any other apps running at the time, by the way?
Posted by: mcomb

Re: [emphatic] v2.01 released - 06/08/2004 17:08

Quote:
Okay, can you delete the "visual=" attribute from the first display mode and try again?

Actually I've already removed that due to yesterday's bug.

Quote:
and send me the output right around the time it crashes.


debug level: 1
opening display...
[emphatic.c:267] player version: 2
[emphatic.c:283] hijack version: 410
[emphatic.c:300] power: 1 (DC)
[emphatic.c:321] starting notify thread...
[emphatic.c:323] notify thread started (tid=1026)...
[emphatic.c:4531] [1] Funky Lyrics
[emphatic.c:4531] [2] Vertical Lyrics
[emphatic.c:4531] [3] Cool Track
[emphatic.c:4531] [4] New Track
[emphatic.c:4531] [5] Funky Track
[emphatic.c:4531] [6] Horizontal Lyrics
[emphatic.c:4531] [7] Big Lyrics
[emphatic.c:4531] [8] MTV
[emphatic.c:4531] [9] Transient w/ Time
[emphatic.c:4531] [10] Title Behind
[emphatic.c:4531] [11] Details
emphatic v2.01 (built Aug 3 2004 21:46:59) running as pid 13
Using non-standard cache size 90 (adjustment 10)
player.cpp : 564:empeg-car 3.00-alpha7 2004/02/13.
Prolux 4 empeg car - 2.1490 Feb 13 2004
Vcb: 0x40694000
[emphatic.c:359] TAKEOVER rc: 0
[emphatic.c:373] main thread starting
old mode: 0, count: 11
[menus.c:220] new mode: 0, count: 11
[threads.c:651] new fid: fid=1374, old fid: 0
emphatic(13): memory violation at pc=0x02009ff0, lr=0x0200a668 (bad address=0x0)
pc : [<02009ff0>] lr : [<0200a668>]
sp : bffff844 ip : bffff85c fp : bffff858
r10: 40145128 r9 : 0200254c r8 : 0204b800
r7 : 02001e80 r6 : 4000c2a8 r5 : 00000003 r4 : 0205ecb4
r3 : 00000008 r2 : 00000000 r1 : 00000000 r0 : 00000000
Flags: Nzcv IRQs on FIQs on Mode USER_32 Segment user
Control: C0C7917D Table: C0C7917D DAC: 00000015
Function entered at [<02009fc4>] from [<0200a668>]
Function entered at [<0200a528>] from [<0200b4c4>]
r4 = 0205ECB4
Function entered at [<0200aeb8>] from [<02006ce0>]
Function entered at [<02005964>] from [<02003a44>]
r5 = 00000003 r4 = 0205ECB4
Function entered at [<0200254c>] from [<4007d040>]
r4 = BFFFFE44
Function entered at [<4007cee4>] from [<020024bc>]
r10 = 4001D858 r9 = 00000000 r8 = 00000000 r7 = 00000000
r6 = 02002498 r5 = 00000000 r4 = 4001E5EC

Quote:
Are any other apps running at the time, by the way?


Nope, just emphatic.

-Mike
Posted by: Skunk

Re: [emphatic] v2.01 released - 06/08/2004 17:13

Quote:
Launcher is obsolete. Use ;@MENUEXEC instead!

Thanks Mark.
I added it to the config.ini.
This feature is awesome! Is there any limit as to how many EXE commands you can have in the menu?
Posted by: tonyc

Re: [emphatic] v2.01 released - 06/08/2004 17:15

D'oh... Sorry, I meant --debug=5. Should be more output that way.
Posted by: webroach

Re: [emphatic] v2.02 released - 06/08/2004 18:10

Quote:
Not, I'd guess, in a 6-pixel-tall size...


Agreed. This is why I brought it up to Tony initially. My thought was that, since emphatic allows us to define our own display modes.

I, for example, don't really care about having all the extra info on the screen while I'm playing music; I only really care about Artist, Album, and Track. By dumping the "[xxxx/xxxx]" and "x:xx/x:xx", I figure I could gain enough room to use a decent size (i.e. 9 or 10 point) freeware kanji font. I just wouldn't understand how to go about working it into emphatic by myself.
Posted by: tonyc

Re: [emphatic] v2.02 released - 06/08/2004 18:23

Quote:
I just wouldn't understand how to go about working it into emphatic by myself.


I'm not sure I do, either. If the "old" font file format was sufficient, then it'd be easy, because there is a font editor for the old format here. But the old format only supports 255 characters, and there are, what, 1000+ kanji symbols? That requires the new v3 font format, and to my knowledge, no font editor for the v3 fonts was ever released. I don't think the guy who wrote the font editor hangs around the BBS anymore, either, otherwise it might be pretty easy to adapt his program to support v3 fonts.

Beyond that, once we have a font file, I have to figure out how to make sure the extended character set works in vfdlib. For all I know, vfdlib makes assumptions about one byte per character, etc, in which case the modifications for supporting unicode or whatever else is needed are probably beyond my abilities/current knowledge. But if you manage to connect a few of those dots for me, I'd be happy to give it a shot.
Posted by: peter

Re: [emphatic] v2.02 released - 06/08/2004 18:31

Quote:
But the old format only supports 255 characters, and there are, what, 1000+ kanji symbols?

About 4,000 in the JIS X0208 subset used by Karma and Nitrus. (Plus about 10,000 more in JIS X0213, plus several tens of thousand more if Chinese is also desired.) The v3a8 player fonts contain over 700 glyphs just in support of European languages.

Peter
Posted by: webroach

Re: [emphatic] v2.02 released - 06/08/2004 18:45

Quote:

About 4,000 in the JIS X0208 subset used by Karma and Nitrus. (Plus about 10,000 more in JIS X0213, plus several tens of thousand more if Chinese is also desired.) The v3a8 player fonts contain over 700 glyphs just in support of European languages.

Peter


Yep. Chinese (though I do have some Chinese music) isn't something I'm really concerned about. Japanese, though, is probably somewhere close to 50% of my music.

Kudos, BTW, on the fonts on the Nitrus (et. al), Peter. I only bought it after finding out it supported Japanese. Finding out, by accident, that it supported Russian (and of course many more languages) as well almost made me do a little jig!

And again to Tony C. (as I sit here with emphatic giving me burn-in and ImagePan)....

WOW.
Posted by: mcomb

Re: [emphatic] v2.01 released - 06/08/2004 19:09

Quote:
D'oh... Sorry, I meant --debug=5. Should be more output that way.


Strangely I can't get it to crash at debug=5 or 4. Maybe its producing enough ouput that it slows something down and doesn't crash or maybe I'm just getting lucky? Attached is a crash at debug=3.

-Mike
Posted by: mlord

Re: [emphatic] v2.01 released - 06/08/2004 20:53

The Hijack menu has 32 command slots, 25 of which are used by default on Mk2/Mk2a builds. That leaves seven slots for user commands, including MENUEXEC, unless you increase that number by use of "menu_remove=" in config.ini.

Cheers
Posted by: Skunk

Re: [emphatic] v2.01 released - 06/08/2004 21:05

Sweet! Thanks.
Posted by: tonyc

Re: [emphatic] v2.01 released - 06/08/2004 23:45

Quote:
Strangely I can't get it to crash at debug=5 or 4. Maybe its producing enough ouput that it slows something down and doesn't crash or maybe I'm just getting lucky? Attached is a crash at debug=3.



I narrowed down a DC-related problem tonight to car_rate not being set properly. Is yours set to 115200?
Posted by: Glen_L

Re: [emphatic] v2.01 released - 07/08/2004 02:55

I had the same problem (locking up in DC mode, audio skip) and just recitified it by adding [serial]car_rate=115200 to the config.ini.

Echoing everybody elses comments here, emphatic rocks! I've got a fun weekend of tinkering with it ahead...
Posted by: tonyc

Re: [emphatic] v2.01 released - 07/08/2004 03:40

Quote:
I had the same problem (locking up in DC mode, audio skip) and just recitified it by adding [serial]car_rate=115200 to the config.ini.

Echoing everybody elses comments here, emphatic rocks! I've got a fun weekend of tinkering with it ahead...

Yeah. Next install script(s) will make that change as part of the install.
Posted by: tonyc

Re: [emphatic] v2.03 released - 09/08/2004 03:29

Version 2.03 is now available, same bat time, same bat channel.

New stuff:
  • The Unix script is fixed this time. For real. No, really, it is.
  • The postinstall script now adds car_rate=115200 to the [serial] block of config.ini (creating that block if necessary.) This is necessary to avoid serious slowdowns and lockups when using emphatic in DC power mode.
  • The auto_foreground setting now not only brings emphatic to the foreground on startup, but also when waking up from standby. This may not work well in car mode, something I'm investigating.
  • Fixed a bug which would cause emphatic to crash in certain situations
  • Fixed a bug where sending of IR codes for info change and visuals wouldn't work properly in DC mode
Posted by: siberia37

Re: [emphatic] v2.03 released - 09/08/2004 12:33

Quote:

The postinstall script now adds car_rate=115200 to the [serial] block of config.ini (creating that block if necessary.) This is necessary to avoid serious slowdowns and lockups when using emphatic in DC power mode.



I guess this means empathic and GPSApp are now incompatible (maybe they never were?) since the GPS has to have a rate of 4800.. or am I missing something here?
Posted by: wfaulk

Re: [emphatic] v2.03 released - 09/08/2004 12:40

Quote:
empathic
There's an empeg app that needs writing. Anyone wanna get started on it?
Posted by: tonyc

Re: [emphatic] v2.03 released - 09/08/2004 12:46

Quote:
I guess this means empathic and GPSApp are now incompatible (maybe they never were?) since the GPS has to have a rate of 4800.. or am I missing something here?

I don't know, since I don't use GPSapp. But I had to make this change because when I removed the car_rate setting in my own config.ini, emphatic would lock up soon after starting, even though I wasn't sending any serial output. My understanding (which may be wrong) is that even though the player's serial notify output gets gobbled up by Hijack and suppressed from going to the serial port, it still has to travel at the limited speed set by car_rate. Or, at least, that's the only way I can explain the test results which led to me making this change.

I've heard of people who use both GPSapp and emphatic, but due to outstanding issues with Hijack managing multiple apps running concurrently, I've never heard of them successfully running together, regardless of the car_rate setting. So I don't think I'm creating a new incompatibility here.
Posted by: genixia

Re: [emphatic] v2.03 released - 09/08/2004 14:00

No, they should play together nicely.
Posted by: tonyc

Re: [emphatic] v2.03 released - 09/08/2004 15:01

Quote:
No, they should play together nicely.


How, if the GPS receiver requires 4800 baud?
Posted by: mcomb

Re: [emphatic] v2.01 released - 09/08/2004 15:13

Quote:
I narrowed down a DC-related problem tonight to car_rate not being set properly. Is yours set to 115200?


Yep. This must be something different. I'll upgrade to the latest emphatic today and see if that makes any difference.

-Mike
Posted by: tonyc

Re: [emphatic] v2.01 released - 09/08/2004 15:17

Quote:
Quote:
I narrowed down a DC-related problem tonight to car_rate not being set properly. Is yours set to 115200?


Yep. This must be something different. I'll upgrade to the latest emphatic today and see if that makes any difference.

-Mike

It definitely should. After correlating your stack trace with the 2.02 build, I found where it was crashing, and added some NULL checks to avoid said crashes. Should be okay now, if not, let me know.
Posted by: genixia

Re: [emphatic] v2.03 released - 09/08/2004 15:35

IIRC, slow-downs are caused because the serial buffer doesn't accept data fast enough when notify=1 and the car_rate is 4800bps.

When using hijack to set "Serial Port = Applications", the buffer is no longer an issue. I'm not sure what the exact underlying mechanism is, but IIRC, the player still believes that it's talking to hardware, when in fact it's effectively just pumping data into /dev/null.
Posted by: tonyc

Re: [emphatic] v2.03 released - 09/08/2004 15:51

Quote:
IIRC, slow-downs are caused because the serial buffer doesn't accept data fast enough when notify=1 and the car_rate is 4800bps.

With you so far...

Quote:

When using hijack to set "Serial Port = Applications", the buffer is no longer an issue


???

Quote:

I'm not sure what the exact underlying mechanism is, but IIRC, the player still believes that it's talking to hardware, when in fact it's effectively just pumping data into /dev/null.

I get that, but given your first statement, I need to set car_rate=115200. It seems to me that if a *real* serial device (GPS reciever) wants 4800 baud, it's going to get confused. Right?
Posted by: mcomb

Re: [emphatic] v2.03 released - 09/08/2004 17:18

Quote:
It seems to me that if a *real* serial device (GPS reciever) wants 4800 baud, it's going to get confused. Right?


gpsapp automatically sets the serial port speed when it starts (or when it is chosen from the hijack menu?) so it may still work. Of course emphatic might choke if run after it.

-Mike
Posted by: mlord

Re: [emphatic] v2.03 released - 10/08/2004 09:39

Quote:
s that even though the player's serial notify output gets gobbled up by Hijack and suppressed from going to the serial port, it still has to travel at the limited speed set by car_rate.


Nope. The only way it could really slow down is if there's really bits being transmitted out the physical port. I wonder what's happening there?

(I don't use emphatic, never have, and probably should )
Posted by: JBjorgen

Re: [emphatic] v2.03 released - 10/08/2004 11:39

New bug (I think):

MK2 running V3 alpha 7 and Hijack 410 and emphatic 2.01.

If player was paused when powered down, it will come up and when emphatic starts will go to the Visuals->AutoChange menu and just sit there.

If player was playing when powered down, everything comes up and works as expected.

I have to Force DC on this empeg because of a damaged chip. The player works normally in all other ways execpt it doesn't detect AC/DC properly. I don't think it figures into this problem, but in the interest of full disclosure, there it is.
Posted by: JBjorgen

Re: [emphatic] v2.03 released - 10/08/2004 11:51

Nevermind...already fixed in 2.03
Posted by: tonyc

Re: [emphatic] v2.03 released - 10/08/2004 12:16

Quote:
Nope. The only way it could really slow down is if there's really bits being transmitted out the physical port. I wonder what's happening there?


Okay, well, that's weird. Because I was running with no debug output and things slowed to a crawl (and eventually a complete lockup) without car_rate=115200. This is probably one of those mysteries that's better left classified as "Pure Fscking Magic" in the interest of moving on with life.

Quote:

(I don't use emphatic, never have, and probably should )


You'll hear no argument from me!
Posted by: mcomb

Re: [emphatic] v2.01 released - 10/08/2004 15:40

Quote:
Quote:
Yep. This must be something different. I'll upgrade to the latest emphatic today and see if that makes any difference.

It definitely should. After correlating your stack trace with the 2.02 build, I found where it was crashing, and added some NULL checks to avoid said crashes. Should be okay now, if not, let me know.


Yep that fixed the crash at startup on DC.

The new issue I'm having is that the player somehow keeps ending up in now and next mode while on DC power with emphatic running. It starts up with visuals just fine, but after a few minutes I look down and it has somehow changed into N&N mode. When this happens emphatic also seems to stop updating (it will still be scrolling artist/album data from a few songs ago). I've seen this behavior three or four times now.

-Mike
Posted by: tonyc

Re: [emphatic] v2.01 released - 10/08/2004 16:36

Quote:
It starts up with visuals just fine, but after a few minutes I look down and it has somehow changed into N&N mode. When this happens emphatic also seems to stop updating (it will still be scrolling artist/album data from a few songs ago). I've seen this behavior three or four times now.



Haven't seen this one, but I'll keep my eyes peeled. If anyone else sees it, please let me know.
Posted by: mcomb

Re: [emphatic] v2.01 released - 10/08/2004 20:04

New bug, although this one might be a hijack thing. emphatic stops being the foreground app (doesn't crash, but doesn't display anything anymore) if something causes a hijack popup. For example if you do an http popup request like...

http://empeg.ip/?NODATA&POPUP%201%20Hello

it dies. My EmpMenuX program uses this popup functionality to display messages on the empeg's screen.

-Mike
Posted by: mlord

Re: [emphatic] v2.01 released - 11/08/2004 00:34

Yeah, that's a weakness in the current Hijack API design, for sure.

No "stack" of screen ownership exists.. kinda difficult to solve it without such, I suppose.

Cheers
Posted by: cushman

Re: [emphatic] v2.01 released - 11/08/2004 10:19

Ah, I saw this happen when running emphatic with Empire running in the background. I beamed a playlist, the popup popped, emphatic sunk into the background.
Posted by: webroach

Re: [emphatic] v2.01 released - 11/08/2004 10:35

Quote:
Ah, I saw this happen when running emphatic with Empire running in the background. I beamed a playlist, the popup popped, emphatic sunk into the background.


Ok, good. I'm not insane, then. The same exact thing happened to me. Is there any hope of this being solved? I really love both Empire/Palantir and emphatic, and would love to be able to use both.

I suppose it's too much to hope for that emphatic and Empire will ever be built in?
Posted by: tonyc

Re: [emphatic] v2.01 released - 11/08/2004 11:44

Quote:
Is there any hope of this being solved?

Yes. Mark (Lord) has to add the "screen ownership stack" mentioned above. Without that, my app has no way of knowing if it's really got the screen or not.
Posted by: cushman

Re: [emphatic] v2.01 released - 11/08/2004 11:45

Quote:
Quote:
Ah, I saw this happen when running emphatic with Empire running in the background. I beamed a playlist, the popup popped, emphatic sunk into the background.


Ok, good. I'm not insane, then. The same exact thing happened to me. Is there any hope of this being solved? I really love both Empire/Palantir and emphatic, and would love to be able to use both.

I suppose it's too much to hope for that emphatic and Empire will ever be built in?


I'll leave it up to Tony to decide if he wants to, but Empire could easily be assimilated into emphatic. Empire is simple, simple, simple (download the source and you'll see). The only caveat is that it does require the OpenOBEX libraries to run, those would have to be included in the emphatic release.

Tony, if you were inclined to include Empire in emphatic, you have my full support and permission to take any and all code within Empire and re-use it. Both projects are open-source GPL, no worries.
Posted by: tonyc

Re: [emphatic] v2.01 released - 11/08/2004 11:47

Quote:

Tony, if you were inclined to include Empire in emphatic, you have my full support and permission to take any and all code within Empire and re-use it. Both projects are open-source GPL, no worries.


Very interesting proposal. I will certainly consider it. BTW, (how) is the Windows CE version of Palantir coming along? I don't have a Palm, but I do have an old PocketPC.
Posted by: cushman

Re: [emphatic] v2.01 released - 11/08/2004 12:03

Quote:
Quote:

Tony, if you were inclined to include Empire in emphatic, you have my full support and permission to take any and all code within Empire and re-use it. Both projects are open-source GPL, no worries.


Very interesting proposal. I will certainly consider it. BTW, (how) is the Windows CE version of Palantir coming along? I don't have a Palm, but I do have an old PocketPC.


It's not coming along at all. I think that I need to just make an announcement that I will not be working on it. What should happen is a PocketPC developer write a clone of Palantir that supports only newer PocketPC devices, since it is way too hard to write your app so it runs on older PocketPC devices as well as the latest and greatest. I only have a Windows CE 3.0 device (HP Jornada that Ezekiel donated) to test on anyway, and any newer code will not run on it. I can donate this to anyone willing to work on the port.

If you are interested in getting a Palm device for use with Palantir and testing, we could probably find someone around here that has an older device they could spare. If not, eBay has several IIIx devices listed under $30 buy-it-now, I will pitch in for one of those.
Posted by: tonyc

Re: [emphatic] v2.01 released - 11/08/2004 12:17

Well, I just took a look at the empire code and it looks like it'll be pretty easy to graft into emphatic. I'll just spawn it as a background thread. Looks like the only change I need to make is replace the "empeg_command" with my own routine for putting a popup window on the screen. I'll just release it blindly and wait for someone else to test it.
Posted by: mcomb

Re: [emphatic] v2.01 released - 11/08/2004 15:27

Quote:
Yeah, that's a weakness in the current Hijack API design, for sure.

No "stack" of screen ownership exists.. kinda difficult to solve it without such, I suppose.

Yeah, but the popup is done by the kernel. Shouldn't hijack be able to overlay something on the screen without screwing up other applications? Why should emphatic know or care that hijack pops up a message?

-Mike
Posted by: anti

Re: [emphatic] v2.01 released - 16/08/2004 11:19

Just grabbed 2.0 final (after finding someone with a serial port.)
Upgraded HiJack to 411 and emphatic to 2.03.
Ran into the "serial speed in DC mode"-problem.

All well now.
I'll still have to grab the large font from somewhere.

Hacked up a display mode that fits my needs:


It's close, but not perfect ... yet.

Thanks again for the great work...
Posted by: Daria

Re: [emphatic] v2.01 released - 17/08/2004 02:03

If my wife will let me have her Palm Vx, you can have it. She's currently on a selling binge to raise funds to replace her viola with an older (and better sounding, and more expensive) one.
Posted by: tonyc

Re: [emphatic] v2.01 released - 17/08/2004 03:01

Your offer is much appreciated, but I finished grafting in the Empire code last week, and Mark helped me knock out most (or all?) of the bugs. So I don't really need a Palm for Empire testing.

I'll be releasing emphatic v2.04 with Empire support sometime this week.
Posted by: genixia

Re: [emphatic] v2.01 released - 17/08/2004 17:30

Since both Derrick and you are here...what are the chances of getting GPSapp absorbed into emphatic? (Preferably as a 'load if exists' module if neccessary to keep binary size down and to allow parallel development). It would be cool to have "GPS turn data" being able to trump lyrics, and maps being able to be configured as a screen visual.
Posted by: tfabris

Re: [emphatic] v2.01 released - 17/08/2004 17:35

Interesting idea. You'd have to rework the user interface into the Emphatic menu... Hmmmmm...

If you did it, make sure to put Roadmap in there too. And if someone could figure out how to sync up the scale of Roadmap and GPSapp so they match...
Posted by: mcomb

Re: [emphatic] v2.01 released - 17/08/2004 17:53

Quote:
what are the chances of getting GPSapp absorbed into emphatic?

Seems like a bad idea to me. emphatic is already a very full featured app. The "everything and the kitchen sink" approach is messy, hard to maintain, and likely to discourage third party development. Seems like that effort would be better spent developing better windowing support in either hijack or vfdlib so that multiple applications can do their thing without having to know about each other.

-Mike
Posted by: Daria

Re: [emphatic] v2.01 released - 17/08/2004 18:08

I think it's a bad idea. I think it would be more worthwhile to work on hijack to allow a heirarchy of applications to access the display (or write a display server)
Posted by: tonyc

Re: [emphatic] v2.01 released - 17/08/2004 19:04

I'm going to side with mcomb and dbrashear here. Grafting the Empire code into emphatic made sense, because it's very small code that's related to the player app itself (queueing songs.) GPSapp, on the other hand, has nothing to do with a "better player experience" which is what emphatic's designed to do.

HOWEVER, it would be pretty trivial for me to create a pipe that GPSapp (or any other app) could write to from the background, and I could display any data that comes in on that pipe as a custom display mode element. I'd have to do some thinking on how to best handle that, and maybe a special (but simple) format for data that's written to the pipe, but beyond that, it doesn't seem that hard.

Now, the real question is if we had that, would GPSapp and emphatic play nicely together? For that to work, GPSApp would have to have a background thread that would be reading the GPS stuff and writing it to the pipe. If GPSapp ever needed to be brought to the foreground, there might be problems, as multiple apps accessing display/input is not handled very well.

But if we can agree on an interface, I'll give it a shot.
Posted by: Daria

Re: [emphatic] v2.01 released - 17/08/2004 19:11

Part about format to write to emphatic elided. I assume we'd just send you bits in the format you'd write to the screen via the hijack ioctl.

Quote:

Now, the real question is if we had that, would GPSapp and emphatic play nicely together? For that to work, GPSApp would have to have a background thread that would be reading the GPS stuff and writing it to the pipe. If GPSapp ever needed to be brought to the foreground, there might be problems, as multiple apps accessing display/input is not handled very well.



Worse. To inject commands to the player, empire uses the serial port, even though technically it doesn't need it, because that's where the player listens. gpsapp actually needs it, because, well, GPS receiver.

Bend over.
Posted by: wfaulk

Re: [emphatic] v2.01 released - 17/08/2004 19:29

Is the serial port required in order to send commands to the player via hijack's /proc/whatever-it-is interface? Or am I wrong in remembering said interface?

Secondly, there exist bluetooth GPSes. People have added bluetooth to their empegs. Neat-O.
Posted by: Daria

Re: [emphatic] v2.01 released - 17/08/2004 19:31

Quote:
Is the serial port required in order to send commands to the player via hijack's /proc/whatever-it-is interface? Or am I wrong in remembering said interface?


/proc/empeg_notify. IIRC yes. I can try again but the last time I did, it did.

Quote:

Secondly, there exist bluetooth GPSes. People have added bluetooth to their empegs. Neat-O.


There was a reason none of the "add bluetooth to your empeg" solutions appealed to me. I wonder what they were.
Posted by: tman

Re: [emphatic] v2.01 released - 17/08/2004 21:43

Rowitech did it by adding a serial -> Bluetooth dongle to his and kim did it by replacing the IrDA parts inside the empeg with a serial -> Bluetooth module. First option means you lose the serial port again and the second option would be a pain to do.
Posted by: tonyc

Re: [emphatic] v2.04 released - 17/08/2004 23:03

v2.04, released 2004-08-17:

  • Added an integrated version of Mark Cushman's "Empire" server which allows you to queue up songs using a Palm PDA interface via IrDA. Thanks to Mark for suggesting this, and allowing me to use his code. To enable this, change the "use_empire" option to "true" in your XML, or add it if it's not present in the "settings" section. The default configuration (if no "use_empire" setting is specified) is to not launch the Empire server. This has been lightly tested, but seems to work.
  • I received permission to redistribute the empeg fonts, so I'm doing so. Only two of the fonts are necessary, as the player always contains "small" and "medium." The fonts for "large" and "gimungous" will be installed to the same directory as the emphatic binaries, and will be read from that location. If you had problems using those fonts before, they should work now. Thanks to the empeg guys for allowing me to redistribute the fonts.
  • Added a popup display of the mode name when display modes are changed. To turn this off, use the setting "show_mode=false".

Come 'n' get it!
Posted by: Daria

Re: [emphatic] v2.01 released - 18/08/2004 01:33

Quote:
Rowitech did it by adding a serial -> Bluetooth dongle to his and kim did it by replacing the IrDA parts inside the empeg with a serial -> Bluetooth module. First option means you lose the serial port again and the second option would be a pain to do.


Well, that and I wanted the IrDA. So both were not extending the player hardware so much as changing its capabilities.
Posted by: SonicSnoop

Re: [emphatic] v2.04 released - 21/08/2004 19:48

I tried to install empathic and I get all kinds of internal errors. Anyone know how i can fix this? Im running hijack 410 with the developers image.Thanks! here is the cmd output:

Code:

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Installing emphatic...
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Please enter the IP address of your empeg:
> 192.168.1.152


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Please enter the directory to install emphatic to:
> /usr/local/bin


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Perform an upgrade install of emphatic? Selecting "no" here will allow you
to change advanced config options, and will install the default emphatic XML
configuration file. If you select "yes", we will perform an upgrade install,
and your existing configuration will be unchanged. If you upgrade, you will
have to add new config options to the XML by hand.
Upgrade an existing emphatic installation in /usr/local/bin (y/n)?
n

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Would you like me to modify your config.ini to launch emphatic
when your empeg boots?
If you choose 'n' here, you will have to launch emphatic manually,
or using a 3rd party launcher
Add ;@EXEC_ONCE entry to config.ini? (y/n)?
y


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
emphatic allows you to rate your songs to provide a weighted shuffle mode
that favors your highest-rated songs. Would you like to add this shuffle
mode to your config.ini? If you have already done this before, select
'n' here. You can always add/modify this shuffle mode in config.ini later
if you know what you're doing.
Add "Favorites" shuffle mode to config.ini? (y/n)?
y


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
For optimum performance, you may want to reserve some player memory for
running emphatic and other 3rd party applications. If you select 'y'
here, config.ini will be modified to reserve 10 cache blocks (about 300k).
If you select 'n', the ReserveCache entry in your config.ini will be left
as-is.
Reserve 10 cache blocks for 3rd party applications? (y/n)?
y


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Alright, pay attention. Song ratings in emphatic range from 1 to 10.
Prior to running emphatic, the player has all song ratings set at 0.
This means that songs you haven't rated yet aren't going to pop up in a
weighted shuffle mode until the very end. This is usually not
desirable behavior.

To fix this, the installation procedure can walk through your dynamic
data partition and initialize song ratings to 5, which will mean all
songs start off with an "average" rating, which you can raise or lower
to your liking.

I've tested this procedure extensively on my own empegs, under various
versions of player software v2 and v3. I have had no problems with this
procedure, but because it involves writing some data to the player's
dynamic data partition, I'm giving you the chance to bail out on this
part of the install. If you choose not to initialize your song ratings,
you will find that unrated songs rarely show up in a shuffle, which will
make doing song ratings difficult if you're in "Favorites" shuffle mode.

If you choose "Y" here, the install process will execute emphatic on
your empeg to initialize the song rating data. This may take some time,
possibly up to a minute or more, but probably more like 20-30 seconds.

If you're really worried, you may wish to break out of this script now
and back up your dynamic data partition.

Initialize song rating data on your empeg? (y/n)?
y


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Okay, I will now install emphatic to directory /usr/local/bin on 192.168.1.152
config.ini will be modified to launch emphatic on startup
config.ini will be modified to add "Favorites" shuffle mode
config.ini will be modified to reserve memory for 3rd party apps
song ratings on /dev/hda3 will be initialized to "5"

Do you wish to proceed? (y/n)?
y
Connected to 192.168.1.152.
220 Connected.
User (192.168.1.152:(none)):
230 Login okay.
ftp> quote site rw
200 Okay.
ftp> quote site exec mkdir -p /usr/local/bin
200 Okay.
ftp> cd /usr/local/bin
250 "/usr/local/bin" directory changed
ftp> bin
200 Okay.
ftp> put emphatic
200 Okay.
150 Opening data connection.
> Netout :Connection reset by peer
451 Internal error.
ftp: 196605 bytes sent in 0.19Seconds 1051.36Kbytes/sec.
ftp> put irattach
200 Okay.
150 Opening data connection.
451 Internal error.
ftp: 22883 bytes sent in 0.00Seconds 22883000.00Kbytes/sec.
ftp> put 13pixel.bf
200 Okay.
150 Opening data connection.
451 Internal error.
ftp: 13032 bytes sent in 0.00Seconds 13032000.00Kbytes/sec.
ftp> put large.bf
200 Okay.
150 Opening data connection.
451 Internal error.
ftp: 15626 bytes sent in 0.00Seconds 15626000.00Kbytes/sec.
ftp> put postinstall.sh
200 Okay.
150 Opening data connection.
451 Internal error.
ftp: 3391 bytes sent in 0.00Seconds 3391000.00Kbytes/sec.
ftp> ascii
200 Okay.
ftp> put emphatic.xml
200 Okay.
150 Opening data connection.
451 Internal error.
ftp: 15552 bytes sent in 0.00Seconds 15552000.00Kbytes/sec.
ftp> put emphatic.dtd
200 Okay.
150 Opening data connection.
451 Internal error.
ftp: 22618 bytes sent in 0.00Seconds 22618000.00Kbytes/sec.
ftp> quote site chmod 755 emphatic
200 Okay.
ftp> quote site chmod 755 irattach
200 Okay.
ftp> quote site chmod 755 /usr/local/bin/postinstall.sh
200 Okay.
ftp> quote site chmod 644 emphatic.dtd
200 Okay.
ftp> quote site chmod 644 13pixel.bf
200 Okay.
ftp> quote site chmod 644 large.bf
200 Okay.
ftp> quote site chmod 644 emphatic.xml
200 Okay.
ftp> quote site exec /usr/local/bin/postinstall.sh /usr/local/bin 1 1 1 1
541 ERROR (rc=1)
ftp> quote site exec rm -f /usr/local/bin/postinstall.sh
200 Okay.
ftp> quote site ro
200 Okay.
ftp> quit
221 Happy Fishing.
emphatic installed.
Press any key to continue . . .



I just hooked up the serial cable and watched as i did the install and got this:

Code:

hijack: Remounted read-write: /
hijack: Remounted read-write: /drive0
hijack: Remounted read-write: /drive1
kftpd: write(4096) failed
kftpd: write(4096) failed
kftpd: write(4096) failed
kftpd: write(4096) failed
kftpd: write(3391) failed
kftpd: write(4096) failed
kftpd: write(4096) failed
/bin/sh: /usr/local/bin/postinstall.sh: Exec format error
hijack: Remounted read-only: /
hijack: Remounted read-only: /drive0
hijack: Remounted read-only: /drive1

Posted by: tonyc

Re: [emphatic] v2.04 released - 22/08/2004 22:49

All I can think is that your root partition (which contains the /usr directory unless you formatted another drive and mounted it there) is full. Drop to a shell in your terminal program and run "df -k /usr" and paste the output here.
Posted by: SonicSnoop

Re: [emphatic] v2.04 released - 22/08/2004 23:16

Code:

empeg:/# df -k /usr
/sbin/df: Warning: cannot read table of mounted filesystems: No such file or directory
Filesystem 1k-blocks Used Available Use% Mounted on
- 15863 15863 0 100% /
- 0 0 0 - /proc
- 29188940 7834080 21354860 27% /drive0
- 29166595 7813929 21352666 27% /drive1
- 15863 15863 0 100% /
empeg:/#



now that i think of it, when I installed the ttsd i had to put it on my /drive0 and link it in /usr/local/bin cause it wasnt big enuff. now if i could just figure out whats taking up the space or increase the space somehow
Posted by: tonyc

Re: [emphatic] v2.04 released - 22/08/2004 23:20

Well, then just install to somewhere on /drive0 if you can't free up space on the root partition...
Posted by: cushman

Re: [emphatic] v2.04 released - 22/08/2004 23:30

Mount /dev/hda2, it can be used for user apps and such. I mount it to /usr/local and put apps in /usr/local/bin.
Posted by: SonicSnoop

Re: [emphatic] v2.04 released - 22/08/2004 23:30

looking in /usr/local/bin now the empathic file is there and so are the others just the others are 0 file size while the empathic binary isnt.

13pixel.bf emphatic.dtd flite large.bf ttsd
emphatic emphatic.xml irattach sleep

those are all the files in there. which ones are from empathic so i can delete them to clean up a lil. i pretty much figure empathic empathic.xml and empathic.dtd any others? 13pixel.bf and irattach are also 0. I will try installing to drive0 now. Thanks!
Posted by: SonicSnoop

Re: [emphatic] v2.04 released - 22/08/2004 23:55

just installed it to /drive0/var and it is working great so far Thanks!

Cushman: Ill check that out to clean a few things up. Thanks for the tip
Posted by: SonicSnoop

Re: [emphatic] v2.04 released - 23/08/2004 01:14

Hate to be a pain but was wondering if I could get a lil assistance with customizing a view. Right now in my custom view I have the whole [1/14] thing for the current position and total in playlist bit. What I would like is how in the normal player view how it has the lil r and capital R pending on what repeat mode you are in. Is this possible? Also could you tell me what the burnin= bit does? Thanks!
Posted by: tonyc

Re: [emphatic] v2.04 released - 23/08/2004 01:21

I'm not sure if I have access to read the repeat status. If I can find where it is, I'll add it.

As for the "burnin" attribute, read the emphatic.dtd file. That attribute, as well as all others, are documented in the DTD in the comment blocks.
Posted by: SonicSnoop

Re: [emphatic] v2.04 released - 23/08/2004 01:22

Ok! Will check that out. Thanks!
Posted by: JrFaust

Re: [emphatic] v2.04 released - 23/08/2004 14:59

I've been looking at this and I like the idea of custom info views. I don't know if I like the fact that it slows down the visuals, mainly because that tells me that all things will run/react slower. Is that because of the lyric part of the program or something else? How bad is the slow down? I'm not trying to complain, I just would hate to slow down the player.
I got a bit confused on how to configure it, but I was also a bit tired when trying to read the DTD.
So how custom can I get with this?
Anyone have any screen grabs of their configs?
Any plans on say a GUI to create the custom looks? You know to help lazy peeps like my self.
Lastly this reminds me so much of my carputer and the plug-in I used. I really liked it cause I could change the display at will and i could have several configs to switch between at will.
Posted by: tonyc

Re: [emphatic] v2.04 released - 23/08/2004 16:14

Quote:
I've been looking at this and I like the idea of custom info views. I don't know if I like the fact that it slows down the visuals, mainly because that tells me that all things will run/react slower. Is that because of the lyric part of the program or something else? How bad is the slow down? I'm not trying to complain, I just would hate to slow down the player.


Er, I dunno, why don't you give it a shot for yourself? If the slowdown is unacceptable to you, then you're under no obligation to continue using it. And it's not like it's costing you anything!

Seriously though, I won't even make an attempt to quantify or qualify the slowdown, because it all depends on what else is going on with your player, what player version you're using, how much RAM you have, what model player you have, what other apps might be running... Way too many variables.

What I will tell you is that I use emphatic full time now on both of my players and the only time I see slowdowns is when the player is going to disk to fill its cache. When that happens, ALL bets are off when it comes to 3rd party apps, because disk I/O is CPU-bound and nothing else gets ANY CPU when the player decides to read from disk. There's really nothing I can do about that.

Other people have reported varying degrees of slowdown. It certainly will depend on what emphatic is doing at the time, but the lyric display code is no more or less complex/CPU-intensive than the code for drawing the other display elements (artist, title, etc.) As mentioned elsewhere in this and other threads, the most CPU-intensive thing is the "burnin" function which puts a dark outline around the text for busy visuals. I do intend to try to optimize that code further, but for now, it is what it is, and I think it's still very usable.

Ultimately, you're going to have to install it for yourself and see how things go. If you don't like what you see, take out the EXEC_ONCE entry that launches emphatic and you've got the regular player UI back.

Quote:

So how custom can I get with this?



Again, install the program and try out the sample display modes. Those should give you an idea of how custom you can get.

Quote:

Any plans on say a GUI to create the custom looks? You know to help lazy peeps like my self.



I've thought about a GUI, but I've got bigger fish to fry, and GUI programming isn't my area of expertise. If someone else wanted to do one, I'd definitely help them on their way, though.
Posted by: SonicSnoop

Re: [emphatic] v2.04 released - 23/08/2004 17:44

Ok I have another question and Ill try not to ask any more for a whille.. I can run emphatic at home ac just fine, but as soon as i go into my car and go to hijack and select it to start it it locks my player up and i have to pull it out of the sled and back in to restart it. and even with it in the background not doing anything then my songs studder every min or so. But i dont have this issue at home. very odd. Also is it possible to add a entry in the menu to get to the hijack menu with out hiding emphatic? or would I have to hide it in order for it to have the screens focus? Thanks!
Posted by: tonyc

Re: [emphatic] v2.04 released - 23/08/2004 18:13

What version of emphatic? Problems in car/DC mode were fixed in emphatic 2.03 (and are clearly documented earlier in this thread.) If you're not on 2.04 or higher please upgrade. If you are, then post your config.ini here so I can see what's happening.

As for the Hijack menu, I've asked mlord for a way to invoke the Hijack menu from within applications, and he says it's not doable.
Posted by: SonicSnoop

Re: [emphatic] v2.04 released - 24/08/2004 08:47

I have 2.04 installed. Ill post my config.ini tonight when I get home. Just to be sure I may download it again and reinstall it and try again.
Posted by: JrFaust

Re: [emphatic] v2.04 released - 25/08/2004 01:36

My first question in a new line of questioning...

Why does it always do the weird menu pop-up flippy things on start-up?
Does it always default to Cool track?
How can I stop the title from going away in this code? I tried transient="false" but that didn't work, sorry if I'm being stupid.
<display_mode name="Transient w/ Time" visual="Funnelweb">
<!-- Just to demonstrate transient fields and the time attribute -->
<line attr="$(artist): $(title) $(source:format=\($\))" font="gimungous" color="bright" bgcolor="transparent" x="1" y="1" width="128" transient="true" speed="10" pause="5" origin="top"/>
<line attr="$(datetime:%A %b %Od, %Y %I:%M:%S %p)" font="small" color="bright" bgcolor="dim" x="1" y="27" width="128"/>
<playerscreen blendmode="lighten" burnin="true"/>
</display_mode>

Oh one last thing when I use Hyper term in Win XP pro. Q to the shell, set the drive to RW, paste in my new xml, RO the drive and exit, the system restarts with normal (original) info modes but if I try any menus the display goes crazy with the old and new info modes going, happens every time. Any ideas? Or is it hey doc it hurts when I do this --- so don’t do that.
Player at 2.00 final
Hijack 410
Emphatic 2.04
Posted by: tonyc

Re: [emphatic] v2.04 released - 25/08/2004 02:42

Quote:
Why does it always do the weird menu pop-up flippy things on start-up?

It's switching the player info mode to "off" and selecting the visual assigned to the first display mode.

Quote:
Does it always default to Cool track?

It always defaults to the first mode in the XML. In the default XML, that's the Cool Track mode. If you'd like to default to another mode, put that mode as the first display_mode entry in the XML file.

Quote:
How can I stop the title from going away in this code? I tried transient="false" but that didn't work, sorry if I'm being stupid.

Er, that one's a bug. I'm checking for any value of the transient attribute when I should be looking for only "true." To fix it for now, just remove the "transient" attribute entirely. Then the problem is it's not going to scroll for you, so change it from a "line" field to a "hscroll" (horizontal scroll) field, like this:
Code:

<hscroll attr="$(artist): $(title) $(source:format=\($\))" font="gimungous"
color="bright" bgcolor="transparent" x="1" y="1" width="128" speed="10"
pause="5" origin="top"/>



That one will be fixed in the next release, but the workaround above should do what you want.

Quote:
Oh one last thing when I use Hyper term in Win XP pro. Q to the shell, set the drive to RW, paste in my new xml, RO the drive and exit ............

What you didn't tell me is whether you're quitting emphatic first. If you're not, then it is indeed a case of "doc, it hurts..." The best way to work with the XML is probably to edit it on your PC and FTP it over to the empeg, but only after quitting emphatic first. To launch emphatic again, you may wish to use the MENUEXEC command that was added in Hijack recently. Here's what I have in my config.ini:
Code:

;@EXEC_ONCE /usr/local/bin/emphatic
;@MENUEXEC +emphatic exec /usr/local/bin/emphatic


The EXEC_ONCE launches it on startup, the MENUEXEC is there to launch if I decide to quit, but don't feel like restarting my empeg.
Posted by: tfabris

Re: [emphatic] v2.04 released - 25/08/2004 15:47

Quote:
It always defaults to the first mode in the XML. In the default XML, that's the Cool Track mode. If you'd like to default to another mode, put that mode as the first display_mode entry in the XML file.


Or use the "-m" startup parameter for emphatic in your config.ini, such as -m9 to select the tenth mode (0 is the first one if I recall correctly).
Posted by: tonyc

Re: [emphatic] v2.04 released - 25/08/2004 15:51

Quote:
Or use the "-m" startup parameter for emphatic in your config.ini, such as -m9 to select the tenth mode (0 is the first one if I recall correctly).

That works for now, but it's undocumented, and therefore could disappear at any time. I'm looking into making the mode "sticky" based on what one you had selected last (like the player.)
Posted by: JrFaust

Re: [emphatic] v2.04 released - 25/08/2004 16:03

Oops on the not quitting emphatic first.
Thanks I was wondering if there was a way to restart emphatice without rebooting the empeg.

Oh and thanks for the code info about the transient problem. It would be cool if you could get it to remember what info mode you were last in, but til then I'll remember to put my fav first.

Thanks again
Rob
Posted by: JrFaust

Re: [emphatic] v2.04 released - 25/08/2004 22:08

Umm I tried that line to be able to start emphatic up again this is what I get what does it mean?

Using non-standard cache size 124 (adjustment 10)
player.cpp : 385:empeg-car 2.00 2003/04/01.
Unable to load file (error #3: Internal Expat parser error)
Expat error #4 (line 98, column 79): not well-formed (invalid token)
Posted by: JrFaust

Re: [emphatic] v2.04 released - 25/08/2004 22:21

//slaps upside the back of the head.

I messed some code up in the xml file nvm.

Ok fixed the problem, nice I'm liking the posiblities. Now can this work for how the tuner info is displayed as well or is that hard coded?

Thanks, and sorry about all the questions.
Posted by: tonyc

Re: [emphatic] v2.04 released - 25/08/2004 23:24

Quote:
Now can this work for how the tuner info is displayed as well or is that hard coded?

I'm not sure how much of the tuner info I'll be able to replicate, as I haven't tried... But custom tuner display is on my list of things to do. For now though, it's just the normal tuner info modes that are built into the player.
Posted by: JrFaust

Re: [emphatic] v2.04 released - 26/08/2004 01:17

Cool that you were already thinking about that.
Here's a screen shot of my set up, attached.
Posted by: JrFaust

Re: [emphatic] v2.04 released - 27/08/2004 15:33

I noticed to day a weird thing.
When I change the volume after I first start up or just after a change of songs I get the normal volume bar, but after that I get the neat little volume graphic in the corner. Anyone else have that too?
Next I would like to make some custom button controls but I would like to use the long press code for some, what is the xml code I should use if there is one?

Oh is there a way to squish the visual like when you bring up transient mode, or even get the visual to display in a box like the new volume graphic?

Thanks
Rob
Posted by: tonyc

Re: [emphatic] v2.04 released - 27/08/2004 15:50

The volume bar thing is a known bug. Seems to be a timing issue that I can't quite narrow down. There are a few other ways I could approach a solution but I haven't investigated them yet because they're more work than I've had time for. But I'll definitely keep this in mind.

You'll have to give me an example of what you mean by "custom button controls." If you tell me exactly what it is you want to do with the buttons, I should be able to figure out if it's doable.

I tried doing the "squish" thing with the player screen early on in the development of 2.0, but because vfdlib (the empeg graphics library) doesn't have any image stretching routines, I had to use a 3rd party library, and it was very unstable for some reason. I might try again someday, though.
Posted by: JrFaust

Re: [emphatic] v2.04 released - 27/08/2004 19:30

Bummer on the squishing visual thing.

As for the custom buttons, one button forsure I'd like to change is cancel button. I'd like to mark tracks and cancel out of menus with a normal press and rate with a long press. Does the remote give out a different code for long press or is that interpreted by the player?
Posted by: SonicSnoop

Re: [emphatic] v2.04 released - 27/08/2004 22:44

Sorry I have not posted my config.ini yet, I have been having problems with getting my MKIIa to sync and trying to get that fixed. once I get that I will double check with the DC mode and see if it still does it.
Posted by: newguy1

Re: [emphatic] v2.04 released - 28/08/2004 00:16

Hi, I believe you need to "quit" out of emphatic before you are able to do a sync.Something about drives being read or something bla bla.
Quote:

Another thing which might cause this error is trying to mount/unmount a partition, or perform an Emplode syncronization, while a third-party program is running off of that partition. When a program is active, the partition it's running from is locked and can't be unmounted. For example, if you use the Hijack @EXEC command to launch a program that's been copied to somewhere on the /drive0 partition (which is the same partition that contains the music), then you will be unable to perform a synch and will likely induce this problem. To work around this, use the @DC modifier so that you only run your programs when the player is in the car dock. Click here for more information about hijack commands.


FAQ Link
Posted by: SonicSnoop

Re: [emphatic] v2.04 released - 28/08/2004 02:58

OMG I went thru that post trying all of the manual fsck on my drives and i missed that one block which fixed it lol. Thank you!
Posted by: mvigneau

Re: [emphatic] v2.04 released - 03/09/2004 17:35

I have a question about features.

I have version 2.04 and it works great. The problem is that when the Player starts up it automatically puts a visual on since there isn't any lyrics. When there is a song with lyrics it switches to the vertical lyrics as I put in the XML file.

I push the down button to switch to Info:Off and then again to Info:Now and Next. When in this mode, it will switch to vertical lyrics when there is a song with lyrics and then back to Now and Next when the song finishes.

I would like to have it automatically put it in Now and Next mode on startup unless it sees a song with lyrics and then it would switch to Vertical Lyrics.
Posted by: tonyc

Re: [emphatic] v2.04 released - 03/09/2004 17:37

Quote:
I would like to have it automatically put it in Now and Next mode on startup unless it sees a song with lyrics and then it would switch to Vertical Lyrics.

This seems doable. I'll try to get it into the next release.
Posted by: tfabris

Re: [emphatic] v2.04 released - 03/09/2004 18:39

Actually, I was trying to write an Emphatic display mode that emulated this behavior: Lyrics when there's lyrics, and a simulation of now+next when there's no lyrics. Tony and I discussed that there would need to be one small change to the emphatic code in order for this to happen properly...
Posted by: tonyc

Re: [emphatic] v2.04 released - 03/09/2004 19:12

Quote:
and a simulation of now+next when there's no lyrics.

Er... Not sure what you mean by a simulation. His idea as I understood it would be to use the real built-in Now and Next, which is doable. Custom (simulated) Now and Next is theoretically doable, but in no way is it a small change.

I was just going to allow a specific player info mode to be chosen with each emphatic custom display mode, which you could choose to write on top of with a vertical lyrics display or whatever.
Posted by: tfabris

Re: [emphatic] v2.04 released - 03/09/2004 19:27

Quote:
Er... Not sure what you mean by a simulation.


Just this:

<line attr="$(artist): '$(title)' [$(source), $(year)]" font="medium" color="bright" bgcolor="dim" x="1" y="1" width="128" height="9" transient="true" speed="100" pause="2" origin="top" show="withoutlyrics"/>

Just like we were discussing in IM. Acts the same as transient, but isn't really transient. The problem is that, in the current emphatic, the blank bar hangs around even after the transient text is done scrolling.

Quote:
I was just going to allow a specific player info mode to be chosen with each emphatic custom display mode, which you could choose to write on top of with a vertical lyrics display or whatever.


That would also be very cool.

The end-result would be similar: You get transient data when there's no lyrics.

I like the first option better, though, because it lets me spec additional data points to go into the scrolling bar (source and year in my case).
Posted by: tonyc

Re: [emphatic] v2.04 released - 03/09/2004 19:30

Okay. You confused me with the talk about simulated Now and Next.
Posted by: tfabris

Re: [emphatic] v2.04 released - 03/09/2004 19:35

I realize now that I got completely confused and mixed up the terms "Transient" and "Now and Next".

You're right, getting now and next working in emphatic would not be a small change.
Posted by: tonyc

Re: [emphatic] v2.04 released - 03/09/2004 19:45


THINK
BEFORE
YOU
POST


Posted by: frog51

Re: [emphatic] v2.04 released - 23/09/2004 14:25

Didn't look like this had been mentioned before so...

On exiting emphatic - by clicking knob, going all the way to exit and clicking again, I always end up in hijack menu (as if I had done a long press of the knob)

Is this just an amusing side effect of grabbing button presses?
Posted by: tfabris

Re: [emphatic] v2.04 released - 23/09/2004 14:33

I think that's the standard way that you exit any hijack app.

You go into hijack menu. You run an app in hijack. You exit that app, you're back at the hijack menu. Just makes sense.

The only part that's confusing to you is that Emphatic shows you an emulated (scraped) version of the player screen, so you would think it should drop you back to the player screen. But emphatic didn't come from the player screen, it came from the hijack screen and then scraped the player screen behind the scenes.

Think about it this way. What if the thing you'd run wasn't emphatic. What if it had been tetris. You go into the hijack menu, you run tetris, you exit tetris, you would expect to be back at the hijack menu. Right? Emphatic is no different.
Posted by: tonyc

Re: [emphatic] v2.04 released - 23/09/2004 14:51

Y, WHS.
Posted by: frog51

Re: [emphatic] v2.04 released - 23/09/2004 15:10

cheers - didn't think it was a bug, just wasn't sure...
Posted by: newguy1

Re: [emphatic] v2.04 released - 03/10/2004 12:34

Hi,I'd like to add a "track remaining" line to some off the display modes but don't see it listed as an option.There is "track elapsed" and "track length".Can I just add the "trackremaining" line and it will know what that means?
Posted by: tonyc

Re: [emphatic] v2.04 released - 04/10/2004 02:29

Quote:
Hi,I'd like to add a "track remaining" line to some off the display modes but don't see it listed as an option

Not implemented yet, but it's on the list.
Posted by: newguy1

Re: [emphatic] v2.04 released - 05/10/2004 00:31

Is it hard to do or you just haven't gotten around to doing it.
I just started experimenting with custom modes and I gotta say that it's very impressive how customizable emphatic is.
Also is there a way to "preview" the changes before installing it to the player?I find myself making a few changes then installing then making a few more changes and reinstalling, etc.Kind of a trial and error process for me.
Posted by: tonyc

Re: [emphatic] v2.04 released - 05/10/2004 01:31

Quote:
Is it hard to do or you just haven't gotten around to doing it

The latter. It's very easy to do, but I'm desperately trying to find a new job to replace my existing crappy job, and free time has been spent on that. It's at the top of my list, though.
Quote:
Also is there a way to "preview" the changes before installing it to the player?

Nope. That'd require some kind of GUI-based application that I don't have the time (nor the Windows GUI programming experience) to implement. I was hoping an enterprising Windows developer out there might give it a shot, but as of yet, no takers.
Posted by: newguy1

Weird behavior - 07/10/2004 00:31

Just noticed today this situation.........
With emphatic 2.04 running and listening to mp3s I,
1) Use remote to switch to tuner
2) Press volume up(or down) on remote and while the volume icon is still on screen,press the info button on remote.
What happens is it switches back to mp3 mode.
It doesn't really bother me just thought i'd mention it
Posted by: srhodes

Re: [emphatic] v2.04 released - 26/10/2004 14:20

Just got around to upgrading 2.02 to 2.04 last night. Great stuff!

At the same time I also created my own mode which I've been meaning to do for a while now. I took the Funky Lyrics mode, made the track info smaller, added the source date and removed the visual and the time indicator. This now makes it ideal for work as it's not too flashy when there are no lyrics.

However, I'd like the time indicator back again but am concerned about burn-in. Thoughts?
Posted by: tonyc

Re: [emphatic] v2.04 released - 26/10/2004 15:05

While burn-in is possible with VFDs, I don't think it's very likely. If you're really concerned, you could have the time indicator pop up for 5 or 10 second intervals. Something like this should do it:

<line attr="$(trackelapsed)/$(tracklength)" font="medium" color="bright" bgcolor="transparent" y="26" x="-1" width="0" time="+00:00,10,10"/>

The components of the time= field are:
+00:00 - field should be displayed 0 seconds from the beginning of the track
,10 - the field should be shown for 10 seconds
,10 - the field should show again after being hidden for 10 seconds

Or at least I think that's how it works, it's been awhile since I played with it. But if you're concerned about burn-in, that might be an option. Other option is, of course, to make the text dimmer, with color="medium" or color="dim".
Posted by: tfabris

Re: [emphatic] v2.04 released - 26/10/2004 15:26

Burn in happens. I've got it on my Mark 1 from having the "Now and Next" display up for merely a couple months. It's faint, but it's there.

Is it possible to do a variant of the thing you just showed, adding multiple fields, altering both the X/Y position and the the "00:00" in each one, thus causing the time to move about the screen, yet stay on the screen the whole time?

If you bounced it around the screen's four corners, you'd reduce by 75 percent the amount of time it took to make a noticeable burn.
Posted by: tonyc

Re: [emphatic] v2.04 released - 26/10/2004 15:42

Quote:
Is it possible to do a variant of the thing you just showed, adding multiple fields, altering both the X/Y position and the the "00:00" in each one, thus causing the time to move about the screen, yet stay on the screen the whole time?


I don't know, why don't you try it?

Quote:

If you bounced it around the screen's four corners, you'd reduce by 75 percent the amount of time it took to make a noticeable burn.


Probably longer than 75%. Seems to me that burn-in is more a function of "length of time pixels are consistently illuminated" than "total duration that a given pixel is illuminated." Or, by your Mk I example, I'd imagine if that two months of Now & Next were spread over 2 years, I don't think there'd be any burn-in, whereas having the pixels constantly illuminated for an extended period of time is more the problem.
Posted by: tfabris

Re: [emphatic] v2.04 released - 26/10/2004 15:50

Quote:
Seems to me that burn-in is more a function of "length of time pixels are consistently illuminated" than "total duration that a given pixel is illuminated."

I don't know how VFDs work, but if it were a CRT, that statement is incorrect. For CRTs, it really is simply the total illuminated duration. "Burn-in" is just a shorthand way of saying "uneven aging of the phosphors" (when talking about CRTs).
Posted by: tonyc

Re: [emphatic] v2.04 released - 26/10/2004 16:07

OK, well burn-in hasn't been a problem for me so it's not my concern. For anyone who is concerned, I've outlined several strategies for avoiding it, and your "move the field" around strategy should work as well.
Posted by: Daria

Re: [emphatic] v2.04 released - 27/10/2004 03:34

Quote:
While burn-in is possible with VFDs, I don't think it's very likely.


The clock/time part of the display when you're in most modes is burned in on mine. One of the Cincy pix on the camera JBJorgen borrowed from his friend showed it, but i don't remember if he lost that picture.
Posted by: srhodes

Re: [emphatic] v2.04 released - 27/10/2004 05:16

Thanks for the responses. I'll think I'll have a play with Tony C's suggestion and let you know how I get on (hopefully this weekend). It's also making me think of only displaying the track info for about 30 seconds every 2 1/2 minutes.

Burn-in may not be as much as an issue as I thought but I'd still like to do that little extra to protect my empeg for as long as possible.
Posted by: zexpe

Re: [emphatic] v2.04 released - 02/11/2004 19:32

Tony, I've started trying to tag some of my mp3s with lyrics, and have followed your suggestion to put time stamps on blank lines to indicate gaps such as guitar solos between lines, so as to ensure the lines scroll at the correct speed in the horizontal mode. However, this trick doesn't appear to be working. Each line still seems to want to keep scroll until the next line is reached, regardless of whether there's a time stamped blank line in between!

Here's three excerpts from one of my .lrc files to provide you with some examples:
//----------------------------
[00:56:805]But we can get away
[00:59:000]
[01:05:000]Baby don't you try to find me
//----------------------------
[01:17:122]Baby it will be alright
[01:20:000]
[01:23:786]Along the way
//----------------------------
[01:51:000]You'll never see a finer ship or receive a better tip in your life
[01:57:084]
[02:07:974]I am a scavenger
//----------------------------
All show the same problem. In the last example it takes the first line all 16 seconds to scroll instead of the required 6 s, so the lyrics go out of sync.

Vertical scrolling mode works beautifully, so the time stamps should be OK.

Oh, and I finding it very annoying that emphatic disappears whenever I go into stand-by mode. I assume this is a Hijack feature? Would it be possible for emphatic to remember it's last display mode to return to when it's restored?

Thanks,
Ross
Posted by: wfaulk

Re: [emphatic] v2.04 released - 02/11/2004 19:55

Woo! Interpol!
Posted by: zexpe

Re: [emphatic] v2.04 released - 03/11/2004 09:50

Yep, and I'll submit my complete collection of Interpol .lrc files to the lrcdb just as soon as I've resolved this "guitar solo" issue and have figured out how us Linux users submit to the database! Funnily enough there's no information concerning this on the lrcdb webpage.

I wonder if the problem has anything to do with lrctool not parsing Linux style end-of-line codes properly? Just a random idea.

Ross
Posted by: wfaulk

Re: [emphatic] v2.04 released - 03/11/2004 11:20

You need to put in a timestamp tagging an empty line for the lyric-less sections. Have the timestamp be shortly after the singing from the previous line ends.
Posted by: zexpe

Re: [emphatic] v2.04 released - 03/11/2004 11:44

Isn't that what I've already done in my above example???
Posted by: wfaulk

Re: [emphatic] v2.04 released - 03/11/2004 12:15

Oh, I'm sorry. Yes. I was obsessing over your delimiter lines.
Posted by: hybrid8

Re: [emphatic] v2.04 released - 03/11/2004 16:23

Is anyone keeping a repository of custom displays/info-views? Can't recall if it's been mentioned before and this thread is way too long for me to search right now.

Bruno
Posted by: Glen_L

Re: [emphatic] v2.04 released - 05/11/2004 08:41

Quote:
I wonder if the problem has anything to do with lrctool not parsing Linux style end-of-line codes properly? Just a random idea.

FWIW, I have the same issue with time stamped blank lines and horizontal lyric mode. I used XP and the SYLT plugin, so it's not a Linux issue. I also tried using a space instead of a blank line in an attempt to fool it into scrolling the lyrics quicker. No dice there, either.

Tony, is this something that might be fixed in the next version?
Posted by: tonyc

Re: [emphatic] v2.04 released - 05/11/2004 11:18

Quote:
Tony, is this something that might be fixed in the next version?

It's something that I didn't think was broken in any version. But I'll look into it.
Posted by: zexpe

Re: [emphatic] v2.04 released - 05/11/2004 23:53

I might be being dumb here, but how exactly do you submit lyrics to www.lrcdb.com? I don't use Windows so the SYLT pluggin is out of the question. I tried to download the batch submission zip file thingy off the website, not knowing whether it even works on Linux, but the link to it is broken! So what do I do??

Ross
Posted by: tonyc

Re: [emphatic] v2.04 released - 06/11/2004 00:55

Whoops. Side-effect of the forum migration. I'll work on it.

There is a way to submit LRCs via the website, but it's broken and sucky. Fixing that so it's fixed and not so sucky is high on my list of things to do on the site. Right now the only sane way to submit lyrics is via the SYLT plugin. I will post a news item on the site when web-based submission is working. Thanks for being patient.
Posted by: zexpe

Re: [emphatic] v2.04 released - 07/11/2004 23:19

Sheesh, it's impossible to submit to the lrcdb!

Just tried out the SYLT pluggin on a Windows system (I'm very impressed, btw, it wipes the floor with XMMS-SingIt), and I still can't submit my pain-stakingly time-stamped lyrics to the lrcdb! I've given it my correct username and password - the exact same ones I use to login to the webpage - in the options menu. Yet, it complains after connecting to the lrcdb that I've used the "Wrong Username/Password"! Argh!

Ross
Posted by: tonyc

Re: [emphatic] v2.04 released - 08/11/2004 14:17

Quote:
Yet, it complains after connecting to the lrcdb that I've used the "Wrong Username/Password"! Argh!

Relax... Calm down.. Take a deep breath...

First off, I thank you for your dedication to contributing to the site. Sorry it's been a bumpy ride so far...

Not sure what the problem could be. I am at work so I can't try it out here, but others are submitting just fine. Is the lrcDB URL by chance set to anything other than http://www.lrcdb.org/ ? If it is, that could be the problem... Otherwise... I'll have to turn up the debug logging on the site and ask you to try a few times later tonight. What version of the SYLT plugin?
Posted by: zexpe

Re: [emphatic] v2.04 released - 08/11/2004 16:56

I'm using the default URL, just as you've stated, with the latest version of the plugin (1.3.0).

Thanks,
Ross
Posted by: tonyc

Re: [emphatic] v2.04 released - 08/11/2004 17:15

Okay. Then I need you to log into the site, change your password to some temporary password, and PM me that temporary login info so I can test it out with debug enabled. When I'm done, you can change your PW back. Must be something that went wrong with your account data, as everyone else seems to be submitting okay.
Posted by: ernestp

Strange problem with Emphatic - 30/12/2004 00:11

Been a way from the BBs for a while, I saw this great program and I decided to installed it on my Empeg II player and it seems to be having a problem.... The symptoms are as follows..

The player starts up and does the initiazation and it get to the point where it loads Emphatic and the screen (Player's Display) just goes blank and the power LED goes out.... Sometime I can get Emphatic to work after several reboots but then it would just lock up...Using my serial port I captured this:

It seems to me that I'm running out of swap space and causing the program to crash... the file sizes are okay in /usr/local/bin so the install went well. I'm using Hijack v4.13 and the Developer's verion 2.0.


Serial Output:
empeg-car bootstrap v1.00 20000601 ([email protected])
If there is anyone present who wants to upgrade the flash, let them speak now,
or forever hold their peace...it seems not. Let fly the Penguins of Linux!

e000 v1.04
Copying kernel...
Calling linux kernel...
Uncompressing Linux..................................... done, booting the kerne
l.
Linux version 2.2.17-rmk5-np17-empeg52-hijack-v413 ([email protected]) (gcc version
2.95.3 20010315 (release)) #2 Tue Aug 17 18:05:30 EDT 2004
Processor: Intel StrongARM-1100 revision 11
Checking for extra DRAM:
c0c00000: wrote ffffffff, read e91ba9f0
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.
empeg-car player (hardware revision 7, serial number 80000457) 12MB DRAM
Command line: mem=12m
Calibrating delay loop... 207.67 BogoMIPS
Memory: 10952k/12M available (984k code, 20k reserved, 328k data, 4k init)
Dentry hash table entries: 2048 (order 2, 16k)
Buffer cache hash table entries: 16384 (order 4, 64k)
Page cache hash table entries: 4096 (order 2, 16k)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 16384 bhash 16384)
IrDA (tm) Protocols for Linux-2.2 (Dag Brattli)
Starting kswapd v 1.5
SA1100 serial driver version 4.27 with no serial options enabled
ttyS00 at 0xf8010000 (irq = 15) is a SA1100 UART
ttyS01 at 0xf8050000 (irq = 17) is a SA1100 UART
ttyS02 at 0xf8030000 (irq = 16) is a SA1100 UART
Signature is 67706d65 'empg'
Tuner: loopback=0, ID=-1
Scheduling custom logo.
empeg display initialised.
empeg dsp audio initialised
empeg dsp mixer initialised
empeg dsp initialised
empeg audio-in initialised, CS4231A revision a0
empeg remote control/panel button initialised.
empeg usb initialised, PDIUSBD12 id 1012
empeg state support initialised 0089/88c1 (save to d0004f80).
empeg RDS driver initialised
empeg power-pic driver initialised (first boot)
RAM disk driver initialized: 16 RAM disks of 4096K size
empeg single channel IDE
Probing primary interface...
hdb: IC25T060ATCS05-0, ATA DISK drive
hda: IC25T060ATCS05-0, ATA DISK drive
hdb: IC25T060ATCS05-0, ATA DISK drive
ide0 at 0x000-0x007,0x038 on irq 6
hda: IC25T060ATCS05-0, 57231MB w/1768kB Cache, CHS=7296/255/63
hdb: IC25T060ATCS05-0, 57231MB w/1768kB Cache, CHS=7296/255/63
empeg-flash driver initialized
smc chip id/revision 0x3349
smc9194.c:v0.12 03/06/96 by Erik Stahlman ([email protected])

SMC9194: SMC91C94(r:9) at 0x4008000 IRQ:7 INTF:TP MEM:6144b MAC 00:02:d7:10:01:c
9
Partition check:
hda: hda1 < hda5 hda6 > hda2 hda3 hda4
hdb: hdb1 < hdb5 hdb6 > hdb2 hdb3 hdb4
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 320 blocks [1 disk] into ram disk... done.
VFS: Mounted root (ext2 filesystem).
empeg-pump v0.03 (19980601)
Press Ctrl-A to enter pump...VFS: Mounted root (ext2 filesystem) readonly.
change_root: old root has d_count=1
Trying to unmount old root ... okay
Freeing unused kernel memory: 4k initempeg init 0.8
I see this is a developer image!
Mounting proc
Mounting first music partition
Tried to mount /dev/hda4 as reiserfs but got error 19
qMounting second music partition
Remounting first music partition read-only
Remounting second music partition read-only
Press 'q' now to go into development mode. You Have Zero Seconds To Comply...
Starting player
Timezone: Atlantic/South_Georgia
qHijack: intercepting config.ini

qopening display...
/bin/sh: DC: command not found
hijack: removed menu entry: "Hard Disk Detection"
hijack: removed menu entry: "Serial Port Assignment"
khttpd: listening on port 80
kftpd: listening on port 21
emphatic v2.04 (built Aug 17 2004 21:05:49) running as pid 12
q player.cpp : 385:empeg-car 2.00 2003/04/01.
q


q

empeg-car bootstrap v1.00 20000601 ([email protected])
If there is anyone present who wants to upgrade the flash, let them speak now,
or forever hold their peace...it seems not. Let fly the Penguins of Linux!

e000 v1.04
Copying kernel...
Calling linux kernel...
Uncompressing Linux..................................... done, booting the kerne
l.
Linux version 2.2.17-rmk5-np17-empeg52-hijack-v413 ([email protected]) (gcc version
2.95.3 20010315 (release)) #2 Tue Aug 17 18:05:30 EDT 2004
Processor: Intel StrongARM-1100 revision 11
Checking for extra DRAM:
c0c00000: wrote ffffffff, read e91ba9f0
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.
empeg-car player (hardware revision 7, serial number 80000457) 12MB DRAM
Command line: mem=12m
Calibrating delay loop... 207.67 BogoMIPS
Memory: 10952k/12M available (984k code, 20k reserved, 328k data, 4k init)
Dentry hash table entries: 2048 (order 2, 16k)
Buffer cache hash table entries: 16384 (order 4, 64k)
Page cache hash table entries: 4096 (order 2, 16k)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 16384 bhash 16384)
IrDA (tm) Protocols for Linux-2.2 (Dag Brattli)
Starting kswapd v 1.5
SA1100 serial driver version 4.27 with no serial options enabled
ttyS00 at 0xf8010000 (irq = 15) is a SA1100 UART
ttyS01 at 0xf8050000 (irq = 17) is a SA1100 UART
ttyS02 at 0xf8030000 (irq = 16) is a SA1100 UART
Signature is 67706d65 'empg'
Tuner: loopback=0, ID=-1
Scheduling custom logo.
empeg display initialised.
empeg dsp audio initialised
empeg dsp mixer initialised
empeg dsp initialised
empeg audio-in initialised, CS4231A revision a0
empeg remote control/panel button initialised.
empeg usb initialised, PDIUSBD12 id 1012
empeg state support initialised 0089/88c1 (save to d0005000).
empeg RDS driver initialised
empeg power-pic driver initialised (first boot)
RAM disk driver initialized: 16 RAM disks of 4096K size
empeg single channel IDE
Probing primary interface...
hdb: IC25T060ATCS05-0, ATA DISK drive
hda: IC25T060ATCS05-0, ATA DISK drive
hdb: IC25T060ATCS05-0, ATA DISK drive
ide0 at 0x000-0x007,0x038 on irq 6
hda: IC25T060ATCS05-0, 57231MB w/1768kB Cache, CHS=7296/255/63
hdb: IC25T060ATCS05-0, 57231MB w/1768kB Cache, CHS=7296/255/63
empeg-flash driver initialized
smc chip id/revision 0x3349
smc9194.c:v0.12 03/06/96 by Erik Stahlman ([email protected])

SMC9194: SMC91C94(r:9) at 0x4008000 IRQ:7 INTF:TP MEM:6144b MAC 00:02:d7:10:01:c
9
Partition check:
hda: hda1 < hda5 hda6 > hda2 hda3 hda4
hdb: hdb1 < hdb5 hdb6 > hdb2 hdb3 hdb4
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 320 blocks [1 disk] into ram disk... done.
VFS: Mounted root (ext2 filesystem).
empeg-pump v0.03 (19980601)
Press Ctrl-A to enter pump...VFS: Mounted root (ext2 filesystem) readonly.
change_root: old root has d_count=1
Trying to unmount old root ... okay
Freeing unused kernel memory: 4k initempeg init 0.8
I see this is a developer image!
Mounting proc
Mounting first music partition
Tried to mount /dev/hda4 as reiserfs but got error 19
q
Mounting second music partition
qRemounting first music partition read-only
Remounting second music partition read-only
Press 'q' now to go into development mode. You Have Zero Seconds To Comply...
SStarting bash.
q
q
qempeg:/empeg/bin# q
bash: q: command not found
empeg:/empeg/bin# q
bash: q: command not found
empeg:/empeg/bin# q
bash: q: command not found
empeg:/empeg/bin#
empeg:/empeg/bin#
empeg:/empeg/bin#
empeg:/empeg/bin#
empeg:/empeg/bin#
empeg:/empeg/bin# df
df: cannot read table of mounted filesystems: No such file or directory
empeg:/empeg/bin# cd /usr/local
empeg:/usr/local# ls
bin
empeg:/usr/local# cd bin
empeg:/usr/local/bin# ls -alF
total 485
drwxr-xr-x 2 0 0 1024 Dec 29 03:08 ./
drwxr-xr-x 3 0 0 1024 Dec 29 03:08 ../
-rw-r--r-- 1 0 0 13032 Dec 29 03:08 13pixel.bf
-rwxr-xr-x 1 0 0 392924 Dec 29 03:08 emphatic*
-rw-r--r-- 1 0 0 22618 Dec 29 03:08 emphatic.dtd
-rw-r--r-- 1 0 0 15552 Dec 29 03:08 emphatic.xml
-rwxr-xr-x 1 0 0 22883 Dec 29 03:08 irattach*
-rw-r--r-- 1 0 0 15626 Dec 29 03:08 large.bf
empeg:/usr/local/bin#
empeg-car bootstrap v1.00 20000601 ([email protected])
If there is anyone present who wants to upgrade the flash, let them speak now,
or forever hold their peace...it seems not. Let fly the Penguins of Linux!

e000 v1.04
Copying kernel...
Calling linux kernel...
Uncompressing Linux..................................... done, booting the kerne
l.
Linux version 2.2.17-rmk5-np17-empeg52-hijack-v413 ([email protected]) (gcc version
2.95.3 20010315 (release)) #2 Tue Aug 17 18:05:30 EDT 2004
Processor: Intel StrongARM-1100 revision 11
Checking for extra DRAM:
c0c00000: wrote ffffffff, read e91ba9f0
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.
empeg-car player (hardware revision 7, serial number 80000457) 12MB DRAM
Command line: mem=12m
Calibrating delay loop... 207.67 BogoMIPS
Memory: 10952k/12M available (984k code, 20k reserved, 328k data, 4k init)
Dentry hash table entries: 2048 (order 2, 16k)
Buffer cache hash table entries: 16384 (order 4, 64k)
Page cache hash table entries: 4096 (order 2, 16k)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 16384 bhash 16384)
IrDA (tm) Protocols for Linux-2.2 (Dag Brattli)
Starting kswapd v 1.5
SA1100 serial driver version 4.27 with no serial options enabled
ttyS00 at 0xf8010000 (irq = 15) is a SA1100 UART
ttyS01 at 0xf8050000 (irq = 17) is a SA1100 UART
ttyS02 at 0xf8030000 (irq = 16) is a SA1100 UART
Signature is 67706d65 'empg'
Tuner: loopback=0, ID=-1
Scheduling custom logo.
empeg display initialised.
empeg dsp audio initialised
empeg dsp mixer initialised
empeg dsp initialised
empeg audio-in initialised, CS4231A revision a0
empeg remote control/panel button initialised.
empeg usb initialised, PDIUSBD12 id 1012
empeg state support initialised 0089/88c1 (save to d0005080).
empeg RDS driver initialised
empeg power-pic driver initialised (first boot)
RAM disk driver initialized: 16 RAM disks of 4096K size
empeg single channel IDE
Probing primary interface...
hda: IC25T060ATCS05-0, ATA DISK drive
hdb: IC25T060ATCS05-0, ATA DISK drive
ide0 at 0x000-0x007,0x038 on irq 6
hda: IC25T060ATCS05-0, 57231MB w/1768kB Cache, CHS=7296/255/63
hdb: IC25T060ATCS05-0, 57231MB w/1768kB Cache, CHS=7296/255/63
empeg-flash driver initialized
smc chip id/revision 0x3349
smc9194.c:v0.12 03/06/96 by Erik Stahlman ([email protected])

SMC9194: SMC91C94(r:9) at 0x4008000 IRQ:7 INTF:TP MEM:6144b MAC 00:02:d7:10:01:c
9
Partition check:
hda: hda1 < hda5 hda6 > hda2 hda3 hda4
hdb: hdb1 < hdb5 hdb6 > hdb2 hdb3 hdb4
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 320 blocks [1 disk] into ram disk... done.
VFS: Mounted root (ext2 filesystem).
empeg-pump v0.03 (19980601)
Press Ctrl-A to enter pump...nted root (ext2 filesystem) readonly.
change_root: old root has d_count=1
Trying to unmount old root ... okay
Freeing unused kernel memory: 4k initempeg init 0.8
I see this is a developer image!
Mounting proc
Mounting first music partition
Tried to mount /dev/hda4 as reiserfs but got error 19
Mounting second music partition
Remounting first music partition read-only
Remounting second music partition read-only
Press 'q' now to go into development mode. You Have Zero Seconds To Comply...
Starting player
Timezone: Atlantic/South_Georgia
Hijack: intercepting config.ini

opening display...
/bin/sh: DC: command not found
hijack: removed menu entry: "Hard Disk Detection"
hijack: removed menu entry: "Serial Port Assignment"
khttpd: listening on port 80
kftpd: listening on port 21
emphatic v2.04 (built Aug 17 2004 21:05:49) running as pid 12
player.cpp : 385:empeg-car 2.00 2003/04/01.
Prolux 4 empeg car - 2.1434 Mar 26 2003
Vcb: 0x4054d000
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for emphatic...
VM: do_try_to_free_pages failed for emphatic...
VM: do_try_to_free_pages failed for emphatic...
VM: do_try_to_free_pages failed for emphatic...
VM: do_try_to_free_pages failed for emphatic...
VM: do_try_to_free_pages failed for emphatic...
VM: killing process emphatic
buffermem : 483328
page_cache_size : 305
nr_free_pages : 24
num_physpages : 3072
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for emphatic...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for emphatic...
VM: do_try_to_free_pages failed for emphatic...
VM: do_try_to_free_pages failed for emphatic...
VM: do_try_to_free_pages failed for emphatic...
VM: killing process emphatic
buffermem : 483328
page_cache_size : 305
nr_free_pages : 23
num_physpages : 3072
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for player...
VM: do_try_to_free_pages failed for emphatic...
VM: do_try_to_free_pages failed for emphatic...
VM: do_try_to_free_pages failed for emphatic...
VM: do_try_to_free_pages failed for emphatic...
VM: do_try_to_free_pages failed for emphatic...
VM: killing process emphatic
buffermem : 483328
page_cache_size : 305
nr_free_pages : 24
num_physpages : 3072
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (2)
spindown_chunk_cache_runner.cpp: 294:Filling up space (6)
Posted by: tonyc

Re: Strange problem with Emphatic - 30/12/2004 18:09

Questions:

1. Did you run the emphatic install BAT/sh script or manually install?
2. How many tracks are on your player?
3. What's the value of the "ReserveCache" setting in your config.ini? Set it to at least 16 and restart the player. if that doesn't work, increase it by 4 until you get to 32. If you hit 32 and it's still crashing, let me know.
Posted by: sldonmtns

Lost Hijack menu - 14/01/2005 21:20

I just added an 80gig drive to my empeg, and when I re-installed Hijack, emphatic took over the hijack menu button. So whenever I hold the rotary button, it switches the emphatic displays, instead of accesing the hijack menu. I looked in the emphatic xml, but couldn't find any settings for that. When I quit out of emphatic and hold the rotary button, it acceses the hijack menu like normal.

Thanks for any help, and thanks for this great app.
Posted by: tonyc

Re: Lost Hijack menu - 14/01/2005 23:15

That's how Hijack works. When an app (in this case, emphatic) is running in the foreground, the Hijack menu is unavailable. I asked for a mechanism for bringing up the Hijack menu from a user application, but did not have my wish granted.

If you want to go into the Hijack menu, you can select the "Hide" option in the emphatic main menu, which will temporarily put emphatic in the background, and put you in the Hijack menu. Once you're done with the Hijack menu, you can go back and select emphatic again to bring it to the foreground.
Posted by: sldonmtns

Re: Lost Hijack menu - 15/01/2005 00:18

Ok, so I guess I just thought I was able to acess hijack, the last time I had emphatic installed, but I actually wasn't.
That shows, that I actually don't even need the hijack menu that often.
Posted by: tonyc

Re: Lost Hijack menu - 15/01/2005 01:00

Quote:
Ok, so I guess I just thought I was able to acess hijack, the last time I had emphatic installed, but I actually wasn't.

Or, if you were able to, I'd love to know what your secret was...
Posted by: sldonmtns

Another quick question - 15/01/2005 19:59

Is anyone able to get the track number displayed? I tried the text attribute "number" like it says in the .dtd, but it didn't work.
Thanks
Posted by: tonyc

Re: Another quick question - 16/01/2005 17:15

Hmm. Honestly, though I'm sure I tested track number out at one time, I don't use it myself... So it's possible I broke it at some point. I'll look into it.
Posted by: schofiel

Re: [emphatic] v2.04 released - 19/01/2005 10:55

Link dead?
Posted by: Captain Kurt

Re: [emphatic] v2.04 released - 03/04/2005 15:47

Is there anyone interested in performing upgrades/hacks for cash? I'm sure there are others like myself who don't have the time and/or aptitude for programming but think having lyrics displayed would be really cool. I might even find the time to do simple things like time coding songs but only after I have a stable bug free system.
Posted by: tfabris

Re: [emphatic] v2.04 released - 03/04/2005 16:12

emphatic comes with an installation script. It's really not that hard. You should just try it.
Posted by: bonzi

Re: [emphatic] v2.04 released - 03/04/2005 19:29

Quote:
RioCar on 74 ft Sloop located somewhere between New Zealand and Palau.

Drool....

If the upgrade is to be performed in situ, I guess you might be able to find several volunteers