Tag Archives: MythNetTV

Mythbuntu packages with many patches from LVR

The following patches where applied to the first commit to my PPA

Check out the "changes" file on the PPA to see what might have been added since.

0001-MythPlayer-Add-support-for-InteractiveTV-streams.patch.dpatch
0002-freemheg-Add-InteractionChannel-streaming-from-netwo.patch.dpatch
0003-MythPlayer-Improve-low-bit-rate-high-latency-stream-.patch.dpatch
0004-ringbuffer-Adapt-readahead-for-low-bit-rate-high-lat.patch.dpatch
0005-freemheg-Don-t-return-an-object-not-present-error-un.patch.dpatch
0006-ffmpeg-Fix-MacOSX-cross-compilation.patch.dpatch
0007-zoneminder-Compile-for-Windows.patch.dpatch
0008-MediaMonitor-GetMedias-search-for-multile-media-type.patch.dpatch
0009-mytharchive-enable-compilation-for-Windows.patch.dpatch
0010-libmythui-fullscreen-doesn-t-cover-gnome-panel-with-.patch.dpatch
0011-MediaMonitor-doesn-t-handle-Jump-to-plugin-correctly.patch.dpatch
0013-mythshutdown-uses-idleWaitForRecordingTime-instead-o.patch.dpatch
0014-Make-mythgallery-s-thumb-generator-not-auto-detect.patch.dpatch
0015-MythCenter-wide-Fix-OSD-starttime-overwriting-title.patch.dpatch
0016-MythCenter-Wide-Make-TV-program-guide-more-legible-o.patch.dpatch
0017-MythCenter-wide-Theme-Add-program-start-and-end-time.patch.dpatch
0018-MythCenter-theme-Add-channel-name-and-number-to-osd-.patch.dpatch
0019-http-proxy-add-support-for-socks-and-caching-proxies.patch.dpatch
0020-Enable-Windows-release-build-of-mythnetvision-and-my.patch.dpatch
0021-Win32-Direct3D9-accelerated-video-playplack-on-XP-an.patch.dpatch
0023-freemheg-Fix-error-handling-during-Launch.patch.dpatch
0024-freemheg-Support-bitmap-backgrounds-used-by-BBC-Free.patch.dpatch
0025-libmythtv-Correct-test-for-MPEG-TS-continuity-counte.patch.dpatch
0026-dsmcc-Prevent-a-potential-SEGV-by-reading-beyond-end.patch.dpatch
0027-libmythtv-Set-the-modulation-system-for-all-dvb-s2-c.patch.dpatch
0028-mythuibuttonlist-Prevent-reading-beyond-end-of-list.patch.dpatch
0029-mythfrontend-Prevent-writing-to-ProgLister-after-it-.patch.dpatch
0030-libmythtv-Play-encrypted-dvd-s-and-iso-images-from-s.patch.dpatch
0032-libmythtv-channelimporter-add-callout-to-myth_channe.patch.dpatch
0033-mythtv-setup-Add-command-line-channel-scanning-for-d.patch.dpatch
0034-libmythtv-Add-a-mutex-to-the-ChannelScanSM-class.patch.dpatch
0035-mythbackend-Missing-SID-triggers-a-channel-re-scan-w.patch.dpatch
0036-eithelper-Add-fixups-for-UK-Freesat-transponders.patch.dpatch
0037-libmythtv-Improved-letterbox-detection.patch.dpatch
0038-previewgen-Fix-handling-of-infile.patch.dpatch
0039-mythcommflag-Report-an-error-if-rebuilding-the-seek-.patch.dpatch
0040-mythpreviewgen-Can-t-create-local-preview-image-of-a.patch.dpatch
0041-mythpreviewgen-Allow-screengrab-without-seek-table.patch.dpatch
0042-avformatdecoder-Fix-aspect-ratio-calculation-to-use-.patch.dpatch
0043-TV-Automatically-select-a-free-card-when-changing-ch.patch.dpatch
0044-MHEG-Serialise-accesses-to-the-MHEG-engine.patch.dpatch
0045-MHEG-Fix-race-condition-when-restarting-the-DSMCC-af.patch.dpatch
0046-MHEG-Optimise-display-update.patch.dpatch
0047-TV-Fix-race-condition-when-changing-channels-with-br.patch.dpatch
0048-Profile-build-on-Windows-and-MacOSX-don-t-require-Qt.patch.dpatch
0049-mythwelcome-Add-a-wireless-network-setup-dialog.patch.dpatch
0050-mytharchive-Fix-a-race-condition-in-the-creation-of-.patch.dpatch
0051-Don-t-restart-mythbackend-idle-timeout-for-non-speci.patch.dpatch
0052-mythplayer-Avoid-stutters-between-programs-and-when-.patch.dpatch
0054-libmythui-Fix-a-redraw-bug-in-MythUIType.patch.dpatch
0055-libmythui-Workaround-for-fglrx-tearfree-redraw-probl.patch.dpatch
0056-libmyth-Improve-hoghlighting-of-focussed-checkboX-Sl.patch.dpatch
0057-MythCenter-wide-theme-Improve-legibility-of-inactive.patch.dpatch
0059-ffmpeg-Allow-building-with-libx264-0.85.patch.dpatch
0060-Python-bindings-Relax-mysql-Python-binding-version.patch.dpatch
0061-Mytharchive-Catch-StopIteration-exception-in-mythbur.patch.dpatch
0062-limythtv-Add-a-setting-to-control-MHEG-interaction-c.patch.dpatch
0063-MediaMonitor-Delay-after-pmount-to-permit-proc-mount.patch.dpatch
0064-Themes-Fix-font-weight-in-MythCenter-wide-program-in.patch.dpatch
0065-libfreemheg-Add-thread-id-to-log-output.patch.dpatch
0066-libfreemheg-Log-text-contents-when-updated.patch.dpatch
0067-ffmpeg-Dont-discard-PES-sections-split-across-a-TS-p.patch.dpatch
0068-libmyth-Prevent-a-SEGV-in-mythwelcome-when-backend-c.patch.dpatch
0069-libmythui-Prevent-memory-leak-of-MythUIType-children.patch.dpatch
0070-libmythtv-MHEG-ignores-TEXTEXIT-if-no-onscreen-to-al.patch.dpatch
0071-libmythui-Don-t-draw-zero-sized-MythUIType-objects.patch.dpatch
0073-UK-EIT-fixups-Retain-series-and-episode-number-in-de.patch.dpatch
0074-libmyth-Prevent-SEGV-in-avcodec_decode_video2-when-p.patch.dpatch
0075-OSD-Add-a-graphical-display-of-audio-level-to-cut-li.patch.dpatch
0076-libmythtv-Initialise-all-fields-of-struct-passed-to-.patch.dpatch
0077-libmyth-Initialise-ProgramInfo-programflags-in-all-c.patch.dpatch
0078-greedyhdeint-Ensure-filter-context-data-is-all-set-t.patch.dpatch
0079-mythplayer-Don-t-call-DoneDisplayingFrame-for-PiP-un.patch.dpatch
0080-libmythtv-Avoid-a-SEGV-in-PosMapFromEnc-if-the-stari.patch.dpatch
0081-OpenGL-Optimize-writing-packed-images-to-pixel-buffe.patch.dpatch
0082-OpenGL-Reduce-video-playback-overhead.patch.dpatch
0083-libmythtv-Prevent-a-SEGV-in-MpegRecorder-run-when-en.patch.dpatch
0084-MythCenter-wide-theme-use-longdatetext-for-program-g.patch.dpatch
0085-Subtitles-Avoid-changing-subtitle-state-in-the-decod.patch.dpatch

