playlists

How can I programmatically add playlists or views to iTunes?

Is there a way to programmatically interface with iTunes to add new playlists or smart views? For example, say I download 10 new mp3 files from a website, is there a way of programmatically adding this list of mp3s to a new playlist called "New Album xx"? A new smart view could be okay too if this is easier. More specifically, this is...

Accessing playlist on iPod

I've written a little program that reads and converts my local playlists from the iTunes xml (some more background on my blog: Reading the Playlists from the iTunes Library XML). Now I want to do something similar with the playlists that are stored on my iPod (in my case, a 2nd generation nano; please no iPhone anwers - I'm already envi...

Dynamic Server-Side Playlists in Silverlight

I'm trying to generate dynamic video playlists for Silverlight, to be able enable playback from several diffent video files. E.g. I need to tell Silverlight to play 10 seconds of video 1, starting at timecode 1 minute 15 seconds and then seamlessly change to play 60 seconds of video 2 starting at timecode 5 minutes 2 seconds. It has to p...

Given an Android music playlist name, how can one find the songs in the playlist?

The playlist names can be found by a query on MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI and then look at the MediaStore.Audio.PlaylistsColumns.NAME column. There is a data column too, MediaStore.Audio.PlaylistsColumns._DATA, but it is returning null. The list of songs (MediaStore.Audio.Media.EXTERNAL_CONTENT_URI/id) do not seem to...

How to add an existing video to an existing youtube playlist

I have been trying to ad a video that already uploaded to youtube to a playlist that already existing on youtube, both created with the same account, that I have the username and password to. Heres the Google documentation http://code.google.com/apis/youtube/2.0/developers_guide_protocol_playlists.html#Updating_a_playlist and heres my ...