direct jump to song/playlist

Posted by: Boelle

direct jump to song/playlist - 26/01/2008 11:47

how do i jump directly to a song or playlist?

i have exported the database so i have a nice list of every song and playlist... but it would be nice to go directly to a song instead of looking through all the playlist's via the menu
Posted by: mlord

Re: direct jump to song/playlist - 26/01/2008 12:16

Is there no way to directly enter a FID on the remote?

The serial port has this feature.. mmm.. ?
Posted by: mlord

Re: direct jump to song/playlist - 26/01/2008 12:22

Originally Posted By: mlord
Is there no way to directly enter a FID on the remote?

The serial port has this feature.. mmm.. ?


Along those lines..
What does the PIN/Search function actually do (single-press of Search button) ?

Tony?
Posted by: andy

Re: direct jump to song/playlist - 26/01/2008 12:41

If I remember rightly you set a PIN for a track or playlist in emplode and then a PIN search plays that track/playlist.
Posted by: mlord

Re: direct jump to song/playlist - 26/01/2008 12:49

Originally Posted By: andy
If I remember rightly you set a PIN for a track or playlist in emplode and then a PIN search plays that track/playlist.


Ahh.. yes, that's it. Inside Emplode, turn on the "PIN" column under the View menu, and then one can set direct-access codes for individual playlists/tunes.

But that's kind of limiting, I suppose. Would anyone here have use for direct-FID access via the remote? I could add it to Hijack without too much fuss, but the input would likely be in decimal rather than the usual hex that FIDs normally use.

???
Posted by: mlord

Re: direct jump to song/playlist - 26/01/2008 12:56

Originally Posted By: Boelle
how do i jump directly to a song or playlist?

i have exported the database so i have a nice list of every song and playlist... but it would be nice to go directly to a song instead of looking through all the playlist's via the menu


Oh, now you did say you have exported the database. But exported to where?

If it's on another computer, then you already do have a way to directly jump to a song/playlist. Hijack supports serial commands over HTTP.

Eg. Fid#100 (the master "All" playlist):

http://your.player.ip.address/?NODATA&SERIAL=#100

