Mailing List Archive

[MythTV/mythtv] dbe165: Update file size before skip forward
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: dbe165f81aa118871958b0663934a2f42edf464a
https://github.com/MythTV/mythtv/commit/dbe165f81aa118871958b0663934a2f42edf464a
Author: Klaas de Waal <kdewaal@mythtv.org>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythtv/mythplayer.cpp

Log Message:
-----------
Update file size before skip forward

Get the actual file size before determining if it is
possible to skip the requested amount of seconds forward.
When the skip forward would go beyond the end of the file
the skip is modified so that it goes to the end of the
file instead. This gives the wrong result when the file
size information is not correct.

Refs #352


_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits
[MythTV/mythtv] dbe165: Update file size before skip forward [ In reply to ]
Branch: refs/heads/devel/http
Home: https://github.com/MythTV/mythtv
Commit: dbe165f81aa118871958b0663934a2f42edf464a
https://github.com/MythTV/mythtv/commit/dbe165f81aa118871958b0663934a2f42edf464a
Author: Klaas de Waal <kdewaal@mythtv.org>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythtv/mythplayer.cpp

Log Message:
-----------
Update file size before skip forward

Get the actual file size before determining if it is
possible to skip the requested amount of seconds forward.
When the skip forward would go beyond the end of the file
the skip is modified so that it goes to the end of the
file instead. This gives the wrong result when the file
size information is not correct.

Refs #352


Commit: a35199ec99d10c0406a868dadd28cf194392f41b
https://github.com/MythTV/mythtv/commit/a35199ec99d10c0406a868dadd28cf194392f41b
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythbase/mythdb.cpp
M mythtv/libs/libmythbase/mythdbcon.cpp

Log Message:
-----------
qt6: Handle QVariant::type removal in qt6. (mythdb/mythdbcon)


Commit: f5e04e44e44815a0fbe12233f45bf8940a54b135
https://github.com/MythTV/mythtv/commit/f5e04e44e44815a0fbe12233f45bf8940a54b135
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/external/qjsonwrapper/qjsonwrapper/Json.cpp

Log Message:
-----------
qt6: Handle QVariant::type removal in qt6. (jsonwrapper)


Commit: f7869e801bb507768080afddadc786a314482a7c
https://github.com/MythTV/mythtv/commit/f7869e801bb507768080afddadc786a314482a7c
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythbase/mythbinaryplist.cpp

Log Message:
-----------
qt6: Handle QVariant::type removal in qt6. (mythbinaryplist)


Commit: 7ac0f741bd57afa842c39065afc86ed1719de72d
https://github.com/MythTV/mythtv/commit/7ac0f741bd57afa842c39065afc86ed1719de72d
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythupnp/serializers/jsonSerializer.cpp
M mythtv/libs/libmythupnp/serializers/xmlSerializer.cpp
M mythtv/libs/libmythupnp/serializers/xmlplistSerializer.cpp

Log Message:
-----------
qt6: Handle QVariant::type removal in qt6. (libmythupnp)


Commit: 2f9e288be02396d46dbcf315be4493b57cfebabf
https://github.com/MythTV/mythtv/commit/2f9e288be02396d46dbcf315be4493b57cfebabf
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythbase/mythcommandlineparser.cpp
M mythtv/libs/libmythbase/mythcommandlineparser.h
M mythtv/programs/mythfilldatabase/commandlineparser.cpp
M mythtv/programs/mythutil/commandlineparser.cpp

Log Message:
-----------
qt6: Handle QVariant::type removal in qt6. (mythcommandlineparser)


Commit: 4929727b0572d4a2886d850241a0931a297893bc
https://github.com/MythTV/mythtv/commit/4929727b0572d4a2886d850241a0931a297893bc
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythservicecontracts/datacontracts/frontendStatus.h
M mythtv/libs/libmythservicecontracts/service.cpp

Log Message:
-----------
qt6: Handle QVariant::type removal in qt6. (libmythservicecontracts)


Commit: 8b4a86b66ef556944371d8f2db4a34b094c75d50
https://github.com/MythTV/mythtv/commit/8b4a86b66ef556944371d8f2db4a34b094c75d50
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythui/mythuibuttonlist.cpp

Log Message:
-----------
qt6: Handle new QKeyCombination class in qt6. (mythuibuttonlist.cpp)


Commit: 10848e22c44f0794e78b25e40b1c57e6a13776f1
https://github.com/MythTV/mythtv/commit/10848e22c44f0794e78b25e40b1c57e6a13776f1
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythui/devices/lirc.cpp

Log Message:
-----------
qt6: Handle new QKeyCombination class in qt6. (lirc.cpp)


