OK so you have setup XBMC and managed to scan all of your content into your library – great! However, one of the questions that frequently comes up in the XBMC forums is how can i setup my own TV channel using content in the library.
There are several ways you could accomplish this, but the easiest way to do this is to use the Smart Playlists functionality in XBMC. Smart playlists are playlists which use a set of rules to limit the results from the databases. This way you can limit the select items to match a set of predefined criteria which you have set.
In this example we will create a TV channel, which will be built using a combination of smart playlists.
What you will need:
- A working installation of XBMC on your chosen platform.
- Content scanned into your library within XBMC.
- A list of your favourite tv shows.
- About 30mins to get it all working.
For this example, I will be using the default XBMC skin, Confluence, however this should work with any skin.
First up we will create some smart playlists.
- A smart playlist for all unwatched tv episodes.
- A smart playlist for all of our favourite shows that haven’t been watched in the past 4 weeks.
- A smart playlist that combines all of the above.
- Test your myTV Channel 1 works.
Creating the Unwatched TV Episode smart playlist
Add a new playlist
Create the first rule, we want all unwatched episodes (play count is less than 1)
Make sure when you create the smart playlists, that you set the type to Episode. Set Limit to 100 items, Order by Random and name the playlist Unwatched TV Episodes. Your finished smart playlist should look like this:
Creating the Favourite Shows smart playlist
Lets add another smart playlist for all of our favourite tv show episodes that haven’t been watched in the last 4 weeks. The process is the same as last time, make sure your set “Items must match one or more rules” and Order By to Random. Call your your finished smart playlist “Favourite Shows – Not watched in last 4 weeks”, your finished playlist should look like this:
Combining everything into a single smart playlist
We now need to combine the two smart playlists we have just created into a single smart playlist that will be used for the virtual TV channel. Create a new smart playlist and make sure it looks like the following example and call it “myTV Channel 1″. Make sure that you set “Items must match all of the rules”.
Checkout your new “myTV Channel 1″ playlist to make sure it works. It should list a selection of shows.
OK so we now have a smart playlist we can use for a channel. It’s a start, however its not easily accessible for your typical user. We could add it as a favourite, its better but its still not great.
Add The Channel To Your XBMC Main Menu
How about we make it accessible from the main Confluence home screen – you don’t get much more user friendly than that! To do this you are going to have to get your hands a little dirty and add a few lines to the skin’s xml file. Depending on your platform linux / osx / atv / windows the location of the files you need to edit will vary.
This section will be added soon!
Paul, you rock. Excellent tutorial and post. I have read the XBMC posts here and I have learned more about ‘using’ XBMC from your posts than I have reading thousands of pages on XBMC’s forum.
Thanks for doing this.
Steve
“Add The Channel To Your XBMC Main Menu
How about we make it accessible from the main Confluence home screen – you don’t get much more user friendly than that! To do this you are going to have to get your hands a little dirty and add a few lines to the skin’s xml file. Depending on your platform linux / osx / atv / windows the location of the files you need to edit will vary.
This section will be added soon!”
Any update on this? Great guide by the way, thanks!
[...] Re: Hunting for a solution… thank you! these look promising. i might load XBMC on another machine to run this, as i REALLY don't want to have to abandon mediaportal here's the links for anyone else looking: [RELEASE] PseudoTV (Video) Addon – Virtual EPG and TV Channel Surfing Script for XBMC – XBMC Community Forum Create your own TV channel in XBMC | The Paul Rae Blog [...]
To the person not wanting to abandon MediaPortal, do it! I didn’t want to either, but after trying to find solutions to a million little problems with MP, i eventually turned to XBMC, and have never looked back. Even the wife is happy
Hi,
Anyway of getting this tutorial for the latest release. I can’t follow along since this seems to be for a previous release.
Thaks
Sure, I’ll take a look at getting this updated in the next few days. Is there any bit in particular you were having issues with?
I have created a bunch of smart playlists but can only play one file at a time. When the next one is due to play or if I click next I get an error message saying cant find a next item to play.
However if I manually click on the next item it plays fine.
Any ideas? I’m using the newest nightly build so possibly this could be broken in my version.
hi
I CAN’T SEE THE PICTURES
PLEASE CHECK THE PICTURES
MANY THANKS
Thanks for notifying me, not sure whats happened to the pictures. I’ll get it updated in the next day or so
The pictures all have the wrong url. if i remove the /wordpress from the path, i can see the images:
For example this is how the image is served:
http://www.paulrae.com/wordpress/wp-content/uploads/2010/02/Screen-shot-2010-02-16-at-00.21.32-450×327.png
This is how it should be
http://www.paulrae.com/wp-content/uploads/2010/02/Screen-shot-2010-02-16-at-00.21.32-450×327.png
The pictures all have the wrong url. if i remove the /wordpress from the path, i can see the images:
For example this is how the image is served:
http://www.paulrae.com/wordpress/wp-content/uploads/2010/02/Screen-shot-2010-02-16-at-00.21.32-450×327.png
This is how it should be:
http://www.paulrae.com/wp-content/uploads/2010/02/Screen-shot-2010-02-16-at-00.21.32-450×327.png
…
The images are referencing the old wordpress location at
http://www.paulrae.com/wordpress/wp-content/uploads/2010/02/Screen-shot-2010-02-16-at-00.33.41-450×327.png
rather than
http://www.paulrae.com/wp-content/uploads/2010/02/Screen-shot-2010-02-16-at-00.33.41-450×327.png
Still No Pictures??
Sorry this was fixed, but I then restored an old backup when i moved hosts. All fixed again