[mythtv] Android build remove the Schema Version Check Bypass

David Engel david at istwok.net
Sat Nov 30 17:49:04 UTC 2019


On Sat, Nov 30, 2019 at 12:31:27PM -0500, Peter Bennett wrote:
> We have got to the point where mythfrontend does not work well with a wrong
> schema version. The latest master mythfrontend cannot display the program
> guide when connected to v30 backend, due to the delete flag changes. It
> gives an incorrect message saying you have no channels configured.
> 
> Up to now, the Android build has bypassed version checks and could run with
> any version of mythbackend.
> 
> It is time to remove from the android packaging, the line
> IGNOREDEFINES="-DIGNORE_SCHEMA_VER_MISMATCH -DIGNORE_PROTO_VER_MISMATCH"
> 
> People will no longer be able to use android mythfrontend with a different
> version of the backend.
> 
> I will make the change and test it in packaging/master. I will leave
> packaging/30-fixes as is, V30 may continue to work with some different
> versions.
> 
> Does anybody have an opinion on this? Will it cause any problems?

Yes.  I ran into this myself recently when I updated my Android
mythfrontends.  I worked around the problem in a way that I will not
advertise here because it's not safe for casual users.  The real
solution is what I've advocated for some time (and admittedly not done
any work on myself).  That is to use the services API instead of
direct database queries.  Ideally, frontends should be able to work
without any database access at all.

David
-- 
David Engel
david at istwok.net


More information about the mythtv-dev mailing list