Entering ws_returnerror (401: Unauthorized) linux fc6

FireFly Media Server Firefly Media Server Forums Firefly Media Server Nightlies Feedback Entering ws_returnerror (401: Unauthorized) linux fc6

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1118
    throw
    Participant

    Hi,

    I have been trying to compile the latest nightly on fedora core 6 and so I can connect using itunes. I can see the share with in itunes, however when I go to connect, I get the following error when I click on the share.

    Entering ws_returnerror (401: Unauthorized)

    I compiled mt-daap with the following options:

    ./configure –enable-sqlite –enable-avahi

    I was able to confirm, using avahi-browse, that the shared is being broadcasted out as _rsp._tcp and iTunes Audio Access. Here are the logs in debug 3 from start till I click on the share from with in itunes;

    mt-daapd -c /etc/mt-daapd/mt-daapd.conf -f -d 3

    Firefly Version svn-1498: Starting with debuglevel 3
    Starting rendezvous daemon
    Client running
    Starting signal handler
    Avahi poll thread quit iwth error: OK
    Initializing database
    Starting web server from /usr/share/mt-daapd/admin-root on port 3689
    Registering rendezvous names
    Serving 11 songs. Startup complete in 0 seconds
    Rescanning database
    Starting playlist scan
    Updating playlists
    Scanned 11 songs (was 11) in 0 seconds
    Thread 0: Entering ws_returnerror (401: Unauthorized)
    Thread 0: could not read: Success

    This one has me stuck. I can run the stable version with out any problems. I was hoping to go to the nightlies so I can stream mp4 on itunes.

    Thanks in advance for any help.[/quote]

    #9237
    rpedde
    Participant

    @throw wrote:

    Hi,

    I have been trying to compile the latest nightly on fedora core 6 and so I can connect using itunes. I can see the share with in itunes, however when I go to connect, I get the following error when I click on the share.

    Entering ws_returnerror (401: Unauthorized)

    I compiled mt-daap with the following options:

    ./configure –enable-sqlite –enable-avahi

    I was able to confirm, using avahi-browse, that the shared is being broadcasted out as _rsp._tcp and iTunes Audio Access. Here are the logs in debug 3 from start till I click on the share from with in itunes;

    mt-daapd -c /etc/mt-daapd/mt-daapd.conf -f -d 3

    Firefly Version svn-1498: Starting with debuglevel 3
    Starting rendezvous daemon
    Client running
    Starting signal handler
    Avahi poll thread quit iwth error: OK
    Initializing database
    Starting web server from /usr/share/mt-daapd/admin-root on port 3689
    Registering rendezvous names
    Serving 11 songs. Startup complete in 0 seconds
    Rescanning database
    Starting playlist scan
    Updating playlists
    Scanned 11 songs (was 11) in 0 seconds
    Thread 0: Entering ws_returnerror (401: Unauthorized)
    Thread 0: could not read: Success

    This one has me stuck. I can run the stable version with out any problems. I was hoping to go to the nightlies so I can stream mp4 on itunes.

    Thanks in advance for any help.

    [/quote]

    Looks right… can you turn it up to -d9?

    #9238
    throw
    Participant

    Here is the debug when server is started.

    ./mt-daapd -c /etc/mt-daapd/mt-daapd.conf -f -d 9
    Found 1 tokens in /export//media
    Token 1: /export//media
    Expanding precomments to 2048
    Expanding precomments to 4096
    Checking existence of /usr/share/mt-daapd/admin-root
    Checking existence of /usr/share/mt-daapd/admin-root
    Checking existence of /export/media/db
    Checking existence of /export/media/db
    Loading new config file.
    Firefly Version svn-1498: Starting with debuglevel 9
    Starting rendezvous daemon
    Initializing avahi
    Client running
    Creting service group
    No entries yet… skipping service create
    Starting avahi polling thread
    Starting signal handler
    Opening database
    Executing: select value from config where term=’version’
    Results: 0
    Initializing database
    Executing: select count(*) FROM songs
    Executing: select value from config where term=’rescan’
    Executing: vacuum
    Avahi poll thread quit iwth error: OK
    Rows: 0
    Executing: create index idx_path on songs(path,idx)
    Query: create index idx_path on songs(path,idx)
    Error: index idx_path already exists
    Executing: create index idx_songid on playlistitems(songid)
    Query: create index idx_songid on playlistitems(songid)
    Error: index idx_songid already exists
    Executing: create index idx_playlistid on playlistitems(playlistid,songid)
    Query: create index idx_playlistid on playlistitems(playlistid,songid)
    Error: index idx_playlistid already exists
    Starting web server from /usr/share/mt-daapd/admin-root on port 3689
    Listening on port 3689
    Starting server thread
    Registering rendezvous names
    Adding mt-bird1/_http._tcp
    Creating service group (again?)
    Creting service group
    Waiting on something…
    Done waiting.
    Re-registering mt-bird1/_http._tcp
    Found key of size 9
    Added key txtvers=1
    Added key Database ID=653F80C5
    Added key Machine ID=653F80C5
    Added key Machine Name=mt-bird1
    Added key mtd-version=svn-1498
    Added key iTSh Version=131073
    Added key Version=196610
    Added key Password=true
    Added key ffid=12c6c778
    Executing: select count(*) FROM songs
    Serving 11 songs. Startup complete in 0 seconds
    Rescanning database
    Starting scan_init
    Starting db scan
    Executing: drop table updated
    Query: drop table updated
    Error: no such table: updated
    Executing: create temp table updated (id int)
    Rows: 0
    Executing: drop table plupdated
    Query: drop table plupdated
    Error: no such table: plupdated
    Executing: create temp table plupdated(id int)
    Rows: 0
    Scanning for MP3s in /export//media
    Found /export/media/db
    Found db.. recursing
    Found /export/media/db/songs.db
    Found /export/media/MOVIES
    Found MOVIES.. recursing
    Found /export/media/MOVIES/layercake.mp4
    Executing: select * from songs where path=’/export/media/MOVIES/layercake.mp4′ and idx=0
    Executing: INSERT INTO updated VALUES (1)
    Rows: 1
    Skipping file, not modified
    Found /export/media/MOVIES/HighTension.mp4
    Executing: select * from songs where path=’/export/media/MOVIES/HighTension.mp4′ and idx=0
    Executing: INSERT INTO updated VALUES (2)
    Rows: 1
    Skipping file, not modified
    Found /export/media/MOVIES/ScannerDark.mp4
    Executing: select * from songs where path=’/export/media/MOVIES/ScannerDark.mp4′ and idx=0
    Executing: INSERT INTO updated VALUES (3)
    Rows: 1
    Skipping file, not modified
    Found /export/media/MOVIES/motorcyclediaries.mp4
    Executing: select * from songs where path=’/export/media/MOVIES/motorcyclediaries.mp4′ and idx=0
    Executing: INSERT INTO updated VALUES (4)
    Rows: 1
    Skipping file, not modified
    Found /export/media/MOVIES/ConstGardener.mp4
    Executing: select * from songs where path=’/export/media/MOVIES/ConstGardener.mp4′ and idx=0
    Executing: INSERT INTO updated VALUES (5)
    Rows: 1
    Skipping file, not modified
    Found /export/media/MOVIES/Invincible.mp4
    Executing: select * from songs where path=’/export/media/MOVIES/Invincible.mp4′ and idx=0
    Executing: INSERT INTO updated VALUES (6)
    Rows: 1
    Skipping file, not modified
    Found /export/media/MOVIES/KingdomOfHeaven.mp4
    Executing: select * from songs where path=’/export/media/MOVIES/KingdomOfHeaven.mp4′ and idx=0
    Executing: INSERT INTO updated VALUES (7)
    Rows: 1
    Skipping file, not modified
    Found /export/media/MOVIES/lifeaquad.mp4
    Executing: select * from songs where path=’/export/media/MOVIES/lifeaquad.mp4′ and idx=0
    Executing: INSERT INTO updated VALUES (8)
    Rows: 1
    Skipping file, not modified
    Found /export/media/MOVIES/illusionist.mp4
    Executing: select * from songs where path=’/export/media/MOVIES/illusionist.mp4′ and idx=0
    Executing: INSERT INTO updated VALUES (9)
    Rows: 1
    Skipping file, not modified
    Found /export/media/MOVIES/joedirt.mp4
    Executing: select * from songs where path=’/export/media/MOVIES/joedirt.mp4′ and idx=0
    Executing: INSERT INTO updated VALUES (10)
    Rows: 1
    Skipping file, not modified
    Found /export/media/MOVIES/zathura.mp4
    Executing: select * from songs where path=’/export/media/MOVIES/zathura.mp4′ and idx=0
    Executing: INSERT INTO updated VALUES (11)
    Rows: 1
    Skipping file, not modified
    Found /export/media/lost+found
    Found lost+found.. recursing
    Ending song scan
    Executing: pragma synchronous = off
    Rows: 0
    Executing: begin transaction
    Rows: 0
    Processing playlists
    Starting playlist scan
    Finished playlist loop
    Executing: end transaction
    Rows: 0
    Executing: pragma synchronous=normal
    Rows: 0
    Executing: delete from songs where id not in (select id from updated)
    Rows: 0
    Executing: update songs set force_update=0
    Rows: 11
    Executing: drop table updated
    Rows: 0
    Executing: delete from playlists where ((type=2) OR (type=3)) and id not in (select id from plupdated)
    Rows: 0
    Executing: delete from playlistitems where playlistid not in (select distinct id from playlists)
    Rows: 0
    Executing: drop table plupdated
    Rows: 0
    Updating playlists
    Executing: select count(*) from playlists
    Executing: select * from playlists
    Executing: update playlists set items=(select count(*) from songs where 1) where id=1
    Rows: 1
    Executing: select count(*) FROM songs
    Scanned 11 songs (was 11) in 0 seconds

    This is after I click on the share from with in itunes.

    Thread 0: Entering ws_dispatcher (Connection from 192.168.69.21)
    Thread 0: got request
    Request: GET daap://192.168.69.25: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 (Macintosh; N; PPC)
    Thread 0: Adding header *User-Agent=iTunes/7.0.2 (Macintosh; N; PPC)*
    Added *User-Agent=iTunes/7.0.2 (Macintosh; N; PPC)*
    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://192.168.69.25:3689/server-info
    Thread 0: Translated URI: /server-info
    Thread 0: Preparing to find handler
    Thread 0: URI Match!
    Thread 0: Time is 1172012251 seconds after epoch
    Thread 0: Setting time header
    Added *Date=Tue, 20 Feb 2007 22:57:31 GMT*
    Added *Connection=keep-alive*
    Added *Server=mt-daapd/svn-1498*
    Added *Content-Type=text/html*
    Added *Content-Language=en_us*
    Thread 0: Using non-default handler
    in main_auth
    Dispatching auth for /server-info to config auth
    Added *WWW-Authenticate=Basic realm=”webserver”*
    Thread 0: Entering ws_returnerror (401: Unauthorized)
    Updating Connection from keep-alive to keep-alive
    Added *Content-Length=2*
    Emitting reponse header Content-Length: 2
    Emitting reponse header WWW-Authenticate: Basic realm=”webserver”
    Emitting reponse header Content-Language: en_us
    Emitting reponse header Content-Type: text/html
    Emitting reponse header Server: mt-daapd/svn-1498
    Emitting reponse header Connection: keep-alive
    Emitting reponse header Date: Tue, 20 Feb 2007 22:57:31 GMT
    Thread 0: Terminating
    Thread 0: Freeing request headers
    Thread 0: Freeing response headers
    Thread 0: Freeing request vars
    Thread 0: could not read: Success
    Thread 0: Terminating
    Thread 0: Freeing request headers
    Thread 0: Freeing response headers
    Thread 0: Freeing request vars
    Thread 0: Closing fd
    With thread 0 exiting, 0 are still running
    Got shutdown signal.
    Stopping gracefully
    Stopping rendezvous daemon
    Closing database
    Done!

    this line from the last debu looks suspect.

    Checking to see if connection matches close
    Nope!

    #9239
    rpedde
    Participant

    @throw wrote:

    this line from the last debu looks suspect.

    Checking to see if connection matches close
    Nope!

    That actually is normal. You have a password set, though, right? Does it work without the password?

    Probably does. I’ll check on that.

    #9240
    throw
    Participant

    I tried it both with and without password, and both do not work. Does it work with a similiar configuration?

    server on fedora core 6
    client on g5 mac running itunes 7.0.2

    I will verify against other clients running itunes.

    I verified that iptables was off and I can connect to the web interface from the same host that is running itunes. So I do not think it is network related.

    #9241
    rpedde
    Participant

    @throw wrote:

    I tried it both with and without password, and both do not work. Does it work with a similiar configuration?

    server on fedora core 6
    client on g5 mac running itunes 7.0.2

    I will verify against other clients running itunes.

    I verified that iptables was off and I can connect to the web interface from the same host that is running itunes. So I do not think it is network related.

    Oh. Duh. It’s missing the plugins section from the old style config. Try replacing your config file with the sample config and edit it to taste. Specifically, there is a section like:


    [plugins]
    plugins_dir = /usr/share/mt-daapd/plugins

    Or wahtever prefix you used. That’s what you are missing — the out-daap.so plugin. If you get it set right, you should see it load the plugins at the very beginning of the startup.

    — Ron

    #9242
    throw
    Participant

    Yup that worked. Duno why I didn’t think to look at new config either.

    So here is my next issue. I thought it was possible with the nightlies, but I want to stream mp4 video to itunes. Is that possible?

    I recompiled with the following options:

    ./configure –enable-sqlite –enable-avahi –enable-ffmpeg –with-ffmpeg-includes=/usr/include/ffmpeg

    Here are the logs.

    Startup

    ./mt-daapd -c /etc/mt-daapd/mt-daapd.conf -f -d 9
    Found 1 tokens in /export//media/Movies
    Token 1: /export//media/Movies
    Expanding precomments to 2048
    Checking existence of /usr/share/mt-daapd/admin-root
    Checking existence of /usr/share/mt-daapd/admin-root
    Checking existence of /export/media/db
    Checking existence of /export/media/db
    Checking existence of /usr/local/share/mt-daapd/plugins
    Checking existence of /usr/local/share/mt-daapd/plugins
    Loading new config file.
    Firefly Version svn-1498: Starting with debuglevel 9
    Attempting to load plugin /usr/local/share/mt-daapd/plugins/out-daap.so
    Loaded plugin /usr/local/share/mt-daapd/plugins/out-daap.so (daap/svn-1489)
    New transcode codec list:
    Attempting to load plugin /usr/local/share/mt-daapd/plugins/ssc-script.so
    Loaded plugin /usr/local/share/mt-daapd/plugins/ssc-script.so (ssc-script/svn-1489)
    New transcode codec list: ogg,flac,alac
    Attempting to load plugin /usr/local/share/mt-daapd/plugins/rsp.so
    Loaded plugin /usr/local/share/mt-daapd/plugins/rsp.so (rsp/svn-1489)
    New transcode codec list: ogg,flac,alac
    Starting rendezvous daemon
    Initializing avahi
    Client running
    Creting service group
    No entries yet… skipping service create
    Starting avahi polling thread
    Starting signal handler
    Opening database
    Executing: select value from config where term=’version’
    Results: 0
    Initializing database
    Executing: select count(*) FROM songs
    Executing: select value from config where term=’rescan’
    Executing: vacuum
    Avahi poll thread quit iwth error: OK
    Rows: 0
    Executing: create index idx_path on songs(path,idx)
    Query: create index idx_path on songs(path,idx)
    Error: index idx_path already exists
    Executing: create index idx_songid on playlistitems(songid)
    Query: create index idx_songid on playlistitems(songid)
    Error: index idx_songid already exists
    Executing: create index idx_playlistid on playlistitems(playlistid,songid)
    Query: create index idx_playlistid on playlistitems(playlistid,songid)
    Error: index idx_playlistid already exists
    Starting web server from /usr/share/mt-daapd/admin-root on port 3689
    Listening on port 3689
    Starting server thread
    Registering rendezvous names
    Adding Firefly svn-1498 on bird/_http._tcp
    Creating service group (again?)
    Creting service group
    Waiting on something…
    Done waiting.
    Re-registering Firefly svn-1498 on bird/_http._tcp
    Found key of size 9
    Added key txtvers=1
    Added key Database ID=DA4B2A4E
    Added key Machine ID=DA4B2A4E
    Added key Machine Name=Firefly svn-1498 on bird
    Added key mtd-version=svn-1498
    Added key iTSh Version=131073
    Added key Version=196610
    Added key Password=false
    Added key ffid=1727cac2
    Checking rsp/svn-1489
    Registering _rsp._tcp
    Adding Firefly svn-1498 on bird/_rsp._tcp
    Resetting mdns group
    Creating service group (again?)
    Creting service group
    Waiting on something…
    Done waiting.
    Re-registering Firefly svn-1498 on bird/_rsp._tcp
    Found key of size 9
    Added key txtvers=1
    Added key Database ID=DA4B2A4E
    Added key Machine ID=DA4B2A4E
    Added key Machine Name=Firefly svn-1498 on bird
    Added key mtd-version=svn-1498
    Added key iTSh Version=131073
    Added key Version=196610
    Added key Password=false
    Added key ffid=1727cac2
    Re-registering Firefly svn-1498 on bird/_http._tcp
    Found key of size 9
    Added key txtvers=1
    Added key Database ID=DA4B2A4E
    Added key Machine ID=DA4B2A4E
    Added key Machine Name=Firefly svn-1498 on bird
    Added key mtd-version=svn-1498
    Added key iTSh Version=131073
    Added key Version=196610
    Added key Password=false
    Added key ffid=1727cac2
    Checking ssc-script/svn-1489
    Checking daap/svn-1489
    Registering _daap._tcp
    Adding Firefly svn-1498 on bird/_daap._tcp
    Resetting mdns group
    Creating service group (again?)
    Creting service group
    Waiting on something…
    Done waiting.
    Re-registering Firefly svn-1498 on bird/_daap._tcp
    Found key of size 9
    Added key txtvers=1
    Added key Database ID=DA4B2A4E
    Added key Machine ID=DA4B2A4E
    Added key Machine Name=Firefly svn-1498 on bird
    Added key mtd-version=svn-1498
    Added key iTSh Version=131073
    Added key Version=196610
    Added key Password=false
    Added key ffid=1727cac2
    Re-registering Firefly svn-1498 on bird/_rsp._tcp
    Found key of size 9
    Added key txtvers=1
    Added key Database ID=DA4B2A4E
    Added key Machine ID=DA4B2A4E
    Added key Machine Name=Firefly svn-1498 on bird
    Added key mtd-version=svn-1498
    Added key iTSh Version=131073
    Added key Version=196610
    Added key Password=false
    Added key ffid=1727cac2
    Re-registering Firefly svn-1498 on bird/_http._tcp
    Found key of size 9
    Added key txtvers=1
    Added key Database ID=DA4B2A4E
    Added key Machine ID=DA4B2A4E
    Added key Machine Name=Firefly svn-1498 on bird
    Added key mtd-version=svn-1498
    Added key iTSh Version=131073
    Added key Version=196610
    Added key Password=false
    Added key ffid=1727cac2
    Executing: select count(*) FROM songs
    Serving 1 songs. Startup complete in 0 seconds
    Rescanning database
    Starting scan_init
    Starting db scan
    Executing: drop table updated
    Query: drop table updated
    Error: no such table: updated
    Executing: create temp table updated (id int)
    Rows: 0
    Executing: drop table plupdated
    Query: drop table plupdated
    Error: no such table: plupdated
    Executing: create temp table plupdated(id int)
    Rows: 0
    Scanning for MP3s in /export//media/Movies
    Found /export/media/Movies/layer.mp4
    Executing: select * from songs where path=’/export/media/Movies/layer.mp4′ and idx=0
    Executing: INSERT INTO updated VALUES (1)
    Rows: 1
    Skipping file, not modified
    Ending song scan
    Executing: pragma synchronous = off
    Rows: 0
    Executing: begin transaction
    Rows: 0
    Processing playlists
    Starting playlist scan
    Finished playlist loop
    Executing: end transaction
    Rows: 0
    Executing: pragma synchronous=normal
    Rows: 0
    Executing: delete from songs where id not in (select id from updated)
    Rows: 0
    Executing: update songs set force_update=0
    Rows: 1
    Executing: drop table updated
    Rows: 0
    Executing: delete from playlists where ((type=2) OR (type=3)) and id not in (select id from plupdated)
    Rows: 0
    Executing: delete from playlistitems where playlistid not in (select distinct id from playlists)
    Rows: 0
    Executing: drop table plupdated
    Rows: 0
    Updating playlists
    Executing: select count(*) from playlists
    Executing: select * from playlists
    Executing: update playlists set items=(select count(*) from songs where 1) where id=1
    Rows: 1
    Executing: select count(*) FROM songs
    Scanned 1 songs (was 1) in 0 seconds

    Connect from itunes

    Thread 0: Entering ws_dispatcher (Connection from 192.168.69.21)
    Thread 0: got request
    Request: GET daap://192.168.69.25: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 (Macintosh; N; PPC)
    Thread 0: Adding header *User-Agent=iTunes/7.0.2 (Macintosh; N; PPC)*
    Added *User-Agent=iTunes/7.0.2 (Macintosh; N; PPC)*
    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://192.168.69.25:3689/server-info
    Thread 0: Translated URI: /server-info
    Thread 0: Preparing to find handler
    Thread 0: URI Match!
    Thread 0: Time is 1172333549 seconds after epoch
    Thread 0: Setting time header
    Added *Date=Sat, 24 Feb 2007 16:12:29 GMT*
    Added *Connection=keep-alive*
    Added *Server=mt-daapd/svn-1498*
    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-1489
    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-1489
    Getting uri…
    Mallocing privinfo…
    Added *Accept-Ranges=bytes*
    Added *DAAP-Server=firefly/svn-1489*
    Updating Content-Type from text/html to application/x-dmap-tagged
    Added *Cache-Control=no-cache*
    Added *Expires=-1*
    Index (null): offset 0, limit 999999
    Tokenizing url
    Found 17 elements
    Checking reponse 0
    Found it! Index: 0
    Added *Content-Length=145*
    Emitting reponse header Content-Length: 145
    Emitting reponse header Expires: -1
    Emitting reponse header Cache-Control: no-cache
    Emitting reponse header DAAP-Server: firefly/svn-1489
    Emitting reponse header Accept-Ranges: bytes
    Emitting reponse header Content-Language: en_us
    Emitting reponse header Content-Type: application/x-dmap-tagged
    Emitting reponse header Server: mt-daapd/svn-1498
    Emitting reponse header Connection: keep-alive
    Emitting reponse header Date: Sat, 24 Feb 2007 16:12:29 GMT
    Entering config_set_status
    Exiting config_set_status
    Thread 0: Terminating
    Thread 0: Freeing request headers
    Thread 0: Freeing response headers
    Thread 0: Freeing request vars
    Thread 0: got request
    Request: GET /content-codes HTTP/1.1
    Thread 0: Read: Host: 192.168.69.25
    Thread 0: Adding header *Host=192.168.69.25*
    Added *Host=192.168.69.25*
    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: User-Agent: iTunes/7.0.2 (Macintosh; N; PPC)
    Thread 0: Adding header *User-Agent=iTunes/7.0.2 (Macintosh; N; PPC)*
    Added *User-Agent=iTunes/7.0.2 (Macintosh; N; PPC)*
    Thread 0: Read: Accept-Language: en-us, en;q=0.50
    Thread 0: Adding header *Accept-Language=en-us, en;q=0.50*
    Added *Accept-Language=en-us, en;q=0.50*
    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: /content-codes
    Thread 0: Translated URI: /content-codes
    Thread 0: Preparing to find handler
    Thread 0: URI Match!
    Thread 0: Time is 1172333549 seconds after epoch
    Thread 0: Setting time header
    Added *Date=Sat, 24 Feb 2007 16:12:29 GMT*
    Added *Connection=keep-alive*
    Added *Server=mt-daapd/svn-1498*
    Added *Content-Type=text/html*
    Added *Content-Language=en_us*
    Thread 0: Using non-default handler
    in main_auth
    Checking url /content-codes
    Checking url /content-codes
    Dispatching auth for /content-codes to plugin
    Checking url /content-codes
    Checking url /content-codes
    Dispatching /content-codes to daap/svn-1489
    in main_handler
    Checking url /content-codes
    Checking url /content-codes
    Dispatching /content-codes to plugin
    Checking url /content-codes
    Checking url /content-codes
    Dispatching /content-codes to daap/svn-1489
    Getting uri…
    Mallocing privinfo…
    Added *Accept-Ranges=bytes*
    Added *DAAP-Server=firefly/svn-1489*
    Updating Content-Type from text/html to application/x-dmap-tagged
    Added *Cache-Control=no-cache*
    Added *Expires=-1*
    Index (null): offset 0, limit 999999
    Tokenizing url
    Found 17 elements
    Checking reponse 0
    Checking reponse 1
    Found it! Index: 1
    Added *Content-Length=7097*
    Emitting reponse header Content-Length: 7097
    Emitting reponse header Expires: -1
    Emitting reponse header Cache-Control: no-cache
    Emitting reponse header DAAP-Server: firefly/svn-1489
    Emitting reponse header Accept-Ranges: bytes
    Emitting reponse header Content-Language: en_us
    Emitting reponse header Content-Type: application/x-dmap-tagged
    Emitting reponse header Server: mt-daapd/svn-1498
    Emitting reponse header Connection: keep-alive
    Emitting reponse header Date: Sat, 24 Feb 2007 16:12:29 GMT
    Entering config_set_status
    Exiting config_set_status
    Thread 0: Terminating
    Thread 0: Freeing request headers
    Thread 0: Freeing response headers
    Thread 0: Freeing request vars
    Thread 0: got request
    Request: GET /databases HTTP/1.1
    Thread 0: Read: Host: 192.168.69.25
    Thread 0: Adding header *Host=192.168.69.25*
    Added *Host=192.168.69.25*
    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: User-Agent: iTunes/7.0.2 (Macintosh; N; PPC)
    Thread 0: Adding header *User-Agent=iTunes/7.0.2 (Macintosh; N; PPC)*
    Added *User-Agent=iTunes/7.0.2 (Macintosh; N; PPC)*
    Thread 0: Read: Accept-Language: en-us, en;q=0.50
    Thread 0: Adding header *Accept-Language=en-us, en;q=0.50*
    Added *Accept-Language=en-us, en;q=0.50*
    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: Client-DAAP-Validation: FFECE01E11A20254BD39D67EDEA92930
    Thread 0: Adding header *Client-DAAP-Validation=FFECE01E11A20254BD39D67EDEA92930*
    Added *Client-DAAP-Validation=FFECE01E11A20254BD39D67EDEA92930*
    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: /databases
    Thread 0: Translated URI: /databases
    Thread 0: Preparing to find handler
    Thread 0: URI Match!
    Thread 0: Time is 1172333549 seconds after epoch
    Thread 0: Setting time header
    Added *Date=Sat, 24 Feb 2007 16:12:29 GMT*
    Added *Connection=keep-alive*
    Added *Server=mt-daapd/svn-1498*
    Added *Content-Type=text/html*
    Added *Content-Language=en_us*
    Thread 0: Using non-default handler
    in main_auth
    Checking url /databases
    Checking url /databases
    Dispatching auth for /databases to plugin
    Checking url /databases
    Checking url /databases
    Dispatching /databases to daap/svn-1489
    in main_handler
    Checking url /databases
    Checking url /databases
    Dispatching /databases to plugin
    Checking url /databases
    Checking url /databases
    Dispatching /databases to daap/svn-1489
    Getting uri…
    Mallocing privinfo…
    Added *Accept-Ranges=bytes*
    Added *DAAP-Server=firefly/svn-1489*
    Updating Content-Type from text/html to application/x-dmap-tagged
    Added *Cache-Control=no-cache*
    Added *Expires=-1*
    Index (null): offset 0, limit 999999
    Tokenizing url
    Found 17 elements
    Checking reponse 0
    Checking reponse 1
    Checking reponse 2
    Checking reponse 3
    Checking reponse 4
    Checking reponse 5
    Found it! Index: 5
    Executing: select count(*) FROM songs
    Executing: select count(*) FROM playlists
    Added *Content-Length=137*
    Emitting reponse header Content-Length: 137
    Emitting reponse header Expires: -1
    Emitting reponse header Cache-Control: no-cache
    Emitting reponse header DAAP-Server: firefly/svn-1489
    Emitting reponse header Accept-Ranges: bytes
    Emitting reponse header Content-Language: en_us
    Emitting reponse header Content-Type: application/x-dmap-tagged
    Emitting reponse header Server: mt-daapd/svn-1498
    Emitting reponse header Connection: keep-alive
    Emitting reponse header Date: Sat, 24 Feb 2007 16:12:29 GMT
    Entering config_set_status
    Exiting config_set_status
    Thread 0: Terminating
    Thread 0: Freeing request headers
    Thread 0: Freeing response headers
    Thread 0: Freeing request vars
    Thread 0: got request
    Request: GET /databases/1/items?type=music&meta=dmap.itemid,dmap.itemname,dmap.itemkind,dmap.persistentid,daap.songalbum,daap.songgrouping,daap.songartist,daap.songalbumartist,daap.songbitrate,daap.songbeatsperminute,daap.songcomment,daap.songcodectype,daap.songcodecsubtype,daap.songcompilation,daap.songcomposer,daap.songdateadded,daap.songdatemodified,daap.songdisccount,daap.songdiscnumber,daap.songdisabled,daap.songeqpreset,daap.songformat,daap.songgenre,daap.songdescription,daap.songrelativevolume,daap.songsamplerate,daap.songsize,daap.songstarttime,daap.songstoptime,daap.songtime,daap.songtrackcount,daap.songtracknumber,daap.songuserrating,daap.songyear,daap.songdatakind,daap.songdataurl,daap.songcontentrating,com.apple.itunes.norm-volume,com.apple.itunes.itms-songid,com.apple.itunes.itms-artistid,com.apple.itunes.itms-playlistid,com.apple.itunes.itms-composerid,com.apple.itunes.itms-genreid,com.apple.itunes.itms-storefrontid,com.apple.itunes.has-video,daap.songcategory,daap.songcontentdescription,daap.songlongcontentdescription,daap.songkeywords,com.apple.itunes.is-podcast,com.apple.itunes.mediakind,com.apple.itunes.series-name,com.apple.itunes.network-name,com.apple.itunes.episode-num-str,com.apple.itunes.episode-sort,com.apple.itunes.season-num,daap.songgapless,com.apple.itunes.gapless-enc-del,com.apple.itunes.gapless-heur,com.apple.itunes.gapless-enc-dr,com.apple.itunes.gapless-dur,com.apple.itunes.gapless-resy HTTP/1.1
    Thread 0: Read: Host: 192.168.69.25
    Thread 0: Adding header *Host=192.168.69.25*
    Added *Host=192.168.69.25*
    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: User-Agent: iTunes/7.0.2 (Macintosh; N; PPC)
    Thread 0: Adding header *User-Agent=iTunes/7.0.2 (Macintosh; N; PPC)*
    Added *User-Agent=iTunes/7.0.2 (Macintosh; N; PPC)*
    Thread 0: Read: Accept-Language: en-us, en;q=0.50
    Thread 0: Adding header *Accept-Language=en-us, en;q=0.50*
    Added *Accept-Language=en-us, en;q=0.50*
    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: Client-DAAP-Validation: 8C36287D09FE7B53E1FFE4C74E114AA5
    Thread 0: Adding header *Client-DAAP-Validation=8C36287D09FE7B53E1FFE4C74E114AA5*
    Added *Client-DAAP-Validation=8C36287D09FE7B53E1FFE4C74E114AA5*
    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: parsing GET args
    Thread 0: Entering ws_getgetvars (type=music&meta=dmap.itemid,dmap.itemname,dmap.itemkind,dmap.persistentid,daap.songalbum,daap.songgrouping,daap.songartist,daap.songalbumartist,daap.songbitrate,daap.songbeatsperminute,daap.songcomment,daap.songcodectype,daap.songcodecsubtype,daap.songcompilation,daap.songcomposer,daap.songdateadded,daap.songdatemodified,daap.songdisccount,daap.songdiscnumber,daap.songdisabled,daap.songeqpreset,daap.songformat,daap.songgenre,daap.songdescription,daap.songrelativevolume,daap.songsamplerate,daap.songsize,daap.songstarttime,daap.songstoptime,daap.songtime,daap.songtrackcount,daap.songtracknumber,daap.songuserrating,daap.songyear,daap.songdatakind,daap.songdataurl,daap.songcontentrating,com.apple.itunes.norm-volume,com.apple.itunes.itms-songid,com.apple.itunes.itms-artistid,com.apple.itunes.itms-playlistid,com.apple.itunes.itms-composerid,com.apple.itunes.itms-genreid,com.apple.itunes.itms-storefrontid,com.apple.itunes.has-video,daap.songcategory,daap.songcontentdescription,daap.songlongcontentdescription,daap.songkeywords,com.apple.itunes.is-podcast,com.apple.itunes.mediakind,com.apple.itunes.series-name,com.apple.itunes.network-name,com.apple.itunes.episode-num-str,com.apple.itunes.episode-sort,com.apple.itunes.season-num,daap.songgapless,com.apple.itunes.gapless-enc-del,com.apple.itunes.gapless-heur,com.apple.itunes.gapless-enc-dr,com.apple.itunes.gapless-dur,com.apple.itunes.gapless-resy)
    Thread 0: Adding arg type = music
    Added *type=music*
    Thread 0: Adding arg meta = dmap.itemid,dmap.itemname,dmap.itemkind,dmap.persistentid,daap.songalbum,daap.songgrouping,daap.songartist,daap.songalbumartist,daap.songbitrate,daap.songbeatsperminute,daap.songcomment,daap.songcodectype,daap.songcodecsubtype,daap.songcompilation,daap.songcomposer,daap.songdateadded,daap.songdatemodified,daap.songdisccount,daap.songdiscnumber,daap.songdisabled,daap.songeqpreset,daap.songformat,daap.songgenre,daap.songdescription,daap.songrelativevolume,daap.songsamplerate,daap.songsize,daap.songstarttime,daap.songstoptime,daap.songtime,daap.songtrackcount,daap.songtracknumber,daap.songuserrating,daap.songyear,daap.songdatakind,daap.songdataurl,daap.songcontentrating,com.apple.itunes.norm-volume,com.apple.itunes.itms-songid,com.apple.itunes.itms-artistid,com.apple.itunes.itms-playlistid,com.apple.itunes.itms-composerid,com.apple.itunes.itms-genreid,com.apple.itunes.itms-storefrontid,com.apple.itunes.has-video,daap.songcategory,daap.songcontentdescription,daap.songlongcontentdescription,daap.songkeywords,com.apple.itunes.is-podcast,com.apple.itunes.mediakind,com.apple.itunes.series-name,com.apple.itunes.network-name,com.apple.itunes.episode-num-str,com.apple.itunes.episode-sort,com.apple.itunes.season-num,daap.songgapless,com.apple.itunes.gapless-enc-del,com.apple.itunes.gapless-heur,com.apple.itunes.gapless-enc-dr,com.apple.itunes.gapless-dur,com.apple.itunes.gapless-resy
    Added *meta=dmap.itemid,dmap.itemname,dmap.itemkind,dmap.persistentid,daap.songalbum,daap.songgrouping,daap.songartist,daap.songalbumartist,daap.songbitrate,daap.songbeatsperminute,daap.songcomment,daap.songcodectype,daap.songcodecsubtype,daap.songcompilation,daap.songcomposer,daap.songdateadded,daap.songdatemodified,daap.songdisccount,daap.songdiscnumber,daap.songdisabled,daap.songeqpreset,daap.songformat,daap.songgenre,daap.songdescription,daap.songrelativevolume,daap.songsamplerate,daap.songsize,daap.songstarttime,daap.songstoptime,daap.songtime,daap.songtrackcount,daap.songtracknumber,daap.songuserrating,daap.songyear,daap.songdatakind,daap.songdataurl,daap.songcontentrating,com.apple.itunes.norm-volume,com.apple.itunes.itms-songid,com.apple.itunes.itms-artistid,com.apple.itunes.itms-playlistid,com.apple.itunes.itms-composerid,com.apple.itunes.itms-genreid,com.apple.itunes.itms-storefrontid,com.apple.itunes.has-video,daap.songcategory,daap.songcontentdescription,daap.songlongcontentdescription,daap.songkeywords,com.apple.itunes.is-podcast,com.apple.itunes.mediakind,com.apple.itunes.series-name,com.apple.itunes.network-name,com.apple.itunes.episode-num-str,com.apple.itunes.episode-sort,com.apple.itunes.season-num,daap.songgapless,com.apple.itunes.gapless-enc-del,com.apple.itunes.gapless-heur,com.apple.itunes.gapless-enc-dr,com.apple.itunes.gapless-dur,com.apple.itunes.gapless-resy*
    Thread 0: Done parsing GET/POST args!
    Thread 0: Original URI: /databases/1/items
    Thread 0: Translated URI: /databases/1/items
    Thread 0: Preparing to find handler
    Thread 0: URI Match!
    Thread 0: Time is 1172333549 seconds after epoch
    Thread 0: Setting time header
    Added *Date=Sat, 24 Feb 2007 16:12:29 GMT*
    Added *Connection=keep-alive*
    Added *Server=mt-daapd/svn-1498*
    Added *Content-Type=text/html*
    Added *Content-Language=en_us*
    Thread 0: Using non-default handler
    in main_auth
    Checking url /databases/1/items
    Checking url /databases/1/items
    Dispatching auth for /databases/1/items to plugin
    Checking url /databases/1/items
    Checking url /databases/1/items
    Dispatching /databases/1/items to daap/svn-1489
    in main_handler
    Checking url /databases/1/items
    Checking url /databases/1/items
    Dispatching /databases/1/items to plugin
    Checking url /databases/1/items
    Checking url /databases/1/items
    Dispatching /databases/1/items to daap/svn-1489
    Getting uri…
    Mallocing privinfo…
    Added *Accept-Ranges=bytes*
    Added *DAAP-Server=firefly/svn-1489*
    Updating Content-Type from text/html to application/x-dmap-tagged
    Added *Cache-Control=no-cache*
    Added *Expires=-1*
    Index (null): offset 0, limit 999999
    Tokenizing url
    Found 17 elements
    Checking reponse 0
    Checking reponse 1
    Checking reponse 2
    Checking reponse 3
    Checking reponse 4
    Checking reponse 5
    Checking reponse 6
    Found it! Index: 6
    Unknown meta code: daap.songalbumartist
    Unknown meta code: daap.songcategory
    Unknown meta code: daap.songcontentdescription
    Unknown meta code: daap.songlongcontentdescription
    Unknown meta code: daap.songkeywords
    Unknown meta code: com.apple.itunes.is-podcast
    Unknown meta code: com.apple.itunes.mediakind
    Unknown meta code: com.apple.itunes.series-name
    Unknown meta code: com.apple.itunes.network-name
    Unknown meta code: com.apple.itunes.episode-num-str
    Unknown meta code: com.apple.itunes.episode-sort
    Unknown meta code: com.apple.itunes.season-num
    Unknown meta code: daap.songgapless
    Unknown meta code: com.apple.itunes.gapless-enc-del
    Unknown meta code: com.apple.itunes.gapless-heur
    Unknown meta code: com.apple.itunes.gapless-enc-dr
    Unknown meta code: com.apple.itunes.gapless-dur
    Unknown meta code: com.apple.itunes.gapless-resy
    meta codes: 193514046488527
    No query/filter
    Executing: select count(songs.id) from songs
    Number of results: 1
    Executing: select * from songs limit 999999 offset 0
    Enumerating size
    Executing: select * from songs limit 999999 offset 0
    Got size: 176
    Item enum: got 1 songs, dmap size: 176
    Added *Content-Length=237*
    Emitting reponse header Content-Length: 237
    Emitting reponse header Expires: -1
    Emitting reponse header Cache-Control: no-cache
    Emitting reponse header DAAP-Server: firefly/svn-1489
    Emitting reponse header Accept-Ranges: bytes
    Emitting reponse header Content-Language: en_us
    Emitting reponse header Content-Type: application/x-dmap-tagged
    Emitting reponse header Server: mt-daapd/svn-1498
    Emitting reponse header Connection: keep-alive
    Emitting reponse header Date: Sat, 24 Feb 2007 16:12:29 GMT
    Done enumerating.
    Entering config_set_status
    Exiting config_set_status
    Thread 0: Terminating
    Thread 0: Freeing request headers
    Thread 0: Freeing response headers
    Thread 0: Freeing request vars
    Thread 0: got request
    Request: GET /databases/1/containers?meta=dmap.itemid,dmap.itemname,dmap.persistentid,com.apple.itunes.smart-playlist,dmap.haschildcontainers,dmap.parentcontainerid,com.apple.itunes.is-podcast-playlist,com.apple.itunes.special-playlist HTTP/1.1
    Thread 0: Read: Host: 192.168.69.25
    Thread 0: Adding header *Host=192.168.69.25*
    Added *Host=192.168.69.25*
    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: User-Agent: iTunes/7.0.2 (Macintosh; N; PPC)
    Thread 0: Adding header *User-Agent=iTunes/7.0.2 (Macintosh; N; PPC)*
    Added *User-Agent=iTunes/7.0.2 (Macintosh; N; PPC)*
    Thread 0: Read: Accept-Language: en-us, en;q=0.50
    Thread 0: Adding header *Accept-Language=en-us, en;q=0.50*
    Added *Accept-Language=en-us, en;q=0.50*
    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: Client-DAAP-Validation: 47C2D9D08282CE084CA4084D4D9FD0F6
    Thread 0: Adding header *Client-DAAP-Validation=47C2D9D08282CE084CA4084D4D9FD0F6*
    Added *Client-DAAP-Validation=47C2D9D08282CE084CA4084D4D9FD0F6*
    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: parsing GET args
    Thread 0: Entering ws_getgetvars (meta=dmap.itemid,dmap.itemname,dmap.persistentid,com.apple.itunes.smart-playlist,dmap.haschildcontainers,dmap.parentcontainerid,com.apple.itunes.is-podcast-playlist,com.apple.itunes.special-playlist)
    Thread 0: Adding arg meta = dmap.itemid,dmap.itemname,dmap.persistentid,com.apple.itunes.smart-playlist,dmap.haschildcontainers,dmap.parentcontainerid,com.apple.itunes.is-podcast-playlist,com.apple.itunes.special-playlist
    Added *meta=dmap.itemid,dmap.itemname,dmap.persistentid,com.apple.itunes.smart-playlist,dmap.haschildcontainers,dmap.parentcontainerid,com.apple.itunes.is-podcast-playlist,com.apple.itunes.special-playlist*
    Thread 0: Done parsing GET/POST args!
    Thread 0: Original URI: /databases/1/containers
    Thread 0: Translated URI: /databases/1/containers
    Thread 0: Preparing to find handler
    Thread 0: URI Match!
    Thread 0: Time is 1172333550 seconds after epoch
    Thread 0: Setting time header
    Added *Date=Sat, 24 Feb 2007 16:12:30 GMT*
    Added *Connection=keep-alive*
    Added *Server=mt-daapd/svn-1498*
    Added *Content-Type=text/html*
    Added *Content-Language=en_us*
    Thread 0: Using non-default handler
    in main_auth
    Checking url /databases/1/containers
    Checking url /databases/1/containers
    Dispatching auth for /databases/1/containers to plugin
    Checking url /databases/1/containers
    Checking url /databases/1/containers
    Dispatching /databases/1/containers to daap/svn-1489
    in main_handler
    Checking url /databases/1/containers
    Checking url /databases/1/containers
    Dispatching /databases/1/containers to plugin
    Checking url /databases/1/containers
    Checking url /databases/1/containers
    Dispatching /databases/1/containers to daap/svn-1489
    Getting uri…
    Mallocing privinfo…
    Added *Accept-Ranges=bytes*
    Added *DAAP-Server=firefly/svn-1489*
    Updating Content-Type from text/html to application/x-dmap-tagged
    Added *Cache-Control=no-cache*
    Added *Expires=-1*
    Index (null): offset 0, limit 999999
    Tokenizing url
    Found 17 elements
    Checking reponse 0
    Checking reponse 1
    Checking reponse 2
    Checking reponse 3
    Checking reponse 4
    Checking reponse 5
    Checking reponse 6
    Checking reponse 7
    Found it! Index: 7
    Unknown meta code: com.apple.itunes.is-podcast-playlist
    Unknown meta code: com.apple.itunes.special-playlist
    meta codes: 87960930222123
    No query/filter
    Executing: select count (*) from playlists
    Number of results: 1
    Executing: select * from playlists limit 999999 offset 0
    Enumerating size
    Executing: select * from playlists limit 999999 offset 0
    Got size: 56
    Item enum: got 1 playlists, dmap size: 56
    Added *Content-Length=117*
    Emitting reponse header Content-Length: 117
    Emitting reponse header Expires: -1
    Emitting reponse header Cache-Control: no-cache
    Emitting reponse header DAAP-Server: firefly/svn-1489
    Emitting reponse header Accept-Ranges: bytes
    Emitting reponse header Content-Language: en_us
    Emitting reponse header Content-Type: application/x-dmap-tagged
    Emitting reponse header Server: mt-daapd/svn-1498
    Emitting reponse header Connection: keep-alive
    Emitting reponse header Date: Sat, 24 Feb 2007 16:12:30 GMT
    Done enumerating.
    Entering config_set_status
    Exiting config_set_status
    Thread 0: Terminating
    Thread 0: Freeing request headers
    Thread 0: Freeing response headers
    Thread 0: Freeing request vars
    Thread 0: got request
    Request: GET /databases/1/containers/1/items?type=music&meta=dmap.itemkind,dmap.itemid,dmap.containeritemid HTTP/1.1
    Thread 0: Read: Host: 192.168.69.25
    Thread 0: Adding header *Host=192.168.69.25*
    Added *Host=192.168.69.25*
    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: User-Agent: iTunes/7.0.2 (Macintosh; N; PPC)
    Thread 0: Adding header *User-Agent=iTunes/7.0.2 (Macintosh; N; PPC)*
    Added *User-Agent=iTunes/7.0.2 (Macintosh; N; PPC)*
    Thread 0: Read: Accept-Language: en-us, en;q=0.50
    Thread 0: Adding header *Accept-Language=en-us, en;q=0.50*
    Added *Accept-Language=en-us, en;q=0.50*
    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: Client-DAAP-Validation: 6B142ED284F22A94A5165F302AFD90D2
    Thread 0: Adding header *Client-DAAP-Validation=6B142ED284F22A94A5165F302AFD90D2*
    Added *Client-DAAP-Validation=6B142ED284F22A94A5165F302AFD90D2*
    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: parsing GET args
    Thread 0: Entering ws_getgetvars (type=music&meta=dmap.itemkind,dmap.itemid,dmap.containeritemid)
    Thread 0: Adding arg type = music
    Added *type=music*
    Thread 0: Adding arg meta = dmap.itemkind,dmap.itemid,dmap.containeritemid
    Added *meta=dmap.itemkind,dmap.itemid,dmap.containeritemid*
    Thread 0: Done parsing GET/POST args!
    Thread 0: Original URI: /databases/1/containers/1/items
    Thread 0: Translated URI: /databases/1/containers/1/items
    Thread 0: Preparing to find handler
    Thread 0: URI Match!
    Thread 0: Time is 1172333550 seconds after epoch
    Thread 0: Setting time header
    Added *Date=Sat, 24 Feb 2007 16:12:30 GMT*
    Added *Connection=keep-alive*
    Added *Server=mt-daapd/svn-1498*
    Added *Content-Type=text/html*
    Added *Content-Language=en_us*
    Thread 0: Using non-default handler
    in main_auth
    Checking url /databases/1/containers/1/items
    Checking url /databases/1/containers/1/items
    Dispatching auth for /databases/1/containers/1/items to plugin
    Checking url /databases/1/containers/1/items
    Checking url /databases/1/containers/1/items
    Dispatching /databases/1/containers/1/items to daap/svn-1489
    in main_handler
    Checking url /databases/1/containers/1/items
    Checking url /databases/1/containers/1/items
    Dispatching /databases/1/containers/1/items to plugin
    Checking url /databases/1/containers/1/items
    Checking url /databases/1/containers/1/items
    Dispatching /databases/1/containers/1/items to daap/svn-1489
    Getting uri…
    Mallocing privinfo…
    Added *Accept-Ranges=bytes*
    Added *DAAP-Server=firefly/svn-1489*
    Updating Content-Type from text/html to application/x-dmap-tagged
    Added *Cache-Control=no-cache*
    Added *Expires=-1*
    Index (null): offset 0, limit 999999
    Tokenizing url
    Found 17 elements
    Checking reponse 0
    Checking reponse 1
    Checking reponse 2
    Checking reponse 3
    Checking reponse 4
    Checking reponse 5
    Checking reponse 6
    Checking reponse 7
    Checking reponse 8
    Checking reponse 9
    Checking reponse 10
    Checking reponse 11
    Checking reponse 12
    Checking reponse 13
    Found it! Index: 13
    meta codes: 21
    No query/filter
    Executing: select count(songs.id) from songs
    Number of results: 1
    Executing: select * from songs limit 999999 offset 0
    Enumerating size
    Executing: select * from songs limit 999999 offset 0
    Got size: 41
    Item enum: got 1 songs, dmap size: 41
    Added *Content-Length=102*
    Emitting reponse header Content-Length: 102
    Emitting reponse header Expires: -1
    Emitting reponse header Cache-Control: no-cache
    Emitting reponse header DAAP-Server: firefly/svn-1489
    Emitting reponse header Accept-Ranges: bytes
    Emitting reponse header Content-Language: en_us
    Emitting reponse header Content-Type: application/x-dmap-tagged
    Emitting reponse header Server: mt-daapd/svn-1498
    Emitting reponse header Connection: keep-alive
    Emitting reponse header Date: Sat, 24 Feb 2007 16:12:30 GMT
    Done enumerating.
    Entering config_set_status
    Exiting config_set_status
    Thread 0: Terminating
    Thread 0: Freeing request headers
    Thread 0: Freeing response headers
    Thread 0: Freeing request vars

    Play movie

    Thread 1: Entering ws_dispatcher (Connection from 192.168.69.21)
    Thread 1: got request
    Request: GET daap://192.168.69.25:3689/databases/1/items/1.m4a HTTP/1.1
    Thread 1: Read: Accept: */*
    Thread 1: Adding header *Accept=*/**
    Added *Accept=*/**
    Thread 1: Read: Cache-Control: no-cache
    Thread 1: Adding header *Cache-Control=no-cache*
    Added *Cache-Control=no-cache*
    Thread 1: Read: User-Agent: iTunes/7.0.2 (Macintosh; N; PPC)
    Thread 1: Adding header *User-Agent=iTunes/7.0.2 (Macintosh; N; PPC)*
    Added *User-Agent=iTunes/7.0.2 (Macintosh; N; PPC)*
    Thread 1: Read: Client-DAAP-Access-Index: 2
    Thread 1: Adding header *Client-DAAP-Access-Index=2*
    Added *Client-DAAP-Access-Index=2*
    Thread 1: Read: Client-DAAP-Validation: 400FA18D14711C542422BD55C80BDBC3
    Thread 1: Adding header *Client-DAAP-Validation=400FA18D14711C542422BD55C80BDBC3*
    Added *Client-DAAP-Validation=400FA18D14711C542422BD55C80BDBC3*
    Thread 1: Read: Client-DAAP-Request-ID: 1
    Thread 1: Adding header *Client-DAAP-Request-ID=1*
    Added *Client-DAAP-Request-ID=1*
    Thread 1: Read: Connection: close
    Thread 1: Adding header *Connection=close*
    Added *Connection=close*
    Thread 1: Read:
    Thread 1: Headers parsed!
    Checking to see if connection matches close
    And it DOES!
    Thread 1: Connection type HTTP/1.1
    : Connection: non-persist
    Thread 1: Original URI: daap://192.168.69.25:3689/databases/1/items/1.m4a
    Thread 1: Translated URI: /databases/1/items/1.m4a
    Thread 1: Preparing to find handler
    Thread 1: URI Match!
    Thread 1: Time is 1172333659 seconds after epoch
    Thread 1: Setting time header
    Added *Date=Sat, 24 Feb 2007 16:14:19 GMT*
    Added *Connection=close*
    Added *Server=mt-daapd/svn-1498*
    Added *Content-Type=text/html*
    Added *Content-Language=en_us*
    Thread 1: Using non-default handler
    in main_auth
    Checking url /databases/1/items/1.m4a
    Checking url /databases/1/items/1.m4a
    Dispatching auth for /databases/1/items/1.m4a to plugin
    Checking url /databases/1/items/1.m4a
    Checking url /databases/1/items/1.m4a
    Dispatching /databases/1/items/1.m4a to daap/svn-1489
    in main_handler
    Checking url /databases/1/items/1.m4a
    Checking url /databases/1/items/1.m4a
    Dispatching /databases/1/items/1.m4a to plugin
    Checking url /databases/1/items/1.m4a
    Checking url /databases/1/items/1.m4a
    Dispatching /databases/1/items/1.m4a to daap/svn-1489
    Getting uri…
    Mallocing privinfo…
    Added *Accept-Ranges=bytes*
    Added *DAAP-Server=firefly/svn-1489*
    Updating Content-Type from text/html to application/x-dmap-tagged
    Added *Cache-Control=no-cache*
    Added *Expires=-1*
    Index (null): offset 0, limit 999999
    Tokenizing url
    Found 17 elements
    Checking reponse 0
    Checking reponse 1
    Checking reponse 2
    Checking reponse 3
    Checking reponse 4
    Checking reponse 5
    Checking reponse 6
    Checking reponse 7
    Checking reponse 8
    Checking reponse 9
    Found it! Index: 9
    Executing: select * from songs where id=1
    Thread 1: Length of file (remaining) is 911535258
    Updating Content-Type from application/x-dmap-tagged to audio/m4a
    Added *Content-Length=911535258*
    Updating Connection from close to Close
    Emitting reponse header Content-Length: 911535258
    Emitting reponse header Expires: -1
    Emitting reponse header Cache-Control: no-cache
    Emitting reponse header DAAP-Server: firefly/svn-1489
    Emitting reponse header Accept-Ranges: bytes
    Emitting reponse header Content-Language: en_us
    Emitting reponse header Content-Type: audio/m4a
    Emitting reponse header Server: mt-daapd/svn-1498
    Emitting reponse header Connection: Close
    Emitting reponse header Date: Sat, 24 Feb 2007 16:14:19 GMT
    Entering config_set_status
    Exiting config_set_status
    Session 0: Streaming file ‘layer.mp4’ to 192.168.69.21 (offset 0)
    Write error: Broken pipe
    Finished streaming file to remote: 28672 bytes
    Entering config_set_status
    Exiting config_set_status
    Executing: update songs set play_count=play_count + 1, time_played=1172333660 where id=1
    Rows: 1
    Thread 1: Terminating
    Thread 1: Freeing request headers
    Thread 1: Freeing response headers
    Thread 1: Freeing request vars
    Thread 1: Closing fd
    With thread 1 exiting, 1 are still running

    Is there something I am missing from my config. Here is what I have in my config file.

    [general]
    web_root = /usr/share/mt-daapd/admin-root
    port = 3689
    admin_pw = mt.
    db_type = sqlite
    db_parms = /export/media/db
    mp3_dir = /export//media/Movies
    servername = Firefly %v on %h
    runas = nobody
    playlist = /etc/mt-daapd/mt-daapd.playlist
    #password mp3
    extensions = .mp3,.m4a,.m4p,.mp4,.m4v
    ssc_codectypes = ogg,flac,alac
    ssc_prog = /usr/local/bin/mt-daapd-ssc.sh
    logfile = /var/log/mt-daapd.log
    #art_filename _folderOpenImage.jpg
    rescan_interval = 300
    # always_scan = 0
    # process_m3u = 0
    scan_type = 2
    #####compress = 1
    [plugins]
    plugin_dir = /usr/local/share/mt-daapd/plugins

    #9243
    rpedde
    Participant

    @throw wrote:

    So here is my next issue. I thought it was possible with the nightlies, but I want to stream mp4 video to itunes. Is that possible?

    Yes, but you’ll have to name it “.mov” or “.m4v” for now. It’s a work in progress.

    — Ron

    #9244
    throw
    Participant

    I renamed the file with m4v extension, but it didn’t work. This time itunes poped up a status window saying loading, but nothing happened. oh well.

    Thanks again for all your help and look forward to new features.

    Regards

Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘Nightlies Feedback’ is closed to new topics and replies.