Unoffical empeg BBS

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

Topic Options
#78717 - 08/03/2002 13:26 Hijack 'Play' Feature
NiCKEL
journeyman

Registered: 27/02/2002
Posts: 59
Loc: Vancouver, BC, Canada
Mark (or anyone else),

Would it be possible/difficult to give some options on the play feature?

I was thinking it would be handy if we could select from the three styles (Play, Append, Insert) so that you could potentially use the web interface much like a jukebox.

e.g. you could Play song 'A' and then append song 'C' 'E' and 'I' to it allowing you to dynamically queue up a play list via the web interface. Very jukebox-ish.

This would be good for work as co-workers could add songs they wanted to hear.

Just a thought.
-Geoff

Top
#78718 - 08/03/2002 13:32 Re: Hijack 'Play' Feature [Re: NiCKEL]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
This would only be doable if the Emplode protocol being used to send the play command supports insert/append. I seem to remember someone saying it doesn't.
_________________________
- Tony C
my empeg stuff

Top
#78719 - 08/03/2002 13:39 Re: Hijack 'Play' Feature [Re: tonyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Actually, the emplode protocol DOES support insert and append. The problem is that Hijack does not use the emplode protocol, it uses the serial port protocol. The serial port protocol does not have the ability to do this.

It is rumored that the next player beta might have serial port insert/append built-in, at which time Hijack will support it.
_________________________
Tony Fabris

Top
#78720 - 08/03/2002 13:44 Re: Hijack 'Play' Feature [Re: tfabris]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Edited: Nevermind, I found it... "#FID"


Edited by yn0t_ (08/03/2002 13:45)
_________________________
- Tony C
my empeg stuff

Top
#78721 - 08/03/2002 13:46 Re: Hijack 'Play' Feature [Re: tonyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
The serial port commands are all documented on the developer section of www.riocar.org .

The serial port command to play a specific fid is:

#<fid>

For example to play fid 123 it would be #123 follwed by a carriage return.
_________________________
Tony Fabris

Top
#78722 - 08/03/2002 13:46 Re: Hijack 'Play' Feature [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
From earlier examination of the Emplode "insert/play" protocol, it was discovered that the protocol appears to only allow "insert" to a running playlist of it's own creation.

In other words, if the player is running a playlist of it's own, Emplode cannot "insert" into that playlist.

Sound right? (I don't use Emplode)

Top
#78723 - 08/03/2002 13:47 Re: Hijack 'Play' Feature [Re: tfabris]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Goddamnit I swear you're a bot!
_________________________
- Tony C
my empeg stuff

Top
#78724 - 08/03/2002 13:48 Re: Hijack 'Play' Feature [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Just tried it, and it worked no problem. I just used emplode to insert a tune into a playlist that had been chosen from the player's front panel.
_________________________
Tony Fabris

Top
#78725 - 08/03/2002 13:55 Re: Hijack 'Play' Feature [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Are you sure it did not replace the playlist when you did that?

If not, then we need more info on the Emplode protocol, cuz that doesn't look possible from the info we have in the emptool source.

Cheers

Top
#78726 - 08/03/2002 13:59 Re: Hijack 'Play' Feature [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Are you sure it did not replace the playlist when you did that?

Yes.
_________________________
Tony Fabris

Top
#78727 - 08/03/2002 20:16 Re: Hijack 'Play' Feature [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Actually, I suppose they could have done it the hard way.. query player playlist FID, lookup playlist, resend playlist to player, insert new track into playlist.. ugh.

Top