Unoffical empeg BBS

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

Topic Options
#181127 - 25/09/2003 13:38 Player chooser.. kernel chooser
bbowman
enthusiast

Registered: 12/05/2002
Posts: 205
Loc: Virginia, USA
I was looking at the different players available for the empeg (squash, the default, etc) and thought that maybe it would be cool to be able to switch players on the fly. Like a player chooser. This may be best implemented in hijack or something.

The idea first came to me when reading about the new Alpha release for the empeg software. If there were a kernel chooser - like a multiple boot option - it may make things easier when trying out different kernels for different situations. I guess one of the main issues with multiple kernel chhoices would be the ROM size limitation.

Any ideas? Takers?
_________________________
Brent
RioCar MK][a 20GB+80GB
'96 Saab 900s (Not any more)
Still looking for a good way to install in a 2010 BMW 3 series with iDrive/NAV

Top
#181128 - 25/09/2003 13:40 Re: Player chooser.. kernel chooser [Re: bbowman]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Any reason why you would want to try multiple kernels on-the-fly?

I could understand choosing different players, and that can be done with the proper "init", no kernel hacking necessary.
_________________________
Tony Fabris

Top
#181129 - 25/09/2003 13:44 Re: Player chooser.. kernel chooser [Re: bbowman]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
The alpha software has different fonts, but a chrooted environment should be possible. Hmmm. Maybe I should do that.

Top
#181130 - 25/09/2003 13:54 Re: Player chooser.. kernel chooser [Re: Daria]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Remember that the layout of the data partition has changed. Being able to switch between v2 and v3 would probably result in a lot of broken databases.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#181131 - 29/09/2003 14:53 Re: Player chooser.. kernel chooser [Re: genixia]
image
old hand

Registered: 28/04/2002
Posts: 770
Loc: Los Angeles, CA
Remember that the layout of the data partition has changed. Being able to switch between v2 and v3 would probably result in a lot of broken databases.


not necesarily a lot of it. they use different databases in /drive0/var (database and database3), and as far as i can tell, going to alpha3 didnt wipeout ALL of the scratch partition. all my PLAYS data is still there. now, my other settings such as bookmarks, eq, and marked files is a different question.

Top
#181132 - 29/09/2003 15:26 Re: Player chooser.. kernel chooser [Re: image]
tanstaafl.
carpal tunnel

Registered: 08/07/1999
Posts: 5539
Loc: Ajijic, Mexico
as far as i can tell, going to alpha3 didnt wipeout ALL of the scratch partition. all my PLAYS data is still there

OK, now go from alpha3 back to 2.0 final and see what happens...

tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"

Top
#181133 - 29/09/2003 16:37 Re: Player chooser.. kernel chooser [Re: image]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Also, they haven't changed *everything* on the dynamic data partition. Specifically, they still have plans (Roger posted to this effect earlier today) to change the format of the FID entires in the running order/bookmark areas of the dyndata partiiton for v3 final. This would *definitely* not be backwards or forwards compatible between v2 and v3.
_________________________
- Tony C
my empeg stuff

Top
#181134 - 29/09/2003 16:39 Re: Player chooser.. kernel chooser [Re: image]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
You could make a separate scratch partition in a chroot'd environment, unless it's checking the major and minor device number of /dev/hda3 before opening it, just make a different "device" be /dev/hda3. Like, say, /dev/hdb3's major and minor device number.

If the player checked, you'd need hijack's help.

Top
#181135 - 29/09/2003 17:32 Re: Player chooser.. kernel chooser [Re: tanstaafl.]
image
old hand

Registered: 28/04/2002
Posts: 770
Loc: Los Angeles, CA
i've gone back and forth with out losing my plays counters. but an annoying side-effect is that my playlists are losing their ignore as child flag. but i'm sure thats because of the database change.

Top
#181136 - 29/09/2003 19:53 Re: Player chooser.. kernel chooser [Re: image]
tanstaafl.
carpal tunnel

Registered: 08/07/1999
Posts: 5539
Loc: Ajijic, Mexico
my playlists are losing their ignore as child flag.

Odd... my ignore as child flags are (apparently) intact. More than half ot the "songs" in my player are audiobooks, and I have been playing a down-down-down full shuffle for the past couple days and not a single audiobook chapter has shown up, so I assume my ignore as child flags are working.

tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"

Top
#181137 - 30/09/2003 02:28 Re: Player chooser.. kernel chooser [Re: tanstaafl.]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
so I assume my ignore as child flags are working.

Mine definitely are, but I am running a later build of 3.0 (3.00-nightly20030815).
_________________________
-- roger

Top
#181138 - 30/09/2003 14:26 Re: Player chooser.. kernel chooser [Re: Roger]
image
old hand

Registered: 28/04/2002
Posts: 770
Loc: Los Angeles, CA
my ignore as child flags went missing when i used jemplode to rebuild the database when i went from v2final to v3alpha. i since re-applied them, and when i went back to v2final, it lost it once again after the rebuild back to the old database. strangeness. mebbe its a quirk with jemplode.

Top
#181139 - 01/10/2003 03:58 Re: Player chooser.. kernel chooser [Re: tanstaafl.]
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
Same here, Tanstaafl. No problem at all with my audiobooks since the installation of 3.0alpha3.
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#181140 - 11/10/2003 09:59 Re: Player chooser.. kernel chooser [Re: bbowman]
image
old hand

Registered: 28/04/2002
Posts: 770
Loc: Los Angeles, CA
was looking at the different players available for the empeg (squash, the default, etc) and thought that maybe it would be cool to be able to switch players on the fly. Like a player chooser. This may be best implemented in hijack or something.
if hijack can be modified to be able to switch hda and hdc around, can't we just install v2-final on one, and v3a3 on the other? separate scratch partitions, separate databases, but same fids?

Top
#181141 - 11/10/2003 21:00 Re: Player chooser.. kernel chooser [Re: image]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14474
Loc: Canada
That's a cute idea.. perfectly feasible. You might even be able to do it without changing Hijack, by using chroot to switch root partitions. But I suppose the various player scripts (rw, rwm, ro, rom, ...) might still have some troubles (or not, if they're written in a certain way).

