Opened 15 years ago
Closed 15 years ago
#186 closed patch (fixed)
Add multiple views and easier configuration to mythlink.sh
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | trivial | Milestone: | unknown |
Component: | mythtv | Version: | |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
The attached file can be used as a replacement for the "mythlink.sh" script in the "contrib" directory. It allows the user to specify multiple easily customizable views using a simple environment-variable configuration and adds a few other enhancements to Dale Gass's original. Although the file is very different from the original, it is heavily based on Dale's version.
The default settings create 5 views, sorted by time, title, recording group, category, and original airdate. Definitely makes it easier to find files when using the filesystem (i.e. Samba/NFS shares). The views are created in a loop, so the user can easily add or remove views without modifying the source (only the environment variable definitions at the top.
I posted the script to the user's ML for comment, but didn't get any comments/suggestions. So, either no one tried it out, or I should have posted it to the dev list, or it was just way too broken. ;) (It works great on my system, so I have no indications of problems with it.)
I didn't attach a diff because only 3 lines from the original were kept, so it seemed counterproductive. If you prefer a diff, let me know.
Enhanced mythlink.sh file