home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
Improvement Suggestions
Improved Weekly / Daily recording algorithm
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="dvdfreak" data-source="post: 171356" data-attributes="member: 21313"><p>These are the rules that are defined right now. Since this is work in progress rules may be added or modified of course, but it will give you a good idea:</p><p></p><p>[code]public enum ScheduleRuleType</p><p>{</p><p> TvChannels, // Record on the given channel(s).</p><p> Time, // Record at the given start/stop time.</p><p> AroundTime, // Record the timeslot closest to the given start time (usually combined with TitleEquals and DaysOfWeek).</p><p> BetweenTimes, // Record a program when its start time is between the two given times.</p><p> DaysOfWeek, // Record on these days of the week.</p><p> TitleEquals, // Record program with the given title.</p><p> SubTitleEquals, // Record program with the given sub-title.</p><p> TitleStartsWith, // Record program who's title starts with the given text.</p><p> TitleContains, // Record program who's title contains the given text.</p><p> DescriptionContains, // Record program who's description contains the given text.</p><p> CategoryEquals, // Record programs from this category.</p><p> DirectedBy, // Record program directed by given name.</p><p> WithActor, // Record program which has the actor by the given name.</p><p> SkipRepeats, // Only record first-run (non-repeat) programs if the argument to this rule is true.</p><p> GuideProgram // Record the program with the given ProgramGuideId (if found, usually combined with TitleEquals and Time).</p><p>}[/code]</p><p></p><p>The arguments to these rules are as follows:</p><p></p><ul> <li data-xf-list-type="ul"><em>TvChannels</em> - one or more GUIDs of TV channels</li> <li data-xf-list-type="ul"><em>Time</em> - date/time of the program</li> <li data-xf-list-type="ul"><em>AroundTime</em> - start-time of the program</li> <li data-xf-list-type="ul"><em>BetweenTimes</em> - start time and end time to define a range</li> <li data-xf-list-type="ul"><em>DaysOfWeek</em> - a flags enum that combines the days of the week, e.g. ScheduleDaysOfWeek.Monday|ScheduleDaysOfWeek.Friday</li> <li data-xf-list-type="ul"><em>TitleEquals, SubTitleEquals, TitleStartsWith, TitleContains, DescriptionContains</em> - a single string</li> <li data-xf-list-type="ul"><em>CategoryEquals,DirectedBy,WithActor</em> - one or more strings (logical OR)</li> <li data-xf-list-type="ul"><em>SkipRepeats</em> - bool</li> <li data-xf-list-type="ul"><em>GuideProgram</em> - GUID of the program in the TV guide</li> </ul><p>All these rules can be combined to narrow down exactly what you want to record.</p><p></p><p>Hope this is clear enough?</p></blockquote><p></p>
[QUOTE="dvdfreak, post: 171356, member: 21313"] These are the rules that are defined right now. Since this is work in progress rules may be added or modified of course, but it will give you a good idea: [code]public enum ScheduleRuleType { TvChannels, // Record on the given channel(s). Time, // Record at the given start/stop time. AroundTime, // Record the timeslot closest to the given start time (usually combined with TitleEquals and DaysOfWeek). BetweenTimes, // Record a program when its start time is between the two given times. DaysOfWeek, // Record on these days of the week. TitleEquals, // Record program with the given title. SubTitleEquals, // Record program with the given sub-title. TitleStartsWith, // Record program who's title starts with the given text. TitleContains, // Record program who's title contains the given text. DescriptionContains, // Record program who's description contains the given text. CategoryEquals, // Record programs from this category. DirectedBy, // Record program directed by given name. WithActor, // Record program which has the actor by the given name. SkipRepeats, // Only record first-run (non-repeat) programs if the argument to this rule is true. GuideProgram // Record the program with the given ProgramGuideId (if found, usually combined with TitleEquals and Time). }[/code] The arguments to these rules are as follows: [list] [*][i]TvChannels[/i] - one or more GUIDs of TV channels [*][i]Time[/i] - date/time of the program [*][i]AroundTime[/i] - start-time of the program [*][i]BetweenTimes[/i] - start time and end time to define a range [*][i]DaysOfWeek[/i] - a flags enum that combines the days of the week, e.g. ScheduleDaysOfWeek.Monday|ScheduleDaysOfWeek.Friday [*][i]TitleEquals, SubTitleEquals, TitleStartsWith, TitleContains, DescriptionContains[/i] - a single string [*][i]CategoryEquals,DirectedBy,WithActor[/i] - one or more strings (logical OR) [*][i]SkipRepeats[/i] - bool [*][i]GuideProgram[/i] - GUID of the program in the TV guide [/list] All these rules can be combined to narrow down exactly what you want to record. Hope this is clear enough? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
Improved Weekly / Daily recording algorithm
Contact us
RSS
Top
Bottom