Jump to content


a.k.a. Uchkun

Member Since 10 Aug 2012
Offline Last Active 25 Mar 2017 08:04
-----

#689792 ImageSkinAdapter

Posted by a.k.a. Uchkun on 25 March 2017 - 07:57

part 2

Attached Files




#689789 ImageSkinAdapter

Posted by a.k.a. Uchkun on 25 March 2017 - 07:55

part 1

Attached Files




#687536 ImageSkinAdapter

Posted by a.k.a. Uchkun on 19 March 2017 - 07:55

bugfix





Replace with this file (unpacked from the archive) the same file in the program folder ...

Attached Files




#687512 ImageSkinAdapter

Posted by a.k.a. Uchkun on 19 March 2017 - 03:48

.....Can it be fixed?

.....

 

 

Fixed

 

 

Replace with this files (unpacked from the archive) the same files in the program folder ........

Attached Files




#675657 ImageSkinAdapter

Posted by a.k.a. Uchkun on 27 February 2017 - 06:09

bugfix

 

 

Replace with this file (unpacked from the archive) the same file in the program folder ...

Attached Files




#675543 ImageSkinAdapter

Posted by a.k.a. Uchkun on 26 February 2017 - 20:21

Version 2.2

 

 

 

Added support fullHD skins. 

Only for openpli, for VTI will be soon........

 

 

https://yadi.sk/d/HSk0zkg-3EerDN

 

 

 




#667755 ImageSkinAdapter

Posted by a.k.a. Uchkun on 14 February 2017 - 05:12

part 2

Attached Files




#665952 ImageSkinAdapter

Posted by a.k.a. Uchkun on 11 February 2017 - 09:32

part 2

 

12889207.png

Attached Files




#665931 ImageSkinAdapter

Posted by a.k.a. Uchkun on 11 February 2017 - 09:19

Version 1.7 for OpenPli & VTI

Attached Files




#488853 ImageSkinAdapter

Posted by a.k.a. Uchkun on 26 April 2015 - 10:18

part 2

Attached Files




#488852 ImageSkinAdapter

Posted by a.k.a. Uchkun on 26 April 2015 - 10:16

Doesnt work for me on win 8.1. I get some python error

 

 

Keep new version 1.6

Attached Files




#458541 ImageSkinAdapter

Posted by a.k.a. Uchkun on 30 November 2014 - 12:50

Version 0.9

 

 

The program is now have much more able.
While only for the image of VTI.


- corrects file skin.xml from the mistakes made by the author or arising after editing by users.
- automatically creates the missing windows (Screen) for the image of VTI
- in addition to creating windows, the program searchs in the rest of the windows skin in search of inappropriate attributes, elements for VTI image and automatically corrects it all. For example, in binary VTI eListBox not support setFont, program fixes these things, making the skin digestible for VTI
- any skins from the image Pli completely will be adapting for the image VTI, automatically unpacks templates and so on. When modifying the skins from the Pli be careful! Put to the folder tmp not only skin.xml, but skin.xml and its subsidiaries xml files. For example in the skin Pli-HD three such file skin.xml, skin_plugins.xml, skin_templates.xml. Be sure to put in a folder tmp these three files! Otherwise, get a non-working skin. After adapting in the program you get a single file skin.xml.
The remaining two files - skin_plugins.xml, skin_templates.xml will not be needed.
- converters and renderers, which not works on the image VTI will be automatically changed to converters and renderers, which works on the image VTI
- code optimization

 

 

fdb000aa55d4.jpg

Attached Files




#453332 ImageSkinAdapter

Posted by a.k.a. Uchkun on 6 November 2014 - 18:55

File

Attached Files




#452288 ImageSkinAdapter

Posted by a.k.a. Uchkun on 1 November 2014 - 10:46

ImageSkinAdapter Version: 0.2


Wrote a soft for OS Windows that will help those who adapts skins for different images.
This is only a pilot version, the work on the code continues.


Note!
All rights for skins belong to their authors.
This program is designed for informational purposes only.
If you are going to remake the skin or adapt for another image,
please make sure that the author does not mind.



Now the program is able to:
- determines the fonts, which used in the skin, but are not in the image by default and which you must add to image;
- which converters and renderers missing, which but are not in the image by default and which you must add to image;
- determines the windows (Screen) in the skin, which can be safely removed, because this image do not needs them
- determines the windows (Screen) from Image, which are missing in the skin, and which you must add to the skin
- creates instruction for you

Instruction.txt, which will created:
 


