You are here: Home »

jheinitz

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • in reply to: A standalone Java client: FireflyClient #15561

    jheinitz
    Participant

    Hello,

    I just had a quick look at the cool FireflyClient for JAVA. It looks nice, but since 95% of my files are AAC files and not MP3 they don’t play.

    Is there a way of getting these AAC files to play? They are not DRM protected, just “normal” files ripped from my own CDs using itunes.

    Kind regards

    Jens

    in reply to: svn-1695, nslu2, unslung 6.8 + itunes 7.4.3.1: Duration ??? #13131

    jheinitz
    Participant

    Hello!

    STOP!!! I’m sorry for causing confusion. I had a few “bad” songs in my repository. These did not play at all, but the rest is fine. The only strange thing is that the type of the file is still shown as “AAC File (Removed)”. Even after removing the songs3.db file and restarting the server.

    Best regards

    Jens

    in reply to: svn-1695, nslu2, unslung 6.8 + itunes 7.4.3.1: Duration ??? #13130

    jheinitz
    Participant

    Hello,

    today I performed the Full Scan and I have a strange result:

    1.) Only a very few files show “Continuous” in itunes. That’s the good part.

    2.) All (really ALL) songs are shows in itunes as Type “AAC File (Removed)” or “MPEG Audio File (Removed)”

    Here is the section of the Full Scan from the Log:

    2007-10-29 20:19:05 (00000400): Rescanning database
    2007-10-29 20:19:22 (00000400): Bad aac file: atom length too short searching fo
    2007-10-29 20:19:22 (00000400): Bad aac file: atom length too short searching fo
    2007-10-29 20:19:22 (00000400): Bad aac file: atom length too short searching fo
    2007-10-29 20:19:22 (00000400): Bad aac file: atom length too short searching fo
    2007-10-29 20:19:22 (00000400): Bad aac file: atom length too short searching fo
    2007-10-29 20:19:22 (00000400): Bad aac file: atom length too short searching fo
    2007-10-29 20:21:10 (00000400): Bad aac file: atom length too short searching fo
    2007-10-29 20:21:10 (00000400): Bad aac file: atom length too short searching fo
    2007-10-29 20:21:10 (00000400): Bad aac file: atom length too short searching fo
    2007-10-29 20:21:10 (00000400): Bad aac file: atom length too short searching fo
    2007-10-29 20:21:10 (00000400): Bad aac file: atom length too short searching fo
    2007-10-29 20:21:10 (00000400): Bad aac file: atom length too short searching fo
    2007-10-29 20:26:33 (00000400): Starting playlist scan
    2007-10-29 20:26:38 (00000400): Updating playlists
    2007-10-29 20:26:39 (00000400): Scanned 5729 songs (was 5729) in 454 seconds

    What’s wrong here?

    Best regards

    Jens

    in reply to: svn-1695, nslu2, unslung 6.8 + itunes 7.4.3.1: Duration ??? #13129

    jheinitz
    Participant

    Hi Ron,

    I have sent you a small file by email. This one is ripped of the CD using itunes 6.x or 7.x a while ago. Hope that you are able to reproduce. If not, please let me know.

    Have a nice weekend.

    Cheers

    Jens

    in reply to: svn-1695, nslu2, unslung 6.8 + itunes 7.4.3.1: Duration ??? #13127

    jheinitz
    Participant

    @fizze: Grüsse aus HH zurück 🙂

    If it has to do with transcoding, why is the duration displayed for some AAC files even for those I have not played yet?

    @ron:

    I’m going to send you a file in the next couple of days. Hope to do so on the weekend.

    Regards

    Jens

    in reply to: Feedback on svn-1539 on Solaris –> It works! #10119

    jheinitz
    Participant

    Hello,

    I forgot to mention: I had to add -lresolv to $LIBS using Solaris 8 as well.

    I don’t know what to set for Solaris 10, but I can compile and install on Solaris 10 if you like.

    Best regards

    Jens

    in reply to: Firefly on Solaris (sparc) #9769

    jheinitz
    Participant

    Hi Ron,

    I got the information from the other Solaris Thread in the Nightly Feedback. So I ran the binary using gdb and here is what you want 8) :


    ...
    ...
    Added *DAAP-Server=firefly/svn-1528*
    Updating Content-Type from text/html to application/x-dmap-tagged
    Added *Cache-Control=no-cache*
    Added *Expires=-1*

    Program received signal SIGSEGV, Segmentation fault.
    0xff0b3218 in strlen () from /usr/lib/libc.so.1
    (gdb) bt
    #0 0xff0b3218 in strlen () from /usr/lib/libc.so.1
    #1 0xff106520 in _doprnt () from /usr/lib/libc.so.1
    #2 0xff108694 in vsnprintf () from /usr/lib/libc.so.1
    #3 0x0002f644 in pi_log (level=-25136528, fmt=0x7fffffff
    ) at plugin.c:695
    (gdb)

    Please let me know if you need more information.

    Kind regards

    Jens

    in reply to: Firefly on Solaris (sparc) #9768

    jheinitz
    Participant

    Hello Ron,

    I installed gdb on the system. I launched:

    gdb –exec=/usr/local/sbin/mt-daapd –core=core

    In the (gdb) prompt I typed backtrace.

    Here is what I got:

    {[email protected]|/var/log/mt-daapd|48} gdb --exec=/usr/local/sbin/mt-daapd --core=core
    GNU gdb 6.0
    Copyright 2003 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 "sparc-sun-solaris2.8".
    Core was generated by `/usr/local/sbin/mt-daapd -c /usr/local/etc/mt-daapd.conf -f -y -d 9'.
    Program terminated with signal 11, Segmentation fault.
    Reading symbols from /usr/lib/libresolv.so.2...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib/libresolv.so.2
    Reading symbols from /usr/lib/libdl.so.1...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib/libdl.so.1
    Reading symbols from /usr/lib/libpthread.so.1...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib/libpthread.so.1
    Reading symbols from /usr/lib/libnsl.so.1...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib/libnsl.so.1
    Reading symbols from /usr/lib/libsocket.so.1...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib/libsocket.so.1
    Reading symbols from /usr/local/lib/libid3tag.so.0...done.
    Loaded symbols for /usr/local/lib/libid3tag.so.0
    Reading symbols from /usr/local/lib/libz.so...done.
    Loaded symbols for /usr/local/lib/libz.so
    Reading symbols from /usr/local/lib/libsqlite3.so.0...done.
    Loaded symbols for /usr/local/lib/libsqlite3.so.0
    Reading symbols from /usr/lib/libc.so.1...done.
    Loaded symbols for /usr/lib/libc.so.1
    Reading symbols from /usr/lib/libmp.so.2...done.
    Loaded symbols for /usr/lib/libmp.so.2
    Reading symbols from /usr/local/lib/libgcc_s.so.1...done.
    Loaded symbols for /usr/local/lib/libgcc_s.so.1
    Reading symbols from /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1...done.
    Loaded symbols for /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
    Reading symbols from /usr/lib/libthread.so.1...done.
    Loaded symbols for /usr/lib/libthread.so.1
    Reading symbols from /usr/local/share/mt-daapd/plugins/out-daap.so...done.
    Loaded symbols for /usr/local/share/mt-daapd/plugins/out-daap.so
    Reading symbols from /usr/local/lib/libhowl.so.0...done.
    Loaded symbols for /usr/local/lib/libhowl.so.0
    Reading symbols from /usr/local/share/mt-daapd/plugins/rsp.so...done.
    Loaded symbols for /usr/local/share/mt-daapd/plugins/rsp.so
    Reading symbols from /usr/local/share/mt-daapd/plugins/ssc-script.so...done.
    Loaded symbols for /usr/local/share/mt-daapd/plugins/ssc-script.so
    #0 0xff0b3218 in strlen () from /usr/lib/libc.so.1
    (gdb) backtrace
    #0 0xff0b3218 in strlen () from /usr/lib/libc.so.1
    #1 0xff106520 in _doprnt () from /usr/lib/libc.so.1
    #2 0xff108694 in vsnprintf () from /usr/lib/libc.so.1
    #3 0x0002f644 in ?? ()
    (gdb)

    I think that this is not what you want, right? Did I miss a flag for the gdb command?

    Best regards

    Jens

    in reply to: Firefly on Solaris (sparc) #9766

    jheinitz
    Participant

    Hello,

    I have continued to play with the Solaris version of Firefly-1528. The lock_t issue is gone and it complies fine. But as soon as I try to connect from iTunes it crashes. I should mention that I connect to the server using Rendezvous Proxy because Server and client PC are on different networks.

    The server is logging something and then crashes. The pstack of the core file says something like strlen(). Please find the output from pstack core below:

    {[email protected]|/var/log/mt-daapd|62} pstack core
    core 'core' of 6668: /usr/local/sbin/mt-daapd -c /usr/local/etc/mt-daapd.conf -d 9 -y -f -m
    lwp# 1 / thread# 6
    ff0b3218 strlen (0, fe8073cc, 0, ff13f789, 0, fefa82c0) + 80
    ff10868c vsnprintf (fe807270, 7fffffff, fefa82b8, fe8073cc, 96150, 0) + 5c
    0002f63c pi_log (9, fefa82b8, 0, 0, f423f, 7c290) + 24
    fefa2f4c plugin_handler (8f6f8, 4000, 7c800, 7c800, fefa2d04, fefbae68) + 248
    0002ef34 plugin_url_handle (8f6f8, 0, 0, 7c800, fe807460, fe806360) + 9c
    0001bd64 ws_dispatcher (8f6f8, ff022708, 0, 7aa50, 7aa80, 58000) + 410
    ff00b01c _thread_start (8f6f8, 0, 0, 0, 0, 0) + 40
    lwp# 2 / thread# 2
    ff11ed7c _signotifywait (ff01c000, 0, ff3e7aac, 1000, ff3d4124, ff3e8008) + 8
    ff001c2c thr_yield (0, 0, 0, 0, 0, 0) + 8c
    lwp# 3
    ff11c920 _door_return (3, ff01d658, ff01d670, 3, ff01c000, 1) + 10
    feffa358 _lwp_start (fefe5d98, 0, 6000, ffbeefd4, 0, 0) + 18
    ff001c2c thr_yield (0, 0, 0, 0, 0, 0) + 8c
    lwp# 4 / thread# 4
    ff11c050 _so_accept (6, fea0bc18, ffffffff, fffffff8, 0, 90a1d) + 8
    0001a58c ws_mainthread (87978, fefd3d38, 1, ff028d04, 0, 2) + 48
    ff00b01c _thread_start (87978, 0, 0, 0, 0, 0) + 40
    lwp# 5 / thread# 5
    ff009200 private___lwp_cond_wait (ff01cd28, ff01c000, ff01cd10, fe909d30, ff01c000, 0) + 8
    ff00b01c _thread_start (0, 0, 0, 0, 0, 0) + 40
    thread# 1
    feff7d88 cond_reltimedwait (0, 84c60, 0, ff01c000, 0, 0) + 1dc
    ff009150 sleep (0, 84a88, 56cc0, 32, ff01c000, 2e50c) + 17c
    0002e500 os_wait (2, 56cc0, 0, 7c800, ffbef4a0, 84c30) + 4
    000194bc main (8, 56c00, ffbef6c8, 84c1c, 6, 1) + 584
    00018ab4 _start (0, 0, 0, 0, 0, 0) + 5c
    thread# 3
    feffd9b8 _reap_wait (ff020980, 1e924, 0, ff01c000, 0, 0) + 38
    feffd710 _reaper (ff01ce00, ff022708, ff020980, ff01cdd8, 1, fe400000) + 38
    ff00b01c _thread_start (0, 0, 0, 0, 0, 0) + 40
    {[email protected]|/var/log/mt-daapd|63}

    The output on the screen when running it with the following options shows:

    /usr/local/sbin/mt-daapd -c /usr/local/etc/mt-daapd.conf -y -d 9 -f

    Thread 0: Entering ws_dispatcher (Connection from 10.7.52.125)
    Thread 0: got request
    Request: GET daap://10.7.53.179:3689/server-info HTTP/1.1
    Thread 0: Read: Accept: */*
    Thread 0: Adding header *Accept=*/**
    Added *Accept=*/**
    Thread 0: Read: User-Agent: iTunes/7.0.2 (Windows; N)
    Thread 0: Adding header *User-Agent=iTunes/7.0.2 (Windows; N)*
    Added *User-Agent=iTunes/7.0.2 (Windows; N)*
    Thread 0: Read: Client-DAAP-Version: 3.3
    Thread 0: Adding header *Client-DAAP-Version=3.3*
    Added *Client-DAAP-Version=3.3*
    Thread 0: Read: Client-DAAP-Access-Index: 2
    Thread 0: Adding header *Client-DAAP-Access-Index=2*
    Added *Client-DAAP-Access-Index=2*
    Thread 0: Read: Accept-Encoding: gzip
    Thread 0: Adding header *Accept-Encoding=gzip*
    Added *Accept-Encoding=gzip*
    Thread 0: Read:
    Thread 0: Headers parsed!
    Checking to see if connection matches close
    Nope!
    Thread 0: Connection type HTTP/1.1
    : Connection: persist
    Thread 0: Original URI: daap://10.7.53.179:3689/server-info
    Thread 0: Translated URI: /server-info
    Thread 0: Preparing to find handler
    Thread 0: URI Match!
    Thread 0: Time is 1176370580 seconds after epoch
    Thread 0: Setting time header
    Added *Date=Thu, 12 Apr 2007 09:36:20 GMT*
    Added *Connection=keep-alive*
    Added *Server=mt-daapd/svn-1528*
    Added *Content-Type=text/html*
    Added *Content-Language=en_us*
    Thread 0: Using non-default handler
    in main_auth
    Checking url /server-info
    Checking url /server-info
    Dispatching auth for /server-info to plugin
    Checking url /server-info
    Checking url /server-info
    Dispatching /server-info to daap/svn-1528
    in main_handler
    Checking url /server-info
    Checking url /server-info
    Dispatching /server-info to plugin
    Checking url /server-info
    Checking url /server-info
    Dispatching /server-info to daap/svn-1528
    Getting uri...
    Mallocing privinfo...
    Added *Accept-Ranges=bytes*
    Added *DAAP-Server=firefly/svn-1528*
    Updating Content-Type from text/html to application/x-dmap-tagged
    Added *Cache-Control=no-cache*
    Added *Expires=-1*
    Segmentation Fault (core dumped)

    Hope that this information helps to identify the problem.

    I’m running Solaris 8 on a Sun-Fire V210.

    Best regards

    Jens

    in reply to: Firefly on Solaris (sparc) #9760

    jheinitz
    Participant

    Hi!

    Got it!!!! I used owl instead of avahi and I was able to compile. I can access the WEB GUI, the database is available and the server scanned 11 songs. I did not have the ability to test the streaming yet, but I will do later.

    One thing remains: The GUI does not display information like Uptime, Songs, songs servered and the Buttons “Start Scan”, “Start Full Scan” remain Grey after they have pressed. A refresh in the browser fixes that.

    Best regards

    Jens

    in reply to: Firefly on Solaris (sparc) #9759

    jheinitz
    Participant

    Hi Rons (Ron1 and Ron2)!

    I’m not making so much progress. The thing is that I got stuck during the compilation of the AVAHI package since there is no pre-compiled package for Solaris available. I also tried HOWL but also no sucess.

    And here during the configure of AVAHI, I get the message that my distro is not supported and I should specify –with-distro=none to skip this check.

    I ran:

    configure –enable-compat-howl –disable-qt3 –disable-qt4 –disable-gtk –disable-python –disable-mono –disable-monodoc –with-distro=none

    Then I changed to avahi-compat-howl directory and executed make. But it did not complete due to erors… 🙁

    Ron P., did you ever get a version of Firefly running on Solaris (SPARC)?

    Best regards

    Jens

    in reply to: Firefly on Solaris (sparc) #9756

    jheinitz
    Participant

    Hello Ron,

    I have upgraded sqlite from 3.3.8 to 3.3.14 and now my configure script completed. But there are other issues under SPARC Solaris.

    One is that you declare something called lock_t in util.h. The thing is that there is already something called lock_t in /usr/include/sys/machtypes.h

    I changed the definiton from lock_t to jh_lock_t in the util.h and util.c. That solved this issue and the make compiled more sources. But now I failed compiling mDNS.c and the included file mDNSClientAPI.h. Lots of errors.

    HELP!!!

    Best regards

    Jens

    in reply to: Firefly on Solaris (sparc) #9755

    jheinitz
    Participant

    Hello Ron,

    I tried again today and I have to correct myself. The hosttype is recognized correctly with svn-1498 and svn-1519, but using bost versions I got stuck in the configure with the sqlite3 section. It tells me that I must have sqlite3 libs installed. I thought I have, but it seems that I don’t have. I downloaded sqlite3.3.8 package and compiled and installed it. There is a libsqlite3.so in /usr/local/lib. Here is the rest of the output from:

    ./configure –enable-sqlite3


    checking for strsep… no
    Host type is sparc-sun-solaris2.8
    checking getopt.h usability… no
    checking getopt.h presence… no
    checking for getopt.h… no
    checking for stdint.h… (cached) no
    checking id3tag.h usability… yes
    checking id3tag.h presence… yes
    checking for id3tag.h… yes
    checking for id3_file_open in -lid3tag… yes
    checking sqlite3.h usability… yes
    checking sqlite3.h presence… yes
    checking for sqlite3.h… yes
    checking for sqlite3_open in -lsqlite3… no
    Must have sqlite3 libraries installed

    any ideas?

    Best regards

    Jens

    in reply to: NSLU2 with nightly, but Soundbridge will not connect #9142

    jheinitz
    Participant

    Hi,

    a few things to check:

    1.) have you checked your logfile of the firefly server. Should be /opt/var/log/mt-daapd.log?

    2.) have you started the Firefly Server after installing the software? Reboot would also start the server.

    3.) Can you see your Firefly Server in iTunes? In order to see it in iTunes you need to configure iTunes to look for shared music.

    If you have anything strange in your logfile, please post it. This gives the community a more detailed view on your system.

    Kind regards

    Jens

    in reply to: SVN-1498 Soundbridge Problem #8949

    jheinitz
    Participant

    Hi,

    maybe there is a timeout problem in your environment. When you browse your library, could you please check if your FireFly Server is scanning the MP3 folder at the same time? Maybe the NSLU2 can not handle it all at the same time. I figured out that the whole NSLU2 become slow when the FireFly Server is performing a scan. I also discovered that setting the debuglevel to 9 increases the time to scan my MP3 folder. Actually it took longer than 10min and I configured the scan interval to be 10min so it scanned all the time.

    It’s just to give you some ideas where the problem can come from.

    Regards

    Jens

Viewing 15 posts - 1 through 15 (of 19 total)