[mythtv-commits] Ticket #4990: Basic Podcast/Vodcast Support added to MythNews

MythTV mythtv at cvs.mythtv.org
Tue Mar 18 11:47:46 UTC 2008


#4990: Basic Podcast/Vodcast Support added to MythNews
--------------------------------------+-------------------------------------
 Reporter:  james at jamespurser.com.au  |       Owner:  ijr       
     Type:  enhancement               |      Status:  new       
 Priority:  major                     |   Milestone:  unknown   
Component:  mythnews                  |     Version:  0.21-fixes
 Severity:  medium                    |     Mlocked:  0         
--------------------------------------+-------------------------------------
 With 0.21 I discovered that mythnews could pull down media files. Yay I
 thought, a way to use it to add podcasting support. Unfortunately I
 discovered that it only downloaded the files to a temp file which got
 written over the next time a file was requested.

 So I have gone through and very roughly added support for permanent
 downloads. It still needs a lot of work, including the ability to delete
 the files once they have been watched, and it is not the most optimal way
 of storing the files but it's a start.

 Essentially what happens now, is this:

 1. A check is made to see if there is an existing directory under
 /MythNews/files/ for the Article Site. If it does not exist then it is
 created.

 2. A check is then made to see if the requested file exists within this
 directory (I know it's redundant if the directory has just been created,
 still very rough). If the file exists then it is played, if not then it is
 requested from the url and then stored and played.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4990>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list