Modify

Ticket #4990 (closed enhancement: wontfix)

You must read the TicketHowTo before creating a new ticket or commenting on an existing ticket.

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:

  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.
  1. 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

mythnews_podcast_patch.patch Download (3.7 KB) - added by james@… 4 years ago.
Updated version of the patch, ignore all previous
mythnews_patch.patch Download (3.8 KB) - added by james@… 4 years ago.

Change History

comment:1 Changed 4 years ago by james@…

Sigh I knew things were going too well.

Turns out that the above patch actually breaks youtube downloads. Will work on a fix

Changed 4 years ago by james@…

Updated version of the patch, ignore all previous

Changed 4 years ago by james@…

comment:2 Changed 3 years ago by laga

  • Status changed from new to infoneeded_new

Your diff patches files which do not exist anymore in current trunk. I assume the diff was against 0.21.

Are you still interested in working on this? Note that some of this functionality may be provided by #5589 (although I'm not sure if this will make it in time for 0.22) or current MythNews?.

comment:3 Changed 2 years ago by stuartm

  • Status changed from infoneeded_new to closed
  • Resolution set to wontfix

I think this is better implemented as a separate plugin, see 'MythTube?' in #5589. Mythnews is best left for purely text feeds, since it's never going to do both the job of online media browser and news aggregator very well, those two things require different things from the UI.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.