Is there a way that I can create a playlist whereby all singleton movies are displayed as just the movie, but all collections are displayed the collection?

For example, if I have 1 Star Trek movie, but all Star Wars movies, the playlist will show Star Trek, then Star Wars, and if I click on Star Trek it drills down to the movie level (or plays it), but if I click Star Wars, it drills into a "sub-playlist" that shows all the Star Wars movies?

I hope this makes sense...

Thanks!
hsbrown