Slyk Skin Mods v5

Status
Not open for further replies.
Yep, that's the one.

Check the github for the latest code though as i've put in a bit to convert the images to PNG on the fly.
 
Yep, that's the one.

Check the github for the latest code though as i've put in a bit to convert the images to PNG on the fly.

thanks danmed will do pal ; i'll give it a whirl

---------- Post Merged at 05:56 PM ----------

thanks danmed will do pal ; i'll give it a whirl

tried a few times but says not found :

Last login: Wed Sep 14 17:33:04 IST 2016 on pts/0
root@vuduo2:~# /usr/script/toppicks2.sh
-sh: /usr/script/toppicks2.sh: not found
root@vuduo2:~# /usr/script/topicks2.sh
-sh: /usr/script/topicks2.sh: not found
root@vuduo2:~# /usr/script/toppicks.pu
-sh: /usr/script/toppicks.pu: not found
root@vuduo2:~# /usr/script/toppicks.py
/usr/script/toppicks.py: line 1: import: not found
/usr/script/toppicks.py: line 2: import: not found
/usr/script/toppicks.py: line 3: syntax error: unexpected word (expecting ")")
root@vuduo2:~#

it's definitely in /usr/script with chmod 777

i decided to try the original toppicks.py but now i get a syntax error ; i know hideout was having issues with this earlier and fixed it by downloading the toppicks.py from github, so i did this and had the one i had overwritten , but i still get the error above

i also tried to install hideout's plugin but i got the message some plugins not available ; i did edit the plugin.py on line 10 to /usr/script

i really do not get along with these cron jobs haha, struggled to get it working yesterday and now i've added one for toppicks.sh it seems none are working
 
I downloaded full zip file from the gitub repo then re FTP to box , as for my plugin u need to have the Toppicks.py in correct folder /var/etc
Or edit ma plugin.py file to ammend location of file

i tried this, but still the same error

root@vuduo2:~# /usr/script/toppicks2.sh
-sh: /usr/script/toppicks2.sh: not found
root@vuduo2:~# /usr/script/toppicks.py
/usr/script/toppicks.py: line 1: import: not found
/usr/script/toppicks.py: line 2: import: not found
/usr/script/toppicks.py: line 3: syntax error: unexpected word (expecting ")")
root@vuduo2:~#

this is exactly what i have in toppicks.py

import urllib
import urllib2
urllib.urlretrieve("https://raw.githubusercontent.com/danmed/toppicks/master/toppicks1.png", "/usr/share/enigma2/slyk-1-hd/skyicons/toppicks1.png")
urllib.urlretrieve("https://raw.githubusercontent.com/danmed/toppicks/master/toppicks2.png", "/usr/share/enigma2/slyk-1-hd/skyicons/toppicks2.png")
urllib.urlretrieve("https://raw.githubusercontent.com/danmed/toppicks/master/toppicks3.png", "/usr/share/enigma2/slyk-1-hd/skyicons/toppicks3.png")
urllib.urlretrieve("https://raw.githubusercontent.com/danmed/toppicks/master/toppicks4.png", "/usr/share/enigma2/slyk-1-hd/skyicons/toppicks4.png")
urllib.urlretrieve("https://raw.githubusercontent.com/danmed/toppicks/master/toppicks5.png", "/usr/share/enigma2/slyk-1-hd/skyicons/toppicks5.png")
urllib.urlretrieve("https://raw.githubusercontent.com/danmed/toppicks/master/toppicks6.png", "/usr/share/enigma2/slyk-1-hd/skyicons/toppicks6.png")
urllib.urlretrieve("https://raw.githubusercontent.com/danmed/toppicks/master/sky cinema.png", "/usr/share/enigma2/slyk-1-hd/skyicons/sky cinema.png")
urllib.urlretrieve("https://raw.githubusercontent.com/danmed/toppicks/master/skystore.png", "/usr/share/enigma2/slyk-1-hd/skyicons/skystore.png")
urllib.urlretrieve("https://raw.githubusercontent.com/danmed/toppicks/master/boxsets.png", "/usr/share/enigma2/slyk-1-hd/skyicons/boxsets.png")




which matches the github one
 

yeah i tried from github and just tried them from the dropbox link, still not working

for your plugin i edited line 10 to /usr/script but the plugin doesn't work on my box, incompatible apprently

it was all working yesterday and none have the files have changed, all i've done is put toppicks2.sh in /usr/script, created the cronjob, chmod to 777 and now both cron jobs not working

quite stuck
 
Tried removing the .sh file and py file then starting from scratch with both cron jobs removed also

Sent from my SM-A500FU using Tapatalk
 

yeah i tried from github and just tried them from the dropbox link, still not working

for your plugin i edited line 10 to /usr/script but the plugin doesn't work on my box, incompatible apprently

it was all working yesterday and none have the files have changed, all i've done is put toppicks2.sh in /usr/script, created the cronjob, chmod to 777 and now both cron jobs not working

quite stuck
Never bothered with the new .sh file as the other way is working for me. Or could create a python script to call the shell script for that perhaps.. but if your having trouble I don't wanna b in the same boat

Sent from my SM-A500FU using Tapatalk
 
Never bothered with the new .sh file as the other way is working for me. Or could create a python script to call the shell script for that perhaps.. but if your having trouble I don't wanna b in the same boat

yeah i know what you mean, i sort of figured it out

and the award for september dumbass award goes to ......me ...hello :grin:

on telnet i was putting just the location of the python (/usr/script/toppicks.py) and complately forgot to include /usr/bin/python beforehand - the exact instruction i have been advising others on!!

only myself to blame lol, i've learnt so much with enigma2 the past few weeks that my brain is just a melt at the minute lol

right, now that's sorted, i'll look into the toppicks2.sh again for a better automation :grin:
 
Never bothered with the new .sh file as the other way is working for me. Or could create a python script to call the shell script for that perhaps.. but if your having trouble I don't wanna b in the same boat

yeah i know what you mean, i sort of figured it out

and the award for september dumbass award goes to ......me ...hello :grin:

on telnet i was putting just the location of the python (/usr/script/toppicks.py) and complately forgot to include /usr/bin/python beforehand - the exact instruction i have been advising others on!!

only myself to blame lol, i've learnt so much with enigma2 the past few weeks that my brain is just a melt at the minute lol

right, now that's sorted, i'll look into the toppicks2.sh again for a better automation :grin:
Did u not have correct path in the plugin.py for it to work either??? Or still not compatible... Obviously works different from box to box make???? I'm using zgemma h.2s but others may have same issue with compatibility perhaps???? Could maybe update your version of python on your box

Sent from my SM-A500FU using Tapatalk
 
Last edited:
Did u not have correct path in the plugin.py for it to work either??? Or still not compatible... Obviously works different from box to box make???? I'm using zgemma h.2s but others may have same issue with compatibility perhaps????

yeah i changed line 10 to the correct path /usr/script but after i installed i restarted gui and then got the error that 'some plugins not compatible'

the toppicks.py is working again now though, well, it always was for me but i was just forgetting the python command!!

for the toppicks2.sh i still have no joy though

danmed would you know what i could be doing wrong?

i have tried the following in telnet :

Last login: Wed Sep 14 17:51:44 IST 2016 on pts/0
root@vuduo2:~# /var/script/toppicks2.sh
-sh: /var/script/toppicks2.sh: not found
root@vuduo2:~# /var/script/toppicks2.sh
-sh: /var/script/toppicks2.sh: Permission denied
root@vuduo2:~# /var/script/toppicks2.sh
-sh: /var/script/toppicks2.sh: not found
root@vuduo2:~#

i placed toppicks2.sh in /var/script and chmod 777

created the cron timer to update daily at midnight

then as i typed in telnet the path to the script, i got 'not found'

to make sure it was pointing to the right file, i changed chmod back to 644 and typed the command again to which i got 'permission denied' so it knows the file is there

i changed it back to chmod 777 and still got 'not found'

would you know what i am missing here

sorry mate i bet you hate me right now haha!
 
Tested the .sh file and it works flawlessly PicsArt_09-14-07.37.25.jpg

Randomises download Toppicks images or is it missing downloading some???

Sent from my SM-A500FU using Tapatalk
 
Last edited:
Right! found it - it's in epgselection.py

line 686

for boqs in finalbouqlist:
boqlist = boqlist + " | " + boqs[0]

although when i put the "|" back in and rebooted, it has now gone back to white which is what i wanted to do, but does anybody know how i can change the colour to skylightrow?

finally found how to change - in epg.xml

line 172 of chabs' epg.xml modded file

<widget name="guidebouquetlist" position="260,267" size="950,35" font="Regular;25" foregroundColor="white" backgroundColor="skydarkblue" valign="center" noWrap="1" halign="left" transparent="1" zPosition="3" />

i changed from white to skylightrow, but it changed both the bouquet name and the "|" separator - for the time being i've just removed the "|" separator :/

---------- Post Merged at 08:18 PM ----------

Tested the .sh file and it works flawlessly ��

how did you get it to work ? from the looks of it i've tried exactly what you've done there but i got 'not found'
 
Last edited:
Chmod 777 with the sh file in usr/script

Then telnet /usr/script/toppicks2.sh

Like the above

Sent from my SM-A500FU using Tapatalk
 
Chmod 777 with the sh file in usr/script

Then telnet /usr/script/toppicks2.sh

Like the above

Sent from my SM-A500FU using Tapatalk

yeah that's what im trying to say before i've done it exactly like that

i downloaded the toppicks2.sh from the github source, placed in /usr/script , gave it chmod 777

created the cron job for every 24 hours

ran the command /usr/script/toppicks2.sh said not found

i even tried changing the chmod to 755 and still not found

then i tried changing the location to /var/script

chmod 777, ran command, not found

i then tried from the command /bin/sh /usr/script/toppicks.sh and it picked the file up but didn't download, so it knows the file is there but my box doesn't like it

i know what i need to do to execute the shell, but it is not letting me do it, i've got a duo2 so very different to zgemma, should all work the same way but unfortunately there are differences

this is what i got when i ran /bin/sh /usr/script/toppicks2.sh

root@vuduo2:/usr/script# /bin/sh /usr/script/toppicks2.sh
: not found/toppicks2.sh: line 4:
Connecting to www.sky.com (104.65.19.97:80)
coming-soon-to-sky-c 100% |*******************************| 105k 0:00:00 ETA
: not found/toppicks2.sh: line 7:
cat: can't open 'coming-soon-to-sky-cinema-premiere': No such file or directory
: not found/toppicks2.sh: line 11:
sed: links.txt: No such file or directory
'get: bad address '
: not found/toppicks2.sh: line 18:
sed: links.txt: No such file or directory
'get: bad address '
: not found/toppicks2.sh: line 25:
sed: links.txt: No such file or directory
'get: bad address '
: not found/toppicks2.sh: line 32:
sed: links.txt: No such file or directory
'get: bad address '
 
Perhaps the shell and python need an overhaul on ur box m8??? For both the sh and plugin to work aswell as most newer py files

Sent from my SM-A500FU using Tapatalk
 
Perhaps the shell and python need an overhaul on ur box m8??? For both the sh and plugin to work aswell as most newer py files

what do you mean by overhaul? i have tried everything i can think of - i do have another box upstairs but it hasn't been used in a while - if all else fails i could try it on the other one - the issue must be that my box just doesn't like the shell
 
Status
Not open for further replies.
Back
Top