Unoffical empeg BBS

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

Page 3 of 3 < 1 2 3
Topic Options
#185275 - 22/10/2003 14:40 Re: Do you feel lucky punk? jEmplode 46 stumbles [Re: mschrag]
crazymelki
enthusiast

Registered: 16/02/2001
Posts: 373
Loc: Switzerland
ok...Cool...

Thanks for the very fast response..

bye
_________________________
crazymelki.com

Top
#185276 - 23/10/2003 18:23 Re: Do you feel lucky punk? jEmplode 46 stumbles [Re: mschrag]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
Hey Mike, do you have Javadoc available for this release of Jemplode? I wanted to poke through it and see a good place to start to get the node information for each song.
_________________________
Mark Cushman

Top
#185277 - 24/10/2003 05:23 Re: Do you feel lucky punk? jEmplode 46 stumbles [Re: mschrag]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
This version moved directories ... I haven't had as much time to work on jEmplode this week as I thought I would. I'm hoping I will have time this weekend, though, so I can address some of the bugs found.

http://www.inzyme.com/rio/empeg = Empeg stuff
http://www.inzyme.com/rio/empeg/install.htm = jEmplode 46 Installer
http://www.inzyme.com/rio/empeg/jemplode-src.zip = jEmplode 46 Source
http://www.inzyme.com/rio/empeg/docs = jEmplode docs
http://www.inzyme.com/rio/empeg/docs/javadoc.zip = zip'ed javadocs
http://www.inzyme.com/rio/empeg/docs/api = online javadoc
http://www.inzyme.com/rio/empeg/docs/plugin.html = plugin docs

Top
#185278 - 24/10/2003 05:26 Re: Do you feel lucky punk? jEmplode 46 stumbles [Re: cushman]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Just responded at the top of this thread with javadoc and src location ... If you grab the source, there are several examples of IExporter implementations that will show you how to enumerate all the nodes in the database. Roughly, your plugin has an EmplodeContext, from which it can get a PlayerDatabase, from which it can get an FIDNodeMap, from which it can get an enumeration of all IFIDNodes in the system. Those nodes will each be one of three types -- FIDLocalFile (for a recently imported and not uploaded tune), FIDPlaylist (for a playlist), or FIDRemoteTune (for a file on the Empeg). From an IFIDNode, you can get a NodeTags, which is basically a hashtable-interface-with-types. The valid tag key names are all defined as constants in DatabaseTags.

ms

Top
#185279 - 24/10/2003 07:09 Re: Do you feel lucky punk? jEmplode 46 stumbles [Re: mschrag]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
Mike, you rock. Thanks.
_________________________
Mark Cushman

Top
#185280 - 24/10/2003 18:56 Re: Do you feel lucky punk? jEmplode 46 stumbles [Re: mschrag]
matthew_k
pooh-bah

Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
Very nice. I was using whatever the old version was and was going to come post about how it couldn't read iTunes track numbers. Realizing that there was no point in posting bugs for old versions, I downloaded the new one, and it worked perfectly. Now to see what else has changed...

Matthew

Top
#185281 - 24/10/2003 21:04 Re: Do you feel lucky punk? jEmplode 46 stumbles [Re: mschrag]
paulj
stranger

Registered: 10/09/2002
Posts: 48
Loc: Austin, TX
In reply to:

In reply to:

tags changed on the hdd doesnt change the tags on the player if it recognizes as a dupe.


yeah .. this is a known limitation (of emplode and RMM too, I believe). this is, in general, a hard problem because you can change tags independently in each location, so there's no way to know (automatically) which direction they should sync.


Check timestamps (mtime) on the respective files?


Top
#185282 - 24/10/2003 22:33 Re: Do you feel lucky punk? jEmplode 46 stumbles in [Re: mschrag]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
I have been playing with the new version and it seems pretty slick. The background syncing and dedupping are great. The only weird thing I noticed so far is it that it seems to be quite a bit slower to upload songs. According to netstat I am getting around 400k/sec and I think the older version got closer to 700k/s. Did the old version use hijack's ftp server and the new version doesn't? I have both Use Hijack and Use Fast Connections selected in the prefs.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#185283 - 25/10/2003 04:52 Re: Do you feel lucky punk? jEmplode 46 stumbles in [Re: mcomb]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
I've never actually supported hijack for uploads (only downloads), though I've thought about adding hijack upload support. However, fast connections is /supposed/ to be pretty comparable in speed ... It's possible fast connections aren't working right now (now I'm wondering if I pulled that code out because there isn't an equivalent concept on the Karma -- I bet I did). I'll take a look at that.

Top
#185284 - 25/10/2003 14:04 Re: Do you feel lucky punk? jEmplode 46 stumbles [Re: mschrag]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
http://www.inzyme.com/rio/empeg/jemplode-src.zip = jEmplode 46 Source

Is it just me or does this not compile? I wanted to poke around a bit, but org.jempeg.empeg.music.tags.* seems to be missing.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#185285 - 25/10/2003 14:19 Re: Do you feel lucky punk? jEmplode 46 stumbles [Re: mcomb]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
it's not in the jempeg-empeg project under jempeg-empeg/src/org/jempeg/empeg/music/tags? If not, then something funky must have gone down when I zipped it up ...

