[mythtv-firehose] mythtv branch master updated by jyavenard. v0.28-pre-1479-g2d73bf8

Git Repo Owner noreply at mythtv.org
Tue Jun 3 14:59:06 UTC 2014


The branch, master has been updated on the
mythtv repository by gitolite user jyavenard.
       via  2d73bf8562dc5735a47fb17c84ff214871c2cba6 (commit)
       via  a6b3cfb6b1bb5e585e059723570591ca18446930 (commit)
       via  890a9867b54dd3d1543c79c150fa9fcbbe997adf (commit)
       via  520ea17ef86e5b85006d58d95a777d0b15056045 (commit)
       via  45efcc477336eca989257a05187f4b5543869eb9 (commit)
      from  d90af2d6b09bc5197a39d1e1d09baff2aafe9a2a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2d73bf8562dc5735a47fb17c84ff214871c2cba6
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 4 Jun 2014 00:55:04 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 4 Jun 2014 00:55:04 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=2d73bf8562dc5735a47fb17c84ff214871c2cba6

Add search for “jpeg” type, and make search for image case insensitive.
Note: That entire code should be re-written



commit a6b3cfb6b1bb5e585e059723570591ca18446930
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 4 Jun 2014 00:51:15 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 4 Jun 2014 00:51:15 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=a6b3cfb6b1bb5e585e059723570591ca18446930

Fix search of image artwork in folder
The first character of the path was dropped, causing the search for images to always fail



commit 890a9867b54dd3d1543c79c150fa9fcbbe997adf
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 3 Jun 2014 23:39:47 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 3 Jun 2014 23:39:47 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=890a9867b54dd3d1543c79c150fa9fcbbe997adf

Don’t add port number to myth URL if it’s the default port, makes for cleaner URLs
Also put IPv6 URL in lower-case, I find it prettier



commit 520ea17ef86e5b85006d58d95a777d0b15056045
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 3 Jun 2014 17:59:34 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 3 Jun 2014 17:59:34 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=520ea17ef86e5b85006d58d95a777d0b15056045

Fix connection to Master Backend where the master IP  address is an IPv6 address
Similar problems as fixed in 5594a6f32e73b0519b556b63983786a01a0f2228, if MasterServerIP is an IPv6 address or contains a scope Id, it will prevent frontend and slave backend to connect.

Several fixes:
* the master backend detects that it is the master by comparing its IP address with the value stored in the MasterServerIP setting. The comparison is made using strings.
So if MasterServerIP is set to something like 192.168.000.001 it will fail (as we would be comparing with 192.168.0.1). IPv6 can also contains upper or lower case characters.
* In some cases, like gCoreContext control server socket, or connection between slave backends and master backend  would only ever used the IPv4 address. Use IPV6 if available

Add convenience methods:
    QString GetBackendServerIP4(void);
    QString GetBackendServerIP4(const QString &host);
    QString GetBackendServerIP6(void);
    QString GetBackendServerIP6(const QString &host);
    QString GetMasterServerIP(void);
    int GetMasterServerPort(void);
    int GetMasterServerStatusPort(void);
    int GetBackendServerPort(void);
    int GetBackendServerPort(const QString &host);
    int GetBackendStatusPort(void);
    int GetBackendStatusPort(const QString &host);

And use them thorough the code, they will ensure the value read is always correct and usable

Ref #10921



commit 45efcc477336eca989257a05187f4b5543869eb9
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Mon, 2 Jun 2014 11:11:15 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 3 Jun 2014 15:48:59 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=45efcc477336eca989257a05187f4b5543869eb9

Revert "Fix connection to Master Backend where the master IP address is a link-local address"
This reverts commit 7e92707d60a9623e59a4e63d72107fa7df6ef708.



-----------------------------------------------------------------------

Summary of changes:
 .../mythnetvision/mythnetvision/netcommon.cpp      |   22 +---
 mythtv/libs/libmyth/programinfo.cpp                |    2 +-
 mythtv/libs/libmyth/remoteutil.cpp                 |    3 +-
 mythtv/libs/libmythbase/mythcorecontext.cpp        |  179 ++++++++++++++++----
 mythtv/libs/libmythbase/mythcorecontext.h          |   14 +-
 mythtv/libs/libmythbase/remotefile.cpp             |    6 +-
 .../libs/libmythmetadata/metadataimagedownload.cpp |    5 +-
 mythtv/libs/libmythmetadata/videoutils.h           |    3 +-
 .../requesthandler/outboundhandler.cpp             |    2 +-
 mythtv/libs/libmythtv/metadataimagehelper.h        |    3 +-
 mythtv/libs/libmythtv/tv_rec.cpp                   |    2 +-
 mythtv/programs/mythbackend/httpstatus.cpp         |    2 +-
 mythtv/programs/mythbackend/main_helpers.cpp       |    7 +-
 mythtv/programs/mythbackend/mainserver.cpp         |   63 ++++----
 mythtv/programs/mythbackend/upnpcdsmusic.cpp       |    4 +-
 mythtv/programs/mythbackend/upnpcdstv.cpp          |    4 +-
 mythtv/programs/mythbackend/upnpcdsvideo.cpp       |    8 +-
 mythtv/programs/mythfrontend/mediarenderer.cpp     |    3 +-
 mythtv/programs/mythfrontend/themechooser.cpp      |    4 +-
 mythtv/programs/mythfrontend/upnpscanner.cpp       |    6 +-
 mythtv/programs/mythfrontend/videodlg.cpp          |    9 +-
 mythtv/programs/mythmediaserver/main.cpp           |    5 +-
 mythtv/programs/mythtranscode/main.cpp             |    9 +-
 23 files changed, 231 insertions(+), 134 deletions(-)

-- 



More information about the mythtv-firehose mailing list