Commit: b618e0962d87135e74c9e82bbc0c58b6d004b944
https://github.com/MythTV/mythtv/commit/b618e0962d87135e74c9e82bbc0c58b6d004b944
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythui/devices/jsmenu.cpp
M mythtv/libs/libmythui/devices/jsmenuevent.h
M mythtv/libs/libmythui/devices/mythinputdevicehandler.cpp

Log Message:
-----------
qt6: Handle new QKeyCombination class in qt6. (jsmenu.cpp)


Commit: ed718ca34e44108385de84d1166cbf0a2e51c25d
https://github.com/MythTV/mythtv/commit/ed718ca34e44108385de84d1166cbf0a2e51c25d
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythui/mythmainwindow.cpp

Log Message:
-----------
qt6: Handle new QKeyCombination class in qt6. (mythmainwindow.cpp)


Commit: acc2c25c14346a0454058ee7891b54b3dd2234b3
https://github.com/MythTV/mythtv/commit/acc2c25c14346a0454058ee7891b54b3dd2234b3
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythui/mythvirtualkeyboard.cpp
M mythtv/libs/libmythui/mythvirtualkeyboard.h

Log Message:
-----------
qt6: Handle new QKeyCombination class in qt6. (mythvirtualkeyboard.cpp)


Commit: b2482e190fad94e575f2dbf1d7c75bc94b2427cd
https://github.com/MythTV/mythtv/commit/b2482e190fad94e575f2dbf1d7c75bc94b2427cd
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythui/mythfontmanager.cpp
M mythtv/libs/libmythui/mythfontproperties.cpp

Log Message:
-----------
qt6: Handle all QFontDatabase functions becoming static functions.


Commit: 2ad19e12fa84292ffe556d41586365559c0c71db
https://github.com/MythTV/mythtv/commit/2ad19e12fa84292ffe556d41586365559c0c71db
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythupnp/services/rtti.cpp

Log Message:
-----------
qt6: Handle QMetaType changes on qt6. (rtti.cpp)

In qt6, its possible to look up a MetaType from a class name without
having to first create an instance of that class.


Commit: 6fcfde3f533e3a4ebbee28520afd3f01c2c95681
https://github.com/MythTV/mythtv/commit/6fcfde3f533e3a4ebbee28520afd3f01c2c95681
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythupnp/wsdl.cpp

Log Message:
-----------
qt6: Handle QMetaType changes in qt6. (wdsl.cpp)

Use different way of looking up QMetaType id from a string.


Commit: 02c6d88cee1260e022268b070f309ca86fb9ff0f
https://github.com/MythTV/mythtv/commit/02c6d88cee1260e022268b070f309ca86fb9ff0f
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythupnp/xsd.cpp

Log Message:
-----------
qt6: Handle QMetaType changes on qt6. (xsd.cpp)

In qt6, its possible to look up a MetaType from a class name without
having to first create an instance of that class.


Commit: 3a6d748286efb807e0beb9ea14e84317da090314
https://github.com/MythTV/mythtv/commit/3a6d748286efb807e0beb9ea14e84317da090314
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythupnp/serializers/jsonSerializer.cpp
M mythtv/libs/libmythupnp/serializers/xmlSerializer.cpp
M mythtv/libs/libmythupnp/serializers/xmlplistSerializer.cpp

Log Message:
-----------
qt6: Handle QMetaType changes in qt6. (serializers)

Use different way of looking up QMetaType id from a string.


Commit: e9ad9d37795a85e734da90dceee2a731d0ffabb4
https://github.com/MythTV/mythtv/commit/e9ad9d37795a85e734da90dceee2a731d0ffabb4
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythupnp/servicehost.cpp

Log Message:
-----------
qt6: Handle QMetaType changes on qt6. (servicehost.cpp)

Update parameter/return value creation and destruction to use
functions that are common to both Qt5 and Qt6. This requires having a
QMetaType object at both creation and destruction time, which is
version specific code.


Commit: b6867771e7e3f0daad044924e4498c4315f0570f
https://github.com/MythTV/mythtv/commit/b6867771e7e3f0daad044924e4498c4315f0570f
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythplugins/mythnetvision/mythnetvision/netcommon.cpp
M mythtv/libs/libmyth/netutils.cpp
M mythtv/libs/libmyth/remoteutil.cpp
M mythtv/libs/libmythmetadata/metadataimagedownload.cpp
M mythtv/libs/libmythtv/io/mythmediabuffer.cpp
M mythtv/libs/libmythtv/previewgenerator.cpp
M mythtv/programs/mythbackend/mainserver.cpp

Log Message:
-----------
qt6: Handle simplified arguments for qChecksum function.


Commit: 6640c267c999a0c5655a8bfb5adeaaed9e686364
https://github.com/MythTV/mythtv/commit/6640c267c999a0c5655a8bfb5adeaaed9e686364
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmyth/standardsettings.cpp

