Author: duncan
Date: Sun Mar 16 17:32:34 2008
New Revision: 10537
Log:
Run through reindent.py, tidies up white space
Modified:
branches/rel-1/freevo/src/main.py
branches/rel-1/freevo/src/plugins/cd_burn.py
branches/rel-1/freevo/src/rssperiodic.py
branches/rel-1/freevo/src/video/plugins/youtube.py
branches/rel-1/freevo/src/www/htdocs/webremote.rpy
branches/rel-1/freevo/src/www/htdocs/youtube.rpy
Modified: branches/rel-1/freevo/src/main.py
==============================================================================
--- branches/rel-1/freevo/src/main.py (original)
+++ branches/rel-1/freevo/src/main.py Sun Mar 16 17:32:34 2008
@@ -422,8 +422,8 @@
try:
# signal handler
- signal.signal(signal.SIGTERM, unix_signal_handler)
- signal.signal(signal.SIGINT, unix_signal_handler)
+ signal.signal(signal.SIGTERM, unix_signal_handler)
+ signal.signal(signal.SIGINT, unix_signal_handler)
kaa.main.signals['shutdown'].connect(signal_handler)
# load the fxditem to make sure it's the first in the
Modified: branches/rel-1/freevo/src/plugins/cd_burn.py
==============================================================================
--- branches/rel-1/freevo/src/plugins/cd_burn.py (original)
+++ branches/rel-1/freevo/src/plugins/cd_burn.py Sun Mar 16 17:32:34 2008
@@ -830,7 +830,7 @@
except Exception, e:
print 'fill_menu:', e
pass
-
+
if item.type == 'playlist':
#playlist burn
_debug_('Playlist item has media : %s ' % item.media)
Modified: branches/rel-1/freevo/src/rssperiodic.py
==============================================================================
--- branches/rel-1/freevo/src/rssperiodic.py (original)
+++ branches/rel-1/freevo/src/rssperiodic.py Sun Mar 16 17:32:34 2008
@@ -23,7 +23,7 @@
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
+# with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# -----------------------------------------------------------------------
Modified: branches/rel-1/freevo/src/video/plugins/youtube.py
==============================================================================
--- branches/rel-1/freevo/src/video/plugins/youtube.py (original)
+++ branches/rel-1/freevo/src/video/plugins/youtube.py Sun Mar 16 17:32:34 2008
@@ -225,7 +225,7 @@
elif video.link[0].href.find('watch?v=') >= 0:
id = video.link[0].href.split('watch?v=');
else:
- continue
+ continue
mi = menu.MenuItem(date[0] + ' ' + video.title.text,
parent.downloadvideo, id[1])
mi.arg = (video.title.text, id[1])
text = util.htmlenties2txt(video.content)
Modified: branches/rel-1/freevo/src/www/htdocs/webremote.rpy
==============================================================================
--- branches/rel-1/freevo/src/www/htdocs/webremote.rpy (original)
+++ branches/rel-1/freevo/src/www/htdocs/webremote.rpy Sun Mar 16 17:32:34 2008
@@ -77,7 +77,7 @@
<title>Freevo | WebRemote</title>
<meta http-equiv="Content-Type" content= "text/html; charset=UTF-8"/>
<link rel="stylesheet" href="styles/main.css" type="text/css" />
-
+
<style type="text/css" media="screen">
body { background: #666699; }
h3 { color: white; }
@@ -86,7 +86,7 @@
button.remote { width: 60px; height: 30px; background: #eee; font-size:
12px; text-align: center; padding: 0; }
button.remote:hover { background: #fed; }
</style>
-
+
<script type="text/javascript">
<!--
// Resize window
@@ -97,10 +97,10 @@
window.scrollbars.visible = false
window.personalbar.visible = false
}
-
+
// AJAX Functions
var xmlHttp = false;
-
+
function getXMLHttpObject () {
if (window.XMLHttpRequest) {
xmlHttp=new XMLHttpRequest()
@@ -122,7 +122,7 @@
xmlHttp = new XMLHttpRequest(); // Mozilla,
Firefox, Opera
}
}
-
+
function send_code( code ) {
if (! xmlHttp) {
getXMLHttpObject();
@@ -134,14 +134,14 @@
-->
</script>
</head>
-
+
<body onLoad="resizeWindow();">
-
+
<center>
<h3>Freevo WebRemote</h3>
-
+
<table border="0" cellspacing="1" cellpadding="0">
-
+
<tr>
<td align="center">
@@ -154,7 +154,7 @@
</td>
</tr>
-
+
<tr>
<td align="center">
<button class="remote" accesskey="4" onClick="send_code('LEFT');">
@@ -169,7 +169,7 @@
<img src="/icons/forward.png"></button>
</td>
</tr>
-
+
<tr>
<td align="center">
@@ -182,13 +182,13 @@
</td>
</tr>
-
+
<tr style="line-height: 8px;">
<td colspan="3">
</td>
</tr>
-
+
<tr>
<td align="center">
<button class="remote" accesskey="x" onClick="send_code('EXIT');">
@@ -203,7 +203,7 @@
<img src="/icons/help.png"></button>
</td>
</tr>
-
+
<tr>
<td align="center">
<button class="remote" accesskey="m" onClick="send_code('MENU');">
@@ -217,13 +217,13 @@
<img src="/icons/player_eject.png"></button>
</td>
</tr>
-
+
<tr style="line-height: 8px;">
<td colspan="3">
</td>
</tr>
-
+
<tr>
<td align="center">
@@ -236,7 +236,7 @@
</td>
</tr>
-
+
<tr>
<td align="center">
<button class="remote" accesskey="r" onClick="send_code('REW');">
@@ -251,7 +251,7 @@
<img src="/icons/player_fwd.png"></button>
</td>
</tr>
-
+
<tr>
<td align="center">
@@ -264,13 +264,13 @@
</td>
</tr>
-
+
<tr style="line-height: 8px;">
<td colspan="3">
</td>
</tr>
-
+
<tr>
<td align="center">
<button class="remote" accesskey="+"
onClick="send_code('VOLP');">VOL+</button>
@@ -294,12 +294,12 @@
<button class="remote" accesskey="v"
onClick="send_code('CHM');">CH-</button>
</td>
</tr>
-
+
</table>
</center>
</body>
</html>
"""
return String(fv.res)
-
+
resource = WebRemoteResource()
Modified: branches/rel-1/freevo/src/www/htdocs/youtube.rpy
==============================================================================
--- branches/rel-1/freevo/src/www/htdocs/youtube.rpy (original)
+++ branches/rel-1/freevo/src/www/htdocs/youtube.rpy Sun Mar 16 17:32:34 2008
@@ -6,7 +6,7 @@
# $Id$
#
# Notes:
-# Todo:
+# Todo:
#
# -----------------------------------------------------------------------
# Freevo - A Home Theater PC framework
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog