[mythtv] Script to get Title & Subtitle given a cryptic mythtv
filename.
Andy Davidoff
dert at pobox.com
Sat Mar 29 14:40:53 EST 2003
This seems like a pretty useful function to other clients as well. I'd do
the substitution in SQL and put that code into a setting in the database to
ensure consistency between clients and to let people use the setup GUI to
tweak the transform. This solves cross-client and cross-code issues...
#if Rob Snow /* Mar 29, 13:28 */
> Good point,
>
> I think I'll add a switch to sanitize the filename today, for those who
> are going to use it in a script with -o `getshowname.pl <filename>`. I'm
> thinking of just replacing all symbol characters with <something> or maybe
> just removing them. That should make the returned string legal in almost
> all filesystems.
>
> Thoughts?
#endif /* lists at dympna.com */
More information about the mythtv-dev
mailing list