Log Message:
-----------
qt6: Update code to get QMetaType::Type id using either Qt5 or Qt6 functions.

In Qt5, all of the QVariant::Type enum values were mapped 1:1 to
QMetaType::Type enum values. In Qt6, the QVariant::Type enum has been
completely removed and QMetaType::Type values must be used instead.

Qt6 also changed some of the functions used to find a QMetaType from a
string name or an id value.


Commit: 2cf19711ef81f5f8f67dab2e3d62854b1f25cf80
https://github.com/MythTV/mythtv/commit/2cf19711ef81f5f8f67dab2e3d62854b1f25cf80
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmyth/programinfo.cpp

Log Message:
-----------
qt6: Create NULL sql binding slightly differently in qt6.


Commit: 6932f8b53ca775579ec0f1c86f8220386d20823c
https://github.com/MythTV/mythtv/commit/6932f8b53ca775579ec0f1c86f8220386d20823c
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythbase/test/test_mythbinaryplist/test_mythbinaryplist.cpp
M mythtv/libs/libmythservicecontracts/test/test_datacontracts/test_datacontracts.cpp

Log Message:
-----------
qt6: Update tests for changes in QVariant/QMetaType.


Commit: 005b5b9edd95032044b4583d56afd7d0cbca2237
https://github.com/MythTV/mythtv/commit/005b5b9edd95032044b4583d56afd7d0cbca2237
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythtv/tv_play.cpp

Log Message:
-----------
qt6: Handle new QKeyCombination class in qt6. (tv_play.cpp)


Commit: a50e472db778f8a70af382b4a164ec0445d9a6b1
https://github.com/MythTV/mythtv/commit/a50e472db778f8a70af382b4a164ec0445d9a6b1
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/programs/mythfrontend/networkcontrol.cpp

Log Message:
-----------
qt6: Handle new QKeyCombination class in qt6. (mythfrontend)


Commit: 8f5edb4c799fc5d79fd72cb17bca9606797620a5
https://github.com/MythTV/mythtv/commit/8f5edb4c799fc5d79fd72cb17bca9606797620a5
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythplugins/mythmusic/mythmusic/smartplaylist.cpp

Log Message:
-----------
qt6: Handle QSqlQuery changes in mythmusic.

Need to create an empty QSqlField slightly differently in qt6.


Commit: e913b5a08c4ce731649b54f4d9665f7ffa5262f4
https://github.com/MythTV/mythtv/commit/e913b5a08c4ce731649b54f4d9665f7ffa5262f4
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/programs/mythbackend/services/myth.cpp

Log Message:
-----------
qt6: Handle QVariant changes in services API.

Need to create a null QVariant slightly differently in the Qt6
API. Create it once and use in multiple places, instead of creating it
anew each time.


Commit: 5b2a032674df9c2cbe71117aa2eb6f8ff33194a7
https://github.com/MythTV/mythtv/commit/5b2a032674df9c2cbe71117aa2eb6f8ff33194a7
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythtv/recorders/satiprtcppacket.cpp

Log Message:
-----------
tidy: Fix a "use-auto" warning. (libmythtv/recorders)


Commit: 8f1d18f20da6d09f722c9fef8afe3ef6aa5a1b32
https://github.com/MythTV/mythtv/commit/8f1d18f20da6d09f722c9fef8afe3ef6aa5a1b32
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythplugins/mytharchive/mytharchive/fileselector.cpp
M mythplugins/mytharchive/mytharchive/logviewer.cpp

Log Message:
-----------
tidy: Fix range base for-loop warnings. (mytharchive).


Commit: 541c52468dd2e727f0d1361930a29742869c0c83
https://github.com/MythTV/mythtv/commit/541c52468dd2e727f0d1361930a29742869c0c83
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythplugins/mythgame/mythgame/gamehandler.cpp

Log Message:
-----------
tidy: Replace a couple of for loops with std::copy_if statements. (mythgame)

Also fix a clazy warning about mixing const and non-const iters.


Commit: 125fb87cf5130ae357d4c82a49ea0bb9bc96effc
https://github.com/MythTV/mythtv/commit/125fb87cf5130ae357d4c82a49ea0bb9bc96effc
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythplugins/mythmusic/mythmusic/decoder.cpp
M mythplugins/mythmusic/mythmusic/importmusic.cpp

Log Message:
-----------
tidy: Fix a couple of warnings. (mythmusic)

Quiet warning about using a range-based loop. Range-based loops over
Qt containers should use the qAsConst macro, but that would then make
the object inside the loop const and then it couldn't be modified.

Also pass a paramater to a lambda function by reference.


Commit: f8b13394145e8728c011ae77e9f91437a4c8ddc8
https://github.com/MythTV/mythtv/commit/f8b13394145e8728c011ae77e9f91437a4c8ddc8
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythplugins/mythweather/mythweather/weatherScreen.cpp
M mythplugins/mythweather/mythweather/weatherSetup.cpp

