Unoffical empeg BBS

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

Topic Options
#224883 - 07/06/2004 06:56 Audio Receiver Replacement by Roger
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5679
Loc: London, UK
Actually, it's a replacement server for the Rio and Dell Audio Receivers. I'm trying to come up with a convoluted acronym that spells "Arrrr", purely so that I can use a picture of a pirate for the icon .

Better suggestions for the name on a postcard please.

As some of you know, late last year I promised to start working on a Rio Receiver server replacement. I was planning to use it as a way to learn C#, so it was going to be written entirely in C#, using the .NET framework.

More information about the goals of this project is on my website.

Anyway, I stopped work on it around November last year, because I found a more profitable way to occupy my time (namely a job).

I've still been playing with bits of C#, writing ID3 tag parsers, simple HTTP servers and so on. If you're interested, the C# pages on my website start here.

Last week, I started pulling all the different snippets of code together.

This weekend, you'll be pleased to hear, I reached the first milestone in the project plan.

Version 0.0.2 successfully implements the service discovery, portmapper, mount daemon and NFS daemon portions of the server software to the extent that I managed to get an original Rio-branded Receiver to boot from my software, using the original Receiver firmware distribution.

Source code for version 0.0.3 of my software is here, which I was playing with before work this morning.

I'm pleased with it, so I thought I'd share.

At my current rate of progress, I anticipate that I'll be able to get out an alpha release, including installer and stuff in a couple of weeks time. Is anyone interested in helping me test it?
_________________________
-- roger

Top
#224884 - 07/06/2004 10:11 Re: Audio Receiver Replacement by Roger [Re: Roger]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31549
Loc: Seattle, WA
Okay, I love "Arrrr", you have to keep that.
_________________________
Tony Fabris

Top
#224885 - 07/06/2004 16:54 Re: Audio Receiver Replacement by Roger [Re: Roger]
markb
new poster

Registered: 13/01/2002
Posts: 63
Roger,

Willing guinea pig here.

NB Key feature for me would be WOL. The missus is most unimpressed with the (already silenced) PC whirring away all day, for the sake of 15 mins music before I crash out.

Cheers

M

Top
#224886 - 08/06/2004 01:44 Re: Audio Receiver Replacement by Roger [Re: markb]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5679
Loc: London, UK
Key feature for me would be WOL.

Wake-on-LAN is not the server's problem: it's turned off, right?

Wake-on-LAN is supposed to work already. If it doesn't, it's not going to work with my server, either.
_________________________
-- roger

Top
#224887 - 08/06/2004 02:02 Re: Audio Receiver Replacement by Roger [Re: markb]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5679
Loc: London, UK
Willing guinea pig here.

Cool. I'll be making more announcements as I get closer to finishing it.
_________________________
-- roger

Top
#224888 - 08/06/2004 02:03 Re: Audio Receiver Replacement by Roger [Re: Roger]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5679
Loc: London, UK
Wake-on-LAN is supposed to work already.

Having said that, check out this page:

http://www.annoyances.org/exec/show/article04-101
_________________________
-- roger

Top
#224889 - 08/06/2004 02:09 Re: Audio Receiver Replacement by Roger [Re: Roger]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5679
Loc: London, UK
And, also on that note, in Windows XP, I discovered the following:




Attachments
5100-net-advanced.jpg (216 downloads)

_________________________
-- roger

Top
#224890 - 08/06/2004 02:10 Re: Audio Receiver Replacement by Roger [Re: Roger]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5679
Loc: London, UK
but, more interestingly, I also discovered this. I don't know if it's related to Wake-on-LAN, or to some other Microsoft thing, though:




Attachments
5101-net-power-mgmt.jpg (177 downloads)

_________________________
-- roger

Top
#224891 - 08/06/2004 02:47 Re: Audio Receiver Replacement by Roger [Re: Roger]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5679
Loc: London, UK
Although, thinking about it more: one problem with the software as shipped is that it runs as a normal application, which means that you need to have a user log in at startup, otherwise it won't work from wake-on-LAN.

The one I'm writing runs as a Windows service, which means you won't have this problem.

What you will have is problems accessing MP3 files stored on other machines, and stuff like that .
_________________________
-- roger

Top
#224892 - 08/06/2004 05:59 Re: Audio Receiver Replacement by Roger [Re: Roger]
markb
new poster

Registered: 13/01/2002
Posts: 63
I think the XP snapshots you posted are indeed WOL related. I run W2K and there are similar options to enable WOL.

Under the original ARM setup, the music serving PCwill only go to sleep if the Rio is in "soft off" mode (i.e. blank screen). However, when the Rio power button is pressed to switch it on, the PC wakes up as expected. The niggle is that there is a requirement to soft power off the Rios manually. I have one in a poolhouse a long way from the house, and have a guess if the kids always leave it on?

What sounds best to me is for the music serving PC to be able to sleep when the Rio is in active (but not playing anything) and standby/soft power-off mode, and be woken up on a change from either a change in state, or a request to play music from an active Rio.

Not a deal breaker, and I don't know if anyone else cares, but certainly an environmentally friendly approach.

Cheers


M

Top
#224893 - 08/06/2004 09:30 Re: Audio Receiver Replacement by Roger [Re: Roger]
nightingales
newbie

Registered: 25/04/2002
Posts: 34
Loc: GA/USA
Roger,

