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'

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

Reply via email to