Opened 19 years ago
Closed 17 years ago
#4990 closed enhancement (wontfix)
Basic Podcast/Vodcast Support added to MythNews
| Reported by: | Owned by: | Isaac Richards | |
|---|---|---|---|
| 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 (2)
Change History (5)
comment:1 by , 19 years ago
by , 18 years ago
| Attachment: | mythnews_podcast_patch.patch added |
|---|
Updated version of the patch, ignore all previous
by , 18 years ago
| Attachment: | mythnews_patch.patch added |
|---|
comment:2 by , 17 years ago
| Status: | new → infoneeded_new |
|---|
comment:3 by , 17 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | infoneeded_new → closed |

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