Cheers

Top
#181142 - 13/10/2003 14:15 Re: Player chooser.. kernel chooser [Re: mlord]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
oooo... cool idea image.
_________________________
|| loren ||

Top
#181143 - 13/10/2003 14:49 Re: Player chooser.. kernel chooser [Re: mlord]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
You could always change the /dev files around. Then you don't need to fiddle with any of the scripts or the player application itself.

The primary drive would have the correct entries in /dev but the secondary drive would have the drive device files swapped around.

Top
#181144 - 13/10/2003 16:33 Re: Player chooser.. kernel chooser [Re: tman]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
You could always change the /dev files around.

I already said that.

Top
#181145 - 13/10/2003 17:48 Re: Player chooser.. kernel chooser [Re: tman]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
More /dev jiggery-pokery ? The Mk2/2a already have some kernel tweaks to enable the player software to treat them the same as a Mk1, ie /dev/hdc points to /dev/hdb. I can't remember the exact details, but this would need to be taken into account.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#181146 - 13/10/2003 19:03 Re: Player chooser.. kernel chooser [Re: Daria]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Doh. Missed that one

Top
#181147 - 13/10/2003 19:07 Re: Player chooser.. kernel chooser [Re: loren]
image
old hand

Registered: 28/04/2002
Posts: 770
Loc: Los Angeles, CA
nyeah, i had the idea a long time ago, when i was trying to push my multi-marking wish a while back. seems more fitting now, now that there's a practical (not just for me alone, even though mr.faq got the irbutton=blink feature implemented) use. =)

Top