Slyk Skin Mods v5

Status
Not open for further replies.
How do i get rid of the scrollbar on my setup menu? Ive deleted the scrollbarmode="showOnDemand" attribute, but it only seems to shownit within the setup screens.
That's coming along nicely gman, good work :)

I don't know myself how to get rid of the scroll bar but i think there was a post somewhere on the first few pages of this thread about disabling a scroll bar

I'm currently trying to get the event name on this screen next to the service name but I haven't quite figured it out yet. So where it says 101 BBC One, I want it to say 101 BBC One - The One Show , so that it shows the channel name and the event name - i'm gonna keep on trying!
 
How do i get rid of the scrollbar on my setup menu? Ive deleted the scrollbarmode="showOnDemand" attribute, but it only seems to shownit within the setup screens.
That's coming along nicely gman, good work :)

I don't know myself how to get rid of the scroll bar but i think there was a post somewhere on the first few pages of this thread about disabling a scroll bar

I'm currently trying to get the event name on this screen next to the service name but I haven't quite figured it out yet. So where it says 101 BBC One, I want it to say 101 BBC One - The One Show , so that it shows the channel name and the event name - i'm gonna keep on trying!

I've also been tinkering on this screen i can change from change name to channel program but cant figure it out for both, I've added scroll text up there for the longer channel title's

1_0_1_D7A9_840_2_11A0000_0_0_0.jpg
 
Last edited:
How do i get rid of the scrollbar on my setup menu? Ive deleted the scrollbarmode="showOnDemand" attribute, but it only seems to shownit within the setup screens.
That's coming along nicely gman, good work :)

I don't know myself how to get rid of the scroll bar but i think there was a post somewhere on the first few pages of this thread about disabling a scroll bar

I'm currently trying to get the event name on this screen next to the service name but I haven't quite figured it out yet. So where it says 101 BBC One, I want it to say 101 BBC One - The One Show , so that it shows the channel name and the event name - i'm gonna keep on trying!

Had a wee go at this just now and put them on separate lines incase the tv programme name was too long for both to fit on one line.

e7d4da8cc47386aa0c0d9b9c1d51166b.jpg
 
Can you send me the code please for channel ID and channel title under the mini tv


Sent from my iPhone using Tapatalk
 
Can you send me the code please for channel ID and channel title under the mini tv


Sent from my iPhone using Tapatalk


Yeah sure its

Code:
<screen name="t3-tv">
        <widget source="session.VideoPicture" render="Pig" position="860,86" size="378,222" backgroundColor="transparent" transparent="1" />
            <eLabel  position="865,91" size="368,212" backgroundColor="transparent" zPosition="4"/>
        <eLabel position="865,302" size="368,37" zPosition="4" foregroundColor="skyblue" backgroundColor="skylightrow" transparent="0" />
        <widget source="session.CurrentService" render="Label" position="890,302" size="316,18" font="Regular;18" foregroundColor="skyblue" backgroundColor="skylightrow" transparent="1" valign="center" halign="center" noWrap="1" zPosition="5">
            <convert type="ServiceName">Name</convert>
        </widget>
        <widget source="session.Event_Now" render="Label" position="890,320" size="316,18" font="Regular;18" foregroundColor="skyblue" backgroundColor="skylightrow" transparent="1" valign="center" halign="center" noWrap="1" zPosition="5">
            <convert type="EventName">Name</convert>
        </widget>
    </screen>
 
Can you send me the code please for channel ID and channel title under the mini tv


Sent from my iPhone using Tapatalk


Yeah sure its

Code:
<screen name="t3-tv">
        <widget source="session.VideoPicture" render="Pig" position="860,86" size="378,222" backgroundColor="transparent" transparent="1" />
            <eLabel  position="865,91" size="368,212" backgroundColor="transparent" zPosition="4"/>
        <eLabel position="865,302" size="368,37" zPosition="4" foregroundColor="skyblue" backgroundColor="skylightrow" transparent="0" />
        <widget source="session.CurrentService" render="Label" position="890,302" size="316,18" font="Regular;18" foregroundColor="skyblue" backgroundColor="skylightrow" transparent="1" valign="center" halign="center" noWrap="1" zPosition="5">
            <convert type="ServiceName">Name</convert>
        </widget>
        <widget source="session.Event_Now" render="Label" position="890,320" size="316,18" font="Regular;18" foregroundColor="skyblue" backgroundColor="skylightrow" transparent="1" valign="center" halign="center" noWrap="1" zPosition="5">
            <convert type="EventName">Name</convert>
        </widget>
    </screen>

