Human Readable Filenames
From MythTV
Human Readable Nuv Files and Directories
There are many cases in which it is useful to have human readable nuv file names. My favorite use is for playing recordings on XBMC without using the mythfrontend script. It's also great for playing recordings on laptops with VLC while allowing other windows to stay open. This script will create symlinks to all your recordings with human readable names. They will be placed in directories based on the name of the show. Modify the script to suit your needs.
Download: [1]
Tested on 0.20.2, may need modifications for other versions
Here are some basic install instructions:
login as root
Put the mythlink shell script in /var/lib/mythtv
chmod 770 /var/lib/mythtv/mythlink (makes it executable)
add this line to your /etc/crontab so the script executes hourly:
1 * * * * root /var/lib/mythtv/mythlink > /var/log/mythlink.log
reload cron:
/etc/init.d/cron reload
run the script for the first time, cron will do it for you next time:
/var/lib/mythtv/mythlink
You now have a folder at /var/lib/mythtv/recordings with human readable names sorted into directories by show. You can view the log file at /var/log/mythlink.log
To make use of this you'll want to share the directory. If you share it with samba (recommended) just share the recordings folder. If you use NFS you'll have to share the mythtv folder so your remote system can follow the symlinks and access the raw files. Samba follows them for you.
