Unoffical empeg BBS

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

Page 1 of 2 1 2 >
Topic Options
#310183 - 14/05/2008 20:02 EmpegNotifier
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
I've just spent the day hacking together the first version of "EmpegNotifier". I think of it as AutoPlay for your empeg. It sits in the notification area (the tray) and watches for empegs coming and going on the local network (network-only at the moment, I'm afraid).

My plan is that you'll be able to attach actions to events (i.e. when your empeg appears on the network, run emplode). At the moment, however, it just watches for empegs and updates the icon and tooltip text.

If anyone fancies giving it a whirl, please let me know how you get on. Suggestions welcome. I've tested it on Windows Vista, but I think it'll work on Windows 2000 and newer.


Attachments
EmpegNotifier-20080514.zip (364 downloads)

_________________________
-- roger

Top
#310184 - 14/05/2008 20:45 Re: EmpegNotifier [Re: Roger]
siberia37
old hand

Registered: 09/01/2002
Posts: 702
Loc: Tacoma,WA
Very cool- I will be installing it on my machine at home. Can't wait for an auto-load of Emplode action.

Top
#310188 - 15/05/2008 01:11 Re: EmpegNotifier [Re: Roger]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31563
Loc: Seattle, WA
First thing it should do: Write out a HOSTS file entry that assigns the IP address of the Empeg to "EMPEG" :-)
_________________________
Tony Fabris

Top
#310190 - 15/05/2008 03:58 Re: EmpegNotifier [Re: tfabris]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
Originally Posted By: tfabris
First thing it should do: Write out a HOSTS file entry that assigns the IP address of the Empeg to "EMPEG" :-)


First thing it should do: when it finds an empeg, spawn a program that updates the HOSTS file...

You see where I'm coming from? wink
_________________________
-- roger

Top
#310193 - 15/05/2008 09:00 Re: EmpegNotifier [Re: Roger]
frog51
pooh-bah

Registered: 09/08/2000
Posts: 2091
Loc: Edinburgh, Scotland
What a nice idea. I'll have a play with that later on.
_________________________
Rory
MkIIa, blue lit buttons, memory upgrade, 1Tb in Subaru Forester STi
MkII, 240Gb in Mark Lord dock
MkII, 80Gb SSD in dock

Top
#310195 - 15/05/2008 12:24 Re: EmpegNotifier [Re: Roger]
StigOE
addict

Registered: 27/10/2002
Posts: 568
Originally Posted By: Roger
First thing it should do: when it finds an empeg, spawn a program that updates the HOSTS file...

And removes the entry when the empeg leaves the network.

But what if you have more than one empeg connected to the network at the same time? Is it possible for the program to find the empeg name and use that in the HOSTS file?

Stig

Top
#310197 - 15/05/2008 12:41 Re: EmpegNotifier [Re: StigOE]
LittleBlueThing
addict

Registered: 11/01/2002
Posts: 612
Loc: Reading, UK
excellent smile
Is is KDE or Gnome?
_________________________
LittleBlueThing Running twin 30's

Top
#310199 - 15/05/2008 12:48 Re: EmpegNotifier [Re: StigOE]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
Originally Posted By: StigOE
And removes the entry when the empeg leaves the network.


Yep. That's the plan.

Quote:
Is it possible for the program to find the empeg name and use that in the HOSTS file?


Yes.
_________________________
-- roger

Top
#310200 - 15/05/2008 12:49 Re: EmpegNotifier [Re: LittleBlueThing]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
Originally Posted By: LittleBlueThing
excellent smile
Is is KDE or Gnome?


Windows-only at the moment. I'll look at carving up the interesting bits of code so that someone can write a KDE/GNOME version.
_________________________
-- roger

Top
#310204 - 15/05/2008 13:30 Re: EmpegNotifier [Re: Roger]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5914
Loc: Wivenhoe, Essex, UK
WinForms stuff works passably well under mono on Linux now, though obviously system tray functionality might be a bit of a problem.
_________________________
Remind me to change my signature to something more interesting someday

Top
#310206 - 15/05/2008 14:08 Re: EmpegNotifier [Re: andy]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
Originally Posted By: andy
WinForms stuff works passably well under mono on Linux now, though obviously system tray functionality might be a bit of a problem.


This program's written in C++, mainly because of size constraints.
_________________________
-- roger

Top
#310207 - 15/05/2008 15:12 Re: EmpegNotifier [Re: Roger]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14472
Loc: Canada
Originally Posted By: Roger
Originally Posted By: LittleBlueThing
excellent smile
Is is KDE or Gnome?


Windows-only at the moment. I'll look at carving up the interesting bits of code so that someone can write a KDE/GNOME version.

If you coded it using QT, then it should "just work" for all three.

-ml

Top
#310211 - 15/05/2008 16:51 Re: EmpegNotifier [Re: mlord]
LittleBlueThing
addict

Registered: 11/01/2002
Posts: 612
Loc: Reading, UK
Qt .... mmmm.
_________________________
LittleBlueThing Running twin 30's

Top
#310214 - 15/05/2008 19:09 Re: EmpegNotifier [Re: tfabris]
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
Since when did changing the HOSTS file stop needing a reboot for the changes take effect? blush

Top
#310215 - 15/05/2008 19:21 Re: EmpegNotifier [Re: AndrewT]
Dearing
addict

Registered: 22/07/1999
Posts: 453
Loc: Florida
Windows 95?
_________________________
_~= Dearing =~_
Gettin' back into it thanks to slimrio!

Top
#310222 - 16/05/2008 05:41 Re: EmpegNotifier [Re: Dearing]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
You get a binary (and source) for Windows 2000, XP, 2003, Vista and 2008.

If you don't like it, write your own...
_________________________
-- roger

