Jump to content


Photo

ComponentsFromSkin


  • Please log in to reply
43 replies to this topic

Re: ComponentsFromSkin #41 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 26 October 2014 - 21:02

Once this code is in the plugin, probably needs it.

Is not that?

This plugin for three images, vti, openpli and blackhole.

They have different default components of course..... 

 

 

Yes, but among the 3 options, the only difference I can see is the list of converters and renderers.

The rest of the code (from try: to the next elif), is exactly the same one.

 

So it is the same doing that:

 
if config.plugins.componentsfromskin.imagemode.value == '1':  
	defconv = [List of Converters number 1.........]
	defren = [List of Renderers number 1......]

elif config.plugins.componentsfromskin.imagemode.value == '2':  
	defconv = [List of Converters .number 2........]
	defren = [List of Renderers number 2......]   

elif config.plugins.componentsfromskin.imagemode.value == '3':  
	defconv = [List of Converters number 3.........]
	defren = [List of Renderers number 3......]
 
 
try:
	c = parse("/tmp/skin.xml")
 
	(.....rest of the CODE ....)
 
self.session.open(Result, my)
 

Edited by jpuigs, 26 October 2014 - 21:03.

Enigma is getting old....

 

Spoiler

Re: ComponentsFromSkin #42 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 27 October 2014 - 02:41

Some changes, I hope you like them.

 

 

Attached File  plugin.py   19.95KB   12 downloads

 

 

 


Enigma is getting old....

 

Spoiler

Re: ComponentsFromSkin #43 a.k.a. Uchkun

  • Senior Member
  • 94 posts

+26
Good

Posted 1 November 2014 - 10:47

Now I'm not support this plugin, because I create program ImageSkinAdapter http://forums.openpl...ageskinadapter/



Re: ComponentsFromSkin #44 rysiuhelix

  • Senior Member
  • 41 posts

0
Neutral

Posted 5 March 2021 - 09:13

Some changes, I hope you like them.

 

 

attachicon.gifplugin.py

Great plugin. Very handy. Too bad there is no option yet - Sources and Components.

@jpuigs  -  maybe you would add these options.

greetings

 


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users