Hak5
Save 10% at GoDaddy.com with coupon code HAK

Media Player Classic PSP Skin

From Hak5

Jump to: navigation, search
This article (or section) may need to be wikified.
Please help improve this article, especially its introduction, section layout, and relevant internal links.
This article has been tagged since February 2007.

This tutorial is the same as the VLC Remote Control but is created for the lightweight video player Media Player Classic and can be used on the PSP's Internet Browser

Contents

Files

  1. So firstly you need to install Media Player Classic.
  2. Next a few files are needed for the interface. They can be download here, or copied below.

default.css:

body, th, td
{
	font-size: 0.8em;
	font-family: Verdana, Arial, Helvetica, Sans-Serif;
}

404.html:

<html>
	<head>
		<title>MPC WebServer</title>
		<link rel="stylesheet" type="text/css" href="/default.css">
	</head>
	<body>
		<strong>404 - The requested URL was not found!</strong>
	</body>
</html>
[debug]

browser.html:

<html>
	<head>
		<title>MPC WebServer</title>
		<meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=[charset]">
		<link rel="stylesheet" type="text/css" href="/default.css">
	</head>
	<body>
		<p>
			<a href="/index.html"><<< Back To Index</a>        <a href="/controls.html">Forward To Controls >>></a>
		</p>
		<p>
			<table border="0" cellpadding="2" cellspacing="1" width="100%">
				<tr>
					<td align="center"><strong>Location: </strong>[currentdir]</td>
				</tr>
			</table>
		</p>
		<p>
			<table border="0" cellpadding="2" cellspacing="1" width="100%">
				<tr>
					<th width="100%"><nobr>Name</nobr></th>
					<th><nobr>Type</nobr></th>
					<th><nobr>Size</nobr></th>
					<th><nobr>Date Modified</nobr></th>
				</tr>
				[currentfiles]
			</table>	
		</p>

	</body>
</html>
[debug]

