Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html><head>
- <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
- <base href="http://192.168.0.5/mythweb/">
- <title>MythWeb - Recorded Programs</title>
- <link rel="icon" href="http://192.168.0.5/mythweb/skins/default/img/favicon.ico" type="image/x-icon">
- <link rel="shortcut icon" href="http://192.168.0.5/mythweb/skins/default/img/favicon.ico" type="image/x-icon">
- <link type="application/opensearchdescription+xml" rel="search" href="tv/opensearch?type=xml" title="MythTV">
- <meta http-equiv="content-type" content="text/html; charset=utf-8">
- <meta name="robots" content="noindex, nofollow">
- <script type="text/javascript">
- <!--
- // -----------------------------------------------------------------------------
- // Globals
- // Major version of Flash required
- var requiredMajorVersion = 9;
- // Minor version of Flash required
- var requiredMinorVersion = 0;
- // Minor version of Flash required
- var requiredRevision = 0;
- // -----------------------------------------------------------------------------
- // -->
- </script>
- <link rel="stylesheet" type="text/css" href="js/prototip/prototip.css">
- <link rel="stylesheet" type="text/css" href="js/dialog/dialog.css">
- <link rel="stylesheet" type="text/css" href="http://192.168.0.5/mythweb/skins/default//style.css">
- <link rel="stylesheet" type="text/css" href="http://192.168.0.5/mythweb/skins/default//header.css">
- <link rel="stylesheet" type="text/css" href="http://192.168.0.5/mythweb/skins/default//menus.css">
- <link rel="stylesheet" type="text/css" href="http://192.168.0.5/mythweb/skins/default//programming.css">
- <link rel="stylesheet" type="text/css" href="http://192.168.0.5/mythweb/skins/default//tv_recorded.css">
- <script type="text/javascript" src="js/prototype.js"></script>
- <script type="text/javascript" src="js/prototip/prototip.js"></script>
- <script type="text/javascript" src="js/dialog/dialog.js"></script>
- <script type="text/javascript" src="js/utils.js"></script>
- <script type="text/javascript" src="js/AC_OETags.js"></script>
- <script type="text/javascript" src="js/table_sort.js"></script>
- <link rel="alternate" type="application/rss+xml" href="/tv/recorded?recgroup=&title=Grey%27s+Anatomy">
- </head>
- <body>
- <div id="page_header" class="clearfix">
- <div id="logo_box">
- <a id="mythtv_logo" href="http://192.168.0.5/mythweb/">
- <img src="http://192.168.0.5/mythweb/skins/default/img/mythtv-logo.png" alt="MythTV" class="alpha_png">
- </a>
- </div>
- <div id="sections">
- <a id="tv_link" class="current_section" href="tv" onmouseover="return help_text('TV functions, including recorded programs.')" onmouseout="return help_text()">
- <img src="http://192.168.0.5/mythweb/skins/default/img/tv.png" class="alpha_png" alt="MythTV">
- <span style="display: none;">Television</span>
- </a>
- <a id="video_link" href="video" onmouseover="return help_text('MythVideo on the web.')" onmouseout="return help_text()">
- <img src="http://192.168.0.5/mythweb/skins/default/img/video.png" class="alpha_png" alt="MythVideo">
- <span style="display: none;">Videos</span>
- </a>
- <a id="settings_link" href="settings" onmouseover="return help_text('Edit MythWeb and some MythTV settings.')" onmouseout="return help_text()">
- <img src="http://192.168.0.5/mythweb/skins/default/img/settings.png" class="alpha_png" alt="Settings">
- <span style="display: none;">Settings</span>
- </a>
- </div>
- <div id="extra_header">
- <div id="help_wrapper">
- <div id="help_box">
- <div id="help_text_default" style="position:relative;">
- MythWeb: Tue Apr 16, 2013, 12:28 PM </div>
- <div id="help_text" style="display:none;">
- </div>
- </div>
- </div>
- <div id="search">
- <form action="tv/search" method="get">
- <div id="simple_search">
- <input type="hidden" name="type" value="q">
- <input id="search_text" type="text" name="s" size="15" value="how to live with your parents">
- <input id="search_submit" type="submit" class="submit" name="search" value="Search">
- (<a href="tv/search">Advanced</a>)
- </div>
- </form>
- </div>
- </div>
- </div>
- <table id="command_choices_table" width="100%" border="0" cellspacing="2" cellpadding="0">
- <tbody><tr>
- <td colspan="2" class="menu menu_border_t menu_border_b"><table class="body" width="100%" border="0" cellspacing="2" cellpadding="2">
- <tbody><tr>
- <td><div id="command_choices">
- <a href="" id="category_legend">MythTV:</a>
- <a href="tv/list">Listings</a>
- |
- <a href="tv/searches">Searches</a>
- |
- <a href="tv/schedules">Recording Schedules</a>
- (<a href="tv/schedules/manual">Manual</a>,
- <a href="tv/schedules/custom">Custom</a>)
- |
- <a href="tv/upcoming">Upcoming Recordings</a>
- |
- <a href="tv/recorded">Recorded Programs</a>
- |
- <a href="status">Backend Status</a>
- </div></td>
- </tr>
- </tbody></table></td>
- </tr>
- </tbody></table>
- <form id="change_title" action="http://192.168.0.5/mythweb/tv/recorded" method="get">
- <table id="title_choices" class="commandbox commands" border="0" cellspacing="0" cellpadding="4">
- <tbody><tr>
- <td class="x-group">Show group:</td>
- <td><select name="recgroup" onchange="$('change_title').submit()">
- <option value="">All groups</option><option id="Group Default" value="Default">Default (96 recordings)</option><option id="Group Deleted" value="Deleted">Deleted (7 recordings)</option><option id="Group LiveTV" value="LiveTV">LiveTV (4 recordings)</option> </select></td>
- <td class="x-recordings">Show recordings:</td>
- <td><select name="title" onchange="$('change_title').submit()">
- <option id="All recordings" value="">All recordings</option>
- <option id="Title Amish Mafia" value="Amish Mafia">Amish Mafia</option>
- <option id="Title Batman" value="Batman">Batman</option>
- <option id="Title Batman & Robin" value="Batman & Robin">Batman & Robin</option>
- <option id="Title Batman Forever" value="Batman Forever">Batman Forever</option>
- <option id="Title Batman Returns" value="Batman Returns">Batman Returns</option>
- <option id="Title The Brady Bunch Movie" value="The Brady Bunch Movie">The Brady Bunch Movie</option>
- <option id="Title Bunheads" value="Bunheads">Bunheads (2 episodes)</option>
- <option id="Title The Devils Ride" value="The Devils Ride">The Devils Ride (2 episodes)</option>
- <option id="Title Disney Prep & Landing" value="Disney Prep & Landing">Disney Prep & Landing</option>
- <option id="Title Fringe" value="Fringe">Fringe (17 episodes)</option>
- <option id="Title Grey's Anatomy" value="Grey's Anatomy" selected="">Grey's Anatomy</option>
- <option id="Title Hannibal" value="Hannibal">Hannibal</option>
- <option id="Title Justified" value="Justified">Justified (43 episodes)</option>
- <option id="Title Modern Family" value="Modern Family">Modern Family (3 episodes)</option>
- <option id="Title Once Upon a Time" value="Once Upon a Time">Once Upon a Time</option>
- <option id="Title Private Practice" value="Private Practice">Private Practice</option>
- <option id="Title Revolution" value="Revolution">Revolution</option>
- <option id="Title Top Gear" value="Top Gear">Top Gear (2 episodes)</option>
- <option id="Title Vikings" value="Vikings">Vikings</option>
- <option id="Title The Voice" value="The Voice">The Voice (3 episodes)</option>
- <option id="Title The Walking Dead" value="The Walking Dead">The Walking Dead</option>
- <option id="Title White Collar" value="White Collar">White Collar (7 episodes)</option>
- <option id="Title Who Framed Roger Rabbit" value="Who Framed Roger Rabbit">Who Framed Roger Rabbit</option>
- <option id="Title Wizards of Waverly Place The Movie" value="Wizards of Waverly Place The Movie">Wizards of Waverly Place The Movie</option>
- <option id="Title World of Jenks" value="World of Jenks">World of Jenks</option>
- </select></td>
- </tr>
- </tbody></table>
- </form>
- <table id="recorded_list" border="0" cellpadding="0" cellspacing="0" class="list small">
- <tbody><tr class="menu">
- <td class="list" colspan="2"> </td>
- <th class="x-title"><a href="tv/recorded?sortby=title">Title</a></th>
- <th class="x-subtitle"><a href="tv/recorded?sortby=subtitle">Subtitle</a></th>
- <th class="x-seasep"><a href="tv/recorded?sortby=season">Seas/Ep</a></th>
- <th class="x-programid"><a href="tv/recorded?sortby=programid">Program ID</a></th>
- <th class="x-originalairdate"><a href="tv/recorded?sortby=originalairdate">Original Airdate</a></th>
- <th class="x-airdate"><a href="tv/recorded?sortby=airdate">Airdate <span class="large">↑</span></a></th>
- <th class="x-channum"><a href="tv/recorded?sortby=channum">Channel</a></th>
- <th class="x-recgroup"><a href="tv/recorded?sortby=recgroup">Recording Group</a>
- </th><th class="x-length"><a href="tv/recorded?sortby=length">Length</a></th>
- <th class="x-filesize"><a href="tv/recorded?sortby=file_size">File Size</a></th>
- </tr><tr id="breakrow_0" class="list_separator">
- <td colspan="12" class="list_separator">Thu Apr 4, 2013</td>
- </tr><tr id="inforow_0" class="recorded inforow">
- <td class="list" rowspan="2"> </td>
- <td rowspan="2" class="x-pixmap"> <div style="height: 1.5px; width: 100px; float: left;">
- </div> <a class="x-pixmap" href="http://192.168.0.5/mythweb/tv/detail/1012/1365123600" title="Recording Details"><img src="http://192.168.0.5/mythweb/tv/get_pixmap/dell/1012/1365123600/100/75/-1/1012_20130404200000.mpg.100x75x-1.png" width="100" height="75"></a>
- <a class="x-download" href="http://192.168.0.5:80//mythweb/pl/stream/1012/1365123600.asx" title="ASX Stream"><img height="24" width="24" src="http://192.168.0.5/mythweb/skins/default//img/play_sm.png" alt="ASX Stream"></a>
- <a class="x-download" href="http://192.168.0.5:80//mythweb/pl/stream/1012/1365123600" title="Direct Download"><img height="24" width="24" src="http://192.168.0.5/mythweb/skins/default//img/video_sm.png" alt="Direct Download"></a>
- </td>
- <td class="x-title"><a href="http://192.168.0.5/mythweb/tv/detail/1012/1365123600" title="Recording Details">Grey's Anatomy</a></td>
- <td class="x-subtitle"><a href="http://192.168.0.5/mythweb/tv/detail/1012/1365123600" title="Recording Details">She's Killing Me</a></td>
- <td class="x-seasep"></td>
- <td class="x-programid">EP007322830221</td>
- <td class="x-originalairdate">2013-04-04</td>
- <td class="x-airdate">Thu Apr 4, 2013 (08:00 PM)</td> <td class="x-channum" rowspan="2">12 - WISN</td> <td class="-recgroup">Default</td>
- <td class="x-length">1 hr 2 mins</td>
- <td class="x-filesize">2.2 GB</td>
- <td class="x-commands commands" rowspan="2"><a onclick="javascript:confirm_delete(0, false)" title="Delete Grey's Anatomy: She's Killing Me">Delete</a>
- <a onclick="javascript:confirm_delete(0, true)" title="Delete and allow rerecord: Grey's Anatomy: She's Killing Me">Delete + Rerecord</a>
- </td>
- </tr><tr id="statusrow_0" class="recorded statusrow">
- <td colspan="6" valign="top">Unsettling news motivates Derek and Meredith to take preventive steps for their children's future; Syrian doctors come to the hospital for a crash course in basic surgical skills; April decides to tell Matthew the truth.</td>
- <td colspan="3" class="x-progflags"><a onclick="set_autoexpire(0)" class="_autoexpire"><img id="autoexpire_0" src="http://192.168.0.5/mythweb/skins/default//img/flags/no_autoexpire.png" title="Click to enable Auto Expire" alt=""></a><img src="http://192.168.0.5/mythweb/skins/default//img/flags/cc.png" title="Closed Captioning" alt=""><img src="http://192.168.0.5/mythweb/skins/default//img/flags/stereo.png" title="Stereo" alt=""></td>
- </tr>
- </tbody></table>
- <div id="recorded_pager">
- </div>
- <script type="text/javascript">
- <!--
- // Some initial values for global counters
- var diskused = parseInt('642789888000');
- var programcount = parseInt('107');
- var programs_shown = parseInt('1');
- var totaltime = parseInt('390719');
- // Initialize some variables that will get set after the page table is printed
- var rowcount = new Array();
- var rowsection = new Array();
- var titles = new Object;
- var groups = new Object;
- // Load the known shows
- var file = null;
- var files = new Array();
- file = new Object();
- file.title = 'Grey\'s Anatomy';
- file.subtitle = 'She\'s Killing Me';
- file.chanid = '1012';
- file.starttime = '1365123600';
- file.recgroup = 'Default';
- file.filename = 'myth%3A//192.168.0.5%3A6543/1012_20130404200000.mpg';
- file.size = '2410332096';
- file.length = '3720';
- file.autoexpire = 0;
- files.push(file);
- // Set the autoexpire flag
- function set_autoexpire(id) {
- var file = files[id];
- var r = new Ajax.Request('http://192.168.0.5/mythweb/tv/detail/' + file.chanid + '/' + file.starttime,
- {
- parameters: 'toggle_autoexpire='+(1 - file.autoexpire),
- asynchronous: false
- });
- if (r.transport.responseText == 'success') {
- // Update to the new value
- file.autoexpire = 1 - file.autoexpire;
- // Fix the images
- $('autoexpire_'+id).src = 'http://192.168.0.5/mythweb/skins/default//img/flags/'
- + (file.autoexpire
- ? ''
- : 'no_')
- + 'autoexpire.png';
- if (file.autoexpire)
- $('autoexpire_'+id).title = 'Click to disable Auto Expire';
- else
- $('autoexpire_'+id).title = 'Click to enable Auto Expire';
- }
- else if (r.transport.responseText) {
- alert('Error: '+r.transport.responseText);
- }
- }
- function confirm_delete(id, forget_old) {
- var file = files[id];
- if (confirm("Are you sure you want to delete the following show?\n\n "+file.title + ((file.subtitle == '') ? "" : ": " +file.subtitle))) {
- // Do the actual deletion
- if (programs_shown == 1)
- location.href = 'http://192.168.0.5/mythweb/tv/recorded?delete=yes&chanid='+file.chanid
- +'&starttime='+file.starttime
- +(forget_old
- ? '&forget_old=yes'
- : ''
- );
- else {
- ajax_add_request();
- new Ajax.Request('http://192.168.0.5/mythweb/tv/recorded',
- {
- method: 'post',
- onSuccess: http_success,
- onFailue: http_failure,
- parameters: { ajax: 'yes',
- 'delete': 'yes',
- chanid: file.chanid,
- starttime: file.starttime,
- forget_old: (forget_old ? 'yes' : ''),
- id: id,
- file: Object.toJSON(file)
- }
- });
- }
- // Debug statements - uncomment to verify that the right file is being deleted. Now with firebug goodness
- //console.log('row number ' + id + ' belonged to section ' + section + ' which now has ' + rowcount[section] + ' elements');
- //console.log('just deleted an episode of "' + title + '" which now has ' + episode_count + ' episodes left');
- }
- }
- function http_success(result) {
- var id = result.responseJSON['id'];
- var file = result.responseJSON['file'].evalJSON();
- // Hide the row from view
- $('inforow_' + id).toggle();
- $('statusrow_' + id).toggle();
- // decrement the number of rows in a section
- var section = rowsection[id];
- rowcount[section]--;
- // Decrement the number of episodes for this title
- titles[file.title]--;
- var episode_count = titles[file.title]
- // If we just hid the only row in a section, then hide the section break above it as well
- if (rowcount[section] == 0) {
- $('breakrow_' + section).toggle();
- }
- // UGLY! but works well enough...
- // Change the recording groups dropdown on the fly.
- if (file.recgroup) {
- // Decrement the number of episodes for this group
- groups[file.recgroup]--;
- var group_count = groups[file.recgroup]
- // Change the groups dropdown menu on the fly
- if (group_count == 0) {
- $('Group ' + file.recgroup).toggle();
- }
- else {
- var group_text;
- group_text = (group_count > 1) ? ' (' + group_count + ' episodes)' : '';
- $('Group ' + file.recgroup).innerHTML = file.recgroup + group_text;
- }
- }
- // Change the recordings dropdown menu on the fly
- if (episode_count == 0) {
- $('Title ' + file.title).toggle();
- }
- else {
- var count_text;
- count_text = (episode_count > 1) ? ' (' + episode_count + ' episodes)' : '';
- $('Title ' + file.title).innerHTML = file.title + count_text;
- }
- // Decrement the total number of shows and update the page
- programs_shown--;
- programcount--;
- $('programcount').innerHTML = programcount;
- // Decrease the total amount of time by the amount of the show
- totaltime -= file.length;
- $('totaltime').innerHTML = nice_length(totaltime, '$1 hr', '$1 hrs', '$1 min', '$1 mins');
- // Decrease the disk usage indicator by the amount of the show
- diskused -= file.size;
- $('diskused').innerHTML = nice_filesize(diskused);
- // Adjust the freespace shown
- $('diskfree').innerHTML = nice_filesize(1279881355264 - diskused);
- // Eventually, we should perform the removal-from-the-list here instead
- // of in confirm_delete()
- ajax_remove_request();
- }
- function http_failure(err, errstr) {
- var file = result.responseJSON['file'].evalJSON();
- alert("Can't delete "+file.title+': '+file.subtitle+".\nHTTP Error: " + errstr + ' (' + err + ')');
- ajax_remove_request();
- }
- // -->
- </script>
- <script type="text/javascript">
- rowcount.push(['1']);
- rowsection.push(['0']);
- titles['Amish Mafia'] = '1';
- titles['Batman'] = '1';
- titles['Batman & Robin'] = '1';
- titles['Batman Forever'] = '1';
- titles['Batman Returns'] = '1';
- titles['The Brady Bunch Movie'] = '1';
- titles['Bunheads'] = '2';
- titles['The Devils Ride'] = '2';
- titles['Disney Prep & Landing'] = '1';
- titles['Fringe'] = '17';
- titles['Grey\'s Anatomy'] = '1';
- titles['Hannibal'] = '1';
- titles['Justified'] = '43';
- titles['Modern Family'] = '3';
- titles['Once Upon a Time'] = '1';
- titles['Private Practice'] = '1';
- titles['Revolution'] = '1';
- titles['Top Gear'] = '2';
- titles['Vikings'] = '1';
- titles['The Voice'] = '3';
- titles['The Walking Dead'] = '1';
- titles['White Collar'] = '7';
- titles['Who Framed Roger Rabbit'] = '1';
- titles['Wizards of Waverly Place The Movie'] = '1';
- titles['World of Jenks'] = '1';
- groups['Default'] = '96';
- groups['Deleted'] = '7';
- groups['LiveTV'] = '4';
- </script>
- <div style="padding-right: 75px; text-align: right; float: right; padding-top: 1em;"><span id="programcount">107</span> programs, using <span id="diskused">205 GB</span> (<span id="totaltime">4 days 12 hrs 31 mins</span>) out of <span id="disksize">1.2 TB</span> (<span id="diskfree">593 GB</span> free).</div><div id="feed_buttons"><a href="rss/tv/recorded?recgroup=&title=Grey%27s+Anatomy"><img src="http://192.168.0.5/mythweb/skins/default//img/rss2.0.gif"></a></div>
- <script type="text/javascript">new Tip($("category_legend"), "<table width='400' style='background-color: #003060;' border='1' cellpadding='0' cellspacing='0'><tr> <td><table width='400' style='background-color: #003060;' class='small' cellpadding='5' cellspacing='5'> <tr> <td colspan='3'>Category Legend:</td> </tr><tr> <td class='cat_Action' align='center'><b>Action</b></td> <td class='cat_Adult' align='center'><b>Adult</b></td> <td class='cat_Animals' align='center'><b>Animals</b></td> </tr><tr> <td class='cat_Art_Music' align='center'><b>Art_Music</b></td> <td class='cat_Business' align='center'><b>Business</b></td> <td class='cat_Children' align='center'><b>Children</b></td> </tr><tr> <td class='cat_Comedy' align='center'><b>Comedy</b></td> <td class='cat_Crime_Mystery' align='center'><b>Crime / Mystery</b></td> <td class='cat_Documentary' align='center'><b>Documentary</b></td> </tr><tr> <td class='cat_Drama' align='center'><b>Drama</b></td> <td class='cat_Educational' align='center'><b>Educational</b></td> <td class='cat_Food' align='center'><b>Food</b></td> </tr><tr> <td class='cat_Game' align='center'><b>Game</b></td> <td class='cat_Health_Medical' align='center'><b>Health / Medical</b></td> <td class='cat_History' align='center'><b>History</b></td> </tr><tr> <td class='cat_Horror' align='center'><b>Horror</b></td> <td class='cat_HowTo' align='center'><b>HowTo</b></td> <td class='cat_Misc' align='center'><b>Misc</b></td> </tr><tr> <td class='cat_movie' align='center'><b>Movie</b></td> <td class='cat_News' align='center'><b>News</b></td> <td class='cat_Reality' align='center'><b>Reality</b></td> </tr><tr> <td class='cat_Romance' align='center'><b>Romance</b></td> <td class='cat_Science_Nature' align='center'><b>Science / Nature</b></td> <td class='cat_SciFi_Fantasy' align='center'><b>SciFi / Fantasy</b></td> </tr><tr> <td class='cat_Shopping' align='center'><b>Shopping</b></td> <td class='cat_Soaps' align='center'><b>Soaps</b></td> <td class='cat_Spiritual' align='center'><b>Spiritual</b></td> </tr><tr> <td class='cat_Sports' align='center'><b>Sports</b></td> <td class='cat_Talk' align='center'><b>Talk</b></td> <td class='cat_Travel' align='center'><b>Travel</b></td> </tr><tr> <td class='cat_Unknown' align='center'><b>Unknown</b></td> <td class='cat_War' align='center'><b>War</b></td> <td class='cat_Western' align='center'><b>Western</b></td> </tr> </table></td></tr></table>", { className: "popup" });</script>
- <div id="ajax_working" class="hidden">
- <span id="ajax_num_requests">0</span> requests pending.</div>
- </body></html>
Advertisement
Add Comment
Please, Sign In to add comment