GithubHelp home page GithubHelp logo

mythtv-archive-on-usb's Introduction

MythTV-archive-on-USB

Script to archive MythTV recordings to external USB. Archived recordings have dedicated recording group with titles prepended (Offline) when USB drive is disconected. User can archive recordings by simply moving in MythTV UI desired recording to this archive recording group. After connecting USB drive, recordings are synced in backgrund with this dedicated archive group and all recordings have removed "(Offline)" prefix. Disconnecting USB drive adds "(Offline") prefix to titles and also makes recording file substituted with dummy rec.file having user info.

Usage:

How to archive given recording

  1. Move desired recordings to archive group.

  2. Connect USB HDD and wait until all recordings will transfered.

  3. Unmount archive (run 'unmount_tv_archive.sh' script) and wait until all previews will transfered.

  4. Disconnect USB HDD. Now all recordings in archive group have (Ofline) prefix in title.

  5. You are done.

How to watch archived recordings

  1. Connect USB HDD

  2. Wait until OSD dialog says "Recordings are avaliable. Now all archived recordings are wihout (Ofline) prefix and are ready to watch.

  3. Watch desired recordings.

  4. When You are done and want to disconnect USB HDD, unmount archive by runing 'unmount_tv_archive.sh' script.

  5. Wait untill OSD dialog says "You can disconnect USB drive"

  6. Disconnect USB HDD. Now all recordings in archive group are unavaliable and will have (Ofline) prefix in title.

  7. You are done.

How to make new archive group

  1. Add new recrding group in MythTV. Best to do so is: enter EPG; select program to record; choose recoordings options; in recording group field select "create new group"; put new name in dialog (like "5 Archiwum"); save this schedule. Group apears when programed recordings will be recorded.

  2. Prepare USB HDD, format it.

  3. Make this HDD labeled "5_Archiwum" (remember: all spaces in group name should be replaced by underscore.

  4. Run tv-archive.sh scrpt with group name & command "add" i.e. 'run-tarchive.sh "5 Archiwum" add'

  5. Move desired recordings to archive group.

  6. Connect USB HDD and wait until all recordings will transfered.

  7. Unmount archive (run 'unmount_tv_archive.sh' script) and wait until all previews will transfered.

  8. You are done.

How to make given group an archived group (called i.e. "5 Archiwum")

  1. Prepare USB HDD, format it.

  2. Make this HDD labeled "5_Archiwum" (remember: all spaces in group name should be replaced by underscore.

  3. Run tv-archive.sh scrpt with group name & command "add" i.e. 'run-tarchive.sh "5 Archiwum" add'

  4. Connect USB HDD and wait until all recordings will transfered.

  5. Unmount archive (run 'unmount_tv_archive.sh' script) and wait until all previews will transfered.

  6. You are done.

Note: this solution requires media-automounter from my git

happy watching!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.