…ress. Pull the program info in from the DB so the ringbuffer can tell if it is being written to. IsRegisteredFileForWrite does not get set right away so set a flag to wait for it, if the recording is still in progress. When processing an in-progress recording, don't show the percentage done, since it is meaningless.
It seems the buildbot environment doesn't like QCoreApplication being used in the unit tests so avoid using it if it's not available.
1. Subclass IPTVStreamHandler to HTTPStreamHandler to add IPTV stream support for Http TS streams. 2. Extend iptvtuningdata to include a protocol type for udp, rtp, rtsp, http_hls, http_ts. 3. Add to ChannelUtil::GetIPTVTuningData to set the type based on URL and by testing if the URL is a HLS playlist 4. Extend MythSingleDownload to support a maximum file size limit. Without this, if the URL from (3) is actually a video stream then the download would not terminate until the 30 second timeout. 5. Extend tv_rec to include a new system event for Tuning Timeout. Allows user to run a script to reboot a STB. Closes #12168 Signed-off-by: Paul Harrison <firstname.lastname@example.org>
Tested with Qt 4.8 and Qt 5.2.1 Backend manages images in Storage Group and supports multiple frontends/service clients. Backend generates thumbnails for FE's and service clients. They are pre-generated in a (low-priority) background thread to improve FE performance. They are also generated on-demand when necessary. Thumbnails reside in <BE user>/.mythtv/tmp/Photographs. FE's cache displayed images & thumbnails in <FE user>/.mythtv/cache/themecache/<themedir>. Both caches are synced to the Db to prevent cache overflow. The Thumbnail View screen implements zoom by switching buttonlist widgets. A theme must define an "images0" buttonlist (most zoomed-out) and can optionally define others to enable zoom. The default theme provides 10x6, 8x4, 6x3, 4x2 views. Provides basic management functions (Create Dir, Delete, Copy/Move) which can be password-protected to thwart little fingers/prevent data loss. Provides some basic animated slideshow transitions using zoom, rotate, fade, translate and a framework for easily adding more. Displays Exif metadata and date/orientaton of videos. Images can be sorted by metadata timestamp. Photos are auto-rotated using Exif data; video auto-rotation TBD. Never writes Exif metadata to image files. Exif standards are poorly defined and modification may lead to corruption/data loss. Images may (should) have read-only permissions. Orientation overrides are stored in Db only. The menu is 'smart', in that the displayed optons depend upon the item(s) selected. Deficiencies/Known Issues. Uses current schema (>1318). However its use of the db has changed and is not compatible with old 'New Image Gallery'. Clear image database ("gallery_files" table) first. It abuses the current schema - a schema update is required to tidy it up. Does not yet support mythmediaserver. Services API is incomplete. Videos are not played in correct orientation. Slideshow zoom wobbles between 70% - 110% zoom. Not integrated with shutdown. Initial scans of large libraries will take a significant time to generate thumbnails. Closes #12424 Signed-off-by: Paul Harrison <email@example.com>
An image is currently re-sized before being orientated. This results in the bottom of portrait-orientated pics going off-screen. This patch orientates an image before re-sizing it. Refs #12424 Signed-off-by: Paul Harrison <firstname.lastname@example.org>
Images that are smaller than a widget are centred, but the image zoom is currently ignored. This results in a slideshow image being displaced when it is zoomed. This patch improves the problem but it may not be a complete solution as the image still wobbles when being zoomed. Refs #12424 Signed-off-by: Paul Harrison <email@example.com>
…vimeo_data.py. vimeo_data.pyc was byte-compiled for python 2.6 and didn't work with any other python versions. vimeo_data.py holds the API key for connecting to vimeo. It it obfuscated, however other projects do keep their key in the open. discussion: http://irc.mythtv.org/ircLog/channel/4/2013-10-08:21:50:00/2013-10-08:22:09:00 Fixes #11907 Signed-off-by: Jonatan Lindblad <firstname.lastname@example.org>
It is possible to set two optional parameters in ~/.mythtv/MythNetvision/userGrabberPrefs/youtube.xml: * API key * Region code used for retrieving the categories in the tree view Some changes were also required in libmyth and MythNetvision due to the way paging is handled. This bumps the ABI version.
This also includes a fix to the MythGestureEvent QString operator where the array with the gesture names was incomplete.
… be set separately for libudfread and libbluray (thereby hopefully allowing compilation of libbluray with MSVC).
…e device is possible).
Otherwise, RecordingInfo::GetRecgroupID() may be called twice, resulting in two DB queries, when one will suffice.
Otherwise, recgroupid gets the row default of 1. The only impact I've seen so far of the incorrect code is that in the Watch Recordings screen, "Menu > Storage Options > Change Recording Group" may show incorrect item counts for the recording groups. One way to correct the recgroupid values is to "Change group filter" to the recording group, highlight All Programs, add to playlist, then "Playlist Options > Storage Options > Change Recording Group" and select the current recording group (which should already be highlighted).
This fixed very slow (more then 10 seconds) waiting times on start of recording playback caused by very slow loading of the seek table from the database. See http://www.psce.com/blog/2012/07/09/data-fragmentation-problem-in-mysql-myisam/ for an elaborate explanation of the problem. Also sort program and filemarkup while here. (the second and third biggest tables on my backend) Refs #12451
This is a continuation of the Qt5 fixes in 7b38b88 .
If the user has gone to the trouble of creating a cutlist, then they have surely already trimmed any soft padding at the beginning, so we shouldn't try to outguess them.