Log Message:
-----------
tidy: Convert a couple of loops to be range-based. (mythweather)


Commit: 793018cd3c8ed2d7f78b653a5bef8c91ca6148ee
https://github.com/MythTV/mythtv/commit/793018cd3c8ed2d7f78b653a5bef8c91ca6148ee
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythplugins/mythmusic/mythmusic/playlisteditorview.cpp
M mythplugins/mythweather/mythweather/weatherSource.cpp
M mythtv/libs/libmythbase/mythcorecontext.cpp
M mythtv/libs/libmythprotoserver/requesthandler/fileserverhandler.cpp
M mythtv/libs/libmythtv/decoders/mythv4l2m2mcontext.cpp
M mythtv/libs/libmythtv/recorders/cetonrtsp.cpp
M mythtv/libs/libmythupnp/upnpcds.cpp
M mythtv/programs/mythbackend/upnpcdsmusic.cpp
M mythtv/programs/mythfrontend/statusbox.cpp
M mythtv/programs/mythfrontend/videodlg.cpp

Log Message:
-----------
clazy: Remove unused variables. (mythplugins)


Commit: a5322c783b025ed969482da4ba7527b3db682ad1
https://github.com/MythTV/mythtv/commit/a5322c783b025ed969482da4ba7527b3db682ad1
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythbase/mythsorthelper.cpp
M mythtv/libs/libmythbase/remotefile.cpp

Log Message:
-----------
tidy: Convert a of loops to be range-based. (libmythbase)

Convert one loop into a call to std::anyof.

Mark one loop as not convertable because range-based loops over Qt
containers should use the qAsConst macro, but that would then make the
object inside the loop const and then it couldn't be modified.


Commit: 9450f1d8be76d5619b3558e07610c53f5379f251
https://github.com/MythTV/mythtv/commit/9450f1d8be76d5619b3558e07610c53f5379f251
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythtv/AirPlay/mythraopconnection.cpp

Log Message:
-----------
tidy: Convert a of loops to be range-based. (AirPlay)


Commit: 0bdd14da281147a25b41bdeb3740ac0d6a133185
https://github.com/MythTV/mythtv/commit/0bdd14da281147a25b41bdeb3740ac0d6a133185
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp
M mythtv/libs/libmythtv/channelscan/channelscanner_gui.cpp

Log Message:
-----------
tidy: Convert a couple of loops to be range-based. (libmythtv/channelscan)


Commit: 7a24e4014440c0525d700cfe66f61b67ddb34c94
https://github.com/MythTV/mythtv/commit/7a24e4014440c0525d700cfe66f61b67ddb34c94
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythtv/channelsettings.cpp
M mythtv/libs/libmythtv/eitfixup.cpp
M mythtv/libs/libmythtv/mythvideoprofile.cpp
M mythtv/libs/libmythtv/recorders/hdhrstreamhandler.cpp
M mythtv/libs/libmythtv/tv_play.cpp
M mythtv/libs/libmythtv/videosource.cpp

Log Message:
-----------
tidy: Convert a couple of loops to be range-based. (libmythtv)


Commit: d9ad17f06bcbdf04ed2a1bd0f1c71e603bf6ad73
https://github.com/MythTV/mythtv/commit/d9ad17f06bcbdf04ed2a1bd0f1c71e603bf6ad73
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythui/mythdialogbox.cpp
M mythtv/libs/libmythui/mythuibuttonlist.cpp
M mythtv/libs/libmythui/mythuispinbox.cpp
M mythtv/libs/libmythui/mythuitype.cpp

Log Message:
-----------
tidy: Convert a couple of loops to be range-based. (libmythui)


Commit: 9330b42af74f8de83fb0cd73ab242be93a391894
https://github.com/MythTV/mythtv/commit/9330b42af74f8de83fb0cd73ab242be93a391894
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythupnp/httpserver.cpp
M mythtv/libs/libmythupnp/serializers/xmlSerializer.cpp
M mythtv/libs/libmythupnp/xsd.cpp

Log Message:
-----------
tidy: Convert a couple of loops to be range-based. (libmythupnp)


Commit: f6c58ab2992821c8498a28f0df9323c1546dc25e
https://github.com/MythTV/mythtv/commit/f6c58ab2992821c8498a28f0df9323c1546dc25e
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/programs/mythbackend/mainserver.cpp
M mythtv/programs/mythbackend/services/video.cpp

Log Message:
-----------
tidy: Modernize a couple of loops. (mythbackend)

Convert a couple of loops to be range-based. Convert a couple of other
loops to use std::transform.


Commit: 163db72fd4ec40c86c8f79b1b51f6fdfb82a67b9
https://github.com/MythTV/mythtv/commit/163db72fd4ec40c86c8f79b1b51f6fdfb82a67b9
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/programs/mythcommflag/main.cpp

