←  [EN] Third-Party Development

Forums

»

Plugin ExtraChannelSelection

's foto honda-civic 29 jul 2013

hi

i have problem with picons,has anyone a tip??

thanks

Bijgevoegde Bestanden

  • Bijlage  1.JPG   51,93K   124 Aantal bijlagen
Citeren

's foto littlesat 29 jul 2013

This isn't the standard service list....

There were some finetunings at the picture stuff made last weekend... Even in de GME I get the same. It is work in progress

Citeren

's foto MiLo 29 jul 2013

Probably my fault, I'll be able to fix it soon enough. The good news is that it renders faster now :)
Citeren

's foto honda-civic 29 jul 2013

plihd and default skin  has the same problem

Bijgevoegde Bestanden

  • Bijlage  1.JPG   59,59K   91 Aantal bijlagen
Citeren

's foto littlesat 29 jul 2013

That is not skin related.... When you do not move this plugin and you use the standard servicelist (it also has picons now) then everything should be fine. However the same fault should be in the GME (Graphical Multi EPG).... but Milo notified that it will be fixed soon enough


Veranderd door littlesat, 29 juli 2013 - 15:28
Citeren

's foto m0rphU 10 aug 2013

The idea, work and code are from here:
Source of the used code:
 
or

- switched to more flexible, python-based servicelist implementation with more options (thx to merlin team!)

Citeren

's foto littlesat 10 aug 2013

Transfering the channel list painter to python will slow down the building of this list.... is that what we should prefer?


Veranderd door littlesat, 10 augustus 2013 - 10:46
Citeren

's foto Dr.Best 10 aug 2013

If you take a look to the source code you will see that most of the real important routines were taken from my source by copy paste...sometimes some methods/variables names were changed, sometimes not even this... And after all he was replacing the licence with his own copyright... Not even a word who was the original author, not to mention that he is fucking on the licence...this is so pathetic...
Citeren

's foto littlesat 10 aug 2013

@DR Best,

 

Do you mean the commits of DMM? or do you mean the 3rd party plugin mentioned in this thread.... when you mean the 3rd party plugin I will directly remove it from our 3rd party feeds!

Citeren

's foto m0rphU 10 aug 2013

Transfering the channel list painter to python will slow down the building of this list.... is that what we should prefer?

 

This is what was done in this plugin! And as Dr.Best said: It was just copied from the Merlin team's code!

Citeren

's foto Dr.Best 10 aug 2013

 

@DR Best,
 
Do you mean the commits of DMM? or do you mean the 3rd party plugin mentioned in this thread.... when you mean the 3rd party plugin I will directly remove it from our 3rd party feeds!


@littlesat: I am talking about the plugin mentioned in this thread.
Citeren

's foto littlesat 10 aug 2013

Then I remove it right now!!! Thanks for mentioning.

Citeren

's foto a.k.a. Uchkun 10 aug 2013

Dr. Best

On what basis do you make such a conclusion?

What exactly do I have you stolen?

I am ready to defend every line of code from the original substitution of functions to output Picons and all constructor.

And Litllesat, why you is believe to someone words, you can take action?

Likewise, my fans at one time accused "allrussian forum"  that they stole my idea, and what happened?

In the end, though gives evidence, not empty words ......

I'm very angry .....


Veranderd door a.k.a. Uchkun, 10 augustus 2013 - 21:09
Citeren

's foto a.k.a. Uchkun 10 aug 2013

If I stole the code, I would have closed the plug-in, but would not make it public .....

Citeren

's foto Dr.Best 11 aug 2013

You're kidding me that you are beginning a discussion here, don't you? :) Everyone who has a tiny little knowledge of programming can see this after 1 minutes studying "your code" comparing to my code...all the really important methods or functions of "your" class are absolutely identical with my code...It did not help that you rename some of the methods with new names... ;) And why is Litllesat believing my words? Maybe he knows that I do not talk bullshit, and maybe he took a little look into the source code of your plugin, who knows... And come one: closed plugin-source? What is that for an argument? You are very angry? Well dude, don't ask me what I am thinking or feeling...
Citeren

's foto a.k.a. Uchkun 11 aug 2013

Give me a link to your code.I'll look into 2 minutes.I see a useless conversation.Apparently the rest of the world except you illiterate.

Citeren

's foto a.k.a. Uchkun 11 aug 2013

