https://www.mythtv.org/wiki?title=Comedycentral.py&feed=atom&action=historyComedycentral.py - Revision history2024-03-19T02:56:52ZRevision history for this page on the wikiMediaWiki 1.27.7https://www.mythtv.org/wiki?title=Comedycentral.py&diff=55040&oldid=prevChadparry at 20:05, 8 May 20122012-05-08T20:05:13Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 20:05, 8 May 2012</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l4" >Line 4:</td>
<td colspan="2" class="diff-lineno">Line 4:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Enable/Disable shows [[Comedycentral.py#Enable/Disable shows | [1]]]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Enable/Disable shows [[Comedycentral.py#Enable/Disable shows | [1]]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Control the maximum number of items that can be added to directories globally or for a single subdirectory [[Comedycentral.py#Controlling the number of items included in a subdirectory | [2]]]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Control the maximum number of items that can be added to directories globally or for a single subdirectory [[Comedycentral.py#Controlling the number of items included in a subdirectory | [2]]]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">== Alternatives ==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">The Comedy Central feeds don't always contain entire episodes, and that means that they aren't available through this grabber.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">One alternative for watching Comedy Central full episodes is to use Firefox.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">See the instructions at [[AmazonVideo]].</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Country Restrictions ==</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Country Restrictions ==</div></td></tr>
<!-- diff cache key mythwiki:diff:version:1.11a:oldid:47149:newid:55040 -->
</table>Chadparryhttps://www.mythtv.org/wiki?title=Comedycentral.py&diff=47149&oldid=prevRdv: Created page with '== Synopsis == The MythNetvision Comedy Central grabber (comedycentral.py) supports a treeview of recent videos from various Comedy Central shows (e.g. [http://www.colbertnation…'2010-07-18T19:22:09Z<p>Created page with '== Synopsis == The MythNetvision Comedy Central grabber (comedycentral.py) supports a treeview of recent videos from various Comedy Central shows (e.g. [http://www.colbertnation…'</p>
<p><b>New page</b></p><div>== Synopsis ==<br />
The MythNetvision Comedy Central grabber (comedycentral.py) supports a treeview of recent videos from various Comedy Central shows (e.g. [http://www.colbertnation.com/ Colbert Nation]).<br><br />
Treeview user customizations:<br />
*Enable/Disable shows [[Comedycentral.py#Enable/Disable shows | [1]]]<br />
*Control the maximum number of items that can be added to directories globally or for a single subdirectory [[Comedycentral.py#Controlling the number of items included in a subdirectory | [2]]]<br />
<br />
== Country Restrictions ==<br />
*These videos are all restricted to the US only<br />
<br />
== Search ==<br />
The Comedy Central Terms of Service (TOS) does not allow the kind of processing which supports a search. Hopefully this will change in the future. All of the treeview sources are RSS feeds.<br />
<br />
== Treeview Customization Instructions ==<br />
=== Initialization steps ===<br />
#You need to enable this treeview from the Media Library menu, select the ''Browse Internet Video'' menu option and press '''MENU''' (M). Select '''Scan/Manage Subscriptions,''' then '''Manage Site Subscriptions.''' Now subscribe to the "Comedy Central" grabber.<br />
#You will need to download the treeview. To do so, select '''MENU''' (M). Select '''Scan/Manage Subscriptions,''' then '''Update Site Maps.''' The update process can take several minutes. Once this is complete the Comedy Central will contain a subdirectory for each available Comedy Central show (e.g "The Daily Show"). These are not necessarily the shows you want but have been enabled to provide you something to view until you specify your preferences.<br />
<br />
=== Customization ===<br />
{{Note box|Customization of this grabber is entirely optional. You only need to customize the grabber if you wish to change which items appear in the tree.}}<br />
When you updated the treeview in Initialization step #2 a user configuration file was created at:<br><br />
"~/.mythtv/MythNetvision/userGrabberPrefs/comedycentralMashup.xml". To customize the Treeview open the "comedycentralMashup.xml" file with a text editor and make changes according to the instructions below. After you have made your changes and saved the "comedycentralMashup.xml" file, update your subscriptions again (Initialization step #2).<br />
<br />
==== Enable/Disable shows ====<br />
The shows are split into subdirectories which represent the Comedy Central shows. <br><br><br />
To enable a show you must change a "sourceURL" element's "enabled" attribute to 'true'. When you change the attribute to 'true' that source will be added to the Comedy Central treeview. Of course you can disable any subdirectory by changing its 'sourceURL' element's 'enabled' attribute to 'false'.<br><br><br />
When the Comedy Central Tree view is created it will have links to the Flash videos which will playback in a full browser window.<br><br><br />
In this example the "Stand-Up" show is enabled while the "Indescision" show is disabled.<br />
<subDirectory name="Stand-Up"><br />
<sourceURL enabled="true" name="Stand-Up" xsltFile="comedycentralRSS_item" type="xml" url="http://www.comedycentral.com/rss/standupvideos.jhtml" parameter="http://www.comedycentral.com/images/shows/russell_simmons/hp_graphics/simmons_106_r4.jpg"/><br />
</subDirectory><br />
<subDirectory name="Indescision"><br />
<sourceURL enabled="false" name="Recent Shows" xsltFile="comedycentralRSS_item" type="xml" url="http://www.comedycentral.com/rss/indecisionvideos.jhtml" parameter="%SHAREDIR%/mythnetvision/icons/comedycentral.png"/><br />
</subDirectory><br />
<br />
==== Controlling the number of items included in a subdirectory ====<br />
You can optionally control the number of items added to a subdirectory through two attributes:<br />
*"globalmax" - Limits the number of items included for all subdirectories. A value of zero (0) means there are no limits.<br />
*"max" - Limits the number of items included for an individual subdirectory. This value will override the "globalmax" setting. A value of zero (0) means there are no limits.<br />
In this example any "subDirectory" without their own maximum setting will not exceed 25 items but the "South Park" sub-directory will be specifically restricted to no more than 5 items:<br />
<directory name="Comedy Central" globalmax="25"><br />
<subDirectory name="Colbert Report"><br />
<sourceURL enabled="true" name="Colbert Report" xsltFile="comedycentralRSS_item" type="xml" url="http://www.comedycentral.com/rss/colbertvideos.jhtml" parameter="http://www.comedycentral.com/comedycentral/sitewide/images/promos/affliates/showfeed_colbertnation2.jpg"/><br />
</subDirectory><br />
<subDirectory name="South Park" max="5"><br />
<sourceURL enabled="true" name="South Park" xsltFile="comedycentralRSS_item" type="xml" url="http://www.comedycentral.com/rss/southparkvideos.jhtml" parameter="http://www.comedycentral.com/comedycentral/sitewide/images/promos/affliates/showfeed_southpark.jpg"/><br />
</subDirectory><br />
<directory<br />
<br />
[[Category:MythNetvision_Grabber_Scripts]]</div>Rdv