[Rhythmbox-devel] DAAP support



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

Hello,

this is my first post to this list, so good morning all!

I wrote to this mailing-list because the patch appeared the first time
on this list and AFAIK its aim is providing DAAP support to Rhythmbox.

I debianized for Debian unstable the 'gnome-vfs-daap' module [1],
following the Debian New Maintainers' Guide [2], and the package is
available for other people here:
	deb http://luca.pca.it/debian/ ./
	deb-src http://luca.pca.it/debian/ ./

I followed the instruction in the README and this is the output:
=====
luca gismo:~$ gnomevfs-
gnomevfs-cat    gnomevfs-info   gnomevfs-mkdir
gnomevfs-copy   gnomevfs-ls     gnomevfs-rm

luca gismo:~$ gnomevfs-cat daap://192.168.0.12
DAAP:[0x804a050] [Init] {in vfs_module_init}

(process:28168): libgnomevfs-CRITICAL **: file gnome-vfs-uri.c: line
1667 (gnome_vfs_uri_get_path): assertion `uri != NULL' failed

(process:28168): libgnomevfs-CRITICAL **: file gnome-vfs-uri.c: line
1332 (gnome_vfs_uri_get_host_name): assertion `uri != NULL' failed
error opening host
Segmentation fault

luca gismo:~$ gnomevfs-copy daap://192.168.0.12
Usage: gnomevfs-copy <src> <dest>
luca gismo:~$ gnomevfs-copy daap://192.168.0.12/59.mp3 .
DAAP:[0x804a050] [Init] {in vfs_module_init}

(process:28175): libgnomevfs-CRITICAL **: file gnome-vfs-uri.c: line
1202 (gnome_vfs_uri_is_local): assertion `uri != NULL' failed

libgnomevfs-ERROR **: file gnome-vfs-xfer.c: line 2314
(gnome_vfs_xfer_uri_internal): assertion failed: (target_dir_uri != NULL)
aborting...
Aborted

luca gismo:~$ gnomevfs-info daap://192.168.0.12
DAAP:[0x804b050] [Init] {in vfs_module_init}

(process:28190): libgnomevfs-CRITICAL **: file gnome-vfs-uri.c: line
1667 (gnome_vfs_uri_get_path): assertion `uri != NULL' failed

(process:28190): libgnomevfs-CRITICAL **: file gnome-vfs-uri.c: line
1332 (gnome_vfs_uri_get_host_name): assertion `uri != NULL' failed
error opening host
Segmentation fault

luca gismo:~$ gnomevfs-ls daap://192.168.0.12
DAAP:[0x804a870] [Init] {in vfs_module_init}
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
90?s Music              (Directory, x-directory/normal) size 0  mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
Recently Added          (Directory, x-directory/normal) size 0  mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
Top 25 Most Played              (Directory, x-directory/normal) size 0
mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
Recently Played         (Directory, x-directory/normal) size 0  mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
My Top Rated            (Directory, x-directory/normal) size 0  mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
metadata.xml            (Regular, text/xml)     size 7871       mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
35.mp3          (Regular, audio/x-mp3)  size 4665762    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
36.mp3          (Regular, audio/x-mp3)  size 7398583    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
37.mp3          (Regular, audio/x-mp3)  size 4412036    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
38.mp3          (Regular, audio/x-mp3)  size 5396957    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
39.mp3          (Regular, audio/x-mp3)  size 4759987    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
40.mp3          (Regular, audio/x-mp3)  size 9427452    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
41.mp3          (Regular, audio/x-mp3)  size 4321130    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
42.mp3          (Regular, audio/x-mp3)  size 4803683    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
43.mp3          (Regular, audio/x-mp3)  size 5632722    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
44.mp3          (Regular, audio/x-mp3)  size 3420288    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
45.mp3          (Regular, audio/x-mp3)  size 3979563    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
46.mp3          (Regular, audio/x-mp3)  size 4750926    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
47.mp3          (Regular, audio/x-mp3)  size 4816270    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
48.mp3          (Regular, audio/x-mp3)  size 5764343    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
49.mp3          (Regular, audio/x-mp3)  size 2943104    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
50.mp3          (Regular, audio/x-mp3)  size 5763959    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
51.mp3          (Regular, audio/x-mp3)  size 9427452    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
52.mp3          (Regular, audio/x-mp3)  size 5458944    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
53.mp3          (Regular, audio/x-mp3)  size 3980075    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
54.mp3          (Regular, audio/x-mp3)  size 4999964    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
55.mp3          (Regular, audio/x-mp3)  size 5765623    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
56.mp3          (Regular, audio/x-mp3)  size 4816526    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
57.mp3          (Regular, audio/x-mp3)  size 7398583    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
58.mp3          (Regular, audio/x-mp3)  size 4750926    mode 0444
DAAP:[0x804a870] [Directory] Read; 0x8095c30 {in do_read_directory}
59.mp3          (Regular, audio/x-mp3)  size 7398583    mode 0444

luca gismo:~$ gnomevfs-mkdir daap://192.168.0.12/test
DAAP:[0x804a050] [Init] {in vfs_module_init}
Error making directory daap://192.168.0.12/test
Reason: Unsupported operation

luca gismo:~$ gnomevfs-rm daap://192.168.0.12/59.mp3
DAAP:[0x804a050] [Init] {in vfs_module_init}
open `daap://192.168.0.12/59.mp3': Unsupported operation
=====