I spent six months preparing plugin.

Apparently 6 months rewriting your code, one character per week probably.

Functions rewritten source servicelist.cpp with translation from C++ to Python.

Though I think, say what you want, this is a useless conversation ......

I don't say no more ....


Veranderd door a.k.a. Uchkun, 11 augustus 2013 - 18:30
Citeren

's foto Dr.Best 11 aug 2013

Ok, I give you same examples...

My Code:
 

	def setCurrentMarked(self, state):
		prev = self.current_marked
		self.current_marked = state
		if state != prev:
			if not state:
				list = self.service_center.list(self.root)
				if list is not None:
					mutableList = list.startEdit()
					if mutableList:
						position = self.getCurrentIndex()
						cur = self.l.getCurrentSelection()
						if cur and cur[0]:
							mutableList.moveService(cur[0], position)
						else:
							print "no ref selected"
					else:
						print "no editable list"
				else:
					print "no list available!"
			self.l.invalidateEntry(self.getCurrentIndex())

 

"your code":

	def setCurrentMarked(self, state):
		prev = self.current_marked
		self.current_marked = state
		if state != prev:
			if not state:
				list = self.service_center.list(self.root)
				if list is not None:
					mutableList = list.startEdit()
					if mutableList:
						position = self.getCurrentIndex()
						cur = self.l.getCurrentSelection()
						if cur and cur[0]:
							mutableList.moveService(cur[0], position)
			self.l.invalidateEntry(self.getCurrentIndex())

 

my Code:

	def lookupService(self, ref):
		index = 0
		for x in self.list:
			if x[0] == ref:
				return index
			index += 1
		return index

 

"Your Code":

	def lookupService(self, ref):
		index = 0
		for i in self.list:
			if i[0] == ref:
				return index
			index += 1
		return index

 

My Code:

	def finishFill(self, sort = True):
		self.textRenderer.setFont(self.serviceNameFont)
		self.size = len(self.list)
		if sort:
			self.list.sort(self.sortList)
		self.l.setList(self.list)
		self.instance.moveSelectionTo(0)

 

"your code:"

	def finishFill(self, sort = True):
		self.renderLabel.setFont(self.ServiceNameFont)
		self.size = len(self.list)
		if sort:
			self.list.sort(self.sortList)
		self.l.setList(self.list)
		self.instance.moveSelectionTo(0)

 

My code:

 

	def buildMarkerList(self):
		index = 0
		self.marker_list = []
		for service in self.list:
			if (service[0].flags & eServiceReference.isMarker):
				self.marker_list.append(index)
			index += 1

 

"your code":

	def buildMarkerList(self):
		index = 0
		self.marker_list = []
		for service in self.list:
			if service[0].flags & eServiceReference.isMarker:
				self.marker_list.append(index)
			index += 1

 

 

There are plenty of more absolutely identical methods, should I show you all of them?

 

Is this really coincidence?

 

Ok, you came to the great idea to use a eLabel to calculate the size of a string, btw. its a good Idea, I had to ask a DMM developer because of the performance... ;)

What I can't figure out why calculateSize().width() did not work in all cases, sometimes it was too small... so I added a "lucky guess" number it..

 

 

length = self.textRenderer.calculateSize().width() + 10
 

 

Hey, and you know what... I found that in "your code" also... :D

 

length = self.renderLabel.calculateSize().width() + 10

 

 

So I bet you do not have to say anymore.... ;)

 

But we have something in common: we both think that is an useless conversation... ;)


Veranderd door Dr.Best, 11 augustus 2013 - 19:35
Citeren

's foto a.k.a. Uchkun 12 aug 2013

Yes, only you can calculate, the rest of the world is a dude....
And if believe the Dzen python, only the Dutch can working in python ......
At first I was angry, but then I thought "what the hell", in the east there is a saying "someone barks, the caravan moves on".
I do not care what anyone thinks.
The main thing I know, I spent half of year my life in the preparation of this plug-in, and another half a year on its development.
And it is absolutely free, I'm not making a dime on it.
Let the people enjoy, but who says that, while I don't care ....
I end the discussion, you want to continue, your case..........

Citeren

's foto a.k.a. Uchkun 12 aug 2013

......


Veranderd door a.k.a. Uchkun, 12 augustus 2013 - 07:03
Citeren