willing to help: NJB mediadevice

Andrew Barr andrew.james.barr at gmail.com
Tue Jun 6 14:58:51 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 06 June 2006 10:34, T.R.Shashwath wrote:
> I think Andres got the basic code from kionjb, though I'm not sure, so that
> may be a good place to start. 

Yes, some of the classes are directly copied from kionjb from what I can tell. 

> I'm using kzenexplorer as a reference too. 

I'm inclined to think that kzenexplorer might be a better reference because it 
does much of what we want the MediaDevice plugin to do, just in a standalone 
application. It does it well, too. It's what I use primarily to interface 
with my jukebox. kionjb never fully worked for me, it seemed to confuse the 
jukebox often (which unfortunately seems too easy to do regardless) and the 
interface left something to be desired.

BTW, do you know if kZenExplorer and KIO::njb share any code? I downloaded the 
kzenexplorer source code as a reference but it's entirely possible that they 
use the same code for interfacing with the jukebox.


> For the record, I'm using a Creative Zen 20GB player. I think it'd be
> useful to build up a record of what players everyone is using, and how it
> works/doesn't work with it. So far, I've heard of it working with Zen and
> Zen Xtra, and I guess it should work with anything supported by libnjb, but
> there are things like special features, etc that I don't know about.

I have a 30 GB Zen Xtra, with the last firmware version to use the PDE 
protocol (the one libnjb speaks). There is a 2.x series firmware now 
available, but it speaks an entirely new protocol--MTP. I won't go into the 
details of that other than to say that there is a library very similar to 
libnjb called libmtp that is in the works for this firmware and other similar 
devices. It is not as mature as libnjb but already does most basic functions. 
it's definitely something that someone could work on for amaroK, as there are 
likely to be more and more devices on the market that use this protocol--I 
would say eventually most non-iPod players will eschew any proprietary/custom 
protocols like PDE or whatever the iRiver players use for this.

But I am getting ahead of myself. :)

> Shash

- -- 
Andrew Barr | andrew.james.barr at gmail.com
http://www.oakcourt.dyndns.org/~andrew/

"And now for something completely different."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEhZgxhuM+Z62a52oRAn70AJoCOLw65NL8O2uVX3MYM+fayiqBTACgn7wN
ElJn7nTGq7PFE7kwAFPGAzk=
=xK3P
-----END PGP SIGNATURE-----



More information about the Amarok mailing list