[mythtv-users] MythWeb filename to actual filename

David Fishburn dfishburn.mythtv at gmail.com
Tue Apr 7 01:55:16 UTC 2009


>   2. Re: MythWeb filename to actual filename (Steve Daniels)

>> How do you map this URL:
>>    mythweb/tv/detail/1010/1238544000
>>
>> To the actual filename on the filesystem?
>>
>> I would have thought there would be a:
>>    recordings/1010_1238544000.mpg

> Quick question, why do you want to do this?
>
> Steve Daniels

I am trying to manually run an ffmpeg command line to transcode the
show for a new device.

Also, often I just want to manually run an ffmpeg command line for a given show.

Trying to find the file out of my 1000s of recorded shows is a bit
like a needle in a haystack.

Right now, I have to (using MythWeb) run one of my user defined jobs,
which does something like this at the beginning of it:
echo "psprssencode called with: $1 $2 $3 $4 \"$5\" \"$6\""
VIDEODIR=$1
FILENAME=$2

Then I tail -f /var/log/mythtv/mythbackend.log until the job starts to
see what the directory and filename is.

Of course, MythTV queues up those jobs, so I have to wait for them to start.

So just knowing how to do the mapping would save me some time and
effort.  Would be nice even is MythWeb showed the actual filename
along with the other information it displays.

Dave


More information about the mythtv-users mailing list