iTunes 6.0.4 doesn’t work [FIXED!]

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #184
    Anonymous
    Guest

    …at least, not with mt-daapd 20060112. debug log looks like that (no time to investigate more for now):


    2006-03-02 00:37:42: Thread 0: Entering ws_dispatcher (Connection from 192.168.0.5)
    2006-03-02 00:37:42: Thread 0: got request
    2006-03-02 00:37:42: Request: GET daap://192.168.0.1:3689/server-info HTTP/1.1
    2006-03-02 00:37:42: Thread 0: Read: Accept: */*
    2006-03-02 00:37:42: Thread 0: Adding header *Accept=*/**
    2006-03-02 00:37:42: Added *Accept=*/**
    2006-03-02 00:37:42: Thread 0: Read: User-Agent: iTunes/6.0.4 (Macintosh; N; PPC)
    2006-03-02 00:37:42: Thread 0: Adding header *User-Agent=iTunes/6.0.4 (Macintosh; N; PPC)*
    2006-03-02 00:37:42: Added *User-Agent=iTunes/6.0.4 (Macintosh; N; PPC)*
    2006-03-02 00:37:42: Thread 0: Read: Client-DAAP-Version: 3.2
    2006-03-02 00:37:42: Thread 0: Adding header *Client-DAAP-Version=3.2*
    2006-03-02 00:37:42: Added *Client-DAAP-Version=3.2*
    2006-03-02 00:37:42: Thread 0: Read: Client-DAAP-Access-Index: 2
    2006-03-02 00:37:42: Thread 0: Adding header *Client-DAAP-Access-Index=2*
    2006-03-02 00:37:42: Added *Client-DAAP-Access-Index=2*
    2006-03-02 00:37:42: Thread 0: Read: Accept-Encoding: gzip
    2006-03-02 00:37:42: Thread 0: Adding header *Accept-Encoding=gzip*
    2006-03-02 00:37:42: Added *Accept-Encoding=gzip*
    2006-03-02 00:37:42: Thread 0: Read:
    2006-03-02 00:37:42: Thread 0: Headers parsed!
    2006-03-02 00:37:42: Checking to see if connection matches close
    2006-03-02 00:37:42: Nope!
    2006-03-02 00:37:42: Thread 0: Connection type HTTP/1.1
    : Connection: persist
    2006-03-02 00:37:42: Thread 0: Original URI: daap://192.168.0.1:3689/server-info
    2006-03-02 00:37:42: Thread 0: Translated URI: /server-info
    2006-03-02 00:37:42: Thread 0: Preparing to find handler
    2006-03-02 00:37:42: Thread 0: URI Match!
    2006-03-02 00:37:42: Thread 0: Time is 1141256262 seconds after epoch
    2006-03-02 00:37:42: Thread 0: Setting time header
    2006-03-02 00:37:42: Added *Date=Wed, 1 Mar 2006 23:37:42 GMT*
    2006-03-02 00:37:42: Thread 0: Using non-default handler
    2006-03-02 00:37:42: Added *Accept-Ranges=bytes*
    2006-03-02 00:37:42: Added *DAAP-Server=mt-daapd/cvs-20060112*
    2006-03-02 00:37:42: Added *Content-Type=application/x-dmap-tagged*
    2006-03-02 00:37:42: Added *Cache-Control=no-cache*
    2006-03-02 00:37:42: Added *Expires=-1*
    2006-03-02 00:37:42: Added *Content-Length=134*
    2006-03-02 00:37:42: Emitting reponse header Content-Length: 134
    2006-03-02 00:37:42: Emitting reponse header Expires: -1
    2006-03-02 00:37:42: Emitting reponse header Cache-Control: no-cache
    2006-03-02 00:37:42: Emitting reponse header Content-Type: application/x-dmap-tagged
    2006-03-02 00:37:42: Emitting reponse header DAAP-Server: mt-daapd/cvs-20060112
    2006-03-02 00:37:42: Emitting reponse header Accept-Ranges: bytes
    2006-03-02 00:37:42: Emitting reponse header Date: Wed, 1 Mar 2006 23:37:42 GMT
    2006-03-02 00:37:42: Entering config_set_status
    2006-03-02 00:37:42: Exiting config_set_status
    2006-03-02 00:37:42: Thread 0: Terminating
    2006-03-02 00:37:42: Thread 0: Freeing request headers
    2006-03-02 00:37:42: Thread 0: Freeing response headers
    2006-03-02 00:37:42: Thread 0: Freeing request vars
    2006-03-02 00:37:43: Thread 0: got request
    2006-03-02 00:37:43: Request: GET /content-codes HTTP/1.1
    2006-03-02 00:37:43: Thread 0: Read: Host: 192.168.0.1
    2006-03-02 00:37:43: Thread 0: Adding header *Host=192.168.0.1*
    2006-03-02 00:37:43: Added *Host=192.168.0.1*
    2006-03-02 00:37:43: Thread 0: Read: Client-DAAP-Version: 3.2
    2006-03-02 00:37:43: Thread 0: Adding header *Client-DAAP-Version=3.2*
    2006-03-02 00:37:43: Added *Client-DAAP-Version=3.2*
    2006-03-02 00:37:43: Thread 0: Read: User-Agent: iTunes/6.0.4 (Macintosh; N; PPC)
    2006-03-02 00:37:43: Thread 0: Adding header *User-Agent=iTunes/6.0.4 (Macintosh; N; PPC)*
    2006-03-02 00:37:43: Added *User-Agent=iTunes/6.0.4 (Macintosh; N; PPC)*
    2006-03-02 00:37:43: Thread 0: Read: Accept-Language: fr-fr, fr;q=0.75, en-us;q=0.50, en;q=0.25
    2006-03-02 00:37:43: Thread 0: Adding header *Accept-Language=fr-fr, fr;q=0.75, en-us;q=0.50, en;q=0.25*
    2006-03-02 00:37:43: Added *Accept-Language=fr-fr, fr;q=0.75, en-us;q=0.50, en;q=0.25*
    2006-03-02 00:37:43: Thread 0: Read: Accept-Encoding: gzip
    2006-03-02 00:37:43: Thread 0: Adding header *Accept-Encoding=gzip*
    2006-03-02 00:37:43: Added *Accept-Encoding=gzip*
    2006-03-02 00:37:43: Thread 0: Read:
    2006-03-02 00:37:43: Thread 0: Headers parsed!
    2006-03-02 00:37:43: Checking to see if connection matches close
    2006-03-02 00:37:43: Nope!
    2006-03-02 00:37:43: Thread 0: Connection type HTTP/1.1
    2006-03-02 00:37:43: Nope!
    2006-03-02 00:37:43: Thread 0: Connection type HTTP/1.1
    : Connection: persist
    2006-03-02 00:37:43: Thread 0: Original URI: /content-codes
    2006-03-02 00:37:43: Thread 0: Translated URI: /content-codes
    2006-03-02 00:37:43: Thread 0: Preparing to find handler
    2006-03-02 00:37:43: Thread 0: URI Match!
    2006-03-02 00:37:43: Thread 0: Time is 1141256263 seconds after epoch
    2006-03-02 00:37:43: Thread 0: Setting time header
    2006-03-02 00:37:43: Added *Date=Wed, 1 Mar 2006 23:37:43 GMT*
    2006-03-02 00:37:43: Thread 0: Using non-default handler
    2006-03-02 00:37:43: Added *Accept-Ranges=bytes*
    2006-03-02 00:37:43: Added *DAAP-Server=mt-daapd/cvs-20060112*
    2006-03-02 00:37:43: Added *Content-Type=application/x-dmap-tagged*
    2006-03-02 00:37:43: Added *Cache-Control=no-cache*
    2006-03-02 00:37:43: Added *Expires=-1*
    2006-03-02 00:37:43: Added *Content-Length=6128*
    2006-03-02 00:37:43: Emitting reponse header Content-Length: 6128
    2006-03-02 00:37:43: Emitting reponse header Expires: -1
    2006-03-02 00:37:43: Emitting reponse header Cache-Control: no-cache
    2006-03-02 00:37:43: Emitting reponse header Content-Type: application/x-dmap-tagged
    2006-03-02 00:37:43: Emitting reponse header DAAP-Server: mt-daapd/cvs-20060112
    2006-03-02 00:37:43: Emitting reponse header Accept-Ranges: bytes
    2006-03-02 00:37:43: Emitting reponse header Date: Wed, 1 Mar 2006 23:37:43 GMT
    2006-03-02 00:37:43: Entering config_set_status
    2006-03-02 00:37:43: Exiting config_set_status
    2006-03-02 00:37:43: Thread 0: Terminating
    2006-03-02 00:37:43: Thread 0: Freeing request headers
    2006-03-02 00:37:43: Thread 0: Freeing response headers
    2006-03-02 00:37:43: Thread 0: Freeing request vars
    2006-03-02 00:37:43: Thread 0: got request
    2006-03-02 00:37:43: Request: GET /update?revision-number=1 HTTP/1.1
    2006-03-02 00:37:43: Thread 0: Read: Host: 192.168.0.1
    2006-03-02 00:37:43: Thread 0: Adding header *Host=192.168.0.1*
    2006-03-02 00:37:43: Added *Host=192.168.0.1*
    2006-03-02 00:37:43: Thread 0: Read: Client-DAAP-Version: 3.2
    2006-03-02 00:37:43: Thread 0: Adding header *Client-DAAP-Version=3.2*
    2006-03-02 00:37:43: Added *Client-DAAP-Version=3.2*
    2006-03-02 00:37:43: Thread 0: Read: User-Agent: iTunes/6.0.4 (Macintosh; N; PPC)
    2006-03-02 00:37:43: Thread 0: Adding header *User-Agent=iTunes/6.0.4 (Macintosh; N; PPC)*
    2006-03-02 00:37:43: Added *User-Agent=iTunes/6.0.4 (Macintosh; N; PPC)*
    2006-03-02 00:37:43: Thread 0: Read: Accept-Language: fr-fr, fr;q=0.75, en-us;q=0.50, en;q=0.25
    2006-03-02 00:37:43: Thread 0: Adding header *Accept-Language=fr-fr, fr;q=0.75, en-us;q=0.50, en;q=0.25*
    2006-03-02 00:37:43: Added *Accept-Language=fr-fr, fr;q=0.75, en-us;q=0.50, en;q=0.25*
    2006-03-02 00:37:43: Thread 0: Read: Client-DAAP-Access-Index: 2
    2006-03-02 00:37:43: Thread 0: Adding header *Client-DAAP-Access-Index=2*
    2006-03-02 00:37:43: Added *Client-DAAP-Access-Index=2*
    2006-03-02 00:37:43: Thread 0: Read: Client-DAAP-Validation: 7034F4ECD67CE872545B0A5E1924FD63
    2006-03-02 00:37:43: Thread 0: Adding header *Client-DAAP-Validation=7034F4ECD67CE872545B0A5E1924FD63*
    2006-03-02 00:37:43: Added *Client-DAAP-Validation=7034F4ECD67CE872545B0A5E1924FD63*
    2006-03-02 00:37:43: Thread 0: Read: Accept-Encoding: gzip
    2006-03-02 00:37:43: Thread 0: Adding header *Accept-Encoding=gzip*
    2006-03-02 00:37:43: Added *Accept-Encoding=gzip*
    2006-03-02 00:37:43: Thread 0: Read:
    2006-03-02 00:37:43: Thread 0: Headers parsed!
    2006-03-02 00:37:43: Checking to see if connection matches close
    2006-03-02 00:37:43: Nope!
    2006-03-02 00:37:43: Thread 0: Connection type HTTP/1.1
    : Connection: persist
    2006-03-02 00:37:43: Thread 0: parsing GET args
    2006-03-02 00:37:43: Thread 0: Entering ws_getgetvars (revision-number=1)
    2006-03-02 00:37:43: Thread 0: Adding arg revision-number = 1
    2006-03-02 00:37:43: Added *revision-number=1*
    2006-03-02 00:37:43: Thread 0: Done parsing GET/POST args!
    2006-03-02 00:37:43: Thread 0: Original URI: /update
    2006-03-02 00:37:43: Thread 0: Translated URI: /update
    2006-03-02 00:37:43: Thread 0: Preparing to find handler
    2006-03-02 00:37:43: Thread 0: URI Match!
    2006-03-02 00:37:43: Thread 0: Time is 1141256263 seconds after epoch
    2006-03-02 00:37:43: Thread 0: Setting time header
    2006-03-02 00:37:43: Added *Date=Wed, 1 Mar 2006 23:37:43 GMT*
    2006-03-02 00:37:43: Thread 0: Using non-default handler
    2006-03-02 00:37:43: Added *Accept-Ranges=bytes*
    2006-03-02 00:37:43: Added *DAAP-Server=mt-daapd/cvs-20060112*
    2006-03-02 00:37:43: Added *Content-Type=application/x-dmap-tagged*
    2006-03-02 00:37:43: Added *Cache-Control=no-cache*
    2006-03-02 00:37:43: Added *Expires=-1*
    2006-03-02 00:37:43: Preparing to send update response
    2006-03-02 00:37:43: Added *Content-Length=32*
    2006-03-02 00:37:43: Emitting reponse header Content-Length: 32
    2006-03-02 00:37:43: Emitting reponse header Expires: -1
    2006-03-02 00:37:43: Emitting reponse header Cache-Control: no-cache
    2006-03-02 00:37:43: Emitting reponse header Content-Type: application/x-dmap-tagged
    2006-03-02 00:37:43: Emitting reponse header DAAP-Server: mt-daapd/cvs-20060112
    2006-03-02 00:37:43: Emitting reponse header Accept-Ranges: bytes
    2006-03-02 00:37:43: Emitting reponse header Date: Wed, 1 Mar 2006 23:37:43 GMT
    2006-03-02 00:37:43: Entering config_set_status
    2006-03-02 00:37:43: Exiting config_set_status
    2006-03-02 00:37:43: Thread 0: Terminating
    2006-03-02 00:37:43: Thread 0: Freeing request headers
    2006-03-02 00:37:43: Thread 0: Freeing response headers
    2006-03-02 00:37:43: Thread 0: Freeing request vars
    2006-03-02 00:37:43: Thread 0: got request
    2006-03-02 00:37:43: Request: GET /databases?revision-number=2 HTTP/1.1
    2006-03-02 00:37:43: Thread 0: Read: Host: 192.168.0.1
    2006-03-02 00:37:43: Thread 0: Adding header *Host=192.168.0.1*
    2006-03-02 00:37:43: Added *Host=192.168.0.1*
    2006-03-02 00:37:43: Thread 0: Read: Client-DAAP-Version: 3.2
    2006-03-02 00:37:43: Thread 0: Adding header *Client-DAAP-Version=3.2*
    2006-03-02 00:37:43: Added *Client-DAAP-Version=3.2*
    2006-03-02 00:37:43: Thread 0: Read: User-Agent: iTunes/6.0.4 (Macintosh; N; PPC)
    2006-03-02 00:37:43: Thread 0: Adding header *User-Agent=iTunes/6.0.4 (Macintosh; N; PPC)*
    2006-03-02 00:37:43: Added *User-Agent=iTunes/6.0.4 (Macintosh; N; PPC)*
    2006-03-02 00:37:43: Thread 0: Read: Accept-Language: fr-fr, fr;q=0.75, en-us;q=0.50, en;q=0.25
    2006-03-02 00:37:43: Thread 0: Adding header *Accept-Language=fr-fr, fr;q=0.75, en-us;q=0.50, en;q=0.25*
    2006-03-02 00:37:43: Added *Accept-Language=fr-fr, fr;q=0.75, en-us;q=0.50, en;q=0.25*
    2006-03-02 00:37:43: Thread 0: Read: Client-DAAP-Access-Index: 2
    2006-03-02 00:37:43: Thread 0: Adding header *Client-DAAP-Access-Index=2*
    2006-03-02 00:37:43: Added *Client-DAAP-Access-Index=2*
    2006-03-02 00:37:43: Thread 0: Read: Client-DAAP-Validation: ED2158F894668152796EA5CF9734AABD
    2006-03-02 00:37:43: Thread 0: Adding header *Client-DAAP-Validation=ED2158F894668152796EA5CF9734AABD*
    2006-03-02 00:37:43: Added *Client-DAAP-Validation=ED2158F894668152796EA5CF9734AABD*
    2006-03-02 00:37:43: Thread 0: Read: Accept-Encoding: gzip
    2006-03-02 00:37:43: Thread 0: Adding header *Accept-Encoding=gzip*
    2006-03-02 00:37:43: Added *Accept-Encoding=gzip*
    2006-03-02 00:37:43: Thread 0: Read:
    2006-03-02 00:37:43: Thread 0: Headers parsed!
    2006-03-02 00:37:43: Checking to see if connection matches close
    2006-03-02 00:37:43: Nope!
    2006-03-02 00:37:43: Thread 0: Connection type HTTP/1.1
    : Connection: persist
    2006-03-02 00:37:43: Thread 0: parsing GET args
    2006-03-02 00:37:43: Thread 0: Entering ws_getgetvars (revision-number=2)
    2006-03-02 00:37:43: Thread 0: Adding arg revision-number = 2
    2006-03-02 00:37:43: Added *revision-number=2*
    2006-03-02 00:37:43: Thread 0: Done parsing GET/POST args!
    2006-03-02 00:37:43: Thread 0: Original URI: /databases
    2006-03-02 00:37:43: Thread 0: Translated URI: /databases
    2006-03-02 00:37:43: Thread 0: Preparing to find handler
    2006-03-02 00:37:43: Thread 0: URI Match!
    2006-03-02 00:37:43: Thread 0: Time is 1141256263 seconds after epoch
    2006-03-02 00:37:43: Thread 0: Setting time header
    2006-03-02 00:37:43: Added *Date=Wed, 1 Mar 2006 23:37:43 GMT*
    2006-03-02 00:37:43: Thread 0: Using non-default handler
    2006-03-02 00:37:43: Added *Accept-Ranges=bytes*
    2006-03-02 00:37:43: Added *DAAP-Server=mt-daapd/cvs-20060112*
    2006-03-02 00:37:43: Added *Content-Type=application/x-dmap-tagged*
    2006-03-02 00:37:43: Added *Cache-Control=no-cache*
    2006-03-02 00:37:43: Added *Expires=-1*
    2006-03-02 00:37:43: Executing: SELECT COUNT(*) FROM 'songs'
    2006-03-02 00:37:43: Executing: SELECT COUNT(*) FROM 'playlists'
    2006-03-02 00:37:43: Added *Content-Length=117*
    2006-03-02 00:37:43: Emitting reponse header Content-Length: 117
    2006-03-02 00:37:43: Emitting reponse header Expires: -1
    2006-03-02 00:37:43: Emitting reponse header Cache-Control: no-cache
    2006-03-02 00:37:43: Emitting reponse header Content-Type: application/x-dmap-tagged
    2006-03-02 00:37:43: Emitting reponse header DAAP-Server: mt-daapd/cvs-20060112
    2006-03-02 00:37:43: Emitting reponse header Accept-Ranges: bytes
    2006-03-02 00:37:43: Emitting reponse header Date: Wed, 1 Mar 2006 23:37:43 GMT
    2006-03-02 00:37:43: Entering config_set_status
    2006-03-02 00:37:43: Exiting config_set_status
    2006-03-02 00:37:43: Thread 0: Terminating
    2006-03-02 00:37:43: Thread 0: Freeing request headers
    2006-03-02 00:37:43: Thread 0: Freeing response headers
    2006-03-02 00:37:43: Thread 0: Freeing request vars
    2006-03-02 00:37:43: Thread 0: could not read: Invalid argument
    2006-03-02 00:37:43: Thread 0: Terminating
    2006-03-02 00:37:43: Thread 0: Freeing request headers
    2006-03-02 00:37:43: Thread 0: Freeing response headers
    2006-03-02 00:37:43: Thread 0: Freeing request vars
    2006-03-02 00:37:43: Thread 0: Closing fd
    2006-03-02 00:37:43: With thread 0 exiting, 0 are still running

    Post edited by: rpedde, at: 2006/03/02 02:22

    #4023
    rpedde
    Participant

    frick.

    #4024
    rpedde
    Participant

    downloading… I’ll be looking at it.

    #4025
    rpedde
    Participant

    Fixes for nightlies are up on the nightlies page. Will be dropping a 0.2.4 on sf.net later tonight.

    #4026
    rpedde
    Participant

    0.2.4 is posted on sf.net.

    #4027
    rpedde
    Participant

    Yup… I just got the new config stuff in yesterday or the day before, but I’m still fixing minor breakage. It should settle down in a bit and I’ll be able to add that.

    Multiple mp3_dir paths should fall out of that, too. So yeah, I hope to soon.

    I’ll give you a verbal diff… this is embarrasing, but there ya go… I have hardcoded the longest url/GET length it will accept. It *was* 1024. Yeah, well… with the new metacodes that iTunes 6.0.4 added, the urls passed are now huge.

    Bump MAX_LINEBUFFER in webserver.c:56 to something larger (I set it to 2048, as I think that’s what wininet uses as a max, and iTunes for windows uses wininet), and it works fine.

    sigh.

    It sucks to be so stupid.

    #4028
    rpedde
    Participant

    It may never have been in the 0.2.1.1 line. It was in nightlies (and still is). As of last night, I redid much of the txt record stuff so that I could advertise other stuff, too, like password status so the lock would show up (neat!), and some other metainfo that the new FrontRow wanted to see.

    As far as new metainfo, these are the new metacodes it asks for:


    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
    com.apple.itunes.is-podcast-playlist

    Some of them look like they come from the metadata on the movie itself for episodic .m4v files. As far as the song metainfo, category, contentdescription, etc, I’m not sure where that is visible. Doesn’t appear to be on the info on specific songs. Dunno. It might only show up on front row.

    I’ll play with it and see what I find.

    — Ron

    #4029
    kinneko
    Guest

    I tried to build for debian package.
    Please, change file name “debian/ChangeLog” to “debian/changelog”.
    And “changelog” file is wrong format.
    Add space last of email address in line 4.

    #4030
    rpedde
    Participant

    actually the debian stuff is going to come out of the release tarball, but I forgot to take it out.

    As far as the “changelog”, believe it or not, the osx tar program changes the case on it. I think it might be trying to be helpful or something, but it really isn’t. The better question is why don’t the dh programs try both?

    I did notice those problems, obviously, as that’s how I generated the .deb. But I had already uploaded the tarball, and would have had to wait 24 hours for it to drop out of the incoming directory on sf, so to fix it would have cost me 24 hours.

    So I didn’t.

    #4031
    saintlou
    Guest

    I actually generated the diff myself (as I had saved 0.2.3 and basically aside the only change seems to be the increase of a buffer
    — Emmanuel

    Post edited by: saintlou, at: 2006/03/10 23:32

    Post edited by: saintlou, at: 2006/03/10 23:32

Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.