|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
My own private channel over Sage - how?
Hey guys,
I have a challenge for one of you.. .I would have picked this challenge myself, but my knowledge with coding is soooo limited. Anyhow, this is what I really wanted to do with my Sage: My own private channel. How? The idea is quite simple. It is like a shuffle for movies, or maybe ‘random playlist’ is a better way to describe it. Lets assume my kid (it is all for him) have like 4 tv shows he likes. I already have all the different episodes recorded for him and filed in different 4 folders. Each folder is named as the name of the show and includes all relevant episodes within it. Now, what I really wanted to have is like a playlist that will do the follow: The first item he will play, will always be the same (like a movie peace I will add with my kid picture and labeled as my kid private channel). Then the playlist will go into a predefined folder and pick on file randomly to play it. When over, the playlist will go into a second predefined folder and pick a file (again randomly) to play. And so on, and so on. The idea is that I could tell the playlist exactly which folder to go into (thus say, defined exactly what show will be played), but the episode it self, will be randomly. I can think on many other extra features for that, but I guess this will be enough. Again, I would have done this myself, but I really don’t know how I assume it require some kind of a Sage add on or STVI. I could really use someone to help with this as I think it will be a cool tool for all of us Sage users. Thanks in advance. The AGC |
#2
|
||||
|
||||
Already possible in the V6 beta with no extra coding using video playlists and random playback...
(use this regularly myself I have 'Dora' and 'Pingu' pre-loaded in playlists )
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#3
|
|||
|
|||
Quote:
|
#4
|
||||
|
||||
Once you have set up the playlist(s), you can use my dynamic menus to have a new menu item to play your kids playlist...
The following menuitemlet (pasteable menu item) will start playback of a playlist named 'Kids playlist' at the first item, and then random playback thereafter (replace 'kids playlist' in the code with your playlist name, and then copy it and paste it in my dynamic menus). Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?> <!DOCTYPE sageMenu PUBLIC "-//NIELM//DTD SAGEMENU XML 1.3//EN" "http://www.sage-community.org/~nielm/nielm_modules/dynamic_menu/sagemenu_1_3.dtd"> <sageMenu version="1.3"> <internalScreenMenuItem icon="STVs\dynamic_menu_icons\mm_video.png" screen="MediaPlayer OSD" title="Random Playback of 'Kids Playlist'"> <evalExpression>SetProperty("random_video_playback", true)</evalExpression> <evalExpression>SetProperty("video_lib/repeat_playback", true)</evalExpression> <evalExpression>AddStaticContext("Playlist", "Kids Playlist")</evalExpression> <evalExpression>StartPlaylistAt(GetElement(FilterByMethod(GetPlaylists(),"GetName",Playlist,true),0),1)</evalExpression> </internalScreenMenuItem> </sageMenu> Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?> <!DOCTYPE sageMenu PUBLIC "-//NIELM//DTD SAGEMENU XML 1.3//EN" "http://www.sage-community.org/~nielm/nielm_modules/dynamic_menu/sagemenu_1_3.dtd"> <sageMenu version="1.3"> <internalScreenMenuItem icon="STVs\dynamic_menu_icons\mm_video.png" screen="MediaPlayer OSD" title="Random Playback of 'Kids Playlist'"> <evalExpression>SetProperty("random_video_playback", true)</evalExpression> <evalExpression>SetProperty("video_lib/repeat_playback", true)</evalExpression> <evalExpression>AddStaticContext("Playlist", "Kids Playlist")</evalExpression> <evalExpression>StartPlaylist(GetElement(FilterByMethod(GetPlaylists(),"GetName",Playlist,true),0))</evalExpression> </internalScreenMenuItem> </sageMenu>
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|