Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

it's a really really simple concept, I just can't figure out to do it... I'm trying to use Applescript to use iTunes to listen to different files on a site almost like a background radio. To get this to work, I just need to figure how to change file data through Applescript.

But when I try this code

set address of current track to "dummyURL2011"

Within the iTunes wrapper of course, it returns an error about file permissions.

However, when I go into iTunes manually, go to Get Info, and edit the URL, it works fine. The track that was playing keeps playing until it reaches the end. Then, once it plays again, it plays the new URL, exactly what I want.

How do I get this to work automatically? Through Applescript, or Python...

Thanks

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.