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
Products
TV-Server
Tweaking DVB EPG
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="hurley" data-source="post: 1134155" data-attributes="member: 151395"><p><span style="font-size: 12px">TV Guide spam has been driving me mad here (Australia) too. It's mainly Nine network.</span></p><p><span style="font-size: 12px">I decided to have a go at writing a plugin to filter the DVB guide data and also fix another issue that's always been a problem where <em>Once</em> recording schedules get broken if the broadcaster changes the start/end time or program title after the schedule has been set. This also tends to un-cancel any cancelled series schedules.</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">The plugin <span style="color: rgb(0, 0, 179)"><strong>EPGCleaner</strong></span> uses regex to filter the guide data so it's very configurable but also has a <em>simple</em> mode which uses wildcard matching like <strong>*</strong> and <strong>?</strong> for less complex filtering.</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">There's an unlimited number of filters for both program title and description text which can be mapped to all channels or selected channels only and the title filter matches can optionally be pre-pended to the description text. Useful for suffixes like <em>New Episode</em> or <em>Premiere</em> etc..</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"><strong>Some other features include:</strong></span></p><ul> <li data-xf-list-type="ul"><span style="font-size: 12px"> A filter tester to check if your regex pattern works as expected.</span></li> <li data-xf-list-type="ul"><span style="font-size: 12px"> Convert upper-case titles to title case. <span style="font-size: 10px">(with ignore list)</span></span></li> <li data-xf-list-type="ul"><span style="font-size: 12px"> Separate or remove the short description text.</span></li> </ul> <p style="margin-left: 20px"><p style="text-align: left"><span style="font-size: 12px">(Some networks send the title or episode name in the <em>short description</em> field which MediaPortal doesn't handle so it gets pre-pended to the description text without a space. This option removes the short description if it matches the title or inserts a separator if it's an episode name or something else.)</span></p> </p><p></p><p style="margin-left: 20px"><span style="font-size: 12px"><strong>Repair Schedules:</strong></span></p> <ul> <li data-xf-list-type="ul"><span style="font-size: 12px"> Repairs all schedules where titles are changed by EPGCleaner filters (whether <em>Repair Schedules</em> is enabled or not)</span></li> <li data-xf-list-type="ul"><span style="font-size: 12px"> Repairs <em>Once</em> schedules and cancelled series schedules where: Start time, end time or title has changed.</span></li> <li data-xf-list-type="ul"><span style="font-size: 12px"> Removes obsolete cancelled schedules from the database for pre MP 1.10 versions.</span></li> </ul><p><span style="font-size: 12px">After setting up your filters and options you won't see any changes until the guide is next updated. You can speed this process up by clicking <em>Refresh EPG</em> which currently just replicates <em>TV-Server Configuration -> Manual Control -> Refresh DVB EPG</em> but without any feedback. I intend to improve this function for the release version.</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">I should note that this is an unofficial <strong>alpha</strong> version so enable logging and keep a close eye on things if testing it.</span></p><p><span style="font-size: 12px">There's a few tweaks plus language translations and documentation/help to be done yet but most options are tool-tipped.</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">It would be good to get some field testing feedback as I'm stuck on WinXP and MP 1.3.0 for my HTPC here and have only tested Windows 7 MP 1.10.0 on a borrowed tuner-less laptop.</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">Oh, for any Aussie users, these settings have been working well for me the past month or so:</span></p><p><span style="font-size: 12px"></span></p><p style="margin-left: 20px"><span style="font-size: 12px"><em>Upper Case to Title Case</em> [Enabled] <em>Channels:</em> 7,9,10 networks (<em>Ignore list:</em> M*A*S*H, CSI, NY)</span></p> <p style="margin-left: 20px"><span style="font-size: 12px"><em>Separate/Remove desc prefix</em> [Enabled] <em>Channels:</em> 7,9,10 networks</span></p> <p style="margin-left: 20px"><span style="font-size: 12px"><em>Repair Schedules</em> [Enabled]</span></p> <p style="margin-left: 20px"><span style="font-size: 12px"><em>Enable Logging</em> [Enabled]</span></p><p></p><p style="margin-left: 20px"><span style="font-size: 12px">Title Filters:</span></p> <p style="margin-left: 20px"><span style="font-size: 12px">1. "<strong>\(Inc.*\)?</strong>" (<em>Replace with:</em> empty) <em>Channels:</em> 9 network <span style="font-size: 10px">(Removes channel nine's spam)</span></span></p> <p style="margin-left: 20px"><span style="font-size: 12px">2. "<strong> - (New Episode|New|Final|Premiere)</strong>" (<em>move to description</em>) <em>Channels:</em> 7,9 networks</span></p> <p style="margin-left: 20px"><span style="font-size: 12px">3. "<strong>Movie: </strong>" (<em>move to desc</em>ription) <em>Channels:</em> 10 networks <span style="font-size: 10px">(This ones just for consistency across channels)</span></span></p><p></p><p style="margin-left: 20px"><span style="font-size: 12px">Description Filters:</span></p> <p style="margin-left: 20px"><span style="font-size: 12px">1. "<strong>\(Inc.*?\)</strong>" (<em>Replace with:</em> empty) Channels: 7 network</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"><strong>Don't include the quotes!!! and note leading/trailing spaces.</strong></span></p><p></p><p><img src="http://oi57.tinypic.com/n2ebkn.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>Removed version 0.1.0.32 of plugin. See post below for update.</p></blockquote><p></p>
[QUOTE="hurley, post: 1134155, member: 151395"] [SIZE=3]TV Guide spam has been driving me mad here (Australia) too. It's mainly Nine network. I decided to have a go at writing a plugin to filter the DVB guide data and also fix another issue that's always been a problem where [I]Once[/I] recording schedules get broken if the broadcaster changes the start/end time or program title after the schedule has been set. This also tends to un-cancel any cancelled series schedules. The plugin [COLOR=rgb(0, 0, 179)][B]EPGCleaner[/B][/COLOR] uses regex to filter the guide data so it's very configurable but also has a [I]simple[/I] mode which uses wildcard matching like [B]*[/B] and [B]?[/B] for less complex filtering. There's an unlimited number of filters for both program title and description text which can be mapped to all channels or selected channels only and the title filter matches can optionally be pre-pended to the description text. Useful for suffixes like [I]New Episode[/I] or [I]Premiere[/I] etc.. [B]Some other features include:[/B][/SIZE] [LIST] [*][SIZE=3] A filter tester to check if your regex pattern works as expected.[/SIZE] [*][SIZE=3] Convert upper-case titles to title case. [SIZE=2](with ignore list)[/SIZE][/SIZE] [*][SIZE=3] Separate or remove the short description text.[/SIZE] [/LIST] [INDENT][LEFT][SIZE=3](Some networks send the title or episode name in the [I]short description[/I] field which MediaPortal doesn't handle so it gets pre-pended to the description text without a space. This option removes the short description if it matches the title or inserts a separator if it's an episode name or something else.)[/SIZE][/LEFT][/INDENT] [INDENT][SIZE=3][B]Repair Schedules:[/B][/SIZE][/INDENT] [LIST] [*][SIZE=3] Repairs all schedules where titles are changed by EPGCleaner filters (whether [I]Repair Schedules[/I] is enabled or not)[/SIZE] [*][SIZE=3] Repairs [I]Once[/I] schedules and cancelled series schedules where: Start time, end time or title has changed.[/SIZE] [*][SIZE=3] Removes obsolete cancelled schedules from the database for pre MP 1.10 versions.[/SIZE] [/LIST] [SIZE=3]After setting up your filters and options you won't see any changes until the guide is next updated. You can speed this process up by clicking [I]Refresh EPG[/I] which currently just replicates [I]TV-Server Configuration -> Manual Control -> Refresh DVB EPG[/I] but without any feedback. I intend to improve this function for the release version. I should note that this is an unofficial [B]alpha[/B] version so enable logging and keep a close eye on things if testing it. There's a few tweaks plus language translations and documentation/help to be done yet but most options are tool-tipped. It would be good to get some field testing feedback as I'm stuck on WinXP and MP 1.3.0 for my HTPC here and have only tested Windows 7 MP 1.10.0 on a borrowed tuner-less laptop. Oh, for any Aussie users, these settings have been working well for me the past month or so: [/SIZE] [INDENT][SIZE=3][I]Upper Case to Title Case[/I] [Enabled] [I]Channels:[/I] 7,9,10 networks ([I]Ignore list:[/I] M*A*S*H, CSI, NY) [I]Separate/Remove desc prefix[/I] [Enabled] [I]Channels:[/I] 7,9,10 networks [I]Repair Schedules[/I] [Enabled] [I]Enable Logging[/I] [Enabled][/SIZE][/INDENT] [INDENT][SIZE=3]Title Filters: 1. "[B]\(Inc.*\)?[/B]" ([I]Replace with:[/I] empty) [I]Channels:[/I] 9 network [SIZE=2](Removes channel nine's spam)[/SIZE][/SIZE] [SIZE=3]2. "[B] - (New Episode|New|Final|Premiere)[/B]" ([I]move to description[/I]) [I]Channels:[/I] 7,9 networks 3. "[B]Movie: [/B]" ([I]move to desc[/I]ription) [I]Channels:[/I] 10 networks [SIZE=2](This ones just for consistency across channels)[/SIZE][/SIZE][/INDENT] [INDENT][SIZE=3]Description Filters: 1. "[B]\(Inc.*?\)[/B]" ([I]Replace with:[/I] empty) Channels: 7 network[/SIZE][/INDENT] [SIZE=3] [B]Don't include the quotes!!! and note leading/trailing spaces.[/B][/SIZE] [IMG]http://oi57.tinypic.com/n2ebkn.jpg[/IMG] Removed version 0.1.0.32 of plugin. See post below for update. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
TV-Server
Tweaking DVB EPG
Contact us
RSS
Top
Bottom