[mythtv-users] UPDATED: pdatranscode
Peter Watkins
peterw at tux.org
Wed Nov 22 21:31:36 UTC 2006
Jeff volckaert wrote:
>> If I had more time, I'd like to make the script more generic and with more
>> command line options, e.g.
>>
>> pdatranscode --video-dir /data/recordings --pda-dir /data/pda \
>> --recording-file 1001_20061122120000.mpg --recording-title "%TITLE%" \
>> --recording-subtitle "%SUBTITLE%" --output-filename "{TITLE}-{SUBTITLE}.avi"
> I tried that originally with naming, but quickly saw that allot of
> shows had no subtitle and would overwrite the previous. I didn't want
Hmm, very good point! Yes, I've seen that with re-runs especially.
> to add starttime since then the name would be really long (i.e.
> MythBusters-ShatteringSubwooferandRoughRoadDriving-20061120000000.avi).
With my hacked version, I removed the year and second fields from the
timestamp, so my names now look like MythBusters-11200000.avi
My next step would be to add subtitle (using 'cut' to keep it from being
too long) and massage the date so it would look like
MythBusters-ShatteringSubwoofera-11-20-0000.avi
In my generic script idea, there would be {} keywords for YEAR, MONTH,
HOUR, etc. based on starttime, and the script would allow for usage like
"{TITLE-20}-{SUBTITLE-20}-{MONTH}-{DAY}-{HOUR}{MIN}.avi"
so users could decide how long any given field could be.
But the chances of my doing that are slim... :-)
-Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: OpenPGP digital signature
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20061122/36394aa2/attachment-0001.pgp
More information about the mythtv-users
mailing list