mx3L / subssupport

GNU General Public License v2.0
7 stars 27 forks source link

The new version 1.55 is not working at VTI 11.0.x image #28

Open brkulin opened 7 years ago

brkulin commented 7 years ago
  1. The new version 1.55 is not working at VTI 11.0.x image. Screen Subssupport setting is empty and when I press any button, E2 restarts.

  2. Embedded subtitles in this image also do not work (with any version subssupport) because VTi 11 has no choice to change embedded subtitles settings in Settings / System / Subtitles settings.

add 1) Previous versions subssupport in VT 11 works fine (excluding embedded subtitles). I attach the debug log and crashlog: Crashlog.zip

mx3L commented 7 years ago

So you cannot access only this subssupport settings screen, which you access from plugins menu?

brkulin commented 7 years ago

Yes. Subssuport settings screen is empty. Other screens are OK.

brkulin commented 7 years ago

Regarding point 2 - embedded subtitles in the player (MediaPlayer 2 or EMC with subssupport) still used settings from a system image, and not from subssupport. Then these headlines too high from the bottom because the settings in the system can only be changed after 50 (0, 50, 100, 150 ....). The optimum vertical position while it is around 20 Embedded captions do not turn off the system.

mx3L commented 7 years ago
  1. Are there sources available for VTI image? It looks like as if List Source isn't initialized with settings list set in its constructor. Can you try to replace plugin.py file with attachment? After replacement, you need to restart enigma2. plugin.zip
brkulin commented 7 years ago

