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 2
Plugin Development
MP2 - Source code for TvEngine3? (currently only available as package)
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="Tuggax" data-source="post: 1224743" data-attributes="member: 161623"><p>Thank you @<a href="https://forum.team-mediaportal.com/members/morpheus_xx.48495/" target="_blank">morpheus_xx</a> for your earlier reply, your link was exactly what I was trying to get.</p><p></p><p>I initially just took a copy of the source code to see it I could get it compiling and after some trial and error I was up and running.</p><p></p><p>Firstly, a brief description of the problem I'm trying to solve:</p><p></p><p>In Australia (where I live) the TV guide is <u>lacking important information</u> and <u>TV shows are constantly changing their airing time week-to-week</u>.</p><p></p><p>The main problem with the TV guide and program scheduling is as follows:</p><p></p><p style="margin-left: 20px">1) The TV guide doesn't contain series or episode information (so I can't filter out duplicates).</p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px">2) Popular (i.e. reality TV and nightly current affair) shows often air at night time and than again around lunchtime the following day.</p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px">3) The shows that repeat at lunchtime have the exact same <strong><u>title</u></strong> as the original</p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px">4) Reality shows will often air at 19:00 on weekdays and 19:30 on Sunday nights (and once eliminations start will air only Sun & Mon etc)</p><p></p><p>As a result I either forced to use the "<strong>Record Every Time</strong>" schedules and get stuck with multiple repeats or alternatively I have to manually (on a weekly basis) set up recordings to account for time shifts in air time.</p><p></p><p><strong><u>My solution</u></strong>:</p><p></p><p>For the three schedules types (<strong>EveryTimeOnThisChannel</strong>, <strong>EveryTimeOnEveryChannel</strong>, <strong>WeeklyEveryTimeOnThisChannel</strong>) that record on title (and not time) I have implemented an optional "<strong>recording time window</strong>" for the schedule.</p><p></p><p>Note, this was an option I used in MCE all the time (before I switched to Windows 10 & MP2).</p><p></p><p>When enabled, only shows that match with the <strong>title</strong> and <u><strong>additionally</strong></u> fall within this "<strong>recording time window</strong>" are recorded. It's still work in progress but so far is working exactly as I had hoped and even shows the <strong><u>filtered list</u></strong> correctly in both MP and Kodi GUIs.</p><p></p><p>As an example, I've created a <strong>EveryTimeOnThisChannel </strong>schedule to record "<strong>The Voice</strong>" at <strong>19:30</strong> and have a 4 hr recording window (2 hours before/after the start time). This now successfully avoids recording the lunchtime airings and at the same time is also recording the Sunday <strong>19:00</strong> show.</p><p></p><p>Lastly, today I created myself a GitHub account, forked your code and clone to my hard drive.</p><p></p><p>Hopefully will find some time soon to checkin my changes (made so far) and to see if this is of interest to the MP2 community.</p><p></p><p>Cheers!</p></blockquote><p></p>
[QUOTE="Tuggax, post: 1224743, member: 161623"] Thank you @[URL='https://forum.team-mediaportal.com/members/morpheus_xx.48495/']morpheus_xx[/URL] for your earlier reply, your link was exactly what I was trying to get. I initially just took a copy of the source code to see it I could get it compiling and after some trial and error I was up and running. Firstly, a brief description of the problem I'm trying to solve: In Australia (where I live) the TV guide is [U]lacking important information[/U] and [U]TV shows are constantly changing their airing time week-to-week[/U]. The main problem with the TV guide and program scheduling is as follows: [INDENT]1) The TV guide doesn't contain series or episode information (so I can't filter out duplicates). 2) Popular (i.e. reality TV and nightly current affair) shows often air at night time and than again around lunchtime the following day. 3) The shows that repeat at lunchtime have the exact same [B][U]title[/U][/B] as the original 4) Reality shows will often air at 19:00 on weekdays and 19:30 on Sunday nights (and once eliminations start will air only Sun & Mon etc)[/INDENT] As a result I either forced to use the "[B]Record Every Time[/B]" schedules and get stuck with multiple repeats or alternatively I have to manually (on a weekly basis) set up recordings to account for time shifts in air time. [B][U]My solution[/U][/B]: For the three schedules types ([B]EveryTimeOnThisChannel[/B], [B]EveryTimeOnEveryChannel[/B], [B]WeeklyEveryTimeOnThisChannel[/B]) that record on title (and not time) I have implemented an optional "[B]recording time window[/B]" for the schedule. Note, this was an option I used in MCE all the time (before I switched to Windows 10 & MP2). When enabled, only shows that match with the [B]title[/B] and [U][B]additionally[/B][/U] fall within this "[B]recording time window[/B]" are recorded. It's still work in progress but so far is working exactly as I had hoped and even shows the [B][U]filtered list[/U][/B] correctly in both MP and Kodi GUIs. As an example, I've created a [B]EveryTimeOnThisChannel [/B]schedule to record "[B]The Voice[/B]" at [B]19:30[/B] and have a 4 hr recording window (2 hours before/after the start time). This now successfully avoids recording the lunchtime airings and at the same time is also recording the Sunday [B]19:00[/B] show. Lastly, today I created myself a GitHub account, forked your code and clone to my hard drive. Hopefully will find some time soon to checkin my changes (made so far) and to see if this is of interest to the MP2 community. Cheers! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
MP2 - Source code for TvEngine3? (currently only available as package)
Contact us
RSS
Top
Bottom