Sign up here and you can log into the forum!

psychoTHC (1.05.04) v4.4 updated 12-28-11

Anything and everything related to OSD modifcation & theming.

Re: PsychoTHC OSD MOD for 1.05.04   

Postby essoG » Tue Sep 13, 2011 10:43 am

essoG wrote:Good work, I give it a try !

Thx


Have a quick look, and everything seems to be okay !
Looks a lot better than the standard OSD :lol:

Thx
- Never Drive Faster Than Your Guardian Angel Can Fly -
User avatar
essoG
DLX'er
 
Posts: 136
Joined: Thu Sep 16, 2010 7:19 am

Re: PsychoTHC OSD MOD for 1.05.04   

Postby jumbalaya » Tue Sep 13, 2011 10:49 am

hey KAD, this file http://dl.dropbox.com/u/7938417/S68psychothc-colorscheme is in the osd (my version and original version) in a folder named init.d, which is inside a folder named etc. this is where it has always been. i never moved it. is this correct?


* i am showing nothing in the WEC right now.

**ok, i think i got it now :D maybe
:lol:
jumbalaya
OSD Themer
 
Posts: 251
Joined: Fri Apr 16, 2010 7:12 pm

Re: PsychoTHC OSD MOD for 1.05.04   

Postby KAD » Tue Sep 13, 2011 10:57 am

yeah, that looks correct, that's the actual colorscheme script that makes the changes in the images used

for WEC, here's the part we want to look at on line 5

Code: Select all
cp /osd/tmp/config-plugins/psychothc-osd_wec.php /tmp/config-plugins/psychothc-osd_wec.php


the code that is on WEC as an example should be located at
Code: Select all
/osd/tmp/config-plugins/psychothc-osd_wec.php


then the first part of the script you link above copies the .php to
Code: Select all
/tmp/config-plugins/psychothc-osd_wec.php
which is where WEC will find and use it

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
User avatar
KAD
Global Moderator
 
Posts: 4011
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: PsychoTHC OSD MOD for 1.05.04   

Postby jumbalaya » Tue Sep 13, 2011 11:29 am

geez, i'm a dork. :roll:

the tmp folder with config-plugins actually wasn't there (weird).

it is working now. thank you so much KAD, b-rad!!

here is v2 with color scheme through WEC - http://www.mediafire.com/file/uf3mu8p4ph9nn9v/mypsycho_v2.osd.bin

added new version to the first post.

@essoG, thanks i'm glad it's working good for you!
jumbalaya
OSD Themer
 
Posts: 251
Joined: Fri Apr 16, 2010 7:12 pm

Re: PsychoTHC OSD MOD for 1.05.04   

Postby b-rad.cc » Tue Sep 13, 2011 11:47 am

k so i just looked at that script...and well it can be condensed dramatically :lol:

replace all of the if blocks with this:
Code: Select all
   if [ -f "/osd/image/photo_thumb_frame_bg_f_color_${THUMBPLAYBAR_COLOR_SCHEME}.png" ] ; then
      mount -o bind "/osd/image/photo_thumb_frame_bg_f_color_${THUMBPLAYBAR_COLOR_SCHEME}.png" /osd/image/photo_thumb_frame_bg_f.png
      mount -o bind "/osd/image/video_thumb_frame_bg_f_color_${THUMBPLAYBAR_COLOR_SCHEME}.png" /osd/image/video_thumb_frame_bg_f.png
      mount -o bind "/osd/image/Video_Player_time_played_line_n_01_color_${THUMBPLAYBAR_COLOR_SCHEME}.png" /osd/image/Video_Player_time_played_line_n_01.png
      mount -o bind "/osd/image/music_player_time_played_line_n_01_color_${THUMBPLAYBAR_COLOR_SCHEME}.png" /osd/image/music_player_time_played_line_n_01.png
      mount -o bind "/osd/image/slideshow_player_time_played_line_n_color_${THUMBPLAYBAR_COLOR_SCHEME}.png" /osd/image/slideshow_player_time_played_line_n.png
      mount -o bind "/osd/image/slideshow_time_played_line_n_01_color_${THUMBPLAYBAR_COLOR_SCHEME}.png" /osd/image/slideshow_time_played_line_n_01.png
      logger -s -t `basename $0` "color scheme (${THUMBPLAYBAR_COLOR_SCHEME}) loaded for thumbs & playbars!"
   fi


As well, I suggest a restart block so that color can be switched without rebooting:
Code: Select all
restart)
   umount -f /osd/image/photo_thumb_frame_bg_f.png /osd/image/video_thumb_frame_bg_f.png /osd/image/Video_Player_time_played_line_n_01.png /osd/image/music_player_time_played_line_n_01.png /osd/image/slideshow_player_time_played_line_n.png /osd/image/slideshow_time_played_line_n_01.png 2>/dev/null
   $0 start
   ;;


Then, ahem...adding this to the wec plugin array:
Code: Select all
'postsavehook' => psychoTHC_colorscheme_reload


and then below the array:
Code: Select all
function psychoTHC_colorscheme_reload($wec_option_arr,$value) {
   system("sudo /tmp/init.d/S68psychothc-colorscheme restart");
}


One last detail...I would change the config key from THUMBPLAYBAR_COLOR_SCHEME to something with a namespace at the start, like PSYCHOTHC_THUMBPLAYBAR_COLOR_SCHEME

That is all :ugeek:
PM's are for private matters only, please post public matters on the forum to help others who might have the same issue.
:mrgreen:
User avatar
b-rad.cc
WDLXTV Team
 
Posts: 3002
Joined: Sat Apr 03, 2010 9:35 am
Location: New York

Re: PsychoTHC OSD w/colorscheme options for 1.05.04   

Postby jumbalaya » Tue Sep 13, 2011 12:01 pm

...showoff... :lol: :lol: :lol: :lol: :lol:
jumbalaya
OSD Themer
 
Posts: 251
Joined: Fri Apr 16, 2010 7:12 pm

Re: PsychoTHC OSD w/colorscheme options for 1.05.04   

Postby KAD » Tue Sep 13, 2011 12:06 pm

lol, all good idea's for me to try and add to eye candy as well
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
User avatar
KAD
Global Moderator
 
Posts: 4011
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: PsychoTHC OSD w/colorscheme options for 1.05.04   

Postby recliq » Tue Sep 13, 2011 12:07 pm

well, make the last function this and it should really work ;P
Code: Select all
function psychoTHC_colorscheme_reload($wec_option_arr,$value) {
   system("sudo /tmp/init.d/S68psychothc-colorscheme restart");
}

:geek:
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5022
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: PsychoTHC OSD w/colorscheme options for 1.05.04   

Postby b-rad.cc » Tue Sep 13, 2011 12:08 pm

that was uhh...a homework assignment for jumby to figure out 8-) :lol:
PM's are for private matters only, please post public matters on the forum to help others who might have the same issue.
:mrgreen:
User avatar
b-rad.cc
WDLXTV Team
 
Posts: 3002
Joined: Sat Apr 03, 2010 9:35 am
Location: New York

Re: PsychoTHC OSD w/colorscheme options for 1.05.04   

Postby KAD » Tue Sep 13, 2011 12:12 pm

yeah, I suspose my assignment is aufs first :lol:
btw, did you see the irc log, I got MSHEETDIR to work with some minor edits to S67msheets

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
User avatar
KAD
Global Moderator
 
Posts: 4011
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

PreviousNext

Return to WDTV G2 & WDTV Live Theming

Who is online

Users browsing this forum: No registered users and 1 guest