As you can see, only 'gnomevfs-ls' works, but I guess this is correct.
OTOH, here the backtrace for 'gnomevfs-info', it it could be useful:
=====
luca gismo:~$ gdb gnomevfs-info
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) r daap://192.168.0.12
Starting program: /usr/bin/gnomevfs-info daap://192.168.0.12
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1213922656 (LWP 27697)]
(no debugging symbols found)
(no debugging symbols found)
- ---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
DAAP:[0x804b050] [Init] {in vfs_module_init}

(process:27697): libgnomevfs-CRITICAL **: file gnome-vfs-uri.c: line
1667 (gnome_vfs_uri_get_path): assertion `uri != NULL' failed

(process:27697): libgnomevfs-CRITICAL **: file gnome-vfs-uri.c: line
1332 (gnome_vfs_uri_get_host_name): assertion `uri != NULL' failed
error opening host

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213922656 (LWP 27697)]
0xb7bc3c2b in g_node_max_height () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0  0xb7bc3c2b in g_node_max_height () from /usr/lib/libglib-2.0.so.0
#1  0xb7a19c3d in daap_structure_find_node_by_value ()
   from /usr/lib/gnome-vfs-2.0/modules/libdaap.so
#2  0xb7a19b9c in daap_structure_find_node ()
   from /usr/lib/gnome-vfs-2.0/modules/libdaap.so
#3  0xb7a19b16 in daap_structure_find_item ()
   from /usr/lib/gnome-vfs-2.0/modules/libdaap.so
#4  0xb7a173eb in daap_debug_printf ()
   from /usr/lib/gnome-vfs-2.0/modules/libdaap.so
#5  0xb7a17f28 in daap_debug_printf ()
   from /usr/lib/gnome-vfs-2.0/modules/libdaap.so
#6  0xb7f9d8b2 in gnome_vfs_get_file_info_uri_cancellable ()
   from /usr/lib/libgnomevfs-2.so.0
#7  0xb7fb84e3 in gnome_vfs_get_file_info_uri ()
   from /usr/lib/libgnomevfs-2.so.0
#8  0xb7fb8496 in gnome_vfs_get_file_info () from
/usr/lib/libgnomevfs-2.so.0
#9  0x08048e54 in main ()
(gdb) The program is running.  Exit anyway? (y or n) y
luca gismo:~$
=====

BTW, I'm here for any other tests you need.

Now I need the DAAP patch for Rhythmbox :-)

Thx, bye,
Gismo / Luca

[1] http://ishamael.tunkeymicket.com/software/daap.html
[2] http://www.debian.org/doc/maint-guide/maint-guide
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFB0BuGVAp7Xm10JmkRAq2EAJkBoVZjjwk2NQst8ouiquUrIe0O9QCfSEJb
nQUmr1Ib7aFdZsF7Q3lsMdA=
=PWGa
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]