These fonts, which are applied in the skin, there are no
in the image VTI by default. Check whether they are in your image,
as with the installation of another's skin may already be in your image.
If not, put them in the image, but if you adapt the skin to lay out on the public,
then find these fonts in order to put them together with skin.
--------------------------------------------------------------------------------------
nmsbd2.ttf
arial.ttf
--------------------------------------------------------------------------------------
The following converters, which applied in the skin, there are no
in the image VTI by default. Check whether they are in your image, as with the
installation of another's skin, they (or some of them) could already be in your image.
If not, put them in the image, but if you adapt the skin to lay out on the public,
then find these converters in order to put them together with skin. But note that these
converters may be not work in the image VTI. Then you have to use another converter
--------------------------------------------------------------------------------------
ExtraNumText
Bitrate2
CaidInfo2
QuickEcmInfo
PliExtraInfo
ServiceName2
ServiceOrbitalPosition2
RefString
CoolConverter
EMCClockToText
EMCServicePosition
EMCEventName
EMCServiceTime
EMCMovieInfo
--------------------------------------------------------------------------------------
The following windows (Screen) are not needed for the image of VTI.
You can remove them safely, it will not affect the performance of the skin in the image VTI.
On the contrary, you will get rid of debris and increase the speed of the skin, that you use,
But there is also a chance that some of them are windows for plugins,
but even in this case, nothing bad will happen, as all the same in most of these plugins
windows exist, and the image will take these windows from plugin.py.
--------------------------------------------------------------------------------------
SoftwareManagerSetup
CrashlogAutoSubmitConfiguration
AutoTimerSettings
AutoTimerEditor
AutoTimerFilterEditor
AutoTimerServiceEditor
AutoTimerImporter
AutoTimerOverview
AutoTimerPreview
CDInfo
ProjectSettings
DVDMovieSelection
DVDToolbox
TitleList
TitleCutter
TitleProperties
FilebrowserConfigScreen
FilebrowserScreen
IMDB
iDreamAddToDatabase
iDreamMerlin
SelectPath
MovieTagEditor
picshow
Pic_Exif
SundtekControlCenter
VlcMediaListScreen
VlcServerListScreen
VlcServerConfigScreen
TVChartsMain
SIBsetupScreen
ForecaPreview
CityPanel
SatPanel
SatPanelb
SatPanelc
PicSetup
PermanentClockScreen
TagEditor
InputDeviceSetup
--------------------------------------------------------------------------------------
These windows (Screen) are absent in this skin for image VTI.
You need to add them to a skin that the skin became efficient in image VTI.
In future versions of my program, these windows will be generated automatically.
Wait for the continuous development of the application.
--------------------------------------------------------------------------------------
UnhandledKey
InputBox
AutoShutDownConfiguration
AutoShutDownFile
TaskListScreen
NetDriveSetup
NetDrivebrowser
NumberZapWithName
OpenWebifConfig
RemoteTimerScreen
RemoteTimerSetup
TimeDateInput
TranscodingSetup
WlanSelection
WlanSetup
WlanConfig
WlanScanAp
Wlanstatus
WOLSetup
EditModemManual
ModemManual
ModemManager
WirelessAccessPoint
ZappingModeSelection
HdmiCecPlugin
LEDBrightnessSetup
StreamingChannelFromServerScreen
ServerEditor
VTIMainMenu
VTIStatusListMenu
CamSelectMenu
myPacketManager
VTISubMenu
BackupSuite
BackupSuiteRestore
BitrateViewer
VTIPasswdScreen
VtiNews
AllNews
VTiUpdateInfo
ReduceMenuConfig
PanelPassword
InputPanelPassword
addJob
modifyJob
CronManagerFile
EPGPanel
ExeManager
addExe
modifyExe
ExeManagerFile
DeviceManager2
DeviceManager2Message
DriverManager
DriverManagerDownload
DriverManagerFile
MyPluginManager
InfoPanel
FileDirBrowser
CableScanStatus

 



This program is multilingual, and if you want to add your language,

please translate to your language this attached template, and attach it in this thread,

and I will include in the program



a7f74776f6ba.jpg

Attached Files




#450852 ComponentsFromSkin

Posted by a.k.a. Uchkun on 23 October 2014 - 16:34

This code working.

I've already checked







class Result(Screen):
	skin = """
<screen name="Result" position="center,center" size="465,650" title="Results">
  <widget name="myText" position="10,10" size="445,580" font="Regular;20" transparent="1"/>
  <ePixmap position="200,638" zPosition="1" size="165,2" pixmap="/usr/lib/enigma2/python/Plugins/Extensions/ComponentsFromSkin/images/red.png" alphatest="blend" />
  <widget name="red_key" position="215,608" zPosition="2" size="165,30" font="Regular; 20" halign="center" valign="center" backgroundColor="#41000000" foregroundColor="#00dddddd" transparent="1" />
</screen>"""

	def __init__(self, session, mytext):
		self.session = session
		self.setTitle(_("Results"))
		Screen.__init__(self, session)
		self["myText"] = Label(_(mytext))
		self["red_key"] = Label(_("Close"))
		self["shortcuts"] = ActionMap(["ShortcutActions", "WizardActions"],
		{
			"cancel": self.cancel,
			"back": self.cancel,
			"red": self.cancel,
			}, -2)

	def cancel(self):
		self.close()