Open BBagger opened 9 years ago
The ArcLight MythArchive theme files seem not to be in sync with the latest fixes. You could ask on the mythtv-users list if someone made adaptions to the theme files.
A side-by-side compare between .mythtv\themes\Arclight\mytharchive-ui.xml and mythtv\mythplugins\mytharchive\theme\default-wide\mytharchive-ui.xml, showed different widget variables. Adapt them and try, e.g.
<textarea name="title" from="basetextarea">
should be
<textarea name="title1" from="basetextarea">
<textarea name="subtitle" from="basetextarea">
should be
<textarea name="title2" from="basetextarea">
<textarea name="isotitle_text" from="basetextarea">
should be
<textarea name="title" from="basetextarea">
Line 392
<textarea name="title" from="basetextarea">
should be
<textarea name="title_text" from="basetextarea">
Line 554
<textarea name="videotitle" from="basetextarea">
might be
<textarea name="title1" from="basetextarea">
etc..
There are three files, which might need to be modified: mytharchive-ui.xml mythburn-ui.xml mythnative-ui.xml
If you managed to make the proper changes to the theme files, please post them here and I will merge them.
As a quick solution you could delete the three files from the ArcLight theme, the MythBuntu-wide files will be used instead.
Thank you for your reply with suggestions. Unfortunately I am rather busy the next couple of days, so I don't have the proper time to follow up right away, but I will follow up and report back.
I have tried to follow your suggestions. I made the following changes to ~/.mythtv/themes/Arclight/mytharchive-ui.xml:
diff mytharchive-ui.xml*
100c100
< > <textarea name="isotitle_text" from="basetextarea">
392c392
< <textarea name="title1" from="basetextarea">
---
> <textarea name="title" from="basetextarea">
399c399
< <textarea name="title2" from="basetextarea">
---
> <textarea name="subtitle" from="basetextarea">
553c553
< <textarea name="title1" from="basetextarea">
---
> <textarea name="videotitle" from="basetextarea">
------
but the result was disappointing: same error message.
Your "etc..." makes me think that you did not specify all the changes I should make.
I tried the quick solution you suggested: remove the three files, and that did work.
I think I will stick to that solution until somebody more competent than I can make the proper changes.
I made a side-by-side compare and guessed what could match.
Try running: mythfrontend -loglevel debug -v "gui" Look for missing variables.
Get the mythtv source and look for the changes made in the past for the reference mythbuntu theme: git diff origin/fixes/0.22 HEAD mythtv\mythplugins\mytharchive\theme\default-wide\mytharchive-ui.xml
Otherwise ask in mythtv-users, maybe someone already made working changes, or ask if someone knows the mapping from old to new version.
I have made an observation which may or may not be relevant:
On my backend/frontend - which is where I do the archiving - the version of Arclight is 27.1 whereas the version on my workstation/frontend is 27.5.
Is that significant? and have I been barking up the wrong tree? A diff on the files we are talking about here shows no differences
As long as you are on the combined BE/FE, things should be fine. The latest mytharchive changes also exist on 27.1. Running different versions is not supported, because of API changes.
cd mythtv (within the git directory) git diff origin/fixes/0.22 HEAD mythplugins/mytharchive/theme/default-wide/mytharchive-ui.xml should show you all changes since 0.22.
I have done as you asked me to do, but I'm afraid that you have succeeded in making me confused at a rather high level now. The diff looked like a patch but when I tried to apply it all changes were rejected. Since I lack the necessary knowledge to interpret the diff I'll leave it to the expert - you - to do so. It is on pastebin here: mytharchive.diff
Likewise I have done the run with debug logging you asked for. I could see no obvious errors, so again I'll leave it to you to interpret it. I have uploaded two runs to Pastebin: one with the Arclight files you have mentioned present in ~/.mythtv/themes/Arclight (mythfrontend-with-files.log) and another for a run where the three files are deleted from said location (mythfrontend-without-files.log)
Finally I don't think there is much point in asking on the mythtv-users list for any adaptions since the last commit to the default mytharchive-ui.xml file was on March 14, 2012 - almost 3 years ago.
I hope this will enable you to find a solution to this problem.
The diff from default-wide should show you the changes made in the reference theme. The changes need then to be interpreted and adjustments have to be made to Arclight (no diff patching).
Reading the logs, I saw that mythnative-ui.xml was used. So adaptions are needed there.
Asking on the mythtv-users list for help: maybe someone already made updates and can provide them, or someone can help you, who also needs this functionality.
Have you reproduced the error?
When you try to import an archived recording it is hit-and-miss (mostly miss - 99.5% of cases) whether or not you actually succeed in getting the recording imported. Most of the time you get the message: "The selected file is not a valid archive file".
I have tried the function with MythAeonNox 28.1, Mythbuntu 28.20, Mythcenter-wide 1.7, Terra 1.4 and Steppes 27.40 and they all work as expected.
FYI: mythfrontend.real --version Please attach all output as a file in bug reports. MythTV Version : v0.27.4-30-g3b43903 MythTV Branch : fixes/0.27 Network Protocol : 77 Library API : 0.27.20141016-1 QT Version : 4.8.6 Options compiled in: linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_ivtv using_joystick_menu using_libcrypto using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_sdl using_taglib using_v4l2 using_x11 using_xrandr using_xv using_profiletype using_bindings_perl using_bindings_python using_bindings_php us
mytharchivehelper --version Please attach all output as a file in bug reports. MythTV Version : v0.27.4-30-g3b43903 MythTV Branch : fixes/0.27 Network Protocol : 77 Library API : 0.27.20141016-1 QT Version : 4.8.6 Options compiled in: linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_ivtv using_joystick_menu using_libcrypto using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_sdl using_taglib using_v4l2 using_x11 using_xrandr using_xv using_profiletype using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml2