I really can't say when it comes to the playlist thing, There is no real way to get it done without slamming a server currently.
Did a quick search and it looks like thats understood by php fine, here is a script a came upon
In PHP, PT2H34M25S is a valid date period string, and is understood...