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

0
5.0
Description:

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.
Last changelog:

16 years ago

24 April 2004 -

* Initial release

AceTheFace

14 years ago

I'm using Suse 10.1 and the rpm from it. The "ktunes" and "daap" kio-slaves were listed in kinfocenter, but there's just an error message if I try to use it for example in konqueror:
"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

I finally got ktunes compiled and installed ... but how do i use it? konqueror to 'ktunes:/' doesn't return anything.

Report

gazR

16 years ago

dunno whether this'll help you but I had to start the mDNSResponder service before I saw anything listed in ktunes:/

/etc/init.d/mDNSResponder start

Might help, or it might have been coincidence on my PC:)

Report

gazR

16 years ago

OK, It compiled no problems on my Gentoo box and I can browse into ktunes:/ and see a list of pc's running iTunes. The only problem is, when I try to browse into one of the folders I get a popup with:

"access denied to "

and when I click OK, I get an empty filer window.

Any idea anyone?

Report

gazR

16 years ago

ok, I guess its something to do with Apple changing things in version 4.5.

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

Running FC1.
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

same here. installed howl, but the only things that howl installs are:

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

apt-get howl gets the right version. get through .configure but when compiling errors:

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

'pkg-config --modversion howl' returns
0.9.5 ... is ktunes not compatible with this version of howl perhaps?

Report

stunji

16 years ago

Hmmmm... I installed Howl, but configure seems to be looking for -lrendezvous; not -lhowl. I don't see any rendezvous.so files in the Howl RPM.

Report

C

rjw57

16 years ago

My copy of howl does:

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

urk. looks like they changed all the files from rendezvous* to howl* for 0.9.5.

Report

C

rjw57

16 years ago

*slaps head*

Oh god. In which case some manual tweaking will be required. Changing APIs is one thing, changing library names?

Report

stunji

16 years ago

OK, I tweaked configure.in.in to work against the lastest Howl, but now I'm getting a compile error in yadl.cpp-- CURLINFO_RESPONSE_CODE isn't defined in my curl.h!

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

stunji & NateZ,
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

yeah...i'm having the same issues - this'd be a great addon if you can get it working :)

Report

kaosconman

16 years ago

Just a couple comments:
-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

C

rjw57

16 years ago

Hmm.. What version of KDE do you have? I worked to the 3.2 reference docs so I may have inadvertently put a 3.2-ism in.

Report

kaosconman

16 years ago

rjw57,
Thanks for your interest. I am currently running 3.1.3. Is there something I can do to help uncover the problem?

Report

16 years ago

24 April 2004 -

* Initial release

12345678910
Be the first to comment
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.1
updated Apr 24 2004
added Apr 24 2004
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0