Top
#310223 - 16/05/2008 06:58 Re: EmpegNotifier [Re: Roger]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Originally Posted By: Roger
You get a binary (and source) for Windows 2000, XP, 2003, Vista and 2008.

If you don't like it, write your own...

He's referring to Andrew's comment about not needing to reboot when changing the hosts file. Not that he wants to run it on Windows 95! At least I hope not. If anybody is still running Windows 95 then they should get their head examined IMO...

Top
#310224 - 16/05/2008 07:01 Re: EmpegNotifier [Re: tman]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
Originally Posted By: tman
He's referring to Andrew's comment about not needing to reboot when changing the hosts file. Not that he wants to run it on Windows 95! At least I hope not.


Ah. Fair enough. My apologies to Dearing; I'm a little short of sleep at the moment, as you can imagine.
_________________________
-- roger

Top
#310261 - 17/05/2008 15:15 Re: EmpegNotifier [Re: Roger]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
The project page (including downloads) is available at https://projects.differentpla.net/projects/show/empeg-notifier

The https certificate is self-signed, so you'll get a warning. You can safely ignore it (as long as you trust me).

At some point, I'll look into having anonymous access over http, and logged-in access over https.

The current version uploaded there isn't (externally) much further advanced than the one I've already attached. There'll be a new version soon-ish, time permitting.
_________________________
-- roger

Top
#310277 - 18/05/2008 08:24 Re: EmpegNotifier [Re: siberia37]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
Originally Posted By: siberia37
Very cool- I will be installing it on my machine at home. Can't wait for an auto-load of Emplode action.


This works (at least, it does for me). You can grab the installer from https://projects.differentpla.net/projects/list_files/empeg-notifier
_________________________
-- roger

Top
#310288 - 18/05/2008 18:35 Re: EmpegNotifier [Re: Roger]
oliver
addict

Registered: 02/04/2002
Posts: 691
thanks for showing me redmine. for the last week i've been looking at different project trackers, and redmine seems to beat everything else i've looked at.

anyways, one feature i'd like to see supported in EmpegNotifier is... setup a dropbox for autosync when an empeg is located, maybe even as advanced as rsync multiple empegs against a single directory structure.
_________________________
Oliver mk1 30gb: 129 | mk2a 30gb: 040104126

Top
#310294 - 19/05/2008 02:48 Re: EmpegNotifier [Re: oliver]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
Originally Posted By: oliver
setup a dropbox for autosync when an empeg is located, maybe even as advanced as rsync multiple empegs against a single directory structure.


EmpegNotifier just runs the defined program. It's up to you what that program does. I was planning on having the default program be responsible for the actual "what do you want to do?" UI.

That said: bung a feature request in on the tracker, and if I get time, I'll put together an external program for syncing.
_________________________
-- roger

Top
#310295 - 19/05/2008 02:50 Re: Redmine [Re: oliver]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
Originally Posted By: oliver
thanks for showing me redmine. for the last week i've been looking at different project trackers, and redmine seems to beat everything else i've looked at.


Yeah. It's not bad; I've been using trac up to this point, which is good, but doesn't support multiple projects too well. Trac's got a better milestone implementation, though.

Getting redmine to run behind Apache was a bit of a chore, though. I'll write up how I did it at some point.
_________________________
-- roger

Top
#310411 - 22/05/2008 10:54 Re: Redmine [Re: Roger]
Dearing
addict

Registered: 22/07/1999
Posts: 453
Loc: Florida
Yeah, the Windows 95 comment was definitely about the hosts file, not your software. Don't sweat it.
_________________________
_~= Dearing =~_
Gettin' back into it thanks to slimrio!

Top
#315225 - 18/10/2008 13:02 Re: EmpegNotifier [Re: oliver]
FireFox31
pooh-bah

Registered: 19/09/2002
Posts: 2494
Loc: East Coast, USA
Quote:
autosync when an empeg is located

That may be a solution for podcast autosync.


Edited by l0ser (29/10/2008 12:25)
Edit Reason: Fixed link

Top
#322823 - 30/05/2009 15:47 Re: EmpegNotifier [Re: Roger]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
I've moved this to Google Code, which will hopefully free up time to actually work on some personal projects, rather than simply tinker with the infrastructure for those personal projects.

http://code.google.com/p/nemplode/
_________________________
-- roger

Top
#346614 - 28/07/2011 03:25 Re: EmpegNotifier [Re: Roger]
sirkingchase
new poster

Registered: 26/07/2011
Posts: 11
Loc: MS,US
Can anyone repost the file?

I can not find this anywhere else on the WHOLE internet, google returns 2 results...

The file listed on the first first is corrupt. I tired opening it in linux and windows with multiple programs to no eval. All other links are broken frown

Top
#346615 - 28/07/2011 08:13 Re: EmpegNotifier [Re: sirkingchase]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
Originally Posted By: sirkingchase
The file listed on the first first is corrupt.


No it's not. I just successfully downloaded and opened (and ran) it on Windows 7.
_________________________
-- roger

Top
#346616 - 28/07/2011 11:21 Re: EmpegNotifier [Re: Roger]
Happy Birthday larry818
old hand

Registered: 01/10/2002
Posts: 1033
Loc: Fullerton, Calif.
Is ok for me as well.

Top
#346632 - 30/07/2011 14:01 Re: EmpegNotifier [Re: Roger]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
Originally Posted By: Roger
I've moved this to Google Code, which will hopefully free up time to actually work on some personal projects, rather than simply tinker with the infrastructure for those personal projects.

http://code.google.com/p/nemplode/


I've recently started using Mercurial for my source control. As such, I've moved all of my repositories to bitbucket. You can find the source to EmpegNotifier in my nemplode repository.
_________________________
-- roger

Top
Page 1 of 2 1 2 >