This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] Amarok 2.1 SVN and DAAP

Tags: None
(comma "," separated)
jupi
Registered Member
Posts
4
Karma
0

[SOLVED] Amarok 2.1 SVN and DAAP

Sun Apr 12, 2009 1:39 am
Hi,

today I finally managed to give Amarok 2.1 a try, and I'm amazed how beautiful this application has grown since its first steps towards 2.0.
But, sadly, one - for me quite important - feature seems to be missing / not working: Amarok 2 does not show my DAAP shares, while rhythmbox and Amarok 1.4.x do so, rhythmbox even detects the share automatically. Amarok 2 doesn't show any signs of having recognized a DAAP share, apart of one line in the log which reads as follows:
amarok(6829) DNSSD::RemoteService::resolveAsync: DNSSD::RemoteService(0xa790628) :Starting resolve of :  "My Share"  "_daap._tcp"  "local"
So amarok seems to detect the share, but I couldn't find any possibility in amarok's GUI to select or play tracks from it. Where would the share appear? I looked everywhere, be it Collection, Internet, Playlist or Files, but there was not any hint of my share :(.
My DAAP-server is mt-daapd on standard tcp port (3689).

Perhaps someone can give me a hint how to help amarok correctly recognize my share?

Thanks in advance,
jupi

Last edited by jupi on Mon Apr 27, 2009 10:48 am, edited 1 time in total.
User avatar
sebr
Moderator
Posts
301
Karma
0

Re: Amarok 2.1 SVN and DAAP

Sun Apr 12, 2009 7:28 am
Daap shares show up fine for me. They're listed in the collections tab.

What type of server is providing the daap share? mt-daapd?
jupi
Registered Member
Posts
4
Karma
0

Re: Amarok 2.1 SVN and DAAP

Sun Apr 12, 2009 10:14 pm
Yes, the share is provided by mt-daapd, and as of the log entries, some component of amarok seems to discover the share, but the problem is that it isn't shown for me anywhere, not even in the collections tab (there is only my Local Collection listed). The mt-daapd setup is working, because rhythmbox automatically discovers the share and shows it up, and using amarok 1.4.9 it's possible to access the mt-daapd server as media device by specifying its IP.
noid
Registered Member
Posts
9
Karma
0

Re: Amarok 2.1 SVN and DAAP

Tue Apr 14, 2009 2:14 pm
exactly the same problem here.
I begun a thread in the german subforum (http://amarok.kde.org/forum/index.php/t ... 282.0.html)

However, I have still no solution to the problem... :(
noid
Registered Member
Posts
9
Karma
0

Re: Amarok 2.1 SVN and DAAP

Thu Apr 23, 2009 12:56 pm
@jupi, which distribution do you use?

Try amarok from the OpenSuse-LiveCD to detect the share...
(http://download.opensuse.org/factory/iso/)
jupi
Registered Member
Posts
4
Karma
0

Re: Amarok 2.1 SVN and DAAP

Thu Apr 23, 2009 1:58 pm
Distribution is Arch Linux, but imho it doesn't matter because the amarok build in question has been built from the svn sources by myself, so there have been no distribution specific changes to it.

I'm now using a more current amarok svn build (from yesterday, precisely) on another PC (with ArchLinux), but the problem persists: While rhythmbox, banshee and any other player capable of using DAAP sources shows up the share correctly, amarok2 doesn't.

EDIT: In the amarok log, I get these two messages, which indicate that even amarok2 has found something, but the DAAP share is not shown under Collections.

amarok(3910) DNSSD::RemoteService::resolveAsync: DNSSD::RemoteService(0xa9009000) :Starting resolve of :  "Musik von DAAP"  "_daap._tcp"  "local"
amarok(3910) DNSSD::RemoteService::resolveAsync: DNSSD::RemoteService(0xae0959d0) :Starting resolve of :  "Musik von DAAP"  "_daap._tcp"  "local"

Last edited by jupi on Thu Apr 23, 2009 2:03 pm, edited 1 time in total.
noid
Registered Member
Posts
9
Karma
0

Re: Amarok 2.1 SVN and DAAP

Thu Apr 23, 2009 3:11 pm
I am using Arch Linux (+ KDEmod) too.

Here's my log:
amarok(16372) DNSSD::RemoteService::resolveAsync: DNSSD::RemoteService(0x899ba48) :Starting resolve of :  "QNAP"  "_daap._tcp"  "local"
DAAP share is found, but not shown under the collection.

I confirm with you.
Actually, it should make no difference which distribution is used.
I built Amarok from the SVN sources too. (I also tried the Packages from KDEmod and all PKGBUILD from the AUR ...)

But if you have the time, give OpenSuse or Kubuntu 9.04 a try. (the LiveCD is sufficient ... )
djabal
Registered Member
Posts
1
Karma
0

Re: Amarok 2.1 SVN and DAAP

Sat Apr 25, 2009 10:01 pm
Hi,
I had the same problem on ArchLinux (+KDEmod), and I resolved it by installing nss-mdns !

have fun.

Last edited by djabal on Sun Apr 26, 2009 11:20 am, edited 1 time in total.
noid
Registered Member
Posts
9
Karma
0

Re: Amarok 2.1 SVN and DAAP

Mon Apr 27, 2009 9:33 am
djabal wrote:Hi,
I had the same problem on ArchLinux (+KDEmod), and I resolved it by installing nss-mdns !

have fun.

Thank you, that's the solution!

A small question remains.
It look's like the Cover-Management doesn't work for DAAP-Shares (not yet) ?
I can fetch the Covers, but can't save them. The embedded Covers of the MP3-Files also aren't displayed

Last edited by noid on Mon Apr 27, 2009 5:21 pm, edited 1 time in total.
jupi
Registered Member
Posts
4
Karma
0

Re: Amarok 2.1 SVN and DAAP

Mon Apr 27, 2009 10:48 am
Confirmed, installing nss-mdns solves the problem. But for me it was not enough to only install nss-mdns (it was installed before on this machine), but I had to add it to /etc/nsswitch.conf for host resolution.
bigster
Registered Member
Posts
7
Karma
0
Hi,

I've the same problem with my daap server.
i've installed the nss-mdns but i can't figure out what you mean with " I had to add it to /etc/nsswitch.conf for host resolution." Can you send my any example??

cheers
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS

Amarok 2.1 SVN and DAAP

Tue May 12, 2009 9:54 pm
hosts:          files dns mdns4_minimal [NOTFOUND=return]

as an example.
mdns service should be in the hosts line.
Or check this one.

Greetings
m0nk


If men could get pregnant, abortion would be a sacrament.
bigster
Registered Member
Posts
7
Karma
0
Hi,

this is what i have in the nssswitch.conf :.

hosts:          files mdns4_minimal [NOTFOUND=return] nis dns mdns4

but the amarok 2 still dosen't encouter  my daap server from my DNS 323 D-link NAS

any ideas??

cheers

Nuno
noid
Registered Member
Posts
9
Karma
0
Hi,

- is your daap shown at startup? (start from console)


Here's my entry from the nssconfig:

hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4

-> I don't have the nis paramenter in this line ?!
bigster
Registered Member
Posts
7
Karma
0
hi,

here's my start from console log... the daap don't appear...


[nuno@localhost ~]$ amarok
TagLib: ID3v2.4 no longer supports the frame type TDAT.  It will be discarded from the tag.
TagLib: ID3v2.4 no longer supports the frame type TDAT.  It will be discarded from the tag.
TagLib: ID3v2.4 no longer supports the frame type TDAT.  It will be discarded from the tag.
TagLib: ID3v2.4 no longer supports the frame type TDAT.  It will be discarded from the tag.
TagLib: ID3v2.4 no longer supports the frame type TDAT.  It will be discarded from the tag.
TagLib: ID3v2.4 no longer supports the frame type TDAT.  It will be discarded from the tag.
TagLib: ID3v2.4 no longer supports the frame type TDAT.  It will be discarded from the tag.
TagLib: ID3v2.4 no longer supports the frame type TDAT.  It will be discarded from the tag.
TagLib: ID3v2.4 no longer supports the frame type TDAT.  It will be discarded from the tag.
TagLib: ID3v2.4 no longer supports the frame type TDAT.  It will be discarded from the tag.
TagLib: ID3v2.4 no longer supports the frame type TDAT.  It will be discarded from the tag.
Object::connect: No such slot MainWindow::showStatistics()                               
Object::connect:  (receiver name: 'MainWindow')                                           
QLayout: Attempting to add QLayout "" to MainWindow "MainWindow", which already has a layout
link XMLID_7_ hasn't been detected!                                                       
link XMLID_7_ hasn't been detected!                                                       
Couldn't resolve property: radialGradient3986                                             
link XMLID_7_ hasn't been detected!                                                       
link XMLID_7_ hasn't been detected!                                                       
Couldn't resolve property: radialGradient3986                                             
QWidget::insertAction: Attempt to insert null action                                       
QWidget::insertAction: Attempt to insert null action                                       
QWidget::insertAction: Attempt to insert null action                                       
QWidget::insertAction: Attempt to insert null action                                       
QWidget::insertAction: Attempt to insert null action                                       
QWidget::insertAction: Attempt to insert null action                                       
QWidget::insertAction: Attempt to insert null action                                       
amarok(14348)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "AmarokContext/Animator"  not found                                                 
link XMLID_7_ hasn't been detected!                                                       
link XMLID_7_ hasn't been detected!                                                       
Couldn't resolve property: radialGradient3986                                             
link XMLID_7_ hasn't been detected!                                                       
link XMLID_7_ hasn't been detected!                                                       
Couldn't resolve property: radialGradient3986                                             
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
Object::connect: No such slot FileBrowser::Widget::setDir( const QString& )
Object::connect:  (sender name:  'KBookmarkHandler')
Object::connect:  (receiver name: 'FileBrowser::Widget')
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x3800064
[nuno@localhost ~]$ QPainter::begin: Cannot paint on a null pixmap
QPainter::begin: Cannot paint on a null pixmap
QPainter::begin: Cannot paint on a null pixmap
QPainter::begin: Cannot paint on a null pixmap
QPainter::begin: Cannot paint on a null pixmap


about the nis parameter, should i remove it???

cheers


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]