With the new plugin.py result is the same. Crashlog exhibits the same mistake. The problem is line 3 (from Components.Sources.List Import List) - If from older version of this line to replace import from Components.MenuList MenuList and replace line 76 self [ "menuList"] = MenuList ([, and in rows 84, 85 replace "up": self [ "menuList"]. up and "down": self [ "menuList"]. down - the plugin works.

mx3L commented 7 years ago

It's not a mistake, since it's working correctly in openpli image. Using of MenuList is obsolete, it's better to instead use List source with TemplatedMultiContent converter, since you can directly adjust apearence of list via skin xml.

mx3L commented 7 years ago

There has to be some other mistake made since I'm using List source in search screen and you don't have problem with it. I will look into it.

mx3L commented 7 years ago

But weird thing is that there is no problem in openpli image. Are VTI sources available so I can look how is List, TemplatedMultiContent and Listbox elements done?

nunigaia commented 7 years ago

Hi mx3l

Just to let you know,

This happens too with BlackHole 3.0.3C image.

If i remove all code for SubsSupport on the skin used, it will work, i´m sure ( skin.xml image skin ).

thanks

2017-01-24 13:18 GMT+00:00 mx3L notifications@github.com:

It's not a mistake, since it's working correctly in openpli image. Using of MenuList is obsolete, it's better to instead use List source with TemplatedMultiContent converter, since you can directly adjust apearence of list via skin xml.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mx3L/subssupport/issues/28#issuecomment-274800241, or mute the thread https://github.com/notifications/unsubscribe-auth/AMMcclim0oKw2eghQAf5ef_kexJwq_1Lks5rVfo2gaJpZM4LrZnv .

This e-mail is for the designated recipient only and may contain proprietary or otherwise confidential information. If you have received this e-mail in error, please notify the sender immediately and delete the original. Any other use or disclosure of the e-mail by you is unauthorized.Este e-mail, assim como os ficheiros eventualmente anexos, é reservado aos seus destinatários, e pode conter informação confidencial ou estar sujeito a restrições legais. Se não é o seu destinatário ou se recebeu esta mensagem por motivo de erro, solicitamos que não faça qualquer uso ou divulgação do seu conteúdo e proceda à eliminação permanente desta mensagem e respetivos anexos.

brkulin commented 7 years ago

They are these files? VTiSources.zip

mx3L commented 7 years ago

@nunigaia @brkulin please try now plugin.zip

brkulin commented 7 years ago

Still nothing. The screen is still blank, but does not fall E2. After completion plugin jumps message: ERROR SKIN component with name 'menuList' was not found in the skin of screen 'SupsSupportSettings'!

brkulin commented 7 years ago

Even adding: If you run this plugin and after rebooting my box starts with FHD skins, instead of the default HD skin!

nunigaia commented 7 years ago

@mx3L I'm at work ... when i get home, i will test it and let you know.

thanks

mx3L commented 7 years ago

Still nothing. The screen is still blank, but does not fall E2. After completion plugin jumps message: ERROR SKIN component with name 'menuList' was not found in the skin of screen 'SupsSupportSettings'!

There is no menuList component, since I removed it also there is no SubsSupportSettings embedded skin since I removed it too. I suggest to check if you've correct plugin.py(there is no menuList defined if you check it) and restart enigma2. If you've added your SubsSupportSettings skin in your user skin then remove it and restart enigma2.

brkulin commented 7 years ago

I apologize. It was my problem! My fault! Problems caused my user SubsSupportSettings skin. It works the original version 1.55 !!! Sorry!

nunigaia commented 7 years ago

Hi @mx3L

Crashlog from with plugin.py from packet file:

============================================================= enigma2-plugin-extensions-subssupport_1.5.5-20170116_all.ipk

BhRed BhRedp_main BhSettings DeliteSettings PluginBrowser PluginBrowser BhAddons DeliteAddons BhEpgPanel DeliteEpgPanel TimerEdit TimerEditList allocating new converter! reused converter! reused converter! allocating new converter! reused converter! [EPGC] schedule finished(1485277394) [EPGC] nownext finished(1485277395) action -> OkCancelActions ok okbuttonClick reused converter! reused converter! warning, skin is missing element green in <class 'Screens.PluginBrowser.PluginBrowser'> reused converter! [EPGC] nownext finished(1485277397) no ancillary data in audio stream... abort radiotext pes parser action -> WizardActions ok [SubsSupport] using global config resolve: resolve $localstatedir/lib/subssupport resolve: -> /var/lib/subssupport reused converter! reused converter! reused converter! action -> DirectionActions down Traceback (most recent call last): File "/usr/lib/enigma2/python/Components/ActionMap.py", line 46, in action res = self.actions[action]() File "/usr/lib/enigma2/python/Components/Sources/List.py", line 82, in selectPrevious if self.getIndex() - 1 < 0: TypeError: unsupported operand type(s) for -: 'NoneType' and 'int' (PyObject_CallObject(<bound method ActionMap.action of <Components.ActionMap.ActionMap instance at 0x8df54918>>,('DirectionActions', 'down')) failed) getResolvedKey config.plugins.crashlogautosubmit.sendAnonCrashlog failed !! (Typo??) resolve: resolve ${sysconfdir}/enigma2/settings resolve: -> /etc/enigma2/settings getResolvedKey config.plugins.crashlogautosubmit.addNetwork failed !! (Typo??) resolve: resolve ${sysconfdir}/enigma2/settings resolve: -> /etc/enigma2/settings getResolvedKey config.plugins.crashlogautosubmit.addWlan failed !! (Typo??) resolve: resolve ${sysconfdir}/enigma2/settings resolve: -> /etc/enigma2/settings

=============================================================== The plugin.zip posted above i got no crashs, but in Subssupport Main ( SubsSupport Settings Menu ), i got no info in screen:

sc_1

If i press button i got the next screen:

sc_2

But this is normal, because i take a look at plugin.py file and you have removed ( i think )the subssuport settings menu ).

Note: I´ve removed all the code regarding regarding subssuport plugin from skin.xml ( no skin code ), i got the same results as the screenhots.

mx3L commented 7 years ago

So to summarize.

Problem was that I didn't entertain the idea that somebody will use other than embedded skin which I've created.

You can create either your own subssupport skin by adding it in skin_user.xml(@brkulin case) or you use skin where skin creator added skin also for subssupport(@nunigaia case).

In 1.5.5 version I changed List guicomponent to List source for subssupport settings screen. So custom skin originally created for 1.5.4 is no longer valid for this screen, only updated embedded one in source code, that's why it behaves like this.

Now I know that these skins exists, so I will be careful to adjust only parts which are really necessary. I will let you know how I resolve this issue in here, I plan to use "Setup" skin which is included in every skin for all settings screens in subssupport.

brkulin commented 7 years ago

Thank you for mx3L spent time over the issue. Do I want to ask if something could be done with the problem of embedded subtitles in VTi image. If not, nothing can be done. It will probably need to be addressed by with the authors VTi. Thanks.

nunigaia commented 7 years ago

Thank you very much @mx3l for your help and great support.

In any case, if you need something, that i´m capable to do ... contact me.

regards nunigaia

mx3L commented 7 years ago

@brkulin no problem, I don't know yet. @nunigaia I didn't noticed your Note in your last message. Are you sure that you removed subssupport from skin.xml of your selected skin? You should look for skin.xml file in folder /usr/share/enigma2/skinName/skin.xml. If you remove SubsSupportSetting screen from it, It should work with 1.5.5 version and even with both plugin.py files which I posted here.

nunigaia commented 7 years ago

As i have commented in my post ( the one that has screenshots ) and the first one ( first crossing post ):

If i remove all the skin code ( from skin.xml ) in /usr/share/enigma2/skinName/ ... yes, it works even with plugin.py file from the packed version.

On the first post i said:

`` Hi mx3l Just to let you know, This happens too with BlackHole 3.0.3C image. If i remove all code for SubsSupport on the skin used, it will work, i´m sure ( skin.xml image skin ).

``

sasa70 commented 7 years ago

Hi mx3l..where are download version 1.5.5 https://github.com/mx3L/subssupport......?http://dl.bintray.com/mx3l/generic/

nunigaia commented 7 years ago

@sasa70 ... You can find it here --> https://github.com/mx3L/subssupport/releases