controls.html:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta name="generator" content="HTML Tidy for Windows (vers 1 June 2005), see www.w3.org">
    <meta http-equiv="refresh" content="300" />
    <meta http-equiv="expires" content="0" />
	<title>
      MPC WebServer
    </title>
    <meta http-equiv="content-type" content="text/html; charset=[charset]">
    <link rel="stylesheet" type="text/css" href="/default.css">
	<script language="JavaScript" type="text/JavaScript">

                function postform(wmc,ext,extv)
                {
                        document.getElementById("fwmc").value=wmc;
                        document.getElementById("fextra").value=extv;
                        document.getElementById("fextra").name=ext;
                        document.getElementById("ef").submit();
                        return true;
                }

	</script>
  </head>
  <body>
  <form action="[commandpath]" method="post">
      <input type="submit" value="Refresh" name="submit">
  </form>
  
  <br>Loaded file: <a href="[browserpath]?path=[filepatharg]&redir=[path]">[filepath]</a><br>
  <a href="[browserpath]?path=[filedirarg]">Browse...</a><br><br>

  Stream is currently: <b>[statestring]</b><br>
  Sound is currently: <b><script>[muted] == 1 ? document.write('Muted') : document.write('Normal');</script></b><br><br>

  <b>Playback control</b><br>
						<table border="0" cellspacing="1" cellpadding="4">
							<tr>
								<td>
									<noscript>
										<form action="[commandpath]" method="POST">
											<input type="hidden" name="[wmcname]" value="887">
									</noscript>
									<input type="submit" value="  > " name="submit" onclick="postform(887,'null',0); return false;">
									<noscript></form></noscript>
								</td>
								<td>
									<noscript>
										<form action="[commandpath]" method="POST">
											<input type="hidden" name="[wmcname]" value="888">
									</noscript>
									<input type="submit" value=" I I " name="submit" onclick="postform(888,'null',0); return false;">
									<noscript></form></noscript>
								</td>
								<td>
									<noscript>
										<form action="[commandpath]" method="POST">
											<input type="hidden" name="[wmcname]" value="890">
									</noscript>
									<input type="submit" value=" # " name="submit" onclick="postform(890,'null',0); return false;">
									<noscript></form></noscript>
								</td>
							</tr>
						</table>
						
     <b>Seek</b><br>
						<table border="0" cellspacing="1" cellpadding="4">
							<tr>
								<td>
									<noscript>
										<form action="[commandpath]" method="POST">
											<input type="hidden" name="[wmcname]" value="903">
									</noscript>
									<input type="submit" value="<<<" name="submit" onclick="postform(903,'null',0); return false;">
									<noscript></form></noscript>
								</td>
								<td>
									<noscript>
										<form action="[commandpath]" method="POST">
											<input type="hidden" name="[wmcname]" value="901">
									</noscript>
									<input type="submit" value=" << " name="submit" onclick="postform(901,'null',0); return false;">
									<noscript></form></noscript>
								</td>
								<td>
									<noscript>
										<form action="[commandpath]" method="POST">
											<input type="hidden" name="[wmcname]" value="899">
									</noscript>
									<input type="submit" value="  <  " name="submit" onclick="postform(899,'null',0); return false;">
									<noscript></form></noscript>
								</td>
								<td>
									<noscript>
										<form action="[commandpath]" method="POST">
											<input type="hidden" name="[wmcname]" value="900">
									</noscript>
									<input type="submit" value="  >  " name="submit" onclick="postform(900,'null',0); return false;">
									<noscript></form></noscript>
								</td>
								<td>
									<noscript>
										<form action="[commandpath]" method="POST">
											<input type="hidden" name="[wmcname]" value="902">
									</noscript>
									<input type="submit" value=" >> " name="submit" onclick="postform(902,'null',0); return false;">
									<noscript></form></noscript>
								</td>
								<td>
									<noscript>
										<form action="[commandpath]" method="POST">
											<input type="hidden" name="[wmcname]" value="904">
									</noscript>
									<input type="submit" value=">>>" name="submit" onclick="postform(904,'null',0); return false;">
									<noscript></form></noscript>
								</td>
								<td>
							</tr>
						</table>
   <b>Misc</b>
						<table border="0" cellspacing="1" cellpadding="4">
							<tr>
								<td>
									<noscript>
										<form action="[commandpath]" method="POST">
											<input type="hidden" name="[wmcname]" value="909">
									</noscript>
									<input type="submit" value="Mute" name="submit" onclick="postform(909,'null',0); return false;">
									<noscript></form></noscript>
								</td>
								<td>
									<noscript>
										<form action="[commandpath]" method="POST">
											<input type="hidden" name="[wmcname]" value="830">
									</noscript>
									<input type="submit" value="Fullscreen" name="submit" onclick="postform(830,'null',0); return false;">
									<noscript></form></noscript>
								</td>
							</tr>
						</table>


	<!------------------------------------>
	<form id="ef" action="[commandpath]" method="post" name="ef">
      <input id="fwmc" type="hidden" name="[wmcname]" value="-2">
	  <input id="fextra" type="hidden" name="extra" value="">
    </form>
	[debug]
  </body>
</html>

index.html:

<html>
	<head>
		<title>MPC WebServer</title>
		<link rel="stylesheet" type="text/css" href="/default.css">
	</head>
	<body>
		<p>
			<a href="/browser.html">File browser >>>>></a>
		</p> 
		<p>
			<a href="/controls.html">Video Controller >>>>></a>
		</p>
		<p>
			<form action="[commandpath]" method="post">
				<select name="[wmcname]">
					[wmcoptions]
				</select>
				<input type="submit" value="Go!" name="submit">
			</form>
		</p>
		[debug]
	</body>
</html>

Program Setup

Go to the Options and then to Web Interface. Configure it as shown:

mpc1bu7.jpg

After clicking browse point it to the folder where the files are located

Viewing

Computer

Connect to localhost:13579

PSP

Log into the Internet Browser and coonnect to http://<IP ADDRESS OF COMPUTER>:13579