INTERACT FORUM

More => Old Versions => Media Center 12 (Development Ended) => Topic started by: Berg on October 29, 2007, 09:35:56 am

Title: Playlist to play only the most recent episode of a podcast
Post by: Berg on October 29, 2007, 09:35:56 am
Hello,

I am trying to create a smart playlist to play only the most recent episode of a podcast. I am fortunate that the CBC (The Canadian NPR) makes a podcast of it most recent hourly news and its supper time news.

I have subscribed to the hourly news podcast, only keeping the 1 most recent episode and would like to create a one button playlist to play the most recent hourly news.

I created this smart playlist -

[Media Type]=[Audio] [Genre]=[Podcast] [Album]=[CBC Hourly News] ~n=1 ~sort=[Date Modified]

but I am not getting consistently the most recent episode.

Once I get this one playlist right, I'll be able to create a playlist with various "broadcasts" to create my own morning show/wake up information package.

Any ideas ?
Title: Re: Playlist to play only the most recent episode of a podcast
Post by: gappie on October 29, 2007, 12:15:05 pm
put the sort before the limit. that should work.
Title: Re: Playlist to play only the most recent episode of a podcast
Post by: Berg on October 29, 2007, 09:50:39 pm
I'll try that  Thanks..
Title: Re: Playlist to play only the most recent episode of a podcast
Post by: Berg on October 30, 2007, 08:06:08 am
Hello,

Well putting the sort before the limit worked to ensure a consistent result, but it is only showing the oldest in the list, not the newest.

How do I reverse the sort parameter ?

Thanks.
Title: Re: Playlist to play only the most recent episode of a podcast
Post by: gappie on October 30, 2007, 08:10:12 am
put -d behind it so
 ~sort=[Date Modified]-d


btw: search for posts from marko. he is the big guy for smartlists. also somewere in the wiki you can find some interesting examples of what is possible.
Title: Re: Playlist to play only the most recent episode of a podcast
Post by: Berg on November 01, 2007, 05:45:50 am
Thanks. That worked !!!  :)