Log Message:
-----------
tidy: Convert a loop to be range-based. (mythcommflag)


Commit: 2be52b7d9cad641efce410ce0f7cb1654835c30c
https://github.com/MythTV/mythtv/commit/2be52b7d9cad641efce410ce0f7cb1654835c30c
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/programs/mythfilldatabase/filldata.cpp

Log Message:
-----------
tidy: Convert a loop to be range-based. (mythfilldatabase)


Commit: f6aff6e84afe49a1bd730075fcf22bfe40d1d5fb
https://github.com/MythTV/mythtv/commit/f6aff6e84afe49a1bd730075fcf22bfe40d1d5fb
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/programs/mythfrontend/proglist_helpers.cpp

Log Message:
-----------
tidy: Convert a couple of loops to be range-based. (mythfrontend)


Commit: 9ee650390ca9c53b035b811f78185c715e24588a
https://github.com/MythTV/mythtv/commit/9ee650390ca9c53b035b811f78185c715e24588a
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/programs/mythtv-setup/backendsettings.cpp
M mythtv/programs/mythtv-setup/channeleditor.cpp
M mythtv/programs/mythtv-setup/importicons.cpp

Log Message:
-----------
tidy: Convert a couple of loops to be range-based. (mythtv-setup)


Commit: 0152a69b7dfb0bb6ae2ab0c41491ca9a7adcc9ce
https://github.com/MythTV/mythtv/commit/0152a69b7dfb0bb6ae2ab0c41491ca9a7adcc9ce
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/programs/mythutil/markuputils.cpp
M mythtv/programs/mythutil/mpegutils.cpp

Log Message:
-----------
tidy: Convert a couple of loops to be range-based. (mythutil)


Commit: db641e38443d6aadf3abfea1a2f8e8184e3c32b9
https://github.com/MythTV/mythtv/commit/db641e38443d6aadf3abfea1a2f8e8184e3c32b9
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmyth/programinfo.cpp

Log Message:
-----------
tidy: Convert a loop to be range-based. (libmyth)


Commit: 7d152a972311d0883e72879094d61e788c2df184
https://github.com/MythTV/mythtv/commit/7d152a972311d0883e72879094d61e788c2df184
Author: David Hampton <mythtv@love2code.net>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M mythtv/libs/libmythtv/captions/cc708window.h
M mythtv/libs/libmythtv/captions/subtitlescreen.h

Log Message:
-----------
Silence a couple of clang-tidy warnings. (libmythtv)

There are a couple of structures that seem to have changed
significantly between Qt5 and Qt6. When clang-tidy is run against a
Qt5 based build of MythTV it recommends one action, and when run
against a Qt6 build it recommends a contrary action. (Whether to move
or copy an object when it is passed a parameter to a function.)
Silence the warning that occurs in Qt6 until that becomes the
predominant version used in releases.


Commit: 99bceed7d7b3818393792547e1aa7abfa070769d
https://github.com/MythTV/mythtv/commit/99bceed7d7b3818393792547e1aa7abfa070769d
Author: Klaas de Waal <kdewaal@mythtv.org>
Date: 2021-05-03 (Mon, 03 May 2021)

Changed paths:
M mythtv/programs/mythbackend/backendhousekeeper.cpp

Log Message:
-----------
Clear local MusicStreamListModified setting only when needed

As part of the "Running HouseKeeper." tasks there is every minute a check if the
RadioStreamUpdate task needs to run by checking the MusicStreamListModified setting.
As documented in the comment line:
// we are only interested in the global setting so remove any local host setting just in case
the local host value for this setting is cleared every time by writing to the database.
It should not be necessary to clear it more than once; it is now done only when
the value is actually not empty. For reading a setting a cache mechanism exists
so this fix does remove one database query every minute.
However, the main reason for this fix is that clearing the setting requires a write
lock on database table settings. When this table is being backed-up clearing the
setting is blocked until the table is available again.
During that time the Sat>IP recordings, and possibly also other type of recordings,
are also blocked. Blocking does not occur when the setting is read from the
database and also not when the setting is read from the settings cache.


Commit: fe79f0ce99b34134db4871eb1ea4887e2f3ae551
https://github.com/MythTV/mythtv/commit/fe79f0ce99b34134db4871eb1ea4887e2f3ae551
Author: Klaas de Waal <kdewaal@mythtv.org>
Date: 2021-05-03 (Mon, 03 May 2021)

Changed paths:
M mythtv/libs/libmythbase/housekeeper.cpp
M mythtv/libs/libmythtv/recorders/recorderbase.cpp

Log Message:
-----------
Fix typo's in comment


