[mythtv-users] Filenames and UTC
John Pilkington
J.Pilk at tesco.net
Tue Apr 30 09:48:55 UTC 2013
Since switching my main box to 0.26, and with DST now in force in the
UK, I'm running into cases where the filename being used to access a
recording is based on local start time, and the process fails.
One example is in my mythDVBcut script; it ought to be changed but at
present I can correct on entry. Another is in MythArchive:
Node = starttime, Data = 2013-04-01T20:28:00+01:00
Pre-processing recording 5: '/mnt/sam1/recb/1002_20130408202800.mpg'
Result: 34, Command was mytharchivehelper -q -q --getfileinfo --infile
"/mnt/sam1/recb/1002_20130408202800.mpg".......
where the filename is actually 1002_20130408192800.mpg
There are clearly many ways of mending this; I looked on the wiki and
found things like %PROGSTARTUTC% for use in setting up a user job, but
it isn't clear how I would use it in the cases above.
Can anyone recommend a simple general solution that already exists?
bash and/or python wanted.
TIA
John P
More information about the mythtv-users
mailing list