(you may need to use %23 instead of the # symbol).

Posted by: mlord

Re: direct jump to song/playlist - 26/01/2008 13:00

For other examples, just connect to the web server on your empeg, and click on the Click here for playlists link at the bottom of the screen to get the playlist interface.

Now, on subsequent screens, the Play links actually just do what I showed in my previous post, commands like this:

http://xx.xx.xx.xx/?NODATA&SERIAL=#1cf00

Cheers
Posted by: mlord

Re: direct jump to song/playlist - 26/01/2008 13:04

And if you have not already discovered/installed the Empeg WebLite web stuff onto your player, then you should do so immediately.

This might save you some effort on whatever "project" you have "exported" your playlists for.. wink
Posted by: tfabris

Re: direct jump to song/playlist - 26/01/2008 16:00

Originally Posted By: Boelle
how do i jump directly to a song or playlist?


To jump directly to a song, use the alphanumeric Search feature on the remote control. It is explained in more detail here

To jump directly to a specific playlist, use Emplode to assign that playlist a PIN and use the PIN search feature on the remote control. Unless I'm remembering wrong and there's also an alphanumeric playlist search. I don't think there is.

Here's something cool: To jump directly to the LAST playlist you selected, press and hold on the PLAYLISTS menu. More detail here under "Go back to last playlist menu".
Posted by: Boelle

Re: direct jump to song/playlist - 27/01/2008 18:56

Originally Posted By: mlord
Oh, now you did say you have exported the database. But exported to where?


i exported it to a .csv file and then imported it in excel...

if i could jump to a fid number it would be nice... going to assign pin's for each track would take a loooonnnggg time
Posted by: mlord

Re: direct jump to song/playlist - 27/01/2008 19:14

Originally Posted By: Boelle
Originally Posted By: mlord
Oh, now you did say you have exported the database. But exported to where?


i exported it to a .csv file and then imported it in excel...

So you must be just printing it out as a hand reference, rather than using another computer to select/queue tunes, right?

Quote:

if i could jump to a fid number it would be nice... going to assign pin's for each track would take a loooonnnggg time

I'll think about it. I know what/how to do it, just not sure if I'll get round to it.

Cheers
Posted by: Boelle

Re: direct jump to song/playlist - 28/01/2008 04:42

Originally Posted By: mlord
So you must be just printing it out as a hand reference, rather than using another computer to select/queue tunes, right?


100% right on this one.. a hand ref. if more easy for me rather than going to have a laptop/pda with me in the car just to select tunes

Originally Posted By: mlord

I'll think about it. I know what/how to do it, just not sure if I'll get round to it.


it's no rush, but would certainly be nice :-)
Posted by: Roger

Re: direct jump to song/playlist - 28/01/2008 07:26

Originally Posted By: Boelle
a hand ref. if more easy for me rather than going to have a laptop/pda with me in the car just to select tunes


One of the better features of the empeg is the ease with which you can browse for and search for music. Care to explain why this isn't working for you?
Posted by: Boelle

Re: direct jump to song/playlist - 28/01/2008 10:48

the other way could just be nice... we are all diff.
Posted by: canuckInOR

Re: direct jump to song/playlist - 28/01/2008 17:24

Originally Posted By: Boelle
the other way could just be nice... we are all diff.

Except me... I'm patch.

wink
Posted by: mlord

Hijack v480: new FidEntry feature for direct tune/playlist access - 28/01/2008 22:50

Hijack v480 is now available.

New in this release:
  • crash-recovery may now be more reliable.
  • extra stalk debug info.
  • new FidEntry fake button code.
  • removed AM,FM entries from default PopUp0, replaced with Tuner.
  • added FidEntry to default PopUp0.

The FidEntry function is the major new feature, that perhaps 3 of us will enjoy. smile

By default, it can be found on Hijack's PopUp0 menu, which can be assigned to the knob using the Hijack menu Knob Press Redefinition feature. Once that is done, a short tap of the knob brings up PopUp0, and the knob can rotate to peruse the sub-menu. This is nothing new.

Alternately, one can use the ir_translate feature to assign the FidEntry function to any available button, such as the '4' on the RioRemote, with something like this in the config.ini file:

; Not tested by me:
[ir_translate]
Four.M=FidEntry.N


Once FidEntry is active, use the digits on the remote to enter the complete desired fid number, in hex. The next/prev buttons work as expected, as does the knob and all of the other usual suspects. Press Menu/Ok (or the Knob) when done, and your FID will play (if valid).

Users of the Kenwood remote can substitute DNPP for the Menu/Ok button, as usual.

Cheers
Posted by: sein

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 29/01/2008 12:07

Originally Posted By: mlord
  • extra stalk debug info.

Cool, thanks Mark!
Posted by: peter

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 29/01/2008 13:17

Originally Posted By: mlord
The FidEntry function is the major new feature, that perhaps 3 of us will enjoy. smile

Still sounds like more than use the Receiver Edition. smile

Peter
Posted by: andy

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 29/01/2008 16:23

Originally Posted By: peter

Still sounds like more than use the Receiver Edition. smile

If only it had been the Empeg Edition for the Receiver, rather than the other way around wink
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 01/02/2008 20:07

works nice with the fid entry, but the fid number in the file that i export from emplode is not hex.. the file looks like this:

18 playlist 12 Stones - 12 Stones
19 tune Crash 12 Stones

is it possible that the next version is with "normal" numbers?
Posted by: peter

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 01/02/2008 23:31

Originally Posted By: andy
If only it had been the Empeg Edition for the Receiver, rather than the other way around wink

Don't think I didn't think about it, but the IDE just isn't brought out to pins.

Peter
Posted by: mlord

Hijack v481: the Ten-Fingered Ape edition. - 02/02/2008 00:22

Originally Posted By: Boelle
works nice with the fid entry, but the fid number in the file that i export from emplode is not hex.. the file looks like this:

18 playlist 12 Stones - 12 Stones
19 tune Crash 12 Stones

is it possible that the next version is with "normal" numbers?


Well, to me, around computers hexadecimal notation is normal numbers, so whatever could you be getting at?
Oh.. maybe you're still stuck on that ancient ape counting system.. wink

So, yeah, stand by for Hijack v481, which adds one more thing, just for this situation.

In config.ini, under the [hijack] section, add this one line:

decimal_fidentry=1
Posted by: mlord

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 02/02/2008 00:27

Originally Posted By: Boelle
works nice with the fid entry, but the fid number in the file that i export from emplode is not hex.. the file looks like this:

18 playlist 12 Stones - 12 Stones
19 tune Crash 12 Stones


Those numbers cannot be used at all. They have no correspondence to how the data is actually referenced in software.

You will have to fix your exports to include the "FID" values (File IDentifiers), which is what FidEntry and the player software all use.

Cheers
Posted by: mlord

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 02/02/2008 00:36

Originally Posted By: mlord
Originally Posted By: Boelle
works nice with the fid entry, but the fid number in the file that i export from emplode is not hex.. the file looks like this:

18 playlist 12 Stones - 12 Stones
19 tune Crash 12 Stones


Those numbers cannot be used at all. They have no correspondence to how the data is actually referenced in software.

You will have to fix your exports to include the "FID" values (File IDentifiers), which is what FidEntry and the player software all use.


Ahh.. I see where that came from. The CSV exports from Emplode have purely fictional "FID" values for some odd reason. But the XML exports do indeed have the real/correct FIDs (and in hex!!), so you'll just have to use those instead.

Cheers
Posted by: mlord

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 02/02/2008 00:39

Originally Posted By: mlord

Ahh.. I see where that came from. The CSV exports from Emplode have purely fictional "FID" values for some odd reason. But the XML exports do indeed have the real/correct FIDs (and in hex!!), so you'll just have to use those instead.


Or use JEmplode (instead of Emplode) to do the CSV export, in which case you'll get real (decimal, ugh) FIDs as well.
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 02/02/2008 08:11

thanks.... odd that it use something fictional...but thanks anyway.. will stick to XML

in ir translate i use this:

AD5219=FidEntry.N ; search

it work, i use a pioneer steering wheel remote

the complete ir translate section looks like this:

[ir_translate]
; The shift key
AD520C.L=20df03.L,null ; press and hold "ATT" = standby
AD520C=null.S ; "ATT" = Shift Key
;
; These are needed to ignore the "Func" button sending out a bogus code
AF5067=null
80AF5067=null
;
; Search macros
; used when shift-lock is active and long press
AD5212.LS=20df0e ; "1" PIN
AD5243.LS=20df0e,20df0e ; "6" year
AD520A.LS=20df0e,20df0e,20df0e ; "9" title
AD521A.LS=20df0e,20df0e,20df0e,20df0e ; "2" artist
AD5241.LS=20df0e,20df0e,20df0e,20df0e,20df0e ; "5" genre
AD5242.LS=20df0e,20df0e,20df0e,20df0e,20df0e,20df0e ; "3" source
;
; Numbers
; Shift lock active, short press
AD5212.S=20df00 ; 1
AD521A.S=20df01 ; 2
AD5242.S=20df02 ; 3
AD5240.S=20df04 ; 4
AD5243.S=20df05 ; 5
AD5241.S=20df06 ; 6
AD5219.S=20df08 ; 7
AD520D.S=20df09 ; 8
AD520A.S=20df0a ; 9
AD520B.S=20df0d ; 0
;
; volume up / down
; ??? AD520A.B
; ??? AD520B.A
AD520A=20df13,20df13,20df13,20df13,20df13
AD520B=20df17,20df17,20df17,20df17,20df17
;
; The "source button"
AD520D.LT=20df07,null ; AM/FM in tuner
AD520D.LM=20df0B,null ; select mode in player
AD520D.T=b9461e ; switch to player from tuner
AD520D.A=b9461e ; switch to player from Aux
AD520D.M=b9461c ; switch to tuner from player
;
; Setting the Prev/Next buttons to emulate front-panel allows
; press-and-hold to do manual tuning in tuner mode
AD5242.T=4;
AD5243.T=2;
AD5242.LM=b9460c.L ;Prev Track / Rewind
AD5243.LM=b9460d.L ; Next Track / Fast Forward
AD5242.M=20df10 ; Prev Track
AD5243.M=20df11 ; Next Track ;
;
; Normal functions
AD5212.L=20df15,null ; press and hold cancel = visual (makes no sense)
AD5212=20df0c ; cancel
AD521A.L=20df12.L ; menu/OK
AD521A=20df12 ; menu/OK
AD5240.L=20df16.L ; play
AD5240=20df16 ; play
AD5241.L=20df14.L ; info
AD5241=20df14 ; info
AD5219=FidEntry.N ; search
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 02/02/2008 09:07

for some reason the xml document that i can export is not in the correct format, neither IE or openofice can open it to some easy readable text... it looks like this:

<tune id="x65f0">
<attribute name="duration">209794</attribute>
<attribute name="skip_count">5396</attribute>
<attribute name="bitrate">fs192</attribute>
<attribute name="genre">Soundtrack</attribute>
<attribute name="file_id">8</attribute>
<attribute name="type">tune</attribute>
<attribute name="length">5035219</attribute>
<attribute name="codec">mp3</attribute>
<attribute name="artist">Michael Kamen</attribute>
<attribute name="offset">146</attribute>
<attribute name="tracknr">8</attribute>
<attribute name="play_count">0</attribute>
<attribute name="ctime">1200511632</attribute>
<attribute name="play_last">0</attribute>
<attribute name="year">1993</attribute>
<attribute name="marked"></attribute>
<attribute name="source">The Three Musketeers</attribute>
<attribute name="drive">0</attribute>
<attribute name="samplerate">44100</attribute>
<attribute name="title">Cannonballs (Rigadoon)</attribute>
</tune>
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 02/02/2008 09:40

if i could just get the xml data converted to cvs format....

EDIT: did some google for a converter, no luck... what i want is to be able to sort the file so it looks some like this:

18 playlist 12 Stones - 12 Stones
19 tune Crash 12 Stones
20 tune Broken 12 Stones
21 tune The Way I Feel 12 Stones
22 tune Open Your Eyes 12 Stones
23 tune Home 12 Stones
24 tune Fade Away 12 Stones
25 tune Back Up 12 Stones
26 tune Soulfire 12 Stones
27 tune In My Head 12 Stones
28 tune Running Out Of Pain 12 Stones
29 tune My Life 12 Stones
30 tune Eric's Song 12 Stones
31 playlist Ace Of Base - Happy Nation
32 tune Voulez-Vous Danser Ace Of Base
33 tune All That She Wants Ace Of Base
34 tune Münchhausen (Just Chaos) Ace Of Base
35 tune Happy Nation Ace Of Base
36 tune Waiting For Magic Ace Of Base
37 tune Fashion Party Ace Of Base
38 tune Wheel Of Fortune Ace Of Base
39 tune Dancer In A Daydream Ace Of Base
40 tune My Mind (Mindless Mix) Ace Of Base
41 tune Wheel Of Fortune (Original Club Mix) Ace Of Base
42 tune Dimension Of Depth Ace Of Base
43 tune Young And Proud Ace Of Base
44 tune All That She Wants (Banghra Version) Ace Of Base

the first number should just be the actual fid number in hex
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 02/02/2008 11:22

just to be ahead of others... sorry i'm so stupid that i overlook if i can choose free between hex and decimal
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 02/02/2008 11:44

cant use decimal input for sure, i did an export to csv foramt from Jemplode... it's the same as export from emplode...

my complete config.ini is:

[Options]
Name=Empeg
[User Info]
Email=
Phone=
Name=Tina Andersen & Bo Herrmannsen
[sense]
muteaction=1
mute=-1
[power]
off_timeout=60000
[display]
play_count=1
visual_names=1
caching=1
[kenwood]
disabled=0
[menu]
quit=0
sort_playlist=1
[shuffle]
deduplicate=1
[hush]
hushpercent=20
[volumecap]
enabled=0
[ramp]
disabled=0
[controls]
stalk_side=none
[tuner]
region=europe
[aux]
source=
title=
artist=
[synchronise]
seq_num=27
[wendy]
flag_amount=0
[custom]
wendy=
[searches]
amount=0
[VisualFavourites_AM]
count=0
[VisualFavourites_AUX]
count=0
[VisualFavourites_DSP]
count=0
[VisualFavourites_FM]
count=0

[hijack]
decimal_fidentry=1

[ir_translate]
; The shift key
AD520C.L=20df03.L,null ; press and hold "ATT" = standby
AD520C=null.S ; "ATT" = Shift Key
;
; These are needed to ignore the "Func" button sending out a bogus code
AF5067=null
80AF5067=null
;
; Search macros
; used when shift-lock is active and long press
AD5212.LS=20df0e ; "1" PIN
AD5243.LS=20df0e,20df0e ; "6" year
AD520A.LS=20df0e,20df0e,20df0e ; "9" title
AD521A.LS=20df0e,20df0e,20df0e,20df0e ; "2" artist
AD5241.LS=20df0e,20df0e,20df0e,20df0e,20df0e ; "5" genre
AD5242.LS=20df0e,20df0e,20df0e,20df0e,20df0e,20df0e ; "3" source
;
; Numbers
; Shift lock active, short press
AD5212.S=20df00 ; 1
AD521A.S=20df01 ; 2
AD5242.S=20df02 ; 3
AD5240.S=20df04 ; 4
AD5243.S=20df05 ; 5
AD5241.S=20df06 ; 6
AD5219.S=20df08 ; 7
AD520D.S=20df09 ; 8
AD520A.S=20df0a ; 9
AD520B.S=20df0d ; 0
;
; volume up / down
; ??? AD520A.B
; ??? AD520B.A
AD520A=20df13,20df13,20df13,20df13,20df13
AD520B=20df17,20df17,20df17,20df17,20df17
;
; The "source button"
AD520D.LT=20df07,null ; AM/FM in tuner
AD520D.LM=20df0B,null ; select mode in player
AD520D.T=b9461e ; switch to player from tuner
AD520D.A=b9461e ; switch to player from Aux
AD520D.M=b9461c ; switch to tuner from player
;
; Setting the Prev/Next buttons to emulate front-panel allows
; press-and-hold to do manual tuning in tuner mode
AD5242.T=4;
AD5243.T=2;
AD5242.LM=b9460c.L ;Prev Track / Rewind
AD5243.LM=b9460d.L ; Next Track / Fast Forward
AD5242.M=20df10 ; Prev Track
AD5243.M=20df11 ; Next Track ;
;
; Normal functions
AD5212.L=20df15,null ; press and hold cancel = visual (makes no sense)
AD5212=20df0c ; cancel
AD521A.L=20df12.L ; menu/OK
AD521A=20df12 ; menu/OK
AD5240.L=20df16.L ; play
AD5240=20df16 ; play
AD5241.L=20df14.L ; info
AD5241=20df14 ; info
AD5219=FidEntry.N ; search


if i export to xml i just opens in openoffice writer, should it not open in calc? in IE it just shows the same as in openoffice writer

what can i have done wrong?
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 02/02/2008 11:48

while i remember.. i have wondered why:

AD520C.L=20df03.L,null ; press and hold "ATT" = standby


does not shut the player down, every other of the ir translateoption does work
Posted by: mlord

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 02/02/2008 14:45

Originally Posted By: Boelle
cant use decimal input for sure, i did an export to csv foramt from Jemplode... it's the same as export from emplode...


Oh shoot.. yes, you are correct. Darn.

It is really easy to convert the XML back to CSV, though,
if your computer can run AWK or PERL scripts.

?
Posted by: mlord

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 02/02/2008 15:02

Originally Posted By: mlord

It is really easy to convert the XML back to CSV, though,
if your computer can run AWK or PERL scripts.


For example, if you have gawk available, then just pipe the .xml output from Emplode through this script (attached).
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 02/02/2008 20:55

hmm.. will have to look in to that, i'm running win xp home
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 03/02/2008 13:33

damn.. anyone knowing if this would be fixed in Jemplode? so that both the fictional and hex numbers are exported? i use the fictional numbers for sorting the csv file
Posted by: peter

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 03/02/2008 15:43

Originally Posted By: mlord
purely fictional "FID" values

Multiply by sixteen.

Peter
Posted by: mlord

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 03/02/2008 17:11

Originally Posted By: peter
Originally Posted By: mlord
purely fictional "FID" values

Multiply by sixteen.

Peter


Of course! (duh.. I should have noticed that earlier)
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 03/02/2008 20:16

so i just have to multiply every fid from emplode with 16?
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 04/02/2008 12:51

i tried to multiply fid 18 with 16.. 288 is what my basic school math gives me in return....

but the player writes 1 for the first digit during fid entry no matter if i push 1 or 3 or 8... (using the rio remote)
Posted by: mlord

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 04/02/2008 14:07

Originally Posted By: Boelle
i tried to multiply fid 18 with 16.. 288 is what my basic school math gives me in return....

but the player writes 1 for the first digit during fid entry no matter if i push 1 or 3 or 8... (using the rio remote)


Whoops.. my typo when adding the decimal FID entry.
Hijack v482 will be out shortly with that fixed.

Meanwhile, you can turn the Knob to correct that digit..

-ml
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 05/02/2008 11:32

np.. i will wait for this... and thanks for helping us that only understand monkey numbers
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 05/02/2008 22:26

i might be pushing it.. but is it possible to make it so that the fid number entered is multiplyed by 16?

not that is much trouble to multiply the fids in the csv

other than that the fidentry thing works like a charm
Posted by: mlord

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 06/02/2008 00:03

Originally Posted By: Boelle
i might be pushing it.. but is it possible to make it so that the fid number entered is multiplyed by 16?

not that is much trouble to multiply the fids in the csv

other than that the fidentry thing works like a charm


Good. I'm going to leave it as-is, so you should probably arrange for your CSV data to be multiplied by 16.

Cheers
Posted by: mlord

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 07/02/2008 17:10

Originally Posted By: Boelle

in ir translate i use this:

AD5219=FidEntry.N ; search

it work, i use a pioneer steering wheel remote


You could change that to this:

AD5219.M=AD5219.U,FidEntry.N ; FidEntry when not in a menu


Cheers
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 11/02/2008 23:35

was just working on the csv file... np problem until i spinned the mouse wheel past fid 2090 ( or close to that) and saw that the export was screwed up a bit... then i i looked down some more and at the end i was just one playlist fid after another... not the change between playlist and tune fids as the rest of the csv file... is this normal? i could e-mail a copy of the export... i could even set up my router so that the player could be reached on the internet via emplode / jemplode
Posted by: mlord

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 12/02/2008 01:39

Assuming you never deleted anything, the FIDs are assigned in numerical order as you add tunes and create playlists.

So for many of us, that means we see Albums and their tunes grouped together early on, and then more complex/custom playlists at/near the end.

cheers
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 13/02/2008 00:07

no i started with empty drives.. and in emplode i choosed to enable import m3u playlist files... then i just added my winamp playlist's...
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 15/03/2008 01:22

sorry for beeing "away"... but simply did not have the time...

how is it that a export is not the same all the way.. in the beginning it is one playlist fid followed by the songs of that playlist... but in my case the end of the export is pure playlist...

would it help to comment on this if you had a copy of the export?

the way i put songs on the player is to enable winamp playlist import and then i just drop the winamp playlists in emplode

Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 09/05/2008 08:51

anyone cracked this "nut" ?

i could reaaly use a fix on the export so that i more easy could print the playlist on paper and bring it along in the car

together with the fid entry feature it would make it a lot more easy for other people to just go through the printed playlist and select songs by giving me the fid number


i had an idea to hunt down the problem... i could hook the unit up my local network and forward the port that emplode/jemplode uses to the unit, so that anyone could connect to the unit to help solve this "maybe" simple problem.. i just don't know the port number

Posted by: mlord

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 09/05/2008 11:25

Originally Posted By: Boelle
how is it that a export is not the same all the way.. in the beginning it is one playlist fid followed by the songs of that playlist... but in my case the end of the export is pure playlist...


In general, the FID numbers are assigned sequentially, as you create/upload playlists and tunes.

So if you were to reformat the player, then upload 5000 tunes, and then create all of you playlists, what you would see would be
  • The master playlist (FID 100h)
  • 5000 tunes, numbered sequentially
  • Your own playlists, numbered sequentially after the tunes.

Also, whenever you delete a tune or playlist, the FID for it is freed for re-use, and will be assigned to the next tune/playlist that you upload.

Cheers
Posted by: Roger

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 09/05/2008 12:26

Originally Posted By: mlord
Also, whenever you delete a tune or playlist, the FID for it is freed for re-use, and will be assigned to the next tune/playlist that you upload.


But not necessarily during the same session. I seem to recall that emplode doesn't release the FIDs for re-use until you synchronise the changes in your current session. I don't know what JEmplode does.
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 09/05/2008 23:43

Originally Posted By: mlord
So if you were to reformat the player, then upload 5000 tunes, and then create all of you playlists, what you would see would be
  • The master playlist (FID 100h)
  • 5000 tunes, numbered sequentially
  • Your own playlists, numbered sequentially after the tunes.

Also, whenever you delete a tune or playlist, the FID for it is freed for re-use, and will be assigned to the next tune/playlist that you upload.

Cheers


i just drop the winamp playlist in to emplode and it does the rest...
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 11/05/2008 15:09

is it wrong just to enable import of winamp playlist files and then drag&drop them in to emplode?
Posted by: peter

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 11/05/2008 15:28

Originally Posted By: Boelle
is it wrong just to enable import of winamp playlist files and then drag&drop them in to emplode?

No, it's perfectly right. I'm still not sure what problem you're reporting with it. If you're complaining that the exported list isn't in depth-first order, then I think you're expecting too much of it. Don't forget that a song, or a playlist, can appear in several different parent playlists. The exported list, though, lists each song and playlist only once each. So it can't be the same as the depth-first order; however, surely it wouldn't be hard for a small program to generate the depth-first listing from the exported list?

Peter
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 11/05/2008 15:36

the problem is that most of the export is sorted right..

first one playlist and then the tunes.. but over 2/3 down it gives me a big stack of playlists

i dont use parent playlist, i drop one playlist for each cd/album that i add in emplode

would it help a lot if you can connect to my player from the internet?

have to go to work but is back in about 7 hours

regards bo
Posted by: tfabris

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 11/05/2008 15:44

Originally Posted By: Boelle
is it wrong just to enable import of winamp playlist files and then drag&drop them in to emplode?


Not at all. The only bad thing happens when you drop both a folder tree full of song files, *and* some playlist files contained within those folders, onto emplode. Once upon a time, that would cause each song to be installed onto the player twice, thus wasting disk space.

I'm not sure if it still does that in 2.0. Even if it doesn't, even if it duplicate-checks in 2.0 and discards the duplicates, at the worst then you're making the import take twice as long as it needs to take.
Posted by: tfabris

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 11/05/2008 16:04

I've looked back over this thread, and I'm a bit worried that all of the trouble you went to might have been because of a mistake I made very early on in the thread.

As I understand it, you want to be able to directly call up a playlist on the player without scrolling though menus. Right? So you've gone to a lot of trouble to print out a list of FIDs and then Mark implemented a new feature to let you punch in the FID directly.

All this time I'm thinking that you can find stuff easier on the player with its alphanumeric search feature, so why go to all the trouble of printing out a list. I'm worried that maybe it's because I said I didn't think there was an alphanumeric *playlist* search. I just checked, and there is. You press the Search button enough times on the remote and there it is.

So could all of the above be made a lot easier by just pressing the "search" button on the remote enough times to get to the search by playlists feature?
Posted by: peter

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 11/05/2008 16:27

Originally Posted By: Boelle
the problem is that most of the export is sorted right..

first one playlist and then the tunes.. but over 2/3 down it gives me a big stack of playlists

No, the problem is that some of the export is sorted in a way which led you to think it was a full depth-first playlist-order listing. Which it isn't, was never intended to be, and in the general case cannot possibly be (not while listing each FID only once).

If the output had been more mixed-up right from FID 100, then you would have realised much sooner that this is a "problem" that can't be solved at import time, but only by you (or some other generous person) writing a small program that takes the exported data and generates a depth-first playlist-order listing of it, repeating FIDs when necessary, a bit like this thing. (I'm assuming that the exported CSV does actually contain the playlist structure, i.e. the child-FID lists for each playlist -- I don't have an Emplode install around to check.)

Peter
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 12/05/2008 06:26

Originally Posted By: tfabris
So could all of the above be made a lot easier by just pressing the "search" button on the remote enough times to get to the search by playlists feature?


first I don't like strangers monkey with my empeg, second it's not safe to use the search feature as it requies me to take the eyes of the road, and even a sec can be fatal.

with the FID entry thing i don't have to look at the unit
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 12/05/2008 06:33

Originally Posted By: peter
Originally Posted By: Boelle
the problem is that most of the export is sorted right..

first one playlist and then the tunes.. but over 2/3 down it gives me a big stack of playlists

(I'm assuming that the exported CSV does actually contain the playlist structure, i.e. the child-FID lists for each playlist -- I don't have an Emplode install around to check.)

Peter


since i have to check drive for error and such i think i will take the player indoor in 2 days time and start with a format and drive check. then i will add songs as i use to and then do the export and place a copy here

could a workaround be to only drop 10 winamp playlists in emplode at a time until all music is uploaded?

i only drop the playlist file itself not songs (i use the search feature in winxp so that i don't get any .mp3 files only .m3u)
Posted by: wfaulk

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 12/05/2008 11:50

Originally Posted By: boelle
it's not safe to use the search feature as it requies me to take the eyes of the road, and even a sec can be fatal.

with the FID entry thing i don't have to look at the unit

But surely you have to take your eyes off the road to examine your printed list.

Or are you saying that your friends can look at the list and then tell you which number to type in?
Posted by: mlord

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 12/05/2008 13:17

Originally Posted By: wfaulk
Originally Posted By: boelle
it's not safe to use the search feature as it requies me to take the eyes of the road, and even a sec can be fatal.

with the FID entry thing i don't have to look at the unit

But surely you have to take your eyes off the road to examine your printed list.

Or are you saying that your friends can look at the list and then tell you which number to type in?


That could work. Here, I do find it much easier to have a printed list of the tunes, for passengers to browse and select from, than trying to explain the software interface to them.

Think of the printout as a multi-thousand line external display for the empeg, compared with the single-line display used by the playlist programmer in the software. And the external display is much more readable in bright light, too. smile

EDIT: The empeg software interface is really good when one *knows* what they want to listen to. But it's not great for browsing the collection to "find something suitable".

That's a difficult thing to crack on any small display.

Cheers
Posted by: tfabris

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 12/05/2008 13:37

Originally Posted By: Boelle
could a workaround be to only drop 10 winamp playlists in emplode at a time until all music is uploaded?


If I'm understanding your goal correctly, I don't think that would help at all. I think you're placing too much faith in the ability of the FID order to be anything other than random. I think a better bet is to get all the songs and playlists into the player any way you can, then put your CSV into Excel and do some processing on the list so that it prints out in the order you want it to.
Posted by: peter

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 12/05/2008 13:38

Originally Posted By: mlord
Think of the printout as a multi-thousand line external display for the empeg, compared with the single-line display used by the playlist programmer in the software. And the external display is much more readable in bright light, too. smile

EDIT: The empeg software interface is really good when one *knows* what they want to listen to. But it's not great for browsing the collection to "find something suitable".

Completely agreed. I find I do just the same thing even at home.

Peter
Posted by: andy

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 12/05/2008 13:43

Having album art on the new Slim Squeezebox Controller screen really helps with browsability (that and being able to see 4 album titles + covers at a time).
Posted by: wfaulk

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 12/05/2008 14:30

Originally Posted By: mlord
The empeg software interface is really good when one *knows* what they want to listen to. But it's not great for browsing the collection to "find something suitable".

I can understand having a list. My question was along the lines of how it helped to not look away from the road.
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 12/05/2008 20:35

Originally Posted By: wfaulk
Originally Posted By: boelle
it's not safe to use the search feature as it requies me to take the eyes of the road, and even a sec can be fatal.

with the FID entry thing i don't have to look at the unit

But surely you have to take your eyes off the road to examine your printed list.

Or are you saying that your friends can look at the list and then tell you which number to type in?


yep... it's the friends the list is intended for

i can enter the fid number with no problem once i have done it a few times
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 12/05/2008 20:43

Originally Posted By: tfabris
Originally Posted By: Boelle
could a workaround be to only drop 10 winamp playlists in emplode at a time until all music is uploaded?


I think a better bet is to get all the songs and playlists into the player any way you can, then put your CSV into Excel and do some processing on the list so that it prints out in the order you want it to.


that is another problem, when i import in to excel the list is sorted ok, but then 2/3 down i have a big bunch of playlist FID's that i don't know where to put

i think i will post the CSV here tomorrow so you can see what i meen
Posted by: Roger

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 13/05/2008 12:37

Originally Posted By: Boelle
i think i will post the CSV here tomorrow so you can see what i meen


The attachement contains a couple of programs that I quickly hacked together. You'll need .NET 2.0 (or probably Mono, but I've not tested that, yet).

They're not integrated yet, but I'll sort that out if there's enough interest.

They are all console applications, as follows:

  • FindEmpeg, which looks for empegs on the local network. Stop it by pressing Ctrl+C.
  • EmpegGet, which given the IP address found above, downloads the database files to the local directory. It assumes that you've got Hijack installed, and that the FTP server is enabled.
  • EmpegDump loads the database files from above and displays the empeg database in depth-first order. Currently it's in text format, but I'm investigating HTML or XPS output formats.


Let me know how you get on.

Oh yeah, and they've had about 4 hours total development effort, so they're a little rough around the edges. Feedback is welcomed.
Posted by: andy

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 13/05/2008 12:39

Is something stopping you from sleeping at the moment wink
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 13/05/2008 20:08

thanks roger...

how is the syntax for running the programs? i will have a look at it within the next 2 days
Posted by: Roger

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 14/05/2008 04:41

Originally Posted By: Boelle
thanks roger...

how is the syntax for running the programs? i will have a look at it within the next 2 days


See the empeg-tools page on my website.

Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 29/01/2009 21:15

sorry for answering now... have not been here for quite some time due to personal problems...

running the empeg-get gives me these error.. sorry they are in danish:

Ikke-afviklet undtagelse: System.IO.FileNotFoundException: Filen 'C:\Documents a
nd Settings\-bo-\Skrivebord\empeg-tools_1\tags' blev ikke fundet.
Filnavn: 'C:\Documents and Settings\-bo-\Skrivebord\empeg-tools_1\tags'
ved System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
ved System.IO.FileStream.Init(String path, FileMode mode, FileAccess access,
Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions
options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
ved System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share, Int32 bufferSize, FileOptions options)
ved System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean dete
ctEncodingFromByteOrderMarks, Int32 bufferSize)
ved System.IO.StreamReader..ctor(String path, Encoding encoding)
ved EmpegDump.EmpegDatabase..ctor()
ved EmpegDump.Program.Main()
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 29/01/2009 21:28