Commit: d078eb526f72c32969db1e9d3e8680b3e1911bba
https://github.com/MythTV/mythtv/commit/d078eb526f72c32969db1e9d3e8680b3e1911bba
Author: David Hampton <mythtv@love2code.net>
Date: 2021-05-04 (Tue, 04 May 2021)

Changed paths:
M mythplugins/mythmusic/mythmusic/playlistcontainer.cpp
M mythtv/libs/libmyth/audio/volumebase.cpp
M mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp

Log Message:
-----------
cppcheck: Quiet false positives on calls to MThread:usleep.


Commit: 8f24cf9a630b8a3e95a177bbf958734ad1633b7c
https://github.com/MythTV/mythtv/commit/8f24cf9a630b8a3e95a177bbf958734ad1633b7c
Author: David Hampton <mythtv@love2code.net>
Date: 2021-05-04 (Tue, 04 May 2021)

Changed paths:
M mythtv/programs/mythfrontend/videodlg.cpp

Log Message:
-----------
cppcheck: Fix possible null pointer dereference.

Also change a variable to a compile time constant.


Commit: 135ef31455b311876666a41dee734115b8c1b540
https://github.com/MythTV/mythtv/commit/135ef31455b311876666a41dee734115b8c1b540
Author: David Hampton <mythtv@love2code.net>
Date: 2021-05-04 (Tue, 04 May 2021)

Changed paths:
M mythtv/libs/libmythtv/DVD/mythdvdbuffer.cpp
M mythtv/programs/mythcommflag/ClassicCommDetector.cpp

Log Message:
-----------
cppcheck: Fix a couple of "variable assigned value that is never used" warnings.


Commit: e1b22ffb70cb9d7834424eb8fd0d8ae923cbe17c
https://github.com/MythTV/mythtv/commit/e1b22ffb70cb9d7834424eb8fd0d8ae923cbe17c
Author: David Hampton <mythtv@love2code.net>
Date: 2021-05-04 (Tue, 04 May 2021)

Changed paths:
M mythtv/libs/libmythtv/mythvideooutgpu.cpp

Log Message:
-----------
cppcheck: Fix "known condition" warning.


Commit: e3a1353eb76b8362f7c39a627cbe9205586c5f9f
https://github.com/MythTV/mythtv/commit/e3a1353eb76b8362f7c39a627cbe9205586c5f9f
Author: Klaas de Waal <kdewaal@mythtv.org>
Date: 2021-05-04 (Tue, 04 May 2021)

Changed paths:
M mythtv/libs/libmythtv/mpeg/dvbdescriptors.cpp
M mythtv/libs/libmythtv/mpeg/dvbdescriptors.h
M mythtv/libs/libmythtv/mpeg/mpegdescriptors.cpp
M mythtv/libs/libmythtv/mpeg/mpegdescriptors.h
M mythtv/libs/libmythtv/mpeg/mpegtables.cpp

Log Message:
-----------
Descriptor debug message output

Add debug message output for a number of descriptors and improve
the message layout. These messages are visible in the mythbackend
logs when the "-v siparser" option is used.


Commit: 228f90ea6e354f00bf8278f6d471e43cf0cc45e8
https://github.com/MythTV/mythtv/commit/228f90ea6e354f00bf8278f6d471e43cf0cc45e8
Author: Klaas de Waal <kdewaal@mythtv.org>
Date: 2021-05-04 (Tue, 04 May 2021)

Changed paths:
M mythtv/libs/libmythtv/recorders/hdhrsignalmonitor.cpp

Log Message:
-----------
Add symbol error quality in HDHomeRun debug messages

Add the symbol error quality value in the "Tuner status..."
messages of the HDHomeRun. These messages are written to
the mythbackend log when option "-v record:debug" is selected.


Commit: 24803fba851ce2c5b03ab9d661da440e5d28bf7b
https://github.com/MythTV/mythtv/commit/24803fba851ce2c5b03ab9d661da440e5d28bf7b
Author: Peter Bennett <pbennett@mythtv.org>
Date: 2021-05-05 (Wed, 05 May 2021)

Changed paths:
M mythtv/libs/libmythtv/recordingquality.cpp
M mythtv/programs/mythfrontend/globalsettings.cpp

Log Message:
-----------
Frontend setup: Add settings for recording quality

Recordings are marked as DAMAGED based on recording quality.
Add settings that let the user customize the quality calculation
by specifying how much missing time is allowed at the start and end of
recordings and the quality required for not marking as DAMAGED.
Previously the times were hardcoded as 15 seconds and the
percentage as 95.


Commit: 25d4e223f600ba09fc0e3a7cabf26503846396b9
https://github.com/MythTV/mythtv/commit/25d4e223f600ba09fc0e3a7cabf26503846396b9
Author: Peter Bennett <pbennett@mythtv.org>
Date: 2021-05-06 (Thu, 06 May 2021)

