Tree [0a382c] master /
 History



File Date Author Commit
 configuration 2008-11-29 Russ Gibson Russ Gibson [e93519] Implemented configuration admin page. Also fix...
 css 2008-11-30 Russ Gibson Russ Gibson [0a382c] Resolved issues when there were no records in d...
 expressions 2008-11-29 Russ Gibson Russ Gibson [e93519] Implemented configuration admin page. Also fix...
 img 2008-11-23 Russ Gibson Russ Gibson [947c03] Initial import. Not 100% working yet.
 inc 2008-11-28 Russ Gibson Russ Gibson [45dfda] Updated the shows implementation, using ajax.
 js 2008-11-30 Russ Gibson Russ Gibson [4d9300] Forgot to add admin field when I added it to us...
 shows 2008-11-29 Russ Gibson Russ Gibson [e93519] Implemented configuration admin page. Also fix...
 smarty 2008-11-23 Russ Gibson Russ Gibson [947c03] Initial import. Not 100% working yet.
 sql 2008-11-30 Russ Gibson Russ Gibson [bd79ac] Updated installation directions
 tmpl 2008-11-30 Russ Gibson Russ Gibson [0a382c] Resolved issues when there were no records in d...
 users 2008-11-30 Russ Gibson Russ Gibson [4d9300] Forgot to add admin field when I added it to us...
 LICENSE 2008-11-23 Russ Gibson Russ Gibson [947c03] Initial import. Not 100% working yet.
 README 2008-11-30 Russ Gibson Russ Gibson [bd79ac] Updated installation directions
 TODO 2008-11-29 Russ Gibson Russ Gibson [e93519] Implemented configuration admin page. Also fix...
 audit.php 2008-11-27 Russ Gibson Russ Gibson [268041] Implemented expressions, using ajax. Made _lot...
 configuration.php 2008-11-29 Russ Gibson Russ Gibson [e93519] Implemented configuration admin page. Also fix...
 expressions.php 2008-11-28 Russ Gibson Russ Gibson [45dfda] Updated the shows implementation, using ajax.
 index.php 2008-11-23 Russ Gibson Russ Gibson [947c03] Initial import. Not 100% working yet.
 logout.php 2008-11-23 Russ Gibson Russ Gibson [947c03] Initial import. Not 100% working yet.
 profile.php 2008-11-30 Russ Gibson Russ Gibson [b69f03] Removed admin protection, since anyone can edit...
 register.php 2008-11-23 Russ Gibson Russ Gibson [947c03] Initial import. Not 100% working yet.
 shows.php 2008-11-28 Russ Gibson Russ Gibson [45dfda] Updated the shows implementation, using ajax.
 users.php 2008-11-29 Russ Gibson Russ Gibson [769f16] Implemented users admin page.

Read Me

MTVDist is used for distributing files to various places.  Basically, I use
a MythTV box to record all the TV shows my family likes to watch, then this
is used to actually copy the video files to the directory of each of my
family members, where they can then watch it at their liesure.

I used to do it manually, but as more shows were being watched, I just
couldn't keep up, forgetting who wanted what shows.  Most of my family aren't
saavy enough to copy the files themselves without causing me headaches.
This exists to solve both issues.

There is nothing in this code that makes it specific to video files, so it
can be used to distribute anything, and in just about any way since the
cron job is pretty simple to modify to other protocols (sftp, email, etc.).

-------------------------------------------------------------------------

To install, you must have PHP 5.x and MySQL 5.x (including command line
tools) installed, and be able to execute PHP scripts from cron.

NOTE: I've only tested with Apache 2.x on Linux, but there's nothing special
about this so it should work on other PHP capable servers as well.

If you have a bash compatible shell available, continue below, otherwise
skip to the next section.

From BASH
-------------------------------------------------------------------------
1.	After downloading, run

	% tar -xf mtvdist-0.1.tar.gz
	
	in the folder you want to install into, replacing mtvdist-0.1.tar.gz
	with the name of the downloaded file.

2.	If needed by your installation, execute

	% chown -R apache.apache mtvdist

3.	Create and setup database by running

	% cd sql
	% sh install.sh

If there are no erros, you're ready.  Login as 'admin' and password
'p@ssw0rd' (0 = zero, not oh).

Without BASH
-------------------------------------------------------------------------

1.  Get the files onto your web server however you are allowed/can do it
	(even following step 1 from above).

2.	Create the database.

3.	Import the sql/mtvdist.sql file, which creates the structure of the db.

4.	Import the sql/admin.sql file, which adds a MySQL user and populates
	the database with default values.

That's it.  Login as 'admin' and password 'p@ssw0rd' (0 = zero, not oh).