I'm certainly willing to help where I can - main problem would be time ;-)
Beta testing, some code snippets (C or VB), etc.
Key feature for me would be the layered database search - like search for an artists first and then for all albums of that artist, etc.
That said, I wanted to make the statement, that IMHO the original ARM is an awesome piece of software - sure, has some limitations, but it works great and while so many people have been writing replacements, none of them has even come slightly close to the easy installation of the ARM. With ARM, for the most part, its install it and go. Can't say that of any of the replacements! So, while we're excited that you are rewriting the ARM, don't think noone appreciates the original...
ARRRR = Audio Receiver Rewrite & Replacement Ruler

Top
#224894 - 08/06/2004 10:23 Re: Audio Receiver Replacement by Roger [Re: nightingales]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5679
Loc: London, UK
install it and go

One of the goals for the new software is, in fact, install and go. I spent some time the other day playing with the Setup and Deployment Wizard in Visual Studio, and I think I can do it as a single, downloadable, installer.

The one problem is that you'll need to provide it with firmware files from the original, which means installing that. I'm not sure how I'll handle that. Maybe I'll just talk nicely to Rob....
_________________________
-- roger

Top
#224895 - 08/06/2004 10:27 Re: Audio Receiver Replacement by Roger [Re: markb]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5679
Loc: London, UK
PC will only go to sleep if the Rio is in "soft off" mode

Ah. The PC going to sleep is something that the server software can control. You're right: the original software only allows sleep if the Receivers are all in soft-off.

I'll look into this.
_________________________
-- roger

Top
#224896 - 08/06/2004 10:29 Re: Audio Receiver Replacement by Roger [Re: nightingales]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5679
Loc: London, UK
some code snippets

Well, if you want to get involved, it's all written in C#, and the source code is available on my website: http://www.differentpla.net/node/view/269

I'll be finishing it over the next couple of weeks, so it'll be a moving target, but, if you're trying to learn C#, it might be worth a look.
_________________________
-- roger

Top
#224897 - 08/06/2004 11:55 Re: Audio Receiver Replacement by Roger [Re: Roger]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31549
Loc: Seattle, WA
The one problem is that you'll need to provide it with firmware files from the original, which means installing that. I'm not sure how I'll handle that. Maybe I'll just talk nicely to Rob....

Or write your own replacement firmware...
_________________________
Tony Fabris

Top
#224898 - 08/06/2004 12:54 Re: Audio Receiver Replacement by Roger [Re: Roger]
nightingales
newbie

Registered: 25/04/2002
Posts: 34
Loc: GA/USA
well, isnt it acceptable that in order to send the PC to sleep, you turn off your Rio? I'd be happy with that!

Marc

Top
#224899 - 09/06/2004 01:16 Re: Audio Receiver Replacement by Roger [Re: nightingales]
markb
new poster

Registered: 13/01/2002
Posts: 63
Manually turning off the Rio works with ARM. Aes mentioned, it just becomes a bit dull when one of them (I have 5) is in the farthest location: typically the pool house 100m away!

It's not a deal breaker, but might be worth incorporating if it's not too much aggro. We can always hug trees as well to prove our environmental credentials.

Cheers

M

Top
#224900 - 09/06/2004 03:34 Re: Audio Receiver Replacement by Roger [Re: tfabris]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5679
Loc: London, UK
Okay, I love "Arrrr", you have to keep that.

It occurs to me this morning that using an icon of a pirate for something as contentious as MP3 files might not be the most sensible thing to do.

Hmmm.
_________________________
-- roger

Top
#224901 - 09/06/2004 06:47 Re: Audio Receiver Replacement by Roger [Re: markb]
krossell
stranger

Registered: 02/11/2003
Posts: 8
You could use the tRio software: http://triot.sourceforge.net/
Then you could remote-control all 5 of them from a web browser anywhere on your network. I think you could also synch them, so they can all play the same thing for a party or something.

Top
#224902 - 09/06/2004 07:24 Re: Audio Receiver Replacement by Roger [Re: krossell]
markb
new poster

Registered: 13/01/2002
Posts: 63
Indeed I do use tRio, but it does not work with WOL.

Top
#224903 - 09/06/2004 07:53 Re: Audio Receiver Replacement by Roger [Re: markb]
krossell
stranger

Registered: 02/11/2003
Posts: 8
Oh, I thought clicking "Standby" on the tRio Front-End was the same as "soft-off", but apparently not - the clock stays on. Nevermind.

Top
#224904 - 04/07/2004 19:05 Re: Audio Receiver Replacement by Roger [Re: Roger]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4169
Loc: Cambridge, England
Quote:
Arrrr

Speaking purely hypothetically, how easy would it be to add support for "&_utf8=1" on tag queries, causing the tags to be returned in UTF-8 rather than Latin-1?

Peter

Top
#224905 - 05/07/2004 04:58 Re: Audio Receiver Replacement by Roger [Re: peter]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5679
Loc: London, UK
Quote:
Speaking purely hypothetically


It'd be a doddle. The tags will be stored in UTF16 in the database, and dealt with as such in the code, so converting to UTF8 rather than Latin1 for final output is easy.

What I'm having trouble with is actually getting the Receiver to not crash. I'll talk to you about that at Amersfoort, though.
_________________________
-- roger

Top