Ticket #4990 (closed enhancement: wontfix)
Opened 4 years ago
Last modified 2 years ago
Basic Podcast/Vodcast Support added to MythNews
| Reported by: | james@… | Owned by: | ijr |
|---|---|---|---|
| Priority: | major | Milestone: | unknown |
| Component: | mythnews | Version: | 0.21-fixes |
| Severity: | medium | Keywords: | mythnews podcast vodcast |
| Cc: | Ticket locked: | no |
Description
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:
- 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.
- 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.
Attachments
Change History
comment:1 Changed 4 years ago by james@…
Changed 4 years ago by james@…
-
attachment
mythnews_podcast_patch.patch
added
Updated version of the patch, ignore all previous
comment:2 Changed 3 years ago by laga
- Status changed from new to infoneeded_new
comment:3 Changed 2 years ago by stuartm
- Status changed from infoneeded_new to closed
- Resolution set to wontfix

Sigh I knew things were going too well.
Turns out that the above patch actually breaks youtube downloads. Will work on a fix