ITunes is truncating enclosure URLs to 511 characters, but only inside the 'iTunes Store' panel
URLs for my audio and video files are usually about 600 characters long. Inside the <enclosure> of my podcast feeds, I use a shorter URL that redirects (HTTP 302) to the longer URL.
This normally works fine. I can add an RSS feed in Advanced > Subscribe to Podcast, and it works fine. I can find the podcast inside the iTunes store and subscribe to it, and that works fine also. iTunes manages the podcasts as expected, downloads new episodes, and plays them back without a problem.
What doesn't work is when I find the podcast inside the iTunes store and try to play the episodes right there instead of subscribing. On that page (you know the one, it shows the podcast title and info and lists the latest ten episodes) when I try to preview any episode by clicking the play button on that episode, it fails to play. This feature works for most podcasts, but not for the ones I'm publishing.
I've inspected my network traffic and found that iTunes is going to the shorter url and following the redirect as expected, but when it sends the second GET request, it only uses the first 511 bytes of the longer URL. I can only assume that this is because somewhere in the iTunes codebase, it's storing this URL value in a C string inside a 512 byte buffer and truncating anything that doesn't fit.
I'm using iTunes 10.5 on OSX 10.6
Has anybody seen this before? Is there a workaround? Is there a version of iTunes that this doesn't happen in? Is it a known bug?
600 characters! I don't think I've ever seen an URL that long - though a bit of quick research shows that this question has been asked about browsers and apparently the maximum limit for IE7 was 2048 characters, though somebody testing this with IE8 found it could handle 4095 characters.
As to the iTunes Store, no-one in these forums would have any way of knowing whether there is an imposed limit in iTunes - only the programmers would know, and you know how secretive Apple is. If you are finding that long URLs fall over, then obviously you've hit a brick wall with it, and I don't see any change of it changing. I imagine you've already considered using a shorter URL, and are using a longer one for a reason, but in the end I doubt you have any option but to change your practice, as I would think the chance of Apple changing theirs is approaching nil.
Similar Messages
-
I am trying to delete songs from itune 11 library and i want it to delete the song from my hard drive as well. All my songs are in the music folder but not in the itunes folder. itunes did not prompt me to move file to trash nor is there an option to remove file to trash bin. How can i delete songs from both the itunes and hard drive at the same time?
aespinoza2210 wrote:
could it be in the itunes folder or does it have to be in the itunes media folder, which is within the itunes folder??
A Espinoza,
The iTunes Media folder is set in Preferences > Advanced, and is the key to most iTunes folder organizational activities. So I doubt that the automatic deletion will work for files that are somewhere else within the folder structure.
However, I have not experimented with that issue in quite a while, so you are welcome to give it a try in iTunes 11. -
iTunes will not open. I get a message that says, "The iTunes Library.itl file cannot be found or created. The default location for this file is in the "iTunes" folder in the music folder". How can I fix this?
Hi pgarard1,
If you are having issues with launching iTunes after an update, you may want to take a look at the troubleshooting in the following article:
iTunes for Windows: Doesn't open after upgrading in Windows Vista or Windows 7
http://support.apple.com/kb/TS2363
Regards,
- Brenden -
My daughter has an iPod touch using my apple ID, I just purchased an iPhone with the same ID. Is there a way to keep my stuff seperate from her ipod but still share the iTunes account? I was looking through the photo section on my iPhone and found pics my daughter has taken from her iPod. I do not want my pics, emails, etc to show up on her iPod. Is there a way to stop this from happening or do I have to create a different Apple ID for her to use instead?
If you have iOS 8 on all devices then:
If under 13 years create a new ID for her by:
Family Sharing and Apple IDs for kids - Apple Support
The use family sharing to share apps
http://www.apple.com/ios/ios8/family-sharing/
Family purchases and payments - Apple Support
If underage and not i)S on all devices then you have to create an ID for here under your name and supervise it use:
Create a NEW account using these instructions so yo do not have to use a credit card.
Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before. Make sure you specify a birthdate that results in being at least 13 years old
Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
More details of how:
http://ipadhelp.com/ipad-help-tips-tricks/how-to-get-free-apps-from-the-app-stor e-without-a-credit-card/
Use the new ID on her iPod but only for:
Settings>Messages>Send and Receive
Settings>FaceTime
Settings>GameCenter
and Settings>iCloud if you want her to have separate Contacts Calendar and some other things.
Continue to use the same/common Apple ID for Settings>iTunes and App stores so you can share purchases. -
I would like to change the data of my credit card. For the next year I live in Germany, I have a german visa card, but I want the itunes and everything to be in english language. How can I do this?
You cannot.
-
I have not had any issue with Itunes on my PC until very recently. Every now and then my Itunes library appears on my screen? I have not clicked the itunes icon beforehand nor plugged in my Ipod Touch? Why does this happen please as it is driving me crazy!.
What's the precise text of the message, please? (There's a couple of different ones I can think of that you might be getting.)
-
I deleted some podcasts when I synced with itunes on my computer. They no longer show up on the itunes sync when connected, but are still present on my ipod. How do I delete them from my ipod?
Try swiping your finger across the podcast then tap Delete.
-
I just purchased a movie from the iTunes store using iTunes ver. 11.0. The movie downloaded correctly is there on my hard drive but does appear in the iTunes library. How do I get it to appear in the iTunes Movie Library?
Try Handbrake (http://handbrake.fr/), it's good and free
-
I got disconnected after the release of the last update! I'm disconnected only from the app store and itunes. Do i have to update to activate my account? What to do, i'm stuck.
Have you restarted your phone?
If so, try a reset. Press and hold the home & sleep/wake buttons until the screen goes blank, ignoring the power off slider if it comes up.
Check for the app again after the phone starts back up.
~Lyssa -
Library Issue: I just imported 2 CD's into ITunes. They show up in "Recently Added" and on my other devices via ITunes Match, but NOT in the ITunes software on the computer where I added them. They show up in the search box, but when I click on the results it just kicks me to ALL my music. I have imported thousands of songs/CD's before and this is a new one.
Something may have gone wrong with the index of the Music playlist. Making another change to the library such as downloading the current iTunes Free Single of the Week, or deleting one track from your library and reimporting it, should fix the problem.
If that doesn't work close iTunes and delete the hidden file sentinel from inside the main iTunes folder, then start iTunes again. It should run a consistency check when it starts up which ought to correct things.
tt2 -
Hi! I just update my apple tv 2nd gen to the new solfware but it only show the itunes icon on the tv and after shows nothing on the tv screen. What i can do to fix that?
Welcome to the Apple Community.
If your problem persists get yourself a micro USB cable (sold separately), you can restore your Apple TV from iTunes:
Remove ALL cables from Apple TV. (if you don't you will not see Apple TV in the iTunes Source list)
Connect the micro USB cable to the Apple TV and to your computer.
Reconnect the power cable (only for Apple TV 3)
Open iTunes.
Select your Apple TV in the Devices list, and then click Restore.
(You may already have a micro USB cable if you have a camera or other digital device) -
I have updated my apple tv 2nd generation to the latest software but it shows the itunes symbol with the usb. Anyone know why this might be? Thanks
If your problem persists get yourself a micro USB cable (sold separately), you can restore your Apple TV from iTunes:
Remove ALL cables from Apple TV. (if you don't you will not see Apple TV in the iTunes Source list)
Connect the micro USB cable to the Apple TV and to your computer.
Reconnect the power cable (only for Apple TV 3)
Open iTunes.
Select your Apple TV in the Source list, and then click Restore. -
When I update itunes it deletes the library file, and when I restore that file from the previous libraries or my backup, itunes will run but tell me "the iTunes library file cannot be saved. A folder was specified instead of a file" How do I fix this?
Hi there Br0x,
You may want to try rebuilding the iTunes library as an initial troubleshooting step. Take a look at the article below for more information.
iTunes: How to re-create your iTunes library and playlists
http://support.apple.com/kb/ht1451
-Griff W. -
i have the new ipad 16gb it was working fine till i went to download the new itunes and the apple mobile device recovery mode my windows pc cant find the software to download it i need help because my ipad wont work i only see the itunes and usb symbol can anybody help me.
Try these instructions:
http://support.apple.com/kb/TS3281
You may also have to go to the link in the bottom paragraph if the first page instructions do not work. -
I watched an iTunes Festival. Now whenever I run Safari it starts up the iTunes Festival page. How do I disable it?
Welcome to the Apple community.
iTunes Card and Gift Certificate FAQ
Maybe you are looking for
-
Hi Experts In an info set , I have added two additional fields to IT0001 ,Dotted position and Dotted Position text and I have added field code for both the fields . When I select these fields independently as output fields I am getting values exp
-
How do I save/Export all of the Channel and Scale settings in MAX
I am using LabVIEW 8.0 and MAX 4.0.0.3010 to record data on various instruments. I am using an NI DAQ PCI-6301 board. The various instruments have different pressure calibrations. I'd like to set up MAX so that I can select the instrument I'm worki
-
Have an iMac and a Sony Vaio and just got a MiFI box. The Vaio connects easily but the iMac keeps giving wrong password errors when trying to connect to the network. Anyone else with this problem? I've reset the MiFI box to factory defaults.
-
Dear Friends Is any body know how to get the processing pop up message.. I am looking for message box what we used to see in portal " one round rotating color gif or flash kind of" whenever we request inithing in portal.. it comes saying processing..
-
I recently updated My adobe reader to No.X1; the following day I noticed my desktop adobe photoshop elements 2.0 had disapeared. It has been wiped off old my computer XP.I have tried to re-install the software but to no avail. The serial No. is [Remo