
kTunes
Various KDE 1.-4. Improvements
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
This is an IOSlave for accessing iTunes music shares from KDE. It allows browsing of playlists, playing via noatun/embedded media player/kaboodle/other KDE apps and copying to your own music library (although iTunes itself appears to be limited at the speed it can copy).
It also discovers your music shares via Rendezvous.
Requirements:
Aside from normal libs, ktunes uses the howl mDNS libraries to provide Rendezvous browsing. Depending on your distro you may need to use the '--with-howl-includes' option to ./configure.
Disclaimer:
This was written to satisfy my needs of playing my itunes playlists from within noatun. I view this as basically done for my needs. Feel free to pick it up/modify it/bug fix etc but I'm basically putting it here to save other people the effort of writing it.
16 years ago
24 April 2004 -
* Initial release
16 years ago
24 April 2004 -
* Initial release
AceTheFace
14 years ago
"Beim Laden von ktunes:/ ist folgender Fehler aufgetreten:
Die Datei oder der Ordner existiert nicht."
"error while loading ktunes:/. file or directory doesn't exist".
mdnsd is running. Any hints?
Report
permafrost91
16 years ago
Report
gazR
16 years ago
/etc/init.d/mDNSResponder start
Might help, or it might have been coincidence on my PC:)
Report
gazR
16 years ago
"access denied to "
and when I click OK, I get an empty filer window.
Any idea anyone?
Report
gazR
16 years ago
So, does anyone know of a patch to work around this or a place where I can d/load an older version of iTunes for my PC? I can only find ver 4.5 available for d/load
Report
permafrost91
16 years ago
Configured howl with prefix=/usr. Same with ktunes. Still, ktunes ./configure complains that
checking for sw_rendezvous_init in -lrendezvous... no
configure: error: You need howl installed
What to do about that?
Report
muesli
16 years ago
libhowl-0.9.5.so.0 libhowl.a libhowl.so
libhowl-0.9.5.so.0.0.2 libhowl.la pkgconfig
any idea?
regards,
muesli
Report
carlosd
16 years ago
make[3]: Entering directory `/home/carlos/kompile/kde_apps/ktunes-0.1/src'
source='ktunes.cpp' object='ktunes.lo' libtool=yes \
depfile='.deps/ktunes.Plo' tmpdepfile='.deps/ktunes.TPlo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/include/qt3 -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -fexceptions -c -o ktunes.lo `test -f 'ktunes.cpp' || echo './'`ktunes.cpp
ktunes.cpp: In function `void buildDirEntry(KIO::UDSEntry&, const
Yadl::Database&, const KURL&)':
ktunes.cpp:138: error: no matching function for call to `buildDirEntry(
QValueList&, const std::string&)'
Report
permafrost91
16 years ago
0.9.5 ... is ktunes not compatible with this version of howl perhaps?
Report
stunji
16 years ago
Report
rjw57
16 years ago
rjw57@hades rjw57 $ qpkg -l howl | grep rendezvous
/usr/lib/librendezvous.so.0.0.0
/usr/lib/librendezvous.la
/usr/lib/librendezvous.so -> librendezvous.so.0.0.0 1082420751
/usr/lib/librendezvous.a
/usr/share/doc/howl-0.9.2/html/rendezvous-summary.html
/usr/share/doc/howl-0.9.2/html/rendezvous.html
/usr/share/howl/help/rendezvous-summary.html
/usr/share/howl/help/rendezvous.html
/usr/include/howl-0.9.2/rendezvous
/usr/include/howl-0.9.2/rendezvous/dll.h
/usr/include/howl-0.9.2/rendezvous/rendezvous.h
/usr/include/howl-0.9.2/rendezvous/text_record.h
/usr/lib/librendezvous.so.0 -> librendezvous.so.0.0.0 1082420751
Report
stunji
16 years ago
Report
rjw57
16 years ago
Oh god. In which case some manual tweaking will be required. Changing APIs is one thing, changing library names?
Report
stunji
16 years ago
What distro & version of cURL are you using? I'm SuSE 9.0 and cURL 7.10.5.
This'll be so awesome if I get it to work :)
Report
kaosconman
16 years ago
Yeah, I had that too. I needed to upgrade to a newer version of the cURL library, even though I had 7.10.5-r1. It does work with 7.10.8-r1 by the way.
Report
NateZ
16 years ago
Report
kaosconman
16 years ago
-I had cURL 7.10.5-r1 and needed to upgrade.
-Add "#include <qthread.h>" to the top of qrendezvous.h
-I changed lines 395 & 416 of ktunes.cpp to have "url.path()" instead of just "url"
-I needed to manually compile qrendezvous so I could include the proper howl directory in the include pathes - probably because I didn't use "--with-howl-includes" when I did ./configure
Funny thing is, I could figure out how to compile and install it, but I can't figure out how to use it. In konqueror (kde 3.1.3, I might add) "ktunes:/" returns: "An error occured while loading ktunes:/: Could not start process Unable to create io-slave: klauncher said: Error loading 'kio_ktunes'."
Report
rjw57
16 years ago
Report
kaosconman
16 years ago
Thanks for your interest. I am currently running 3.1.3. Is there something I can do to help uncover the problem?
Report