Top
#185286 - 25/10/2003 14:27 Re: Do you feel lucky punk? jEmplode 46 stumbles [Re: mschrag]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
it's not in the jempeg-empeg project under jempeg-empeg/src/org/jempeg/empeg/music/tags?

Nope, that whole directory seems to be missing.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#185287 - 25/10/2003 17:49 Re: Do you feel lucky punk? jEmplode 46 stumbles in [Re: mschrag]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
I've never actually supported hijack for uploads (only downloads), though I've thought about adding hijack upload support. However, fast connections is /supposed/ to be pretty comparable in speed ... It's possible fast connections aren't working right now (now I'm wondering if I pulled that code out because there isn't an equivalent concept on the Karma -- I bet I did). I'll take a look at that.


It looks to me like you still have fast connection support in (unless I am missing something obvious). Anyway, I modified v46 to support fid uploading and deleting via ftp and I am getting around 700k/sec (that is to an ext3 filesystem, ext2 may be faster). Also, the small file operations (uploading fid text files and deleting fids) are significantly faster using ftp directly. Anyway, let me know if you are interested in a patch and I will finish it up (right now I have it uploading everything to drive0, gotta make that more intelligent) and send over a patch.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#185288 - 25/10/2003 18:02 Re: Do you feel lucky punk? jEmplode 46 stumbles [Re: mcomb]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Yeah -- absolutely ... Thanks!

ms

Top
#185289 - 25/10/2003 18:28 Re: Do you feel lucky punk? jEmplode 46 stumbles in [Re: mcomb]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
around 700k/sec

Hah, I just realized when I was testing that I was on my wireless network. On the wired net it looks more like 800-900k/s. That is definitely faster than I ever got out of the empeg protocol.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#185290 - 25/10/2003 18:46 Re: Do you feel lucky punk? jEmplode 46 stumbles in [Re: mcomb]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
I barely understand half of what you guys are talking about, but it's exciting to see you two working on this!
_________________________
Brad B.

Top
#185291 - 25/10/2003 19:09 Re: Do you feel lucky punk? jEmplode 46 stumbles [Re: mschrag]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
Hey Mike is there a "right way" to tell the player in the middle of a sync that I am not going to be sending data to it for a while? It seems to time out and restart if you don't send any commands for a while (while ftping a large file). I could call EmpegProtocolClient.isDeviceConnected() occasionally to keep its attention, but that seems kind of weird.
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#185292 - 25/10/2003 19:14 Re: Do you feel lucky punk? jEmplode 46 stumbles [Re: mcomb]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Kind of weird situation ... isDeviceConnected() is basically implemented as a ping(), so it's probably your least invasive route. Probably the approach I would take ... I agree it seems a little dirty, but we're basically bypassing Empeg's synchronization, which is kind of dirty by definition

Top
#185293 - 25/10/2003 19:34 Re: Do you feel lucky punk? jEmplode 46 stumbles [Re: SE_Sport_Driver]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Don't give me any credit ... This is all Mike ...

Top
#185294 - 25/10/2003 21:39 Re: Do you feel lucky punk? jEmplode 46 stumbles in [Re: mcomb]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
With all of the transfers being done via ftp, does that mean that the player would continue to play it's software until the database rebuild kicks in?
_________________________
Brad B.

Top
#185295 - 25/10/2003 23:20 Re: Do you feel lucky punk? jEmplode 46 stumbles [Re: SE_Sport_Driver]
matthew_k
pooh-bah

Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
With all of the transfers being done via ftp, does that mean that the player would continue to play it's software until the database rebuild kicks in?

And with jemplode rebuilding the database, would there be any need to do anything besides reboot the player to see the new music?

The synchronising screen does serve a purpose in communicating that it's the one time you can't unplug your player, however.

Matthew

Top
#185296 - 26/10/2003 01:32 Re: Do you feel lucky punk? jEmplode 46 stumbles in [Re: SE_Sport_Driver]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
With all of the transfers being done via ftp, does that mean that the player would continue to play it's software until the database rebuild kicks in?

Ummm, I think it would be possible to delay the sync until the DB needs to be rebuilt but I wasn't planning on making that drastic of changes to jEmplode. I don't want to break any of the existing stuff so I am only modifying the routines for uploading songs and deleting songs. Maybe later I will think about it....

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#185297 - 26/10/2003 01:35 Re: Do you feel lucky punk? jEmplode 46 stumbles [Re: matthew_k]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
And with jemplode rebuilding the database, would there be any need to do anything besides reboot the player to see the new music?

Now the really sexy thing to do would be to upload everything via ftp and rebuild the database on the PC running jemplode. Then all that would have to be done is uploading the DB to the empeg and rebooting it. Then the empeg would never really have to go into its syncing state. That is beyond my understanding of how jEmplode works at this point though.

-Mke
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#185298 - 26/10/2003 09:11 Re: Do you feel lucky punk? jEmplode 46 stumbles [Re: mcomb]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
I thought of that just after I made my post. I remember talk of database rebuilds being done on the PC in another thread. The only issue I could see is if you deleted a song and then a moment later, the empeg tried to play it. Wouldn't that cause the player to hang?
_________________________
Brad B.

Top
#185299 - 26/10/2003 11:25 Re: Do you feel lucky punk? jEmplode 46 stumbles [Re: mcomb]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Well, you could just do the deletes after the new database is loaded.
_________________________
Bitt Faulk

Top
Page 3 of 3 < 1 2 3