An open API service indexing awesome lists of open source software.

https://github.com/mikedp/mythtv-stuff

Bits and pieces for MythTV
https://github.com/mikedp/mythtv-stuff

Last synced: over 1 year ago
JSON representation

Bits and pieces for MythTV

Awesome Lists containing this project

README

          

# MythTV-Stuff
## Bits and pieces for MythTV
My current MythTV system[^1] is an ASRock J5040-ITX Pentium Silver, 8GB ram, 250GB SSD for the OS (Ubuntu Mate 22.04 LTS), 1TB WD Red for the data drive and has three USB DVB-T2 tuners. I'm running MythTV v 33.1.
[^1]: As of February 2024.

1 - **MythRecEnd.py** : This script can be installed as a USER JOB or SYSTEM EVENT (Recording Ends) to run immediately on completion of a recording job. It creates a user readable name comprised of the %TITLE%-%SUBTITLE%-YYMMDDHHMM.ext as a symlink to the recording in a separate folder which can then be used as the source for other clients (e.g. Jellyfin, Kodi, VLC... anything that supports DLNA).

2 - **MythRecDel.py** : This script can be installed as a SYSTEM EVENT (Recording Deleted) to run immediately on deletion of a recording job. It re-creates the symlink and then deletes it.

Both these scripts are called with the same arguments. It's important the arguments are double quoted to prevent spaces in the title/subtitle resulting in them being broken into multiple arguments.

```
/usr/bin/python3 /path/to/script/MythRecEnd.py "%FILE%" "%TITLE%" "%SUBTITLE%"
/usr/bin/python3 /path/to/script/MythRecDel.py "%FILE%" "%TITLE%" "%SUBTITLE%"
```