PDA

View Full Version : Re-add Selected Tracks as Podcasts niggles


GetMeCoat
04-17-2007, 05:13 AM
Hello Martin,

The script "Re-add Selected Tracks as Podcasts" may be what you are looking for:
<http://dougscripts.com/itunes/scripts/ss.php?sp=readdaspodcast>

Cheers,
Doug

Hi, Doug. I finally got a chance to try your script. Bottom line: it works ... but ...

I subscribe to "__ Connecting the Dots Podcast __" and I flew off to Germany expecting to listen to the latest episode during the flight. Unfortunately, it was truncated to just 3 minutes - I don't know why and, on my return home, I couldn't persuade iTunes to download it again.

So I downloaded the MP3 direct from the web site, dragged it into iTunes (with appropriate import settings) and used your script to load it properly. I typed the podcast subscription exactly as "__ Connecting the Dots Podcast __" but your script created a duplicate subscription in iTunes and loaded it into that, not into the existing subscription. OK, no problem, I thought. Connected iPod and, not only did it not sync the new podcast but it deleted the existing 'Connecting the Dots' subscription on the iPod.

I finally got it to work by naming the subscription differently from the original. That loaded into the iPod OK but it remains to be seen whether the old subscription will work in the future. I may have to delete it and resubscribe.

I hope what I've written makes sense to you! Basically, the script doesn't load a new file into an existing subscription.

Martin

Doug Adams
04-19-2007, 07:13 AM
iTunes "knows" that podcast episodes belong in a certain podcast subscription because they have been downloaded from the internet via the RSS you're subscribed to and iTunes maintains this (inaccessible) information internally. The script doesn't have all the information from the original RSS, so it fakes it in the RSS feed it creates locally on your webserver. Thus, a new podcast subscription must be created.

FlunkedFlank
06-09-2007, 03:13 PM
Hi Doug, thanks for all the great work on this front. Your "Re-add as podcast" script is hacking at its finest ... although a big shame it's even required.

This is a pretty surprising gap in iTunes' scripting coverage given the breadth of all the other coverage. Can you think of any reason why Apple wouldn't want to expose this? Have you tried submitting any feedback about this?

I'm finding more and more that I have podcasts I want to manually clean up (because they are either not filed as podcasts or because they are under duplicate podcast folders, which sometimes happens when a podcast changes its feed URL). At this point I'm tempted to try digging into the library file itself.

kapalama
09-01-2007, 12:30 AM
Is there a known problem with this script?

Every time I try to use it it says it is trying to turn on Personal Web Sharing (even though it is already on) and then gives me the sudo warning box where it asks for a password but does not let me enter it.

S2_Mac
09-01-2007, 03:01 PM
Doesn't seem like that should be a problem. Try this....

Open up a new terminal window, and enter this:
curl -f http://127.0.0.1/~NNNNN/
replacing NNNNN with your short user name, just as it appears in the Terminal window prompt. (ex: Kapalamas-iMac:~ kapalama$ ). After pressing Return, the terminal window should fill up with the html code of whatever file is named "index.html" in your ~/Sites/ folder.

If you get some sort of error message, or nothing, it would seem that Personal Web Sharing is off. (Just in case...this is not Personal File Sharing ;-) If you're certain that web sharing is active, try this:

Fire up Safari, and enter this address:
http://127.0.0.1/~NNNNN/
(again replacing NNNNN with your short username)

You should see some kind of web page appear, or at least an old-fashioned "Index of /~kapalama" page, listing the contents of your Sites folder. If you don't, it really seems like Personal Web Sharing is off.

Do you use the Apache server to do dev work? Made any under-the-hood changes? If so, go back to defaults and see if that helps.

Haute_Pie
12-28-2007, 09:10 AM
Is there a known problem with this script?

Every time I try to use it it says it is trying to turn on Personal Web Sharing (even though it is already on) and then gives me the sudo warning box where it asks for a password but does not let me enter it.

I have the exact same issue running Leopard and the latest itunes. Checking using the terminal as described by S2 shows a 404. Web Sharing is on in prefs.

I know nothing really about scripting and terminal and have made no modifications to anything.

Haute_Pie
12-28-2007, 09:23 AM
Apparently there is some issue with web sharing on leopard fixed with this

sudo mkdir /private/var/log/apache2

which got the script 'working', except when it was finished the podcast group title was what looked like a path (instead of the title I gave) that contained no actual files files when I expanded it. So it's not working here. :confused:

spiff101
01-03-2008, 03:26 PM
This sounds like a fantastic script, as I listen to a lot of streams captured with audio hijack, and I really need to have my ipod bookmark them so I don't have to fast forward through an hour and a half of material I've already listened to..

Unfortunately, I've been unable to get this script to work. (I've ticked 'personal web sharing' in system preferences). Highlighting some tracks and then clicking on the script from the menu bar just gets a delay of a couple of seconds, then..nada. Nothing happens at all. Could anyone suggest why that might be?