Changed paths:
M mythtv/bindings/python/tmdb3/tmdb3/lookup.py

Log Message:
-----------
tmdb3 lookup: Prevent exception when there are no posters.

Index out of range occurred in number of posters was 0.


Commit: fe59af2fb7604d5115bc5317cc043a919fae4002
https://github.com/MythTV/mythtv/commit/fe59af2fb7604d5115bc5317cc043a919fae4002
Author: David Engel <dengel@mythtv.org>
Date: 2021-05-10 (Mon, 10 May 2021)

Changed paths:
M mythtv/libs/libmythtv/mythplayer.cpp
M mythtv/libs/libmythtv/mythplayer.h

Log Message:
-----------
Improve fast-forward/rewind at slower speeds.

Smooth fast-forward/rewind works as follows. For the desired speed,
choose a reasonable frame rate. Then calculate the number of frames
to skip to achieve that speed and frame rate. Because only key frames
can be skipped to, there is usually a difference between the desired
frame and the actual frame skipped to. Remember that difference and
adjust the next skip accordingly.

This works well in nearly all cases. It doesn't work as well at
slower speeds where the skip distance is small, and especially when
the distance between key frames is large. When this happens,
fast-forward/rewind is jerky as large corrections are often needed
after each skip because of mismatched skip and key frame distances.
This commit fixes these cases with the following two changes.

First, a slightly, lower, frame rate is used for slower speeds. This
results in slightly, larger, skip distances that have a better chance
of initially matching large, key frame distances. This also restores
the behavior that fast-forward/rewind had long ago where slower speeds
also looked slower and faster speeds looked faster.

Second, slightly adjust the frame rate and skip distance up or down,
within limits, when large corrections are seen. This simple, minded
approach performed surprisingly well. Well enough, in fact, that
efforts to explore more advanced techniques of matching the skip and
key frame distances were abandoned.


Commit: 71a6420ab6821cbc123d1e843c5368ec07b92eda
https://github.com/MythTV/mythtv/commit/71a6420ab6821cbc123d1e843c5368ec07b92eda
Author: Stuart Auchterlonie <stuarta@mythtv.org>
Date: 2021-05-12 (Wed, 12 May 2021)