could it be that some future version of hijack would have a playlist for printing (via webinterface) with each playlist grouped something like this? of course the FID numbers have to be there... it's a no rush thing for me.. but would be very nice to have

album 1
----------
tune 1
tune 2
...
...

album 2
---------
tune 1
tune 2
....
....
Posted by: tman

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 29/01/2009 22:59

You could export a CSV file of everything in your empeg using Emplode. Somebody made a Word document + associated macro that reformatted it into a more human readable format. As for where that file is now...

You're asking for a lot of features to be built into the kernel itself. You can't jettison this code and you basically lose whatever memory that code took up.
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 29/01/2009 23:01

well i'm not an expert in programming... just got a lot of ideas...
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 29/01/2009 23:03

btw... that word thing... would that work in openoffice too? cant wait to get my hands on it
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 30/01/2009 00:15

found the word thing:

http://www.riocar.org/download.php?op=getit&lid=54

but the link is dead... and it is not clear if the FID number are on the output
Posted by: mlord

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 30/01/2009 00:59

Originally Posted By: Boelle
found the word thing:

http://www.riocar.org/download.php?op=getit&lid=54

but the link is dead... and it is not clear if the FID number are on the output

The BBS site name (empeg.comms.net) has changed since that link was created. Here's the empegbbs.com version of the link.

Cheers
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 30/01/2009 06:54

thanks... but when i try to run the macros in openwriter nothing happens...

there are 3 macros... which one should i use?
Posted by: Roger

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 30/01/2009 07:21

Did you run EmpegGet before running EmpegDump? Did it create the 'tags', 'database3' and 'playlist' files?
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 30/01/2009 07:53

yah i did, but it gave me errors (look a few posts up)

now, i'm trying to use the word doc, just to test it out.. but in openwriter nothing happens when i run macros
Posted by: Roger

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 30/01/2009 13:04

Originally Posted By: Boelle
yah i did, but it gave me errors (look a few posts up)


That error came from EmpegDump, not EmpegGet.
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 30/01/2009 13:32

yeah, i made an mistake... but still get a error at the end

00007290: U2 - The Best Of 1990-2000 & B-Sides
000072a0: Even Better Than The Real Thing
000072b0: Mysterious Ways
000072c0: Beautiful Day
000072d0: Electrical Storm (William Orbit Mix)
000072e0: One
000072f0: Miss Sarajevo
00007300: Stay (Faraway, So Close!)
00007310: Stuck In A Moment You Can't Get Out Of
00007320: Gone (New Mix)
00007330: Until The End Of The World
00007340: The Hands That Built America (Theme From 'Gangs Of New York')
00007350: Discothèque (New Mix)
00007360: Hold Me, Thrill Me, Kiss Me, Kill Me
00007370: Staring At The Sun (New Mix)
00007380: Numb (New Mix)
00007390: The First Time

Ikke-afviklet undtagelse: System.Collections.Generic.KeyNotFoundException: Den g
ivne nøgle var ikke til stede i ordbogen.
ved System.ThrowHelper.ThrowKeyNotFoundException()
ved System.Collections.Generic.Dictionary`2.get_Item(TKey key)
ved EmpegDump.PlaylistChildEnumerator.get_Current()
ved EmpegDump.Program.Visit(Int32 indent, Entry entry)
ved EmpegDump.Program.Main()

C:\Documents and Settings\-bo-\Skrivebord\5594>

but other than that it runs very fast... only missing some kind of file output.. a .txt file should do

and maybe to get the FID numbers in normal "monkey" numbers
Posted by: Roger

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 30/01/2009 15:39

Originally Posted By: Boelle
System.Collections.Generic.KeyNotFoundException


Your database appears to be slightly corrupted -- one of your playlists references a FID that doesn't exist. If you connect to your player with emplode, it'll fix it, but you'll need to press the Sync button.

I'll look at making the program a bit more robust, but I'm going snowboarding in the morning, so you'll have to be patient.

Quote:
only missing some kind of file output.. a .txt file should do


Redirect the output: EmpegDump > file.txt

Quote:
and maybe to get the FID numbers in normal "monkey" numbers


I'll fix this when I do the other changes.

At the moment, it was more just a proof-of-concept. I'll look at adding other output formats as well.
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 30/01/2009 16:01

Originally Posted By: Roger

Your database appears to be slightly corrupted -- one of your playlists references a FID that doesn't exist. If you connect to your player with emplode, it'll fix it, but you'll need to press the Sync button.


Allready did that just before retrying the dumb/get routine


Originally Posted By: Roger
I'll look at making the program a bit more robust, but I'm going snowboarding in the morning, so you'll have to be patient.


No rush... just dont fall of the board and break bones :-)


Originally Posted By: Roger
Redirect the output: EmpegDump > file.txt


Thanks... the textfile is nice... how do i check if all is there? the error might happen just as things are done


Originally Posted By: Roger
I'll fix this when I do the other changes.


thanks a lot man... laugh


Originally Posted By: Roger
At the moment, it was more just a proof-of-concept. I'll look at adding other output formats as well.


I guess most would do with txt... but of course a html version could be nice
Posted by: Roger

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 30/01/2009 17:16

Originally Posted By: Boelle
I guess most would do with txt... but of course a html version could be nice


I'll probably generate XML and provide an example XSL transform to turn it into HTML...
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 30/01/2009 18:30

keep an option for txt... but an layout for the xml/html could be

fid - album title1

fid - track title1
fid - track title2

fid - album title2
Posted by: Boelle

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 19/02/2009 14:32

here is what i had in mind for bringing in the car... then i would take the org. rio remote and program one of the buttons to jump direct to fid entry.. then the ones i have besides me simply graps the list and find the fid number and punch that on the remote.

far more safe than haveing me to look at the display or remote to get the tune they want
Posted by: Daria

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 02/07/2011 03:00

Originally Posted By: mlord
Hijack v480 is now available.

The FidEntry function is the major new feature, that perhaps 3 of us will enjoy. smile

By default, it can be found on Hijack's PopUp0 menu, which can be assigned to the knob using the Hijack menu Knob Press Redefinition feature. Once that is done, a short tap of the knob brings up PopUp0, and the knob can rotate to peruse the sub-menu. This is nothing new.

Alternately, one can use the ir_translate feature to assign the FidEntry function to any available button, such as the '4' on the RioRemote, with something like this in the config.ini file:

; Not tested by me:
[ir_translate]
Four.M=FidEntry.N


Once FidEntry is active, use the digits on the remote to enter the complete desired fid number, in hex. The next/prev buttons work as expected, as does the knob and all of the other usual suspects. Press Menu/Ok (or the Knob) when done, and your FID will play (if valid).



So the serial interface does:
#fid REPLACE
#fid- ENQUEUE
#fid+ APPEND
#fid! INSERT

and this patch does:
+ hijack_serial_rx_insert("#", 1, 1);
+ hijack_serial_rx_insert(fidx, d+1, 1);
+ hijack_serial_rx_insert("\n", 1, 1);

after filling fidx via either button presses or knob usage. while i think it would be more useful to directly be able to choose a mode, i can't think of a way to do that, whereas presumably the select mode button could be hijacked to change modes, with a default of replace if no press. if this sounds reasonable, would you accept a patch? i'm going to have to rebuild my toolchain as my last powerpc mac went to a new home shortly ago when that person's previous machine (a G3) started kernel panicing randomly every few days.
Posted by: mlord

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 02/07/2011 10:39

How about just having different virtual button codes to being the "fidentry" mode? One for REPLACE, one for ENQUEUE, one for APPEND, and yet another different on for INSERT?

Or maybe this method: if the first digit of the "fid" that you enter is a "0", then the next digit selects the mode, and the real fid then follows ?

Cheers
Posted by: mlord

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 02/07/2011 10:42

Oh, but if you are thinking of interactive use of this feature, rather than some other device being programmed to just send the fid stuff, then I suppose hittiung the SelectMode button does make sense.

In which case we can allow SelectMode anytime during fid entry, and it takes effect when the Menu/DNPP/Knob is pressed at the end of the sequence.

Easy change. Want that?

Cheers
Posted by: mlord

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 02/07/2011 10:44

Note also that fid entry can be in decimal (base10) rather than hex, for easier use from a remote control. There's a hijack setting for that.
Posted by: mlord

Hijack v510 Released: SelectMode works in FidEntry - 02/07/2011 11:15

Hijack v510 is now available.

This version adds support for hitting "SelectMode" during "FidEntry", to cycle among the possible methods for adding a FID to the current playlist.

Cheers
-ml
Posted by: Daria

Re: Hijack v480: new FidEntry feature for direct tune/playlist access - 02/07/2011 11:16

My own goal was programmatic use (the L5 doesn't have OBEX, so I can't reuse empire) but i realized that there's no need for my macros to use something other than an interactive user would do. (hence the "you always start in replace mode, and...")

so the goal would be (for me) that i have a macro which is insert this/these songs and it would do it by simply sending whatever button the user says is bound to FidEntry, the fid, the relevant number of mode selects, and ok.

if i can get this working right, my plan is to make a Palantir-style app for the iPhone using the L5 API.
Posted by: Daria

Re: Hijack v510 Released: SelectMode works in FidEntry - 02/07/2011 11:16

Originally Posted By: mlord
Hijack v510 is now available.

This version adds support for hitting "SelectMode" during "FidEntry", to cycle among the possible methods for adding a FID to the current playlist.

Cheers
-ml


Thanks! well, when the car (which has both the remote and the empeg) arrives back here, I will try it; my wife had to run away to sing at a funeral. :\
Posted by: mlord

Hijack v511 Released: Fixed b0rked version number - 02/07/2011 11:47

Hijack v511 is now available.

Same as v510, except for:

1. Fixed the version number; v510 was reporting v5010 (oops).
2. Removed some stray/leftover DSP debugging code.

Cheers
-ml
Posted by: Daria

Re: Hijack v511 Released: Fixed b0rked version number - 04/07/2011 16:49

If you enter the fix then hit select mode, the mode changes but the last number is repeated. If you enter a mode first, the first mode press does nothing, then it registers some but not all select mode presses, but in spite of showing INS, it did REP. I'll debug later
Posted by: mlord

Hijack v512 - 04/07/2011 20:01

Originally Posted By: dbrashear
If you enter the fix then hit select mode, the mode changes but the last number is repeated. If you enter a mode first, the first mode press does nothing, then it registers some but not all select mode presses, but in spite of showing INS, it did REP. I'll debug later


Okay, Hijack v512 is out now, with the "side effects" of SelectMode fixed during fidentry.

I don't know how replace, append, enqueue, and insert all differ though -- but Hijack sends the correct character for each.

Cheers
Posted by: Daria

Re: Hijack v512 - 04/07/2011 20:10

Ok, I'll try it when I get home and can reflash.
Posted by: Daria

Re: Hijack v512 - 06/07/2011 15:36

Replace replaces. Enqueue appends. Append inserts. Insert also replaces. No more bogus digits tho.
Posted by: Roger

Re: Hijack v512 - 06/07/2011 18:43

Originally Posted By: dbrashear
Replace replaces. Enqueue appends. Append inserts. Insert also replaces. No more bogus digits tho.


Just in case people were wondering what the difference between the modes is:

  • Replace should replace the entire running order with your selection. It'll interrupt the currently-playing track.
  • Insert should insert your selection immediately after the currently-playing track, so that it's not interrupted. The rest of the running order is left alone.
  • Append should put your selection at the end of the running order.
  • Enqueue should put your selection after anything that has already been enqueued, but otherwise at the front of the running order (immediately after the currently-playing track). Think of it as "DJ party request mode". The running order is left alone, but people's selections are queued up at the front.
Posted by: mlord

Re: Hijack v512 - 06/07/2011 20:43

Okay, Hijack is using these characters after the FID number when issuing the direct FID over the serial port:

"" -- nothing, "replace".
"-" -- dash, "enqueue".
"+" -- plus, "append".
"!" -- exclamation, "insert".

So I'd guess that those are incorrect.
Can somebody please correct me, and I'll correct hijack.

Thanks.
Posted by: mlord

Re: Hijack v512 - 06/07/2011 21:02

Nevermind.. found it.. a missing comma.

New version coming shortly.
Posted by: mlord

Hijack v513: finally, fidentry works again. - 06/07/2011 21:07

Originally Posted By: mlord
Nevermind.. found it.. a missing comma.
New version coming shortly.


Hijack v513 now available.
Posted by: Daria

Re: Hijack v513: finally, fidentry works again. - 06/07/2011 22:34

Think I can cram an Ethernet cable into the correct corner while in my dash? smile I'll try when I can. May be late Friday.
Posted by: Roger

Re: Hijack v513: finally, fidentry works again. - 07/07/2011 05:26

Originally Posted By: dbrashear
Think I can cram an Ethernet cable into the correct corner while in my dash? smile I'll try when I can. May be late Friday.


Mark did these natty little wooden blocks that fit into the back of the cage, with the cable and connector in the right place. I never got around to fitting mine, unfortunately smile

If you do it yourself, make sure you snap off the retaining clip on the RJ45 connector.
Posted by: mlord

Re: Hijack v513: finally, fidentry works again. - 07/07/2011 11:22

I remember those blocks! smile

MMmm.. wonder if there's still one kicking around here that I can use as a reference to make more. They're pretty simple, but it took a bit of effort to get the dimensions, slot, and holes in exactly the Right Places.

Something like that would make a great freebie for an empeg Meet.

Cheers
Posted by: Roger

Re: Hijack v513: finally, fidentry works again. - 07/07/2011 11:31

Originally Posted By: mlord
MMmm.. wonder if there's still one kicking around here that I can use as a reference to make more.


If you can't find one, I can dig mine out and send you the measurements.
Posted by: Daria

Re: Hijack v513: finally, fidentry works again. - 07/07/2011 16:44

Oh, the issue is not that I need the block, but that I'm many miles from home and thus have neither a power brick nor the means to dissembles my dash! But with measurements I'd probably find some time to do one in a few weeks!
Posted by: Daria

Re: Hijack v513: finally, fidentry works again. - 09/07/2011 10:35

New kernel does it.
[hijack]
decimal_fidentry=1
[ir_translate]
Four.LM=FidEntry.N

and i can now inject songs. So, on to the next step.
Posted by: Daria

Re: Hijack v513: finally, fidentry works again. - 13/07/2011 02:03

willing to add this to 514 when it happens? (minor assembler fun to comply with tighter demands from newer gas)
Posted by: mlord

Hijack v514 - 13/07/2011 10:58

Originally Posted By: dbrashear
willing to add this to 514 when it happens? (minor assembler fun to comply with tighter demands from newer gas)


Done.