[mythtv-commits] Ticket #12573: Update to Mythnetvision twit.tv script by Auric

MythTV noreply at mythtv.org
Thu Dec 24 06:34:59 UTC 2015


#12573: Update to Mythnetvision twit.tv script by Auric
-------------------------------------------------+-------------------------
     Reporter:  William L. DeRieux IV            |      Owner:
  <williamderieux@…>                             |
         Type:  Patch - Feature                  |     Status:  new
     Priority:  critical                         |  Milestone:  unknown
    Component:  Plugin - MythNetvision           |    Version:  Unspecified
     Severity:  high                             |   Keywords:
Ticket locked:  0                                |
-------------------------------------------------+-------------------------
 The twit.tv site had undergone some significant changes to its layout and
 as a result the current twit.tv.pl script fails to find any videos.

 The included update will scrape there rss feed page:
 http://wiki.twit.tv/wiki/TWiT_Show_Feeds

 It will only download videos for currenty active shows.

 For each rss feed you have a choice of the following: Video-LO / Video-Hi
 / Video-HD.

 The script is hard-coded for Video-Hi, but it could be refined by
 changing:
 my $video_size = $video_large;
 to either:
 my $video_size = $video_small
 my $video_size = $video_hd

 This update provides the following features:
 1) Videos can be successfully added to the UI
 2) Low impact on the twit.tv server
 3) Extremely fast:
    * We only make at most 1 call to generate links to the rss feeds.
    * We only make 1 call for each RSS feed (currently that is 25 rss
 feeds)
    * the original script would make at least 600 calls or more per show


 I will try to include the updated script with this ticket (the attached
 version will be a cleaned up version of the one I am linking to)
 but if that does not work you can review the changes here:
 https://github.com/neoh4x0r/mythtv/commit/244514f7fe65d2e824a46daf9568bc72d94a3d32

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12573>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list