Changed paths:
M mythplugins/mytharchive/mytharchive/fileselector.cpp
M mythplugins/mytharchive/mytharchive/logviewer.cpp
M mythplugins/mythgame/mythgame/gamehandler.cpp
M mythplugins/mythmusic/mythmusic/decoder.cpp
M mythplugins/mythmusic/mythmusic/importmusic.cpp
M mythplugins/mythmusic/mythmusic/playlistcontainer.cpp
M mythplugins/mythmusic/mythmusic/playlisteditorview.cpp
M mythplugins/mythmusic/mythmusic/smartplaylist.cpp
M mythplugins/mythnetvision/mythnetvision/netcommon.cpp
M mythplugins/mythweather/mythweather/weatherScreen.cpp
M mythplugins/mythweather/mythweather/weatherSetup.cpp
M mythplugins/mythweather/mythweather/weatherSource.cpp
M mythtv/bindings/python/tmdb3/tmdb3/lookup.py
M mythtv/external/qjsonwrapper/qjsonwrapper/Json.cpp
M mythtv/libs/libmyth/audio/volumebase.cpp
M mythtv/libs/libmyth/netutils.cpp
M mythtv/libs/libmyth/programinfo.cpp
M mythtv/libs/libmyth/remoteutil.cpp
M mythtv/libs/libmyth/standardsettings.cpp
M mythtv/libs/libmythbase/housekeeper.cpp
M mythtv/libs/libmythbase/mythbinaryplist.cpp
M mythtv/libs/libmythbase/mythcommandlineparser.cpp
M mythtv/libs/libmythbase/mythcommandlineparser.h
M mythtv/libs/libmythbase/mythcorecontext.cpp
M mythtv/libs/libmythbase/mythdb.cpp
M mythtv/libs/libmythbase/mythdbcon.cpp
M mythtv/libs/libmythbase/mythsorthelper.cpp
M mythtv/libs/libmythbase/remotefile.cpp
M mythtv/libs/libmythbase/test/test_mythbinaryplist/test_mythbinaryplist.cpp
M mythtv/libs/libmythmetadata/metadataimagedownload.cpp
M mythtv/libs/libmythprotoserver/requesthandler/fileserverhandler.cpp
M mythtv/libs/libmythservicecontracts/datacontracts/frontendStatus.h
M mythtv/libs/libmythservicecontracts/service.cpp
M mythtv/libs/libmythservicecontracts/test/test_datacontracts/test_datacontracts.cpp
M mythtv/libs/libmythtv/AirPlay/mythraopconnection.cpp
M mythtv/libs/libmythtv/DVD/mythdvdbuffer.cpp
M mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp
M mythtv/libs/libmythtv/captions/cc708window.h
M mythtv/libs/libmythtv/captions/subtitlescreen.h
M mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp
M mythtv/libs/libmythtv/channelscan/channelscanner_gui.cpp
M mythtv/libs/libmythtv/channelsettings.cpp
M mythtv/libs/libmythtv/decoders/mythv4l2m2mcontext.cpp
M mythtv/libs/libmythtv/eitfixup.cpp
M mythtv/libs/libmythtv/io/mythmediabuffer.cpp
M mythtv/libs/libmythtv/mpeg/dvbdescriptors.cpp
M mythtv/libs/libmythtv/mpeg/dvbdescriptors.h
M mythtv/libs/libmythtv/mpeg/mpegdescriptors.cpp
M mythtv/libs/libmythtv/mpeg/mpegdescriptors.h
M mythtv/libs/libmythtv/mpeg/mpegtables.cpp
M mythtv/libs/libmythtv/mythplayer.cpp
M mythtv/libs/libmythtv/mythplayer.h
M mythtv/libs/libmythtv/mythvideooutgpu.cpp
M mythtv/libs/libmythtv/mythvideoprofile.cpp
M mythtv/libs/libmythtv/previewgenerator.cpp
M mythtv/libs/libmythtv/recorders/cetonrtsp.cpp
M mythtv/libs/libmythtv/recorders/hdhrsignalmonitor.cpp
M mythtv/libs/libmythtv/recorders/hdhrstreamhandler.cpp
M mythtv/libs/libmythtv/recorders/recorderbase.cpp
M mythtv/libs/libmythtv/recorders/satiprtcppacket.cpp
M mythtv/libs/libmythtv/recordingquality.cpp
M mythtv/libs/libmythtv/tv_play.cpp
M mythtv/libs/libmythtv/videosource.cpp
M mythtv/libs/libmythui/devices/jsmenu.cpp
M mythtv/libs/libmythui/devices/jsmenuevent.h
M mythtv/libs/libmythui/devices/lirc.cpp
M mythtv/libs/libmythui/devices/mythinputdevicehandler.cpp
M mythtv/libs/libmythui/mythdialogbox.cpp
M mythtv/libs/libmythui/mythfontmanager.cpp
M mythtv/libs/libmythui/mythfontproperties.cpp
M mythtv/libs/libmythui/mythmainwindow.cpp
M mythtv/libs/libmythui/mythuibuttonlist.cpp
M mythtv/libs/libmythui/mythuispinbox.cpp
M mythtv/libs/libmythui/mythuitype.cpp
M mythtv/libs/libmythui/mythvirtualkeyboard.cpp
M mythtv/libs/libmythui/mythvirtualkeyboard.h
M mythtv/libs/libmythupnp/httpserver.cpp
M mythtv/libs/libmythupnp/serializers/jsonSerializer.cpp
M mythtv/libs/libmythupnp/serializers/xmlSerializer.cpp
M mythtv/libs/libmythupnp/serializers/xmlplistSerializer.cpp
M mythtv/libs/libmythupnp/servicehost.cpp
M mythtv/libs/libmythupnp/services/rtti.cpp
M mythtv/libs/libmythupnp/upnpcds.cpp
M mythtv/libs/libmythupnp/wsdl.cpp
M mythtv/libs/libmythupnp/xsd.cpp
M mythtv/programs/mythbackend/backendhousekeeper.cpp
M mythtv/programs/mythbackend/mainserver.cpp
M mythtv/programs/mythbackend/services/myth.cpp
M mythtv/programs/mythbackend/services/video.cpp
M mythtv/programs/mythbackend/upnpcdsmusic.cpp
M mythtv/programs/mythcommflag/ClassicCommDetector.cpp
M mythtv/programs/mythcommflag/main.cpp
M mythtv/programs/mythfilldatabase/commandlineparser.cpp
M mythtv/programs/mythfilldatabase/filldata.cpp
M mythtv/programs/mythfrontend/globalsettings.cpp
M mythtv/programs/mythfrontend/networkcontrol.cpp
M mythtv/programs/mythfrontend/proglist_helpers.cpp
M mythtv/programs/mythfrontend/statusbox.cpp
M mythtv/programs/mythfrontend/videodlg.cpp
M mythtv/programs/mythtv-setup/backendsettings.cpp
M mythtv/programs/mythtv-setup/channeleditor.cpp
M mythtv/programs/mythtv-setup/importicons.cpp
M mythtv/programs/mythutil/commandlineparser.cpp
M mythtv/programs/mythutil/markuputils.cpp
M mythtv/programs/mythutil/mpegutils.cpp

Log Message:
-----------
Merge branch 'master' into devel/http


Compare: https://github.com/MythTV/mythtv/compare/9e733881fc39...71a6420ab682
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits