Unoffical empeg BBS

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

Topic Options
#85871 - 07/04/2002 13:27 altering the search engine
Cypher
stranger

Registered: 16/02/2002
Posts: 38
Loc: Athens, Greece
I would like some help on altering some code in the Rio player.

What I want to do:
I have non-English (greek) characters in the ID3Tag, and I would like to alter the search engine from the remote control so as to also display the greek songs. For example when you press 1 you have listed all the songs that start from A, B or C. I would like to either add them to the songs that start from the 3 first letters of my alphabet, or to switch from english to greek search using a state "key" from the remote.

Where the problem is:
I can understand c++ very well and I can alter the aprropriate code files so as to have the result I need, BUT: I don't know much about linux and the way that rio works. I would like to know
a)which files do I have to alter
b)where will I get them from (Rio player or Internet)
c)Which compiler will I use to produce the new files
d)How will i upload them back to Rio player so as to make it functional

Maybe my questions seem very stupid, but -sorry- I have to start from somewhere

Top
#85872 - 07/04/2002 13:48 Re: altering the search engine [Re: Cypher]
smu
old hand

Registered: 30/07/2000
Posts: 879
Loc: Germany (Ruhrgebiet)
Hello Cypher.

I'm sorry to tell you, but you have no chance to change any of the search behaviour yourself. The player software itself (which implements the search) is closed source, and other than severely chacking it (using a debugger and patching the machine code more or less directly), there is no chance of changing it.

We had similar requests (and some following discussion) regarding cyrillic letters (which, by the way, were first invented by a greek friar, based on greek and latin alphabets).

cu,
sven
_________________________
proud owner of MkII 40GB & MkIIa 60GB both lit by God and HiJacked by Lord

Top
#85873 - 07/04/2002 14:14 Re: altering the search engine [Re: smu]
Cypher
stranger

Registered: 16/02/2002
Posts: 38
Loc: Athens, Greece
Thanks a lot for the information SMU.

So I should propably forget the idea of manipulating any Non-English songs using the remote controller search...

Is there any chance that Empeg will support that in future releases of the Empeg software?


Top
#85874 - 07/04/2002 14:37 Re: altering the search engine [Re: Cypher]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
All is not lost, though, Cypher. You can create playlists in any format you like, and with the version 2.0 software you can do anything with a playlist that you could have done with a search (append, insert, replace). You can sort the playlists in your own desired order and turn off the alphabetical sorting of the playlists in the player's main menu (it's an option in emplode). You would have to scroll to the playlist instead of doing a search, but it can be done.

As for punching the letters directly, you could use PINs instead and make the PIN digits correspond to the desired letters.

And the greek font can't be too terribly tough to do as long as Unicode isn't needed.
_________________________
Tony Fabris

Top
#85875 - 07/04/2002 14:57 Re: altering the search engine [Re: tfabris]
Cypher
stranger

Registered: 16/02/2002
Posts: 38
Loc: Athens, Greece
Could you explain the PINs idea with a little more detail? Because I am not sure I got it right..

I already have greek fonts, Bruno made medium.bf for me and I then created small.bf

Top
#85876 - 07/04/2002 16:39 Re: altering the search engine [Re: Cypher]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Just assign a PIN number based on the title. For instance, if I wanted to assign a PIN to my "Rush" playlist in english, I would assign 7874. Obviously there would be some conflicts which you would have to resolve, but I'm just saying that it's a convenient way to re-map the letters to your desired digits.
_________________________
Tony Fabris

Top
#85877 - 07/04/2002 17:39 Re: altering the search engine [Re: Cypher]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
Tell us the mappings and we can add them; we already "fold" things like e-acute down to e, so that you can search for titles containing these characters.

Hugo

Top
#85878 - 07/04/2002 19:55 Re: altering the search engine [Re: altman]
Cypher
stranger

Registered: 16/02/2002
Posts: 38
Loc: Athens, Greece
Thanks a lot for your interest Hugo.

Mappings? You mean the ASCII codes for the letters? If so, then:

2: e1, e2, e3, dc, c1, c2, c3, a2
3: e4, e5, e6, dd, c4, c5, c6, b8
4: e7, e8, e9, de, df, fa, c0, c7, c8, c9, b9, ba, da
5: ea, eb, ec, ca, cb, cc
6: ed, ee, ef, fc, cd, ce, cf, bc
7: f0, f1, f2, f3, d0, d1, d3
8: f4, f5, f6, e0, fb, fd, d4, d5, d6, be, db
9: f7, f8, f9, fe, d7, d8, d9, bf

if not, then pls explain.

Top
#85879 - 07/04/2002 19:58 Re: altering the search engine [Re: tfabris]
Cypher
stranger

Registered: 16/02/2002
Posts: 38
Loc: Athens, Greece
okie it's clear now - thanx

it could be a last solution

Top
#85880 - 08/04/2002 03:40 Re: altering the search engine [Re: Cypher]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
I've put this in as bug#1830, so when someone next has time we should be able to add this behaviour to the search screen.

Hugo

Top
#85881 - 08/04/2002 05:06 Re: altering the search engine [Re: altman]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4172
Loc: Cambridge, England
I've put this in as bug#1830, so when someone next has time we should be able to add this behaviour to the search screen.

Oh yeah? And how do we tell whether the user wants ISO8859-1 mode, in which the inbuilt mappings are correct and Cypher's are not, or ISO8859-7 mode, in which Cypher's mappings are correct and ours are not?

This is definitely an "extra feature", not a bug in an existing one. I'm not saying we'll never have time, but it'll be more time than Hugo, I think, imagined.

Peter

Top
#85882 - 08/04/2002 09:12 Re: altering the search engine [Re: peter]
Cypher
stranger

Registered: 16/02/2002
Posts: 38
Loc: Athens, Greece
I believe that you could add a check in the settings, and include the mappings in a text file. In this way, anyone who would like to search in a second alphabet simultaneously will just enable the setting. And you will not only support Greek, but also any other language you want. Creating a file containing the mappings is quite simple and straightforward for any user.

The search engine is very usefull, as the HDD capacities grow steadily. I believe that it worths adding the above feature.

Thanks again

Spiros

Top
#85883 - 08/04/2002 10:13 Re: altering the search engine [Re: Cypher]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4172
Loc: Cambridge, England
I believe that you could add a check in the settings, and include the mappings in a text file. In this way, anyone who would like to search in a second alphabet simultaneously will just enable the setting. And you will not only support Greek, but also any other language you want. Creating a file containing the mappings is quite simple and straightforward for any user.

Yes, that's probably what we will do, or something very like it. So although we won't support different 8-bit fonts for different tracks, or indeed any UI for selecting 8-bit fonts, those of you who've hacked your fonts will be able to hack the mappings file to match.

Peter

Top
#85884 - 08/04/2002 12:04 Re: altering the search engine [Re: peter]
Cypher
stranger

Registered: 16/02/2002
Posts: 38
Loc: Athens, Greece
that's good

I 'll be waiting for the next release. Will you PM me when you have it ready?


Top
#85885 - 19/06/2003 01:00 Re: altering the search engine [Re: peter]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
In case anything ever comes of this, I'll throw my $0.02 in...

Having a config file sounds like a great idea! So in theory, I'd be able to edit a file and put in a table similar to what Cypher posted above, but for cyrillic?

Something like that would be really sweet!
_________________________
--The Amigo

Top