Opened 16 years ago

Closed 15 years ago

#4599 closed enhancement (invalid)

Myth archive/cleanup script.

Reported by: Mark Buechler <Mark.Buechler@…> Owned by: Rob Smith
Priority: minor Milestone: unknown
Component: contrib Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no

Description

This is a small perl script which has two modes of operation, cleanup and archive. It can archive recordings from one storage group to another. It can cleanup abandoned recordings (files), metadata for missing recordings, zero-byte recordings and recordings in the Deleted recording group.

Attachments (2)

myth_archive.pl (19.0 KB) - added by Mark Buechler <Mark.Buechler@…> 16 years ago.
The perl script.
myth_archive.readme (788 bytes) - added by Mark Buechler <Mark.Buechler@…> 16 years ago.
The readme file.

Download all attachments as: .zip

Change History (7)

Changed 16 years ago by Mark Buechler <Mark.Buechler@…>

Attachment: myth_archive.pl added

The perl script.

Changed 16 years ago by Mark Buechler <Mark.Buechler@…>

Attachment: myth_archive.readme added

The readme file.

comment:1 Changed 16 years ago by stuartm

Component: mythtvcontrib

comment:2 Changed 16 years ago by Rob Smith

Owner: changed from Isaac Richards to Rob Smith
Status: newaccepted

comment:3 Changed 16 years ago by Rob Smith

Status: acceptedinfoneeded

Howdy Mr. Mark,

I'm thinking this should be updated to use the perl bindings before it should be packaged in the contrib section. Care to update it?

comment:4 Changed 16 years ago by Rob Smith

I should be a tad more clear

MythTV::get_recording_dirs should be used rather then getStorageGroups, as the bindings don't really return all the info you need, they should be updated so everyone benifits

Also, getRecordings should use the recordings class rather then psudo rolling your own, unless there's a specific reason why that's not acceptable?

comment:5 Changed 15 years ago by danielk

Resolution: invalid
Status: infoneededclosed

info needed for over a year...

Note: See TracTickets for help on using tickets.