Jump to content


Photo

How to skin a cat?


  • Please log in to reply
260 replies to this topic

Re: How to skin a cat? #61 littlesat

  • PLi® Core member
  • 57,060 posts

+698
Excellent

Posted 19 November 2012 - 12:23

Then recently also DMM added it to their drivers....

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: How to skin a cat? #62 BuGless

  • Senior Member
  • 539 posts

+16
Neutral

Posted 30 November 2012 - 08:43

The show stopper at the moment is figuring out what to add to the Button class so it behaves a bit more sane with respect to canvas sizes when invoked as a Source class.


Found it. Added three missing methods, now I can finish the skin.

Re: How to skin a cat? #63 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 30 November 2012 - 08:52


The show stopper at the moment is figuring out what to add to the Button class so it behaves a bit more sane with respect to canvas sizes when invoked as a Source class.

Found it. Added three missing methods, now I can finish the skin.

And you're not telling us??

Re: How to skin a cat? #64 mirakels

  • Forum Moderator
    PLi® Core member
  • 7,603 posts

+62
Good

Posted 30 November 2012 - 09:04

Give the guy a break. Be pleased that he announces he found a solution. Let him work it out and prepare something useful. After all he wrote 'now i can finish ...'. I guess 9 minutes is even beyond wonders.
Geen wonder... Had slechts een dm7000, maar wel ook een rotor. eigenlijk al een tijdje ook een dm600 en dm7025. Maar nu kijkend met een et9000 en vuduo

Re: How to skin a cat? #65 BuGless

  • Senior Member
  • 539 posts

+16
Neutral

Posted 30 November 2012 - 09:47

And you're not telling us??


I will release proper git patches, in due course. But if you are interested, the methods I added to the Button class are: connectDownstream(), checkSuspend(), disconnectDownstream(). After adding those, the widget (properly) collapses to zero size when unpopulated.

Re: How to skin a cat? #66 BuGless

  • Senior Member
  • 539 posts

+16
Neutral

Posted 10 December 2012 - 02:00

Does anyone know how you can actually get the JobView screen visible?
I see it in the code, I see it in the skin, but I can't find it in the menus; or do I need some kind of plugin to be able to display it?

Re: How to skin a cat? #67 littlesat

  • PLi® Core member
  • 57,060 posts

+698
Excellent

Posted 10 December 2012 - 07:11

I thought blue button

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: How to skin a cat? #68 BuGless

  • Senior Member
  • 539 posts

+16
Neutral

Posted 10 December 2012 - 09:13

I thought blue button


The blue button shows me the different "extra" functions/modules/plugins which I can run (Extensions menu?). That's not the same as JobView (I think).

Re: How to skin a cat? #69 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 10 December 2012 - 10:14

if you have running jobs, you should see then in the extensions menu (don't remember how, exactly).
I think that's the 'JobView'.

Re: How to skin a cat? #70 BuGless

  • Senior Member
  • 539 posts

+16
Neutral

Posted 10 December 2012 - 10:43

if you have running jobs, you should see then in the extensions menu (don't remember how, exactly).
I think that's the 'JobView'.


So the JobView entry is visible only if there is a running job?
So how do I get a job running which I can view like this?

Obviously I'm walking though the skin.xml file and converting all screens. I have to be able to view them before I can convert them though, some screens contain a lot of elements, so it's not so easy to convert them without actually checking what it looks like after conversion.

Re: How to skin a cat? #71 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 10 December 2012 - 11:04

maybe run a filesystem check on your hdd?

Re: How to skin a cat? #72 BuGless

  • Senior Member
  • 539 posts

+16
Neutral

Posted 10 December 2012 - 14:07

maybe run a filesystem check on your hdd?


Well, on one box, I'm running xfs, so fscks are blindingly fast; and on another box, I'm using NFS for /hdd, so that is not really an option. Other things that can be "jobs" and run for longer than a few seconds?

Re: How to skin a cat? #73 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 10 December 2012 - 14:10

moviecut perhaps? (not sure whether it uses a 'job' to do the job, though)

Re: How to skin a cat? #74 Meega

  • Senior Member
  • 3,000 posts

+51
Good

Posted 10 December 2012 - 17:01

Or format an emty usbstick!

ET10000+ Openpli 6.1,1m schotel 4x duo-lnb op vaste opstelling.

Momolights teensy 2.0 met 50 leds op een string ,150 channels
DM8000 Openpli 6.1 Release


Re: How to skin a cat? #75 BuGless

  • Senior Member
  • 539 posts

+16
Neutral

Posted 10 December 2012 - 20:58

moviecut perhaps? (not sure whether it uses a 'job' to do the job, though)


I had one running, but I don't see a Jobs entry in the extensions list.

Re: How to skin a cat? #76 MiLo

  • PLi® Core member
  • 14,054 posts

+298
Excellent

Posted 11 December 2012 - 13:10

Copying a movie is also done as a "job".
Real musicians never die - they just decompose

Re: How to skin a cat? #77 BuGless

  • Senior Member
  • 539 posts

+16
Neutral

Posted 12 December 2012 - 13:38

Copying a movie is also done as a "job".


Hmmm, tried it so far, but somehow my recorded movies are too small, or my NFS is too fast, don't know, or I'm not looking in the right place to find the JobView menupoint. I'll keep trying other things. Has anyone ever seen the JobView overview? How do I get there, maybe I'm not looking at the right menu to begin with.

Anyway. The good news is, the skin is starting to take shape, I have a few screens left, nothing important. Until those are done, I cannot clean up some of the old cruft though. I'll provide a snapshot of the skin in an attachment. The skin as provided now has: a small overscan border (but this is configurable to zero), the same font sizes as the original PLi-HD skin (but these are configurable to arbitrary sizes), the colors are mostly PLi-HD, but this needs to be streamlined, so that it becomes more easily configurable.

It's still WIP, so any feedback is appreciated.

Attached Files



Re: How to skin a cat? #78 BuGless

  • Senior Member
  • 539 posts

+16
Neutral

Posted 12 December 2012 - 13:42

I just realised, at least one additional patch is needed. Let me look that up.

Re: How to skin a cat? #79 BuGless

  • Senior Member
  • 539 posts

+16
Neutral

Posted 12 December 2012 - 13:54

git clone git://devel.cuci.nl/enigma2
cd enigma2
git branch publica origin/publica
git checkout -f publica
git show f3889fd8b9c047dfb7715eb21b01b87784fa73d6

Should show the Button.py and Label.py patches needed to run the skin.
BuGless is my development branch, not suited for tracking.
publica is a sort-of static snapshot off my development branch, any patches found on there could be thrown into the standard enigma2 repository (if someone wants to browse and cherry-pick, please do); I'll try and push these later (after the skin is done), if still needed, with more argumentation/explanation.

Edited by BuGless, 12 December 2012 - 13:56.


Re: How to skin a cat? #80 BuGless

  • Senior Member
  • 539 posts

+16
Neutral

Posted 12 December 2012 - 13:56

In case anyone wonders, in the development branch, I scaled the skin to 1408x792 instead of 1280x720 in order to make it optically more obvious which screens have not been made scalable yet.


21 user(s) are reading this topic

0 members, 21 guests, 0 anonymous users