I have been using LVRs patches for a few weeks. They provide some nice features I have been missing, here two examples:

  1. Get preview in files without a seektable: I use my own copy of mythnettv that imports shows from sites like youtube. The preview I used to get was a black first frame, now it works perfectly.
  2. OSD that shows audio levels: check out the screenshot

Many more are also useful, especially for UK users on Freesat.

Today I started posting the Mythbuntu development packages to my PPA with these patches. Check them out here. Be aware that I don’t usually have the time to realy test these packages, so make backups of your database before you use them!

Update: No need to keep the packages as all relevant patches are now in mainline MythTV

mythnettv with YouTube RSS feed support

I have released a small update to the mythnettv code I maintain for myself. Besides some other changes I have made in the last few months the latest addition might be of interest to those who want to import YouTube videos into the MythTV Recodings screen. You can get my copy of mythnettv here and make sure to read the README file as many new exotic dependencies have been added differing from the original code made by Michael.

To sum it up, you can now take a link like "http://www.youtube.com/watch?v=WdU-UtEJEIA" and download it into MythTV. Or you can take a RSS feed like "http://www.youtube.com/rss/user/AtheistFoundation/videos.rss" and subscribe to it.

mythnettv now downloads from Vimeo

Evermore content is uploaded to sites like Vimeo and Youtube. I have added the fist steps to downloading this kind of content into MythTV. All you need is a copy of mythnettv from my Git. Make sure you install all the dependencies (py-videodownload, python-tvrage, py-unrar2, transmissionrpc) as described in the README file. Then subscribe to a Vimeo rss like this:

mntv subscribe "http://vimeo.com/jref/videos/rss" "James Randi Educational Foundation" "JREF"
and start downloading the videos.

Some improvements to mythnettv

It seems that the original development of mythnettv has stopped. I have been maintaining a branch of my own, just to scratch some itches I had, as I use it to download such shows as TED-Talks and SLOW TV. The following is a list of changes I have done to the code since release 7 (January 2009) by Michael Still, that might interest you:

  • the command "mythnettv statistics" is now much shorter. I have commented out most of the "what has been downloaded" part and only left "what will be downloaded".
  • downloads which are stored in a folder are handled a bit better, but some more work needs to be done. Only single file video files in a folder are currently supported. 
  • no transcoding is done for most modern, linux friendly file formats, as they are well supported by the internal player within MythTV 0.24.
  • neither commercial detection nor seek table creation are done anymore, as MythTV 0.24 then screws up playback of some web content.
  • some basic detection of subtitles, audio (mono, stereo etc) and video (widescreen, 720p etc) properties is done while importing. This metadata is inserted into the database to be displayed as if the file had be recorded with valid EPG data.
  • a new command line "myhtnettv updatemeta filename" allows you to update the database retrospectively with the above data. This also works for "normal" recordings made by MythTV, if your EPG data was not accurate for these values.

enable Mythweb to download files imported by mythnettv

I found out, that mythweb does not allow me to download the imported mythnettv files. This is due to the fact, that they have no file sufix (.avi etc). To make it work, just edit

/var/www/mythweb/modules/stream/stream_raw.pl

to include the following code in the section “# File type”

elsif ($&;basename =~ /tmp/) {
$&;type   = 'video/avivideo';
$&;suffix = '.avi';
}

I am pretty sure not all files are realy “avi”, but for all intendet purposes (downloading, playing) its fine with me.