Thanks gman I think I can fit another portrait top picks image in mine if I tidy the bouquet list up a little hoping for

Bouquet list portrait 2x landscape portrait then the jumbo top pick image after I finish the slow 6-2 shift

Am struggling with the bouquet list to get it all lined up yours looks perfect the gaps in between menu titles


Sent from my iPhone using Tapatalk
 
Well last night i was plodding along with my screens, all now finished, but then my keyboard malfunctioned and blew up. Looking at some of the above screen shots. You don't need my help though. I now have the joy of using on screen keyboard on my main machine. I was also experimenting with the script aswell. What a pain in the backside that is. Every page that has the correct images are not scrapable as the images are not in the html and brought in on page load via scripts. Anyone know how to scrape parsed html(dom) on enigma2.

I will upload my version later on.
 
Well last night i was plodding along with my screens, all now finished, but then my keyboard malfunctioned and blew up. Looking at some of the above screen shots. You don't need my help though. I now have the joy of using on screen keyboard on my main machine. I was also experimenting with the script aswell. What a pain in the backside that is. Every page that has the correct images are not scrapable as the images are not in the html and brought in on page load via scripts. Anyone know how to scrape parsed html(dom) on enigma2.

I will upload my version later on.
function tryToXml($dom,$content) { if(!$content) return false; // xml well formed content can be loaded as xml node tree $fragment = $dom->createDocumentFragment(); // wonderfull appendXML to add an XML string directly into the node tree! // aappendxml will fail on a xml declaration so manually skip this when occurred if( substr( $content,0, 5) == '')+1); if( strpos($content,'' . $content; } // return a dom from the content $domInject = new DOMDocument("1.0", "UTF-8"); $domInject->preserveWhiteSpace = false; $domInject->formatOutput = true; // html type try { @$domInject->loadHTML( $content ); } catch(Exception $e){ // do nothing and continue as it's normal that warnings will occur on nasty HTML content } // to check encoding: echo $dom->encoding $this->reworkDom( $domInject ); if( $bodyOnly ) { $fragment = $dom->createDocumentFragment(); // retrieve nodes within /html/body foreach( $domInject->documentElement->childNodes as $elementLevel1 ) { if( $elementLevel1->nodeName == 'body' and $elementLevel1->nodeType == XML_ELEMENT_NODE ) { foreach( $elementLevel1->childNodes as $elementInject ) { $fragment->insertBefore( $dom->importNode($elementInject, true) ); } } } } else { $fragment = $dom->importNode($domInject->documentElement, true); } return $fragment; } protected function reworkDom( $node, $level = 0 ) { // start with the first child node to iterate $nodeChild = $node->firstChild; while ( $nodeChild ) { $nodeNextChild = $nodeChild->nextSibling; switch ( $nodeChild->nodeType ) { case XML_ELEMENT_NODE: // iterate through children element nodes $this->reworkDom( $nodeChild, $level + 1); break; case XML_TEXT_NODE: case XML_CDATA_SECTION_NODE: // do nothing with text, cdata break; case XML_COMMENT_NODE: // ensure comments to remove - sign also follows the w3c guideline $nodeChild->nodeValue = str_replace("-","_",$nodeChild->nodeValue); break; case XML_DOCUMENT_TYPE_NODE: // 10: needs to be removed case XML_PI_NODE: // 7: remove PI $node->removeChild( $nodeChild ); $nodeChild = null; // make null to test later break; case XML_DOCUMENT_NODE: // should not appear as it's always the root, just to be complete // however generate exception! case XML_HTML_DOCUMENT_NODE: // should not appear as it's always the root, just to be complete // however generate exception! default: throw new exception("Engine: reworkDom type not declared [".$nodeChild->nodeType. "]"); } $nodeChild = $nodeNextChild; } ; }


Added a sample .py here on ma Dropbox

https://www.dropbox.com/s/h3uqtx546843p6g/640410-f2c36a19493b46d31dc399a4d41b09fbf349ebf9.zip?dl=0
ZGemma H.2s Openvix4.1 Slyk-HD 5.106
 
Last edited:
Not sure if it's the info your after kiddac, but hopefully it can help. Keep up the great work

ZGemma H.2s Openvix4.1 Slyk-HD 5.106
 
Had a wee go at this just now and put them on separate lines incase the tv programme name was too long for both to fit on one line.

you did it ; i was trying for ages trying a million different things and couldn't get it to appear, my box just kept bootlooping - looking at your code in post 553 i was missing the session.event_now , the bit that obviously makes it work haha! thanks gman
 
All working now chabs - thank you so much for sharing, love it!

all working fine in the Graphical EPG :

View attachment 19651

@simpleman post 535 that is so strange as I was literally just thinking about doing this - but no need ; jymjym's beat me to it haha :) thanks for sharing

---------- Post Merged at 09:24 PM ----------

on EPG screen - makes yellow tab +24 and blue tab -24 (the same as sky TV)

This is jymjym's mod. I take no credit for this

Thanks for sharing, have added to the list of all mods on post 525 here

nice work jymjym

is it just me or do the service icons not change at all and are always the same no matter which channel your on?
 
is it just me or do the service icons not change at all and are always the same no matter which channel your on?[/QUOTE]

If your taking about them in the EPG screen, they seem to change ( when you select channel). View a hd channel then select a sd channel, works for me.

BBC one hd - DD,HD,W,S
SKY1 - AD,DS,SD,W,S
 
is it just me or do the service icons not change at all and are always the same no matter which channel your on?

If your taking about them in the EPG screen, they seem to change ( when you select channel). View a hd channel then select a sd channel, works for me.

BBC one hd - DD,HD,W,S
SKY1 - AD,DS,SD,W,S[/QUOTE]

not seeing this on mine, just always AD,DS,SD,W,S on all channels
 
is it just me or do the service icons not change at all and are always the same no matter which channel your on?

If your taking about them in the EPG screen, they seem to change ( when you select channel). View a hd channel then select a sd channel, works for me.

BBC one hd - DD,HD,W,S
SKY1 - AD,DS,SD,W,S[/QUOTE]
BBC1 HD has HD,
Sky1 has SD

So its not the same...

Sent from my GT-I9505 using Tapatalk
 
I've been having a little play around with the movie selection screen / planner

I've removed the 'info' and 'menu' buttons at the bottom right

Added in the text 'Press SELECT to view' at the bottom

Added in png file for 'Press i for more' to the left of the mini tv - have tested with long descriptions and it doesn't get in the way :)

Removed the trashcan info

Changed the text at the top from 'All' to 'Recorded'

Added record button on each line, and up/down arrows for official sly look

Lastly, changed 'Recorded Show' on playback to 'Recorded Movie' (this is just my preference as i record mostly movies opposed to tv shows)

Orginal :

Planner.jpg

Modified :

1_0_1_C41D_813_2_11A0000_0_0_0 (14).jpg

I am now trying to shift along the RGYB buttons so they sit in the middle at the bottom, but having trouble finding where the code lives ; I downloaded the default movieselection.py from github but can't find...yet

Files for this mod here

FTP movies.xml to usr/share/enigma2/slyk-1-hd - overwrite existing but create a backup first

FTP button-record-2.png , button-arrow.png , info-mod.png to usr/share/enigma2/slyk-1-hd/myicons

Restart GUI
 
I've been having a little play around with the movie selection screen / planner

I've removed the 'info' and 'menu' buttons at the bottom right

Added in the text 'Press SELECT to view' at the bottom

Added in png file for 'Press i for more' to the left of the mini tv - have tested with long descriptions and it doesn't get in the way :)

Removed the trashcan info

Changed the text at the top from 'All' to 'Recorded'

Added record button on each line, and up/down arrows for official sly look

Lastly, changed 'Recorded Show' on playback to 'Recorded Movie' (this is just my preference as i record mostly movies opposed to tv shows)

Orginal :

View attachment 19672

Modified :

View attachment 19673

I am now trying to shift along the RGYB buttons so they sit in the middle at the bottom, but having trouble finding where the code lives ; I downloaded the default movieselection.py from github but can't find...yet

Files for this mod here

FTP movies.xml to usr/share/enigma2/slyk-1-hd - overwrite existing but create a backup first

FTP button-record-2.png , button-arrow.png , info-mod.png to usr/share/enigma2/slyk-1-hd/myicons

Restart GUI
Added this to ma box and the record and series link icon is shown throughout the recorded list, or is there any amendments I can do to only show it on the actual recorded items and not the full list including the trash can

ZGemma H.2s Openvix4.1 Slyk-HD 5.106
 
Status
Not open for further replies.
Back
Top