Commit Graph

28 Commits (master)

Author SHA1 Message Date
Ciaran Gultnieks f73a35b13c Prevent int to string conversion error in error report 2012-05-25 09:47:55 +01:00
Raymond Wagner a4e2592971 Add ability to correct for bad files from broken hash command. 2012-04-16 13:51:09 -04:00
Raymond Wagner 1d366ee08b find_orphans additions
This adds a non-interactive mode that prints out the list and exists,
triggered by running the script outside of a terminal.

This also adds a new type, 'misplaced', indicating recordings that were
found, but on a backend other than that listed in the backend.  This
is informative only, and does not support any actions being performed on
the recordings in question.
2012-01-04 03:00:09 -05:00
Raymond Wagner 7b021b489a Alternate status information script for perl script of same name 2012-01-01 03:41:05 -05:00
Raymond Wagner cf084628eb Handles issue with 'forgotten' recordings
This adds another type of recording for find_orphans.py to handle.  If a
recording is in the process of deletion when the backend is terminated,
the file and database entry will still exist, but MythTV will ignore any
pre-existing entries with the 'deletepending' flag set. This now deletes
any such recordings over a certain age.
2012-01-01 03:34:48 -05:00
Raymond Wagner db7d8c3f50 Add gitignore 2012-01-01 03:13:44 -05:00
Raymond Wagner 4b6dd04c15 Rework metadata selection in mythvidexport
This alteres the metadata selection strategy in mythvidexport.py
following the availability of more complete metadata with the
`mythmetadatalookup` utility. If inetref has been set on the recording,
it will now pull the metadata directly from the recording, rather than
interfacing with the external grabber scripts.  The previously disabled
--listingonly option now works again, forcing this behavior.

WARNING:

The pull of metadata from the recording is performed using the
exportMetadata method from the python bindings, which is currently
incomplete.  Exports of recordings that have been updated using
`mythmetadatalookup` performed using the --listingonly option WILL NOT
WORK until that method has been updated.
2012-01-01 02:43:57 -05:00
Raymond Wagner 6592aa221b Correct markup data handling.
The objects for handling markup data in Video objects are created when
the video entry is pushed to the database.  The metadata import routines
require a database entry to operate against, while the filename
generator requires the import routine to be run before a filename can be
specified.  This in turn requires a dummy entry be created with a blank
filename, which results in a broken markup handler.

This fix manually corrects the markup handler object after a filename
has been chosen, to map it to the correct video.

Fix from CiaranG
2011-12-31 14:20:48 -05:00
Raymond Wagner b564495f7f Version bump. 2011-12-31 14:14:09 -05:00
Raymond Wagner 349948218c Add grouping to option parser. 2011-12-31 14:13:03 -05:00
Raymond Wagner a0e10ccd9c Assorted minor fixes from CiaranG. 2011-12-31 13:54:59 -05:00
Raymond Wagner dbf1490c6f Update mythvidexport.py to new logging interface. 2011-12-31 13:50:41 -05:00
Raymond Wagner 2af15d5d12 Use defined job statuses rather than manual values. 2011-12-31 13:46:04 -05:00
Raymond Wagner a2854655b8 Add sanity checks after copying.
Adds two options (--safe and --really-safe) to be used to confirm a
correct export of the source material. --safe just checks resultant
filesize, while --really-safe performance a (lengthy) SHA1 comparison of
source and destination. The --delete option enforces the use of at least
--safe.
2011-12-31 13:41:22 -05:00
Ciaran Gultnieks 68543d86ce Implemented option to delete recording after export
(cherry picked from commit 7aadc448dc407f1f74a4966ce1087214334aa688)

Signed-off-by: Raymond Wagner <rwagner@mythtv.org>
2011-12-31 13:27:13 -05:00
Raymond Wagner e04d629773 Database log parser for determining recorder. 2011-12-17 03:49:59 -05:00
Raymond Wagner 01c72e96ba Spell checking and better handling of invalid frontend selection 2011-11-24 03:07:52 -05:00
Raymond Wagner 2c2c04cb7e Add a couple fixes for error handling in mythremctl.py 2011-11-24 02:58:11 -05:00
Raymond Wagner e81c06db01 Add an 'intelligent' record, that uses a power rule to allow any
instance of the show to be recorded.
2011-10-24 23:43:42 -04:00
Raymond Wagner e1fdb11ddf Adds recording rules based off TitanTV tvpi format 2011-10-24 20:47:23 -04:00
Raymond Wagner 3b8bb3940a Deprecated by new internal features in MythTV beginning with 0.25. 2011-08-25 18:02:02 -04:00
Raymond Wagner a03045b251 Add assorted design comments. 2011-05-28 01:34:38 -04:00
Raymond Wagner 0cef6ebbb5 Add two more scripts. One to hash any content with a hash of 'NULL',
and the other to remove any files with duplicate hashes.
(cherry picked from commit 71a489768c83b80b328fb3d0665bcbf3591fbccc)
2011-04-29 00:57:31 -04:00
Raymond Wagner 49e73e9487 Forwardport fix for race condition in deleting metadata from the
backend.
2011-04-09 12:20:06 -04:00
Raymond Wagner e1d73a4f85 update README 2010-12-07 04:41:46 -05:00
Raymond Wagner 3ef6f36ae8 update scripts for 0.24 2010-12-07 04:38:11 -05:00
Raymond Wagner 76b505f9a1 add 0.23 scripts 2010-12-07 04:28:05 -05:00
Raymond Wagner cc8657386d initial commit 2010-12-07 04:22:35 -05:00