[mythtv-users] fixing themes on Android Mythfrontend?
Peter Bennett
pb.mythtv at gmail.com
Fri Mar 4 14:23:28 UTC 2022
On 3/3/22 17:50, David Engel wrote:
> On Thu, Mar 03, 2022 at 03:12:14PM -0500, James Abernathy wrote:
>> My backend and frontends are on MythTV fixes/32. I have patched my favorite
>> theme, Functionality, to work on V32 and have this included on all my x86
>> frontends. However, I don't have a clue as to how to get the same theme
>> onto my Shield TV and FireTV 4K versions of mythfrontend.
>>
>> Anyone know?
> I beleve you pretty much have two options. One, you can upload your
> theme to the public repository so it can be downloaded by
> mythfrontend. Two, you can build your own apk with your theme patched
> into the builtin, themes directory. I do the latter.
>
> David
I have built a script that will let you easily copy things from android,
to android or between androids. It was built for leanfront, but should
work for any android app that is not flagged as production. That
includes leanfront and mythfrontend.
Copy acopy.sh from the github repo here:
https://github.com/bennettpeter/android-MythTV-Leanfront/blob/master/extras/acopy.sh
If you run it without parameters it shows the options
acopy.sh
Copy android files from one device to another or to PC
/home/peter/bin/acopy.sh <options> files ...
List of Options:
-f xxx ip address to copy from. If omitted this copies only from
the PC staging directory.
-t xxx ip address to copy to. If omitted this copies only to
the PC staging directory.
-a xxx application (default org.mythtv.leanfront)
--db Add leanfront database to list of files
--settings Add leanfront settings to list of files
--stage /xxx Staging directory on this PC, default /var/tmp/acopy
Filenames are relative paths below the android app's directory.
File or directory names with spaces are not supported.
Required:
-f -t or both
--db, --settings, or at least one file name
Do not duplicate options. That may cause unexpected results.
To copy files into android, overwriting any that are already there, use
this:
Make sure your computer can connect to the android with adb.
copy the theme files into /var/tmp/acopy/files/themes/Steppes (for
Steppes theme)
acopy.sh -t <ip address> -a org.mythtv.mythfrontend
files/themes/Steppes/* files/themes/Steppes/*/* files/themes/Steppes/*/*/*
I have not tested this with mythfrontend. If you use it let me know if
it works or if any changes are necessary.
Peter
More information about the mythtv-users
mailing list