[mythtv-commits] mythtv commit: r25714 by cpinkham

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Aug 17 07:48:53 UTC 2010


      Author: cpinkham
        Date: 2010-08-17 07:48:53 +0000 (Tue, 17 Aug 2010)
New Revision: 25714
   Changeset: http://svn.mythtv.org/trac/changeset/25714

Modified:

   trunk/mythtv/programs/mythbackend/mythxml.cpp
   trunk/mythtv/programs/mythbackend/mythxml.h

Log:

Add the ability to stream any file from any Storage Group without
having to know the chanid/starttime or video id or ....  Knowing
the filename and Storage Group name is enough.  In most case, the
Storage Group name can be just left at 'Default' because the
normal built-in Storage Group fallback code will search other
Storage Groups if the file if it does not exist in the given
Storage Group.  Methods are also added to get a list of files
and list of links to files in the Storage Group.

Usage:

http://BACKENDIP:6544/Myth/GetFile?StorageGroup=iPodVideos&FileName=Dirty_Jobs_Casino_Food_Recycler.mp4
http://BACKENDIP:6544/Myth/GetFileList?StorageGroup=iPodVideos
http://BACKENDIP:6544/Myth/GetFileLinks?StorageGroup=iPodVideos

This is only one example use case, but with the above GetFileLinks
and GetFile URLs, on my iPod Touch, I can browse my Storage Group
containing iPod encoded videos and watch any video by 'clicking'
on the GetFile link for that video.






More information about the mythtv-commits mailing list