Tom Lichti wrote:
Michael T. Dean wrote:
Tom Lichti wrote:

Tom Lichti wrote:

Although I'll admit that your approach had one benefit mine didn't: you could list the directories to quickly see/count what different titles you have available. (Didn't lose sight of the forest for the trees.)

Not sure I see your point here, doesn't your solution do basically the same thing?

Never mind, I see it now... :)

Yeah.  Basically with yours you can do the same as:

ls /path/to/view/directory | awk '{split($0,a,"-"); print a[1]}' | sort --unique

with a simple:

ls /path/to/view

which is much easier to type (and remember ;).  I guess there's always:

mysql -u mythtv -p mythconverg -e 'select distinct(title) from recorded'
Actually, I've got what appears to be a working patch for mythrename. It only subs on title at the moment. Can you try it out (if you so desire) and let me know if it works for you? I need to fix the format/indenting...
Hrm. Somethings not quite right...it's not catching all the shows. If I don't use --sub, I get everything linked, but with --sub, it's not. Probably a looping thing. Back to the drawing board...

Tom
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to