Benches Uncategorized

2

unknown error 8006

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I'm creating a podcast at the moment. In order to keep track of the number of downloads of each episode, I made a script which stores the amount of dl's in a Database.
Since iTunes only accepts entries with an mp3 extention, or at least not with php, like http://example.com/podcast/tracker.php?file=episode1.mp3, I thought i'd use redirects:

The user/subscriber requests
http://example.com/podcast/download/episode1.mp3 .
apache rewrites the url to
http://example.com/podcast/tracker.php?file=episode1.mp3 ,
which then readresses to
http://example.com/podcast/media/episode1.mp3 .

In FF2 this works fine, but iTunes gives me an error message about unknown error 8006.

What seems to be the problem here, and how can I fix it?

2 replies

Sign in or join Beachball Help to reply.

  1. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Not sure but here is a little tidbit from the iTunes podcast spec:

    Tracking Usage

    Please note that iTunes does not provide usage statistics, because we do not host feeds or episodes. Some podcasters have created mechanisms for tracking the number of times that each episode has been downloaded. iTunes does not provide support in how to track downloads, but the following notes may be helpful:

    * 302s will be followed to a depth of 5 redirects and will not update the feed URL in the directory.
    * The URL before the GET-style form values (before the first ?) must end in a media file extension (e.g. mp3). To work around this, the feed provider can alter their URL from this:
    http://www.podcaster.com/load.php?f=&Wipeout.php
    to this:
    http://www.podcaster.com/load.mp3?f=&Wipeout.mp3
    Notice how it says load.mp3 instead of load.php. It should be possible to accomplish this via various means, such as web server rewrites. iTunes looks at the extension of the path part of the url, i.e. the part before the"?".

    Erik

  2. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    If you didn't want to do this work for yourself, you could sign up for free tracking at Podtrac.com. They use a similar redirect to measure downloads of audio files as you're trying to implement.

    But if you'd like the challenge, I suggest that you do similar to what podtrac does: use the URL of the type http://example.com/podcast/tracker.mp3?file=episode1.mp3 and an apache rewrite to point tracker.mp3 to tracker.php.

    Hope this helps,

    Greg