Summary: | Integration with kio::njb for nomad devices | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Benjamin Fritzsche <BFritzsche> |
Component: | Collections/Media Devices | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | ana, pascal+kde, tetsuo_shima |
Priority: | NOR | ||
Version: | 1.2.3 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | NjbMediaDevice : Class to manipulate NJB devices |
Description
Benjamin Fritzsche
2005-04-04 09:40:31 UTC
*** Bug 116788 has been marked as a duplicate of this bug. *** *** This bug has been confirmed by popular vote. *** I agree, you might even want to take a look at gnomad2's source code, it may help. I hope you guys can do it, that would be cool. thanks. There is a new library, libmtp, being developed to support MTP devices. These include the more-recently-purchased Creative Zen MP3 players. Older Zens can be upgraded to work with MTP. (I would not recommend that just now as the firmware patch is irreversible! I'm leaving my Zen Touch well alone until libmtp is closer to completion!) Although libmtp is in relatively early stages of development, perhaps amarok could look to support it - the benefit would be much wider than just Creative MP3 players. Reference: http://libmtp.sourceforge.net I have developed a new MediaDevice class to this lib. My code is based/inspired by kionjb but it not use it. I post a .tar.bz2 a few days, perhaps tomorrow. The current status is: - Support to upload, download, delete tracks at device - Show de tracks of the device (order by artist/album) Regards. Created attachment 16044 [details]
NjbMediaDevice : Class to manipulate NJB devices
Hello,
To compile it, decompress under mediadevice dir at source amarok dir. Modify
the Makefile.am of mediadevice dir to compile the new directory too.
You need have installed the libnjb-devel package.
Test it.
Regards.
SVN commit 540903 by aumuell: add source code for libnjb based media device support as posted by Andres Oton <andres.oton@gmail.com> CCBUG: 103185 A njb (directory) A njb/Makefile.am A njb/amarok_njb-mediadevice.desktop A njb/njb.cpp [License: UNKNOWN] A njb/njbmediadevice.cpp [License: UNKNOWN] [UTF-8 ENCODING PROBLEMS] A njb/njbmediadevice.h [License: UNKNOWN] A njb/playlist.cpp [License: GPL (v2+)] A njb/playlist.h [License: GPL (v2+)] A njb/track.cpp [License: GPL (v2+)] A njb/track.h [License: GPL (v2+)] SVN commit 540904 by aumuell: - check for libnjb and if available build nomad jukebox plugin Nomad Jukebox owners, please test! CCBUG: 103185 M +2 -0 ChangeLog M +8 -0 configure.in.bot M +30 -0 configure.in.in M +5 -2 src/mediadevice/Makefile.am M +1413 -1413 src/mediadevice/njb/njb.cpp M +688 -688 src/mediadevice/njb/njbmediadevice.cpp [UTF-8 ENCODING PROBLEMS] M +126 -126 src/mediadevice/njb/njbmediadevice.h M +166 -167 src/mediadevice/njb/playlist.cpp M +23 -23 src/mediadevice/njb/playlist.h M +232 -232 src/mediadevice/njb/track.cpp M +49 -49 src/mediadevice/njb/track.h Can anyone comment as to whether or not this code also works for MTP devices? This is clearly closed now! Jeff - most unlikely it works with MTP. MTP needs <a href="http://libmtp.sourceforge.net/">libmtp</a>. libnjb